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

body {
    font-family: 'Arial', sans-serif;
    background-color: #000;
    overflow-x: hidden;
    height: 100vh;
}

.container {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Top Navigation */
.top-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(15px);
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.left-section, .center-section, .right-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.ca-address {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 12px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.ca-label {
    font-weight: bold;
    color: #fff;
    font-size: 14px;
}

.ca-text {
    font-family: 'Courier New', monospace;
    color: #fff;
    font-size: 12px;
    font-weight: bold;
}

.copy-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    cursor: pointer;
    font-size: 14px;
    padding: 4px 8px;
    border-radius: 15px;
    transition: all 0.3s;
    color: #fff;
}

.copy-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    text-decoration: none;
    font-size: 20px;
    transition: all 0.3s;
    backdrop-filter: blur(10px);
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.twitter:hover {
    background: rgba(255, 255, 255, 0.3);
}

.telegram:hover {
    background: rgba(255, 255, 255, 0.3);
}

.audio-controls {
    display: flex;
    align-items: center;
}

.play-btn {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    cursor: pointer;
    font-size: 24px;
    padding: 10px;
    border-radius: 50%;
    transition: all 0.3s;
    backdrop-filter: blur(10px);
    color: #fff;
}

.play-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.play-btn.playing {
    background: rgba(76, 175, 80, 0.3);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Audio Permission Popup */
.audio-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.popup-content {
    background: rgba(255, 255, 255, 0.95);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    max-width: 400px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(20px);
}

.popup-content h3 {
    margin: 0 0 15px 0;
    color: #333;
    font-size: 24px;
}

.popup-content p {
    margin: 0 0 25px 0;
    color: #666;
    font-size: 16px;
    line-height: 1.5;
}

.popup-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.enable-btn, .disable-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
}

.enable-btn {
    background: linear-gradient(45deg, #4CAF50, #45a049);
    color: white;
}

.enable-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(76, 175, 80, 0.4);
}

.disable-btn {
    background: linear-gradient(45deg, #f44336, #da190b);
    color: white;
}

.disable-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(244, 67, 54, 0.4);
}

/* Main Content */
.main-content {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    height: 100vh;
}

/* Background Image */
.background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Museum Frame removed - now integrated in video */

/* Video Container */
.video-container {
    position: absolute;
    overflow: hidden;
    background: transparent;
    z-index: 1;
}

/* Desktop Video */
.desktop-video {
    width: 60%;
    height: 60%;
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    display: block;
}

.mobile-video {
    display: none;
}

#desktopVideo, #mobileVideo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* Glass Overlay */
.glass-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 10;
    pointer-events: none;
}

.glass-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: bottom;
    display: block;
}

/* Girl Figure */
.girl-figure {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 15;
    pointer-events: none;
}

.girl-img {
    height: 900px;
    width: auto;
    max-width: 750px;
    object-fit: contain;
    object-position: bottom;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
    display: block;
}

/* Museum Stanchions removed - using background image instead */

/* Bottom Logo */
.bottom-logo {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    text-align: center;
}

.heat-logo {
    max-width: 700px;
    height: auto;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Top Navbar with Meme Buttons */
.top-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.navbar-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.ca-address {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 0, 0, 0.6);
    padding: 8px 12px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.ca-label {
    font-weight: bold;
    color: #fff;
    font-size: 14px;
}

.ca-text {
    font-family: 'Courier New', monospace;
    color: #fff;
    font-size: 12px;
    font-weight: bold;
}

.copy-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    cursor: pointer;
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 15px;
    transition: all 0.3s;
    color: #fff;
}

.copy-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}

/* Meme Buttons */
.meme-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.desktop-buttons {
    display: flex;
}

.meme-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border: none;
    border-radius: 20px;
    font-family: 'Arial', sans-serif;
    font-weight: bold;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.meme-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.meme-btn:hover::before {
    left: 100%;
}

.meme-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.meme-btn:active {
    transform: translateY(-1px) scale(1.02);
}

