@import url('https://fonts.googleapis.com/css2?family=Share+Tech+Mono&display=swap');

:root {
    --cyan: #00f3ff;
    --purple: #bc13fe;
    --dark-bg: #0a0a1a;
}

body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    background-color: var(--dark-bg);
    background-image: radial-gradient(circle at center, #1a1a3a 0%, var(--dark-bg) 100%);
    font-family: 'Share Tech Mono', monospace;
    color: var(--cyan);
    overflow: hidden;
}

/* --- UI OVERLAY STYLES --- */
.neon-box {
    background: rgba(0, 243, 255, 0.05);
    border: 1px solid var(--cyan);
    border-radius: 3px;
    box-shadow: 0 0 8px rgba(0, 243, 255, 0.4), inset 0 0 8px rgba(0, 243, 255, 0.1);
    padding: 15px;
    backdrop-filter: blur(2px);
    position: absolute;
    z-index: 10;
    pointer-events: auto;
}

.sidebar {
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 140px;
    border-right: 1px solid rgba(0, 243, 255, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 40px;
    background: rgba(10, 10, 26, 0.8);
    z-index: 200;
}

.nav-item {
    margin: 25px 0;
    text-align: center;
    font-size: 16px;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    padding: 10px 0;
}
.nav-item:hover, .nav-item.active-nav {
    text-shadow: 0 0 10px var(--cyan);
    background: rgba(0, 243, 255, 0.1);
    border-left: 3px solid var(--cyan);
}

.header-info {
    position: absolute;
    top: 20px; left: 100px;
    z-index: 10;
    pointer-events: none;
}
.header-info h1 { margin: 0; font-size: 24px; letter-spacing: 2px; text-shadow: 0 0 10px var(--cyan); }
/* --- CONTROLS LEGEND --- */
.controls-legend {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    background: transparent;
    border: 1px solid rgba(0, 243, 255, 0.3);
    border-radius: 6px;
    box-shadow: inset 0 0 10px rgba(0, 243, 255, 0.05);
    width: fit-content;
}

.mouse-icon {
    width: 30px;
    height: 30px;
    color: var(--cyan);
    filter: drop-shadow(0 0 3px var(--cyan));
    margin-right: 12px;
}

.controls-text {
    display: flex;
    flex-direction: column;
    font-size: 10px;
    line-height: 1.4;
    color: rgba(0, 243, 255, 0.8);
    letter-spacing: 1px;
}

.controls-text span {
    display: flex;
    align-items: center;
}

/* Make the bracketed letters white to pop out */
.controls-text span::first-letter {
    color: #fff;
    text-shadow: 0 0 4px #fff;
}

.info-panel { top: 150px; right: 50px; width: 250px; }
.info-panel h3 { margin-top: 0; border-bottom: 1px solid var(--cyan); padding-bottom: 5px; font-size: 14px;}
.info-panel ul { list-style-type: none; padding-left: 0; font-size: 12px; line-height: 1.8;}

/* --- 3D CANVAS CONTAINER --- */
#canvas-container {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 1;
}

/* --- FLOATING 3D LABELS --- */
.neon-label {
    color: var(--cyan);
    background: rgba(10, 10, 26, 0.8);
    border: 1px solid var(--cyan);
    padding: 6px 12px;
    border-radius: 4px;
    font-family: 'Share Tech Mono', monospace;
    font-size: 12px;
    letter-spacing: 1px;
    box-shadow: 0 0 8px rgba(0, 243, 255, 0.5);
    text-shadow: 0 0 5px var(--cyan);
    pointer-events: auto; /* Allows hover/click */
    cursor: pointer;
    transition: all 0.2s ease;
}

.neon-label:hover {
    background: rgba(0, 243, 255, 0.2);
    transform: scale(1.05);
}

