* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'JetBrains Mono', 'Courier New', 'Monaco', 'Menlo', monospace;
    background: #0A0E1A; /* Darker navy blue background */
    color: #E0E0E0; /* Light gray for primary text */
    overflow: hidden;
    height: 100vh;
    font-size: 16px;
    line-height: 1.4;
    background-image: 
        radial-gradient(circle at 25% 25%, #001100 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, #002200 0%, transparent 50%);
    background-attachment: fixed;
}

.container {
    height: 100vh;
    display: flex;
    flex-direction: column;
    max-width: 2560px;
    margin: 0 auto;
    min-width: 1200px;
}

/* Header */
.header {
    flex: 0 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 40px;
    background: rgba(10, 14, 26, 0.85); /* Dark background */
    border-bottom: 2px solid #00BFFF; /* Deep sky blue accent */
    backdrop-filter: blur(15px);
    height: 100px;
    box-shadow: 0 2px 20px rgba(0, 191, 255, 0.2); /* Blue shadow */
}

.header-left {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
    align-items: flex-start;
}

.ascii-logo {
    font-family: 'JetBrains Mono', 'Courier New', monospace;
    font-size: 0.5rem;
    line-height: 1;
    color: #00BFFF; /* Blue accent */
    text-shadow: 0 0 15px rgba(0, 191, 255, 0.8); /* Blue shadow */
    white-space: pre;
    font-weight: bold;
    text-align: center;
}
.ascii-logo pre{
    margin: 0;
}

.status-info {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.token-name {
    font-size: 1.2rem;
    color: #00BFFF; /* Blue accent */
    font-weight: 500;
    text-shadow: 0 0 10px rgba(0, 191, 255, 0.5);
}

.header-center {
    /* This container is now the only child, so it will be centered by the parent's flex properties */
}

.header-right {
    width: 20%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

#allow-sound-btn {
    background-color: transparent;
    border: 1px solid #00BFFF;
    background-color: #00BFFF;
    color: #0A0E1A;
    font-weight: 700;
    font-family: 'JetBrains Mono', monospace;
    padding: 6px 10px;
    font-size: 0.8rem;
    cursor: pointer;
    margin-left: 20px;
    transition: all 0.2s ease;
    box-shadow: 0 0 5px rgba(0, 191, 255, 0.5);
}

#allow-sound-btn:hover {
    background-color: #00BFFF;
    color: #000;
}

.marketcap-display {
    font-size: 1.5rem;
    font-weight: 700;
    color: #E0E0E0; /* Light gray text */
    font-family: 'JetBrains Mono', 'Courier New', monospace;
    align-self: flex-start;
}

.price-display {
    font-size: 1.2rem;
    color: #00cc33;
    font-family: 'JetBrains Mono', 'Courier New', monospace;
    font-weight: 500;
    text-shadow: 0 0 8px rgba(0, 204, 51, 0.5);
}

.marketcap-update {
    animation: marketcapPulse 0.6s ease-out;
}

@keyframes marketcapPulse {
    0% { 
        transform: scale(1);
        text-shadow: 0 0 30px rgba(3, 252, 186, 0.6);
        box-shadow: 0 0 20px rgba(3, 252, 186, 0.2);
    }
    50% { 
        transform: scale(1.05);
        text-shadow: 0 0 40px rgba(3, 252, 186, 0.9);
        box-shadow: 0 0 30px rgba(3, 252, 186, 0.4);
    }
    100% { 
        transform: scale(1);
        text-shadow: 0 0 30px rgba(3, 252, 186, 0.6);
        box-shadow: 0 0 20px rgba(3, 252, 186, 0.2);
    }
}

/* Main Content */
.main-container {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.image-container {
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: center;
}

#guitar-container {
    flex: 1;
    /* Styles for the guitar will be applied dynamically */
}

#drum-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(0, 191, 255, 0.05); /* Blue tint */
    border: 1px solid rgba(0, 191, 255, 0.1); /* Blue border */
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    height: 100%;
}

#drum-kit {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 10px;
    width: 100%;
    height: 100%;
    padding: 10px;
    place-items: center;
}

.drum-pad {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    font-weight: 700;
    height: 100%;
}