.btn-icon {
    font-size: 18px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.btn-text {
    font-weight: 900;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Individual Button Styles */
.chart-btn {
    background: linear-gradient(45deg, #00ff88, #00cc6a);
    color: #000;
    border: 2px solid #00ff88;
}

.chart-btn:hover {
    background: linear-gradient(45deg, #00ff99, #00dd7a);
    box-shadow: 0 8px 25px rgba(0, 255, 136, 0.4);
}

.x-btn {
    background: linear-gradient(45deg, #000000, #333333);
    color: #ffffff;
    border: 2px solid #000000;
}

.x-btn:hover {
    background: linear-gradient(45deg, #1a1a1a, #444444);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6);
}

.buy-btn {
    background: linear-gradient(45deg, #ff6b35, #ff8c42);
    color: #ffffff;
    border: 2px solid #ff6b35;
    animation: pulse-fire 2s infinite;
}

.buy-btn:hover {
    background: linear-gradient(45deg, #ff7b45, #ff9c52);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.6);
    animation: none;
}

.tg-btn {
    background: linear-gradient(45deg, #0088cc, #00aaff);
    color: #ffffff;
    border: 2px solid #0088cc;
}

.tg-btn:hover {
    background: linear-gradient(45deg, #0099dd, #00bbff);
    box-shadow: 0 8px 25px rgba(0, 136, 204, 0.6);
}

@keyframes pulse-fire {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
    }
    50% {
        box-shadow: 0 4px 25px rgba(255, 107, 53, 0.8);
    }
}

/* Mobile Burger Menu */
.mobile-menu {
    display: none !important;
}

.burger-btn {
    display: none !important;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

.burger-btn span {
    width: 100%;
    height: 3px;
    background: #fff;
    border-radius: 2px;
    transition: all 0.3s;
}

.mobile-menu-content {
    position: fixed;
    top: 60px;
    right: 20px;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(20px);
    border-radius: 15px;
    padding: 20px;
    display: none;
    flex-direction: column;
    gap: 10px;
    z-index: 1001;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.mobile-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    border: none;
    border-radius: 20px;
    font-family: 'Arial', sans-serif;
    font-weight: bold;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    width: 100%;
    justify-content: flex-start;
}

/* Responsive Design */
@media (max-width: 768px) {
    body {
        overflow-x: visible !important; /* Allow horizontal overflow */
        overflow-y: hidden !important;
    }
    
    .container {
        height: 100vh !important;
        overflow-x: visible !important; /* Allow horizontal overflow */
        overflow-y: hidden !important;
    }
    
    .main-content {
        overflow-x: visible !important; /* Allow horizontal overflow */
        overflow-y: hidden !important;
    }
    
    /* Hide desktop buttons, show mobile menu */
    .desktop-buttons {
        display: none !important;
    }
    
    .mobile-menu {
        display: block !important;
    }
    
    .burger-btn {
        display: flex !important;
    }
    
    /* Make CA address smaller on mobile */
    .ca-address {
        padding: 6px 10px;
        font-size: 11px;
    }
    
    .ca-label {
        font-size: 12px;
    }
    
    .ca-text {
        font-size: 10px;
    }
    
    /* Mobile Video - BIGGER */
    .desktop-video {
        display: none !important;
    }
    
    .mobile-video {
        display: block !important;
        width: 120% !important;
        height: 70% !important;
        top: 5% !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        max-width: none !important;
        min-width: 120% !important;
    }
    
    #mobileVideo {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        max-width: none !important;
    }
    
    .glass-overlay {
        width: 100% !important;
        height: 100% !important;
        top: 0 !important;
    }
    
    /* Make girl bigger on mobile - 50% of screen height */
    .girl-img {
        height: 571px !important;
        max-width: 476px !important;
    }
    
    /* Adjust logo size */
    .heat-logo {
        max-width: 500px !important;
    }
    
    .top-navbar {
        padding: 10px 20px;
    }
}

@media (max-width: 480px) {
    .video-container {
        width: 80%;
        height: 60%;
        margin-top: 25px;
    }
    
    .girl-img {
        height: 571px !important;
        max-width: 476px !important;
    }
    
    .heat-logo {
        max-width: 400px;
    }
    
    .ca-address {
        padding: 4px 8px;
    }
    
    .ca-label {
        font-size: 10px;
    }
    
    .ca-text {
        font-size: 9px;
    }
}

@media (max-width: 480px) {
    .video-container {
        width: 80% !important;
        height: 60% !important;
        background: transparent !important;
        margin-top: 25px !important;
    }
    
    #mainVideo {
        object-fit: contain !important;
    }
    
    .girl-img {
        height: 571px !important;
        max-width: 476px !important;
    }
    
    .heat-logo {
        max-width: 400px !important;
    }
    
    .ca-address {
        padding: 4px 8px;
    }
    
    .ca-label {
        font-size: 10px;
    }
    
    .ca-text {
        font-size: 9px;
    }
}