/* --- DETAIL PANEL (SIDE SLIDER) --- */
.detail-panel {
    position: absolute;
    top: 0;
    right: 0;
    width: 380px;
    height: 100%;
    background: rgba(10, 10, 26, 0.85);
    border-left: 2px solid var(--cyan);
    box-shadow: -10px 0 20px rgba(0, 243, 255, 0.1);
    padding: 30px;
    box-sizing: border-box;
    z-index: 100;
    pointer-events: auto;
    backdrop-filter: blur(10px);
    
    /* Animation settings */
    transform: translateX(100%); 
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.detail-panel.open {
    transform: translateX(0); /* Slides it into view */
}

.close-btn {
    background: transparent;
    color: var(--cyan);
    border: 1px solid var(--cyan);
    padding: 10px 16px;
    cursor: pointer;
    float: right;
    font-family: 'Share Tech Mono', monospace;
    font-size: 14px;
    transition: all 0.2s;
    min-width: 80px;
    min-height: 40px;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.close-btn:hover, .close-btn:active {
    background: var(--cyan);
    color: #000;
}

/* Mobile detail panel improvements */
@media screen and (max-width: 767px) {
    .detail-panel {
        width: 100% !important;
        max-width: 100% !important;
        padding: 70px 20px 20px 20px !important;
        transform: translateX(100%) !important;
        -webkit-transform: translateX(100%) !important;
        touch-action: pan-y !important;
        z-index: 10000 !important;
        box-sizing: border-box !important;
        display: none !important;
    }
    
    .detail-panel.open {
        display: block !important;
        transform: translateX(0) !important;
        -webkit-transform: translateX(0) !important;
    }
    
    .close-btn {
        position: absolute !important;
        top: 15px !important;
        right: 15px !important;
        padding: 15px 25px !important;
        font-size: 16px !important;
        background: rgba(0, 243, 255, 0.5) !important;
        z-index: 10001 !important;
        border: 3px solid var(--cyan) !important;
        min-width: 100px !important;
        min-height: 50px !important;
        cursor: pointer !important;
        -webkit-tap-highlight-color: rgba(0, 243, 255, 0.5) !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    /* Add swipe hint for mobile */
    .detail-panel::before {
        content: '';
        position: absolute;
        left: 8px;
        top: 50%;
        transform: translateY(-50%);
        width: 4px;
        height: 40px;
        background: rgba(0, 243, 255, 0.3);
        border-radius: 2px;
    }
    
    #detail-image {
        margin-top: 20px;
    }
    
    #detail-title {
        font-size: 20px !important;
        margin-top: 10px !important;
    }
}

#detail-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border: 1px solid var(--purple);
    margin-top: 40px;
    border-radius: 2px;
}

#detail-title {
    color: var(--cyan);
    text-shadow: 0 0 8px var(--cyan);
    margin-top: 20px;
    margin-bottom: 5px;
    font-size: 24px;
    letter-spacing: 1px;
}

.data-line {
    font-size: 12px;
    color: rgba(0, 243, 255, 0.6);
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(0, 243, 255, 0.2);
    padding-bottom: 10px;
}

#detail-desc {
    color: #fff;
    font-size: 14px;
    line-height: 1.6;
    text-shadow: 0 0 4px rgba(255, 255, 255, 0.3);
}

/* --- SIDEBAR NAV ITEMS --- */

.nav-item {
    margin: 25px 0;
    text-align: center;
    font-size: 16px; /* Increased font size */
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    padding: 10px 0;
}

.nav-item:hover, .nav-item.active-nav {
    text-shadow: 0 0 10px var(--cyan);
    background: rgba(0, 243, 255, 0.1);
    border-left: 3px solid var(--cyan);
}

/* --- CENTERED HEADER --- */
.header-info {
    position: absolute;
    top: 20px; 
    left: 50%;
    transform: translateX(-50%); /* This perfectly centers the div horizontally */
    z-index: 10;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    align-items: center; /* Centers the text inside the div */
    text-align: center;
}

.header-info h1 { 
    margin: 0; 
    font-size: 36px; /* Huge main title */
    letter-spacing: 4px; 
    text-shadow: 0 0 15px var(--cyan); 
}