.drum-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 14px; /* Increased font size */
    color: rgba(0, 191, 255, 0.7); /* Blue label */
    margin-bottom: 5px;
}

#drum-container pre {
    color: #00BFFF; /* Blue ASCII */
    font-family: 'JetBrains Mono', monospace;
    font-size: 30px;
    line-height: 1.1;
    text-align: center;
    transition: all 0.1s ease-in-out;
    margin: 0;
}

#drum-container .drum-pad.playing.buy,
#drum-container pre.playing.buy {
    color: #ffffff;
    text-shadow: 0 0 8px #ffffff, 0 0 15px #14F195;
}

#drum-container .drum-pad.playing.sell,
#drum-container pre.playing.sell {
    color: #ffffff;
    text-shadow: 0 0 15px #FF453A, 0 0 8px #ffffff;
}

.bottom-container {
    display: flex;
    gap: 20px;
    flex-grow: 1;
    min-height: 0;
}

.chart-container {
    height: 580px; /* Set a fixed height for the chart container */
}

.box {
    background: rgba(0, 191, 255, 0.05); /* Blue tint */
    border: 1px solid rgba(0, 191, 255, 0.1); /* Blue border */
    border-radius: 12px;
    padding: 15px;
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden; /* Prevent content from spilling out */
    min-width: 0;
}

.box-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    flex-shrink: 0;
}

.box-header-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.box-header h2 {
    margin: 0;
    font-size: 16px;
    font-weight: 500;
    color: #E0E0E0; /* Light gray text */
}

.box-content {
    flex-grow: 1;
    overflow-y: auto;
    min-height: 0;
    scrollbar-width: thin;
    scrollbar-color: #00BFFF rgba(0, 191, 255, 0.1); /* Blue scrollbar */
}

.box-content::-webkit-scrollbar {
  width: 6px;
}

.box-content::-webkit-scrollbar-track {
  background: rgba(0, 191, 255, 0.1); /* Blue track */
  border-radius: 3px;
}

.box-content::-webkit-scrollbar-thumb {
  background-color: #00BFFF; /* Blue thumb */
  border-radius: 3px;
}

/* Trades Container Specifics */
#trades {
    display: flex;
    flex-direction: column;
}