.header-info h2 {
    margin: 5px 0 10px 0;
    font-size: 16px; /* Smaller subtitle */
    color: var(--purple);
    letter-spacing: 3px;
    text-shadow: 0 0 8px var(--purple);
}

/* --- SPONSOR SECTION --- */
.sponsor-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 5px;
}

.sponsor-text {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.sponsor-logo {
    height: 128px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.3));
}

/* --- LEFT SIDE STATUS PANEL --- */
.status-container {
    position: absolute;
    top: 25px;
    left: 170px; /* Positions it nicely to the right of your 140px sidebar */
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Aligns text to the left */
    background: rgba(10, 10, 26, 0.7);
    padding: 20px;
    border-radius: 6px;
    border: 1px solid rgba(0, 243, 255, 0.2);
    z-index: 10;
    pointer-events: none; /* Lets clicks pass through to the map */
}

.status-header {
    font-size: 14px;
    margin: 0 0 15px 0;
    letter-spacing: 1px;
}

/* --- NEW PAGE OVERLAYS --- */
.page-overlay {
    position: absolute;
    top: 0;
    left: 140px; /* Starts exactly where the sidebar ends */
    right: 0;
    bottom: 0;
    background: rgba(10, 10, 26, 0.95); /* Dark, mostly opaque glass */
    backdrop-filter: blur(15px);
    z-index: 50; /* Sits above the 3D map but under the sidebar */
    padding: 40px 60px;
    opacity: 0;
    pointer-events: none; /* Hidden by default */
    transition: opacity 0.3s ease;
    overflow-y: auto;
}

.page-overlay.open {
    opacity: 1;
    pointer-events: auto; /* Becomes clickable when open */
}

.page-title {
    font-size: 32px;
    color: var(--cyan);
    border-bottom: 2px solid var(--purple);
    padding-bottom: 10px;
    width: fit-content;
    text-shadow: 0 0 10px var(--cyan);
    margin-bottom: 30px;
}

/* --- TICKET PAGE STYLES --- */
.ticket-section {
    margin-bottom: 40px;
}

.ticket-category {
    font-size: 20px;
    color: var(--purple);
    text-shadow: 0 0 8px var(--purple);
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.ticket-benefit {
    color: #0f0;
    font-size: 14px;
    margin-bottom: 20px;
    text-shadow: 0 0 5px #0f0;
}

.ticket-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.ticket-card {
    background: rgba(0, 243, 255, 0.05);
    border: 1px solid var(--cyan);
    border-radius: 8px;
    padding: 20px;
    position: relative;
    transition: all 0.3s ease;
    text-decoration: none;
    display: block;
    cursor: pointer;
}

.ticket-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.3);
}

.ticket-card h4 {
    color: #fff;
}

.ticket-card .ticket-qty,
.ticket-card .ticket-date,
.ticket-card .ticket-note,
.ticket-card .ticket-addon {
    color: rgba(255, 255, 255, 0.6);
}

.ticket-card.early { border-color: #ffea00; }
.ticket-card.early-bird { border-color: #00ffaa; }
.ticket-card.pre-sale { border-color: #0088ff; }
.ticket-card.regular { border-color: var(--cyan); }
.ticket-card.vip { border-color: #bc13fe; box-shadow: 0 0 10px rgba(188, 19, 254, 0.3); }
.ticket-card.vvip { border-color: #ffd700; box-shadow: 0 0 15px rgba(255, 215, 0, 0.4); }

.ticket-badge {
    position: absolute;
    top: -10px;
    left: 15px;
    background: var(--dark-bg);
    padding: 2px 10px;
    font-size: 11px;
    letter-spacing: 1px;
    border: 1px solid currentColor;
}

.ticket-card.early .ticket-badge { color: #ffea00; border-color: #ffea00; }
.ticket-card.early-bird .ticket-badge { color: #00ffaa; border-color: #00ffaa; }
.ticket-card.pre-sale .ticket-badge { color: #0088ff; border-color: #0088ff; }
.ticket-card.regular .ticket-badge { color: var(--cyan); border-color: var(--cyan); }
.ticket-card.vip .ticket-badge { color: #bc13fe; border-color: #bc13fe; }
.ticket-card.vvip .ticket-badge { color: #ffd700; border-color: #ffd700; text-shadow: 0 0 5px #ffd700; }

.ticket-card h4 {
    margin: 10px 0 5px 0;
    font-size: 18px;
    color: #fff;
}

.ticket-price {
    font-size: 28px;
    color: var(--cyan);
    text-shadow: 0 0 10px var(--cyan);
    font-weight: bold;
    margin: 10px 0;
}

.ticket-qty {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 5px;
}

.ticket-date {
    font-size: 11px;
    color: var(--purple);
    margin-bottom: 10px;
}

.ticket-addon {
    font-size: 12px;
    color: #ffea00;
    margin-top: 10px;
}

.ticket-note {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
    font-style: italic;
    margin-top: 8px;
}

.group-sale {
    background: rgba(0, 255, 170, 0.1);
    border: 1px solid #00ffaa;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    margin-bottom: 30px;
}

.group-sale h4 {
    color: #00ffaa;
    margin-bottom: 10px;
    text-shadow: 0 0 5px #00ffaa;
}

.vvip-benefits {
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid #ffd700;
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
}

.vvip-benefits h4 {
    color: #ffd700;
    margin-bottom: 15px;
    text-shadow: 0 0 5px #ffd700;
}

.vvip-benefits ul {
    list-style: none;
    padding: 0;
}

.vvip-benefits li {
    padding: 5px 0;
    padding-left: 20px;
    position: relative;
    color: rgba(255, 255, 255, 0.8);
}

.vvip-benefits li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #ffd700;
}

.ticket-rules {
    background: rgba(255, 0, 85, 0.1);
    border: 1px solid #ff0055;
    padding: 20px;
    border-radius: 8px;
    margin-top: 30px;
}

.ticket-rules h4 {
    color: #ff0055;
    margin-bottom: 15px;
    text-shadow: 0 0 5px #ff0055;
}

.ticket-rules ul {
    list-style: none;
    padding: 0;
}

.ticket-rules li {
    padding: 8px 0;
    padding-left: 20px;
    position: relative;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
}

.ticket-rules li:before {
    content: "⚠";
    position: absolute;
    left: 0;
    color: #ff0055;
}

/* --- LINEUP PAGE STYLES --- */
.lineup-subtitle {
    color: var(--purple);
    font-size: 16px;
    margin-bottom: 30px;
    text-shadow: 0 0 5px var(--purple);
}

.lineup-tabs {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.lineup-tab {
    background: transparent;
    border: 1px solid var(--cyan);
    color: var(--cyan);
    padding: 10px 25px;
    font-family: 'Share Tech Mono', monospace;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.lineup-tab:hover, .lineup-tab.active {
    background: var(--cyan);
    color: #000;
    box-shadow: 0 0 15px var(--cyan);
}

.lineup-content.hidden {
    display: none;
}

.stage-header {
    font-size: 18px;
    color: var(--purple);
    border-bottom: 2px solid var(--purple);
    padding-bottom: 10px;
    margin-bottom: 20px;
    text-shadow: 0 0 8px var(--purple);
}

.set-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.set-item {
    display: grid;
    grid-template-columns: 150px 1fr 150px;
    align-items: center;
    padding: 15px 20px;
    background: rgba(0, 243, 255, 0.05);
    border-left: 3px solid var(--cyan);
    transition: all 0.3s ease;
}

.set-item:hover {
    background: rgba(0, 243, 255, 0.1);
    transform: translateX(10px);
}

.set-item.highlight {
    border-left-color: var(--purple);
    background: rgba(188, 19, 254, 0.1);
}

.set-item.headliner {
    border-left-color: #ffd700;
    background: rgba(255, 215, 0, 0.1);
}

.set-time {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.set-artist {
    font-size: 18px;
    color: #fff;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
}

.set-item.highlight .set-artist {
    color: var(--cyan);
    text-shadow: 0 0 10px var(--cyan);
}

.set-item.headliner .set-artist {
    color: #ffd700;
    text-shadow: 0 0 10px #ffd700;
    font-size: 22px;
}

.set-style {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    text-align: right;
}

/* --- INFO PAGE STYLES --- */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.info-card {
    background: rgba(0, 243, 255, 0.05);
    border: 1px solid var(--cyan);
    border-radius: 8px;
    padding: 25px;
    text-align: center;
}

.info-card h3 {
    color: var(--purple);
    font-size: 14px;
    letter-spacing: 2px;
    margin-bottom: 15px;
    text-shadow: 0 0 5px var(--purple);
}

.info-highlight {
    font-size: 24px;
    color: var(--cyan);
    text-shadow: 0 0 10px var(--cyan);
    margin: 10px 0;
}

.info-note {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 10px;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 15px;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--cyan);
    text-decoration: none;
    font-size: 13px;
    padding: 10px;
    background: rgba(0, 243, 255, 0.1);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: rgba(0, 243, 255, 0.2);
    box-shadow: 0 0 10px rgba(0, 243, 255, 0.3);
}

.social-icon {
    background: var(--cyan);
    color: #000;
    padding: 5px 10px;
    font-size: 11px;
    font-weight: bold;
    border-radius: 3px;
}

.info-section {
    background: rgba(188, 19, 254, 0.05);
    border: 1px solid var(--purple);
    border-radius: 8px;
    padding: 30px;
}

.info-section h3 {
    color: var(--purple);
    font-size: 18px;
    margin-bottom: 15px;
    text-shadow: 0 0 5px var(--purple);
}

.info-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-bottom: 15px;
}

/* --- MERCH PAGE STYLES --- */
.merch-subtitle {
    color: var(--purple);
    font-size: 16px;
    margin-bottom: 30px;
    text-shadow: 0 0 5px var(--purple);
}

.merch-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.merch-card {
    background: rgba(0, 243, 255, 0.05);
    border: 1px solid var(--cyan);
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.merch-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 243, 255, 0.2);
}

.merch-image {
    width: 100%;
    height: 250px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.merch-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.merch-card h3 {
    color: #fff;
    font-size: 18px;
    margin-bottom: 10px;
}

.merch-desc {
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
    margin-bottom: 15px;
}

.merch-price {
    font-size: 28px;
    color: var(--cyan);
    text-shadow: 0 0 10px var(--cyan);
    font-weight: bold;
    margin-bottom: 15px;
}

.merch-btn {
    background: transparent;
    border: 1px solid var(--cyan);
    color: var(--cyan);
    padding: 10px 30px;
    font-family: 'Share Tech Mono', monospace;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.merch-btn:hover {
    background: var(--cyan);
    color: #000;
    box-shadow: 0 0 15px var(--cyan);
}

.merch-note {
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
    padding: 20px;
    border-top: 1px solid rgba(0, 243, 255, 0.2);
}

/* --- FOOTER STYLES --- */
.site-footer {
    position: fixed;
    bottom: 0;
    left: 140px; /* Aligns with page content (after sidebar) */
    right: 0;
    background: rgba(10, 10, 26, 0.9);
    border-top: 1px solid rgba(0, 243, 255, 0.3);
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    backdrop-filter: blur(5px);
}

.footer-social {
    display: flex;
    gap: 20px;
}

.footer-social-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--cyan);
    text-decoration: none;
    font-size: 12px;
    transition: all 0.3s ease;
}

.footer-social-link:hover {
    color: #fff;
    text-shadow: 0 0 10px var(--cyan);
}

.social-svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.footer-text {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.4);
}

/* Adjust page overlays to account for footer */
.page-overlay {
    padding-bottom: 80px; /* Add space for footer */
}

/* ============================================
   VIEWPORT FIX FOR ORIENTATION CHANGES
   ============================================ */

/* Force proper sizing on all devices */
html, body {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

/* Prevent zoom/scale issues on rotation */
@supports (-webkit-touch-callout: none) {
    /* iOS specific */
    html {
        height: -webkit-fill-available;
    }
    body {
        min-height: -webkit-fill-available;
    }
}

/* Samsung/Android orientation fix */
@media screen {
    html {
        width: 100vw;
        height: 100vh;
    }
}

/* ============================================
   MOBILE RESPONSIVE STYLES
   ============================================ */

/* Mobile viewport meta is already in HTML */

/* --- TABLET (768px - 1024px) --- */
@media screen and (max-width: 1024px) {
    .sidebar {
        width: 100px;
    }
    
    .nav-item {
        font-size: 14px;
        margin: 20px 0;
    }
    
    .header-info h1 {
        font-size: 28px;
    }
    
    .header-info h2 {
        font-size: 14px;
    }
    
    .sponsor-text {
        font-size: 12px;
    }
    
    .sponsor-logo {
        height: 96px;
    }
    
    .status-container {
        left: 120px;
        padding: 15px;
    }
    
    .page-overlay {
        left: 100px;
        padding: 30px 40px 80px 40px;
    }
    
    .site-footer {
        left: 100px;
        padding: 12px 20px;
    }
    
    .info-panel {
        width: 200px;
        right: 20px;
        top: 120px;
    }
}

/* --- MOBILE PORTRAIT (up to 767px) --- */
@media screen and (max-width: 767px) {
    /* Convert sidebar to bottom navigation */
    .sidebar {
        position: fixed !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 45px !important;
        top: auto !important;
        width: 100% !important;
        height: 55px !important;
        flex-direction: row !important;
        justify-content: space-around !important;
        align-items: center !important;
        padding: 0 !important;
        border-right: none !important;
        border-top: 1px solid rgba(0, 243, 255, 0.3) !important;
        background: rgba(10, 10, 26, 0.98) !important;
        z-index: 9999 !important;
        display: -webkit-flex !important;
        display: flex !important;
        -webkit-flex-direction: row !important;
        flex-direction: row !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .nav-item {
        margin: 0 !important;
        padding: 8px 3px !important;
        font-size: 10px !important;
        flex: 1 !important;
        -webkit-flex: 1 !important;
        border-left: none !important;
        text-align: center !important;
        line-height: 1.2 !important;
        display: block !important;
        visibility: visible !important;
    }
    
    .nav-item:hover, .nav-item.active-nav {
        border-left: none !important;
        border-bottom: 3px solid var(--cyan) !important;
        background: rgba(0, 243, 255, 0.15) !important;
    }
    
    /* Header adjustments */
    .header-info {
        position: fixed;
        top: 10px;
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        width: 100%;
        max-width: 100vw;
    }
    
    .header-info h1 {
        font-size: 20px;
        letter-spacing: 2px;
    }
    
    .header-info h2 {
        font-size: 12px;
        margin: 3px 0 8px 0;
    }
    
    .sponsor-section {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
    
    .sponsor-text {
        font-size: 9px;
    }
    
    .sponsor-logo {
        height: 72px;
        max-width: 80vw;
    }
    
    /* Status container - hide on mobile to save space */
    .status-container {
        display: none !important;
    }
    
    .controls-legend {
        padding: 8px 12px;
    }
    
    .mouse-icon {
        width: 24px;
        height: 24px;
    }
    
    .controls-text {
        font-size: 8px;
    }
    
    /* Info panel - make smaller */
    .info-panel {
        display: none; /* Hide on mobile, can be shown via detail panel */
    }
    
    /* Page overlays - full width */
    .page-overlay {
        position: fixed !important;
        left: 0 !important;
        right: 0 !important;
        top: 0 !important;
        bottom: 100px !important;
        width: 100vw !important;
        height: calc(100vh - 100px) !important;
        padding: 20px !important;
        padding-bottom: 20px !important;
        z-index: 500 !important;
        box-sizing: border-box !important;
    }
    
    .page-overlay.open {
        opacity: 1 !important;
        pointer-events: auto !important;
        display: block !important;
    }
    
    .page-title {
        font-size: 24px;
        margin-bottom: 20px;
    }
    
    /* Ticket page mobile */
    .ticket-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .ticket-card {
        padding: 15px;
    }
    
    .ticket-price {
        font-size: 22px;
    }
    
    .ticket-card h4 {
        font-size: 16px;
    }
    
    /* Lineup page mobile */
    .lineup-tabs {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .lineup-tab {
        padding: 8px 15px;
        font-size: 12px;
    }
    
    .set-item {
        grid-template-columns: 80px 1fr 80px;
        padding: 10px 15px;
    }
    
    .set-time {
        font-size: 11px;
    }
    
    .set-artist {
        font-size: 14px;
    }
    
    .set-item.headliner .set-artist {
        font-size: 16px;
    }
    
    .artist-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    /* Info page mobile */
    .info-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .info-highlight {
        font-size: 18px;
    }
    
    /* Merch page mobile */
    .merch-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .merch-image {
        height: 150px;
    }
    
    .merch-price {
        font-size: 20px;
    }
    
    /* Footer - full width */
    .site-footer {
        left: 0 !important;
        right: 0 !important;
        padding: 8px 15px !important;
        height: 45px !important;
        z-index: 9998 !important;
        box-sizing: border-box !important;
        display: -webkit-flex !important;
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .footer-social {
        gap: 15px !important;
    }
    
    .footer-social-link span {
        display: none !important; /* Hide text, show only icons */
    }
    
    .social-svg {
        width: 24px !important;
        height: 24px !important;
    }
    
    .footer-text {
        font-size: 9px !important;
    }
    
    /* Detail panel - full screen on mobile */
    .detail-panel {
        width: 100%;
        padding: 20px;
    }
    
    #detail-image {
        height: 150px;
    }
    
    #detail-title {
        font-size: 20px;
    }
    
    /* Map gallery mobile */
    .map-gallery {
        grid-template-columns: 1fr;
    }
    
    .map-item {
        height: 150px;
    }
    
    /* Modals mobile */
    .dj-video-container,
    .image-modal-container {
        width: 95%;
        max-width: none;
    }
    
    /* Speaker toggle - smaller */
    .speaker-toggle {
        top: 10px;
        right: 10px;
        width: 36px;
        height: 36px;
    }
    
    .speaker-icon {
        font-size: 16px;
    }
}

/* --- MOBILE LANDSCAPE (up to 896px height) --- */
@media screen and (max-height: 500px) and (orientation: landscape) {
    .sidebar {
        width: 60px;
        padding-top: 10px;
    }
    
    .nav-item {
        font-size: 10px;
        margin: 10px 0;
        padding: 5px 0;
    }
    
    .header-info h1 {
        font-size: 18px;
    }
    
    .header-info h2 {
        font-size: 10px;
    }
    
    .sponsor-logo {
        height: 56px;
    }
    
    .status-container {
        display: none; /* Hide controls in landscape to save space */
    }
    
    .page-overlay {
        left: 60px;
        padding: 15px 20px 60px 20px;
    }
    
    .page-title {
        font-size: 20px;
        margin-bottom: 15px;
    }
    
    .site-footer {
        left: 60px;
        padding: 8px 15px;
    }
    
    .ticket-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .ticket-card {
        padding: 10px;
    }
    
    .ticket-price {
        font-size: 18px;
    }
    
    .artist-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .set-item {
        padding: 8px 12px;
    }
}

/* --- SMALL MOBILE (up to 375px) --- */
@media screen and (max-width: 375px) {
    .header-info h1 {
        font-size: 16px;
    }
    
    .header-info h2 {
        font-size: 10px;
    }
    
    .sponsor-logo {
        height: 60px;
    }
    
    .nav-item {
        font-size: 9px;
        padding: 8px 3px;
    }
    
    .page-title {
        font-size: 20px;
    }
    
    .ticket-price {
        font-size: 18px;
    }
    
    .artist-grid {
        grid-template-columns: 1fr;
    }
    
    .merch-grid {
        grid-template-columns: 1fr;
    }
}