.trades-container .trade-item {
    padding: 8px 4px;
    border-bottom: 1px solid rgba(0, 255, 65, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    animation: fadeIn 0.5s ease;
}

.trades-container .trade-item:last-child {
    border-bottom: none;
}

.trade-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.solscan-link {
    font-family: 'JetBrains Mono', monospace;
    color: #a0a0a0; /* Lighter gray for links */
    text-decoration: none;
    transition: color 0.2s ease;
}

.solscan-link:hover {
    color: #00BFFF; /* Blue on hover */
    text-decoration: underline;
}

.hash-link {
    font-size: 0.9em;
    opacity: 0.7;
}

.trade-item .amount {
    font-weight: bold;
    text-align: right;
}

.trade-item .buy {
    color: #39FF14; /* Neon Green for buys */
}

.trade-item .sell {
    color: #FF3131; /* Neon Red for sells */
}

.chat-container .message {
    margin-bottom: 12px;
    line-height: 1.5;
    animation: fadeIn 0.5s ease;
}

.chat-container .message .username {
    font-weight: bold;
    color: #00BFFF; /* Blue for usernames */
    margin-right: 8px;
}

.chat-container .message .text {
    color: #E0E0E0; /* Light gray for message text */
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scrollbar styles */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
}
::-webkit-scrollbar-thumb {
    background: #00BFFF; /* Blue scrollbar */
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: #009acd; /* Darker blue on hover */
}


/* Left Panel - AI Image */
.image-panel {
    flex: 1.8;
    background: rgba(0, 15, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    border: 2px solid #00ff41;
    border-radius: 12px;
    box-shadow: 0 0 30px rgba(0, 255, 65, 0.2);
}

.generated-image {
    max-width: 95%;
    max-height: 95%;
    object-fit: contain;
    transition: all 0.5s ease-out;
    border-radius: 12px;
    box-shadow: 0 0 40px rgba(0, 255, 65, 0.4);
    border: 1px solid #00ff41;
}

.image-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
    color: #00cc33;
    text-align: center;
    font-size: 1.4rem;
    font-family: 'JetBrains Mono', monospace;
    text-shadow: 0 0 10px rgba(0, 204, 51, 0.5);
}

.image-placeholder-icon {
    font-size: 5rem;
    opacity: 0.6;
    text-shadow: 0 0 20px rgba(0, 255, 65, 0.3);
}

.typewriter-container {
    margin-top: 10px;
}

.typewriter-text {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.2rem;
    color: #00ff41;
    text-shadow: 0 0 10px rgba(0, 255, 65, 0.5);
    border-right: 2px solid #00ff41;
    animation: blink-cursor 1s infinite;
    white-space: nowrap;
    overflow: hidden;
}

@keyframes blink-cursor {
    0%, 50% { border-color: #00ff41; }
    51%, 100% { border-color: transparent; }
}

.image-loading-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 25px;
    color: #00ff41;
    text-align: center;
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.2rem;
}

.image-loading-spinner-large {
    width: 60px;
    height: 60px;
    border: 4px solid #333333;
    border-top: 4px solid #00ff41;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.loading-text {
    font-size: 1.4rem;
    font-weight: 700;
    color: #00ff41;
    font-family: 'JetBrains Mono', monospace;
    text-shadow: 0 0 10px rgba(0, 255, 65, 0.5);
}

.loading-prompt {
    font-size: 1.2rem;
    color: #00cc33;
    max-width: 400px;
    font-style: italic;
    font-family: 'JetBrains Mono', monospace;
    text-shadow: 0 0 8px rgba(0, 204, 51, 0.3);
}

/* Full Screen Loading Overlay */
.image-loading-fullscreen {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 100;
    backdrop-filter: blur(10px);
    text-align: center;
    padding: 40px;
}

.ascii-loader {
    margin-bottom: 30px;
}

.ascii-loader-text {
    font-family: 'JetBrains Mono', 'Courier New', monospace;
    font-size: 1.2rem;
    color: #00ff41;
    text-shadow: 0 0 20px rgba(0, 255, 65, 0.6);
    letter-spacing: 1px;
    font-weight: bold;
    white-space: nowrap;
}

.loading-text-typewriter {
    font-size: 2.5rem;
    font-weight: 700;
    color: #00ff41;
    margin-bottom: 25px;
    text-shadow: 0 0 40px rgba(0, 255, 65, 0.8);
    font-family: 'JetBrains Mono', 'Courier New', monospace;
    letter-spacing: 2px;
    border-right: 4px solid #00ff41;
    animation: blink-cursor 1s infinite;
    white-space: nowrap;
    overflow: hidden;
    min-height: 3rem;
}

.image-loading-fullscreen .loading-text {
    font-size: 4rem;
    font-weight: 700;
    color: #00ff41;
    margin-bottom: 25px;
    text-shadow: 0 0 40px rgba(0, 255, 65, 0.8);
    font-family: 'JetBrains Mono', 'Courier New', monospace;
    letter-spacing: 3px;
}

.image-loading-fullscreen .loading-user {
    font-size: 2rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 15px;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.image-loading-fullscreen .loading-prompt {
    font-size: 1.8rem;
    color: #cccccc;
    text-align: center;
    max-width: 600px;
    font-style: italic;
    line-height: 1.4;
    margin-bottom: 25px;
    text-shadow: 0 0 15px rgba(204, 204, 204, 0.3);
}

.image-loading-fullscreen .loading-eta {
    font-size: 1.2rem;
    color: #888888;
    font-family: 'JetBrains Mono', 'Courier New', monospace;
    opacity: 0.8;
}

/* Image Display Countdown Bar */
.image-countdown-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 8px;
    background: rgba(0, 0, 0, 0.3);
    z-index: 60;
    overflow: hidden;
}

.countdown-progress {
    height: 100%;
    background: linear-gradient(90deg, #00ff41, #00cc33);
    background-size: 400% 100%;
    animation: gradientShift 2s ease-in-out infinite;
    transition: width 0.1s linear;
    width: 100%;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Next Prompt Progress Bar */
.next-prompt-bar {
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.8);
    padding: 15px 20px;
    border-radius: 8px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 101;
}

.next-prompt-text {
    font-size: 0.9rem;
    color: #cccccc;
    margin-bottom: 8px;
}

.progress-bar {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: #00ff41;
    border-radius: 2px;
    transition: width 0.1s linear;
    width: 0%;
}

/* Image Info Overlay */
.image-info-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 30px 20px 20px;
    color: #ffffff;
    z-index: 50;
    transition: opacity 0.3s ease-out;
}

.image-info-overlay.visible {
    opacity: 1;
}

.image-info-overlay.hidden {
    opacity: 0;
}

.image-info-user {
    font-size: 1rem;
    font-weight: 600;
    color: #00ff41;
    margin-bottom: 5px;
}

.image-info-prompt {
    font-size: 0.9rem;
    color: #cccccc;
    margin-bottom: 8px;
    font-style: italic;
}

.image-info-stats {
    display: flex;
    gap: 15px;
    font-size: 0.8rem;
    color: #888888;
}

.image-info-time {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Spam Detection */
.spam-notification {
    position: fixed;
    top: 100px;
    right: 20px;
    background: rgba(255, 71, 87, 0.9);
    color: #ffffff;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    z-index: 1001;
    animation: slideInRight 0.3s ease-out;
    backdrop-filter: blur(10px);
}

@keyframes slideInRight {
    0% {
        transform: translateX(100%);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Right Panel - Chat (Old styles, can be removed or adjusted) */
/* 
.chat-panel {
    flex: 0 0 450px;
    background: rgba(0, 15, 0, 0.9);
    border: 2px solid #00ff41;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 0 30px rgba(0, 255, 65, 0.2);
}

.chat-header {
    padding: 20px 25px;
    border-bottom: 2px solid #00ff41;
    background: rgba(0, 255, 65, 0.05);
    border-radius: 10px 10px 0 0;
}

.chat-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #00ff41;
    margin: 0;
    font-family: 'JetBrains Mono', monospace;
    text-shadow: 0 0 15px rgba(0, 255, 65, 0.5);
}

.messages-section {
    flex: 1;
    padding: 20px 25px;
    overflow-y: auto;
    overflow-x: hidden;
}

.messages-container {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.message {
    background: rgba(0, 255, 65, 0.03);
    border: 1px solid #00ff41;
    border-radius: 12px;
    padding: 20px;
    backdrop-filter: blur(15px);
    transition: all 0.3s ease-out;
    opacity: 1;
    font-family: 'JetBrains Mono', monospace;
    box-shadow: 0 2px 15px rgba(0, 255, 65, 0.1);
}
*/

/* AI Image Status Overlay */
.image-status-overlay {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(0, 0, 0, 0.9);
    padding: 15px 20px;
    border-radius: 12px;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 350px;
    transition: all 0.3s ease-out;
}

.image-status-overlay.generating {
    border-color: #00ff41;
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.3);
}

.image-status-overlay.error {
    border-color: #ff4757;
    box-shadow: 0 0 20px rgba(255, 71, 87, 0.3);
}

.image-prompt {
    font-size: 0.9rem;
    color: #ffffff;
    margin-bottom: 8px;
    font-weight: 500;
}

.image-status {
    font-size: 0.8rem;
    color: #888888;
    display: flex;
    align-items: center;
    gap: 8px;
}

.image-loading-spinner {
    width: 16px;
    height: 16px;
    border: 2px solid #333333;
    border-top: 2px solid #00ff41;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.image-queue-info {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.8);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    color: #888888;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Status Indicator */
.status-indicator {
    position: absolute;
    top: 30px;
    right: 30px;
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(0, 20, 0, 0.9);
    padding: 12px 20px;
    border-radius: 25px;
    border: 2px solid #00ff41;
    backdrop-filter: blur(15px);
    z-index: 1000;
    font-size: 1.1rem;
    box-shadow: 0 4px 20px rgba(0, 255, 65, 0.3);
}

.status-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ff4444;
    animation: statusBlink 2s infinite;
    box-shadow: 0 0 10px rgba(255, 68, 68, 0.5);
}

.status-dot.connected {
    background: #00ff41;
    animation: none;
    box-shadow: 0 0 15px rgba(0, 255, 65, 0.8);
}

.status-text {
    color: #00ff41;
    font-weight: 600;
    text-shadow: 0 0 8px rgba(0, 255, 65, 0.5);
    font-family: 'JetBrains Mono', monospace;
}

@keyframes statusBlink {
    0%, 100% { 
        opacity: 1; 
        transform: scale(1);
    }
    50% { 
        opacity: 0.3; 
        transform: scale(0.8);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .main-content {
        flex-direction: column;
    }
    
    .image-panel {
        flex: 0 0 300px;
    }
    
    .chat-panel {
        flex: 1;
    }
    
    .header {
        padding: 15px 20px;
    }
    
    .app-title {
        font-size: 1.2rem;
    }
    
    .marketcap-display {
        font-size: 1.5rem;
    }
}

/* ASCII Guitar Styles */
#guitar-container {
    width: 100%;
    height: 100%;
    font-family: 'Courier New', Courier, monospace;
    color: #00BFFF; /* Blue for guitar */
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}

.string {
    display: flex;
    align-items: center;
}

.string-info {
    width: 120px;
    display: flex;
    align-items: center;
}

.string-name {
    width: 30px;
    font-size: 1.2em;
}

.dollar-range {
    font-size: 0.8em;
    opacity: 0.7;
    width: 90px;
}

.frets-container {
    display: flex;
    align-items: center;
    width: 100%;
    position: relative;
}

.frets-container::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 1px;
    background-color: #00BFFF; /* Blue string line */
    opacity: 0.5;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
}

.fret {
    flex-grow: 1;
    text-align: center;
    padding: 10px 0;
    position: relative;
    z-index: 2;
    transition: all 0.1s ease;
    border-right: 1px solid rgba(0, 191, 255, 0.3); /* Blue frets */
    font-size: 1.2em;
}

.fret:first-child {
    border-left: 3px double #00BFFF; /* The nut */
    padding-left: 5px;
}

.fret:hover {
}

.fret.playing {
    color: #0A0E1A; /* Dark background color */
    background-color: #39FF14; /* Neon green for playing */
    text-shadow: none;
}

@keyframes fade-out-up {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(-20px);
    }
}

.trade-amount {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.1em;
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 3px;
    animation: fade-out-up 1.5s ease-out forwards;
    z-index: 10;
    pointer-events: none;
    text-align: center;
}

.trade-address {
    font-size: 0.7em;
    opacity: 0.8;
    display: block;
    margin-top: 2px;
}

.trade-amount.buy {
    background-color: rgba(57, 255, 20, 0.8); /* Neon green background */
    color: #000;
    text-shadow: 0 0 5px #fff;
}

.trade-amount.sell {
    background-color: rgba(255, 49, 49, 0.8); /* Neon red background */
    color: #fff;
    text-shadow: 0 0 5px #000;
}

.hidden {
    display: none !important;
}

/* Responsive Design for Mobile Devices */
@media (max-width: 768px) {
    body {
        font-size: 14px; /* Reduce base font size */
    }

    .container {
        min-width: 100%;
        padding: 0 10px 10px 10px;
    }

    .header {
        height: auto;
        padding: 10px;
        flex-direction: column;
        gap: 10px;
    }

    .ascii-logo pre {
        font-size: 0.5rem;
    }

    .main-container {
        gap: 10px;
    }
    
    .bottom-container {
        flex-direction: column;
        gap: 10px;
    }

    .image-container {
        gap: 10px;
    }

    .chart-container {
        display: none; /* Keep chart hidden on mobile */
    }

    #drum-kit {
        gap: 5px;
        padding: 5px;
    }

    .drum-label {
        font-size: 9px;
    }

    #drum-container pre {
        font-size: 14px;
    }
    
    .string-info {
        width: 90px;
    }
    
    .string-name {
        font-size: 1em;
    }
    
    .dollar-range {
        font-size: 12px;
    }
    
    .fret {
        padding: 5px 0;
        font-size: 1em;
    }

    .box {
        height: 45vh; /* Adjust height for better vertical space */
        padding: 10px;
    }
    
    .box-header h2 {
        font-size: 14px;
    }
}