/* ========================================
   WhereAreWeGoing? - Main Styles
   🚀 AYAAN THEME - ULTRA CYAN SPACE EDITION 🚀
   ======================================== */

:root {
    /* AYAAN THEME - CYAN DOMINANCE */
    --void-black: #000005;
    --deep-space: #000510;
    --cosmic-purple: #050520;
    --nebula-purple: #0a0535;
    --dark-matter: #080428;
    --abyss: #000318;

    /* NEON ACCENTS - MAXIMUM CYAN */
    --neon-cyan: #00ffff;
    --neon-cyan-bright: #40ffff;
    --neon-cyan-dim: #00b8b8;
    --neon-pink: #ff0080;
    --neon-purple: #9000ff;
    --neon-green: #00ff88;
    --neon-orange: #ff6600;
    --neon-blue: #0066ff;
    --neon-magenta: #ff00ff;
    --neon-yellow: #ffff00;
    --neon-red: #ff0044;
    --electric-violet: #8b00ff;

    /* AYAAN SIGNATURE COLORS */
    --ayaan-primary: #00ffff;
    --ayaan-secondary: #00ccff;
    --ayaan-accent: #ff00aa;
    --ayaan-glow: rgba(0, 255, 255, 0.8);

    /* Gradients - CYAN FOCUSED */
    --gradient-ayaan: linear-gradient(135deg, #00ffff, #00aaff, #9000ff, #ff00aa);
    --gradient-cyber: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple), var(--neon-pink));
    --gradient-void: linear-gradient(180deg, var(--cosmic-purple), var(--void-black));
    --gradient-fire: linear-gradient(135deg, var(--neon-orange), var(--neon-pink), var(--neon-purple));
    --gradient-ice: linear-gradient(135deg, var(--neon-cyan), var(--neon-blue), var(--neon-purple));
    --gradient-toxic: linear-gradient(135deg, var(--neon-green), var(--neon-cyan), var(--neon-blue));

    /* Text */
    --text-primary: #ffffff;
    --text-secondary: #a0d8ff;
    --text-muted: #507090;
    --text-glow: #b0ffff;

    /* AYAAN MEGA GLOWS */
    --glow-cyan: 0 0 10px var(--neon-cyan), 0 0 20px var(--neon-cyan), 0 0 40px var(--neon-cyan), 0 0 80px rgba(0, 255, 255, 0.6), 0 0 120px rgba(0, 255, 255, 0.4);
    --glow-pink: 0 0 10px var(--neon-pink), 0 0 20px var(--neon-pink), 0 0 40px rgba(255, 0, 128, 0.5);
    --glow-purple: 0 0 10px var(--neon-purple), 0 0 20px var(--neon-purple), 0 0 40px rgba(144, 0, 255, 0.5);
    --glow-green: 0 0 10px var(--neon-green), 0 0 20px var(--neon-green), 0 0 40px rgba(0, 255, 136, 0.5);

    /* Fonts */
    --font-display: 'Orbitron', sans-serif;
    --font-body: 'Rajdhani', sans-serif;
    --font-mono: 'Share Tech Mono', monospace;

    /* Sizing */
    --header-height: 160px;
    --panel-width: 420px;
    --stats-height: 80px;

    /* Transitions */
    --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    -webkit-tap-highlight-color: transparent;
}

body {
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    background: var(--void-black);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Selection - CYAN */
::selection {
    background: var(--neon-cyan);
    color: var(--void-black);
}

/* Scrollbar - CYAN THEME */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: var(--void-black);
    border: 1px solid rgba(0, 255, 255, 0.2);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--neon-cyan), var(--neon-purple));
    border-radius: 5px;
    box-shadow: 0 0 10px var(--neon-cyan);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--neon-cyan-bright), var(--neon-pink));
    box-shadow: 0 0 20px var(--neon-cyan);
}

/* ========================================
   Background Layers - AYAAN SPACE THEME
   ======================================== */

.bg-layer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

/* Stars layer - Will be generated by JS */
.stars {
    z-index: 1;
    background: transparent;
}

/* MEGA NEBULA - MORE CYAN */
.nebula {
    z-index: 2;
    background:
        radial-gradient(ellipse at 15% 15%, rgba(0, 255, 255, 0.35) 0%, transparent 45%),
        radial-gradient(ellipse at 85% 15%, rgba(0, 200, 255, 0.3) 0%, transparent 40%),
        radial-gradient(ellipse at 50% 50%, rgba(144, 0, 255, 0.2) 0%, transparent 50%),
        radial-gradient(ellipse at 15% 85%, rgba(0, 255, 255, 0.25) 0%, transparent 45%),
        radial-gradient(ellipse at 85% 85%, rgba(255, 0, 170, 0.2) 0%, transparent 40%),
        radial-gradient(ellipse at 50% 20%, rgba(0, 255, 200, 0.15) 0%, transparent 60%),
        radial-gradient(ellipse at 30% 70%, rgba(0, 180, 255, 0.2) 0%, transparent 50%);
    animation: nebulaShift 30s ease-in-out infinite;
}

@keyframes nebulaShift {
    0%, 100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
        filter: hue-rotate(0deg) brightness(1);
    }
    25% {
        filter: hue-rotate(10deg) brightness(1.1);
    }
    50% {
        opacity: 0.9;
        transform: scale(1.03) rotate(0.5deg);
        filter: hue-rotate(20deg) brightness(1.2);
    }
    75% {
        filter: hue-rotate(10deg) brightness(1.1);
    }
}

/* CYBER GRID - CYAN */
.grid-perspective {
    z-index: 3;
    background-image:
        linear-gradient(rgba(0, 255, 255, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 255, 0.08) 1px, transparent 1px);
    background-size: 60px 60px;
    transform: perspective(500px) rotateX(60deg);
    transform-origin: center top;
    opacity: 0.7;
    animation: gridPulse 6s ease-in-out infinite;
}

@keyframes gridPulse {
    0%, 100% { opacity: 0.7; filter: brightness(1); }
    50% { opacity: 0.4; filter: brightness(1.5); }
}

/* Scanlines - SUBTLE, LOW Z-INDEX */
.scanlines {
    z-index: 4;
    background: repeating-linear-gradient(
        0deg,
        transparent 0px,
        transparent 2px,
        rgba(0, 255, 255, 0.015) 2px,
        rgba(0, 255, 255, 0.015) 4px
    );
    animation: scanlineMove 6s linear infinite;
}

@keyframes scanlineMove {
    0% { background-position: 0 0; }
    100% { background-position: 0 100px; }
}

/* Noise - Very subtle */
.noise {
    z-index: 5;
    opacity: 0.012;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    animation: noiseShift 0.3s steps(10) infinite;
}

@keyframes noiseShift {
    0%, 100% { transform: translate(0, 0); }
    25% { transform: translate(-1%, 1%); }
    50% { transform: translate(1%, -1%); }
    75% { transform: translate(-1%, -1%); }
}

/* Vignette */
.vignette {
    z-index: 6;
    background: radial-gradient(ellipse at center, transparent 0%, transparent 50%, rgba(0, 0, 0, 0.85) 100%);
}

/* Floating particles container */
.floating-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 7;
    pointer-events: none;
    overflow: hidden;
}

.floating-particles span {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--neon-cyan);
    border-radius: 50%;
    box-shadow:
        0 0 8px var(--neon-cyan),
        0 0 16px var(--neon-cyan),
        0 0 24px var(--neon-cyan);
    animation: floatParticle 25s linear infinite;
}

.floating-particles span:nth-child(even) {
    background: var(--neon-cyan-bright);
    width: 3px;
    height: 3px;
}

.floating-particles span:nth-child(3n) {
    background: var(--neon-purple);
    box-shadow:
        0 0 8px var(--neon-purple),
        0 0 16px var(--neon-purple);
}

.floating-particles span:nth-child(5n) {
    background: var(--neon-pink);
    box-shadow:
        0 0 8px var(--neon-pink),
        0 0 16px var(--neon-pink);
}

.floating-particles span:nth-child(7n) {
    background: var(--neon-green);
    box-shadow:
        0 0 8px var(--neon-green),
        0 0 16px var(--neon-green);
}

@keyframes floatParticle {
    0% {
        transform: translateY(100vh) translateX(0) scale(0);
        opacity: 0;
    }
    5% {
        opacity: 1;
        transform: translateY(95vh) translateX(15px) scale(1);
    }
    50% {
        transform: translateY(50vh) translateX(-15px) scale(0.9);
    }
    95% {
        opacity: 1;
        transform: translateY(5vh) translateX(15px) scale(0.7);
    }
    100% {
        transform: translateY(-5vh) translateX(0) scale(0);
        opacity: 0;
    }
}

/* ========================================
   Header - AYAAN MEGA STYLE
   ======================================== */

.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 30px 20px;
    text-align: center;
    background: linear-gradient(180deg,
        rgba(0, 20, 40, 0.95) 0%,
        rgba(0, 10, 30, 0.8) 40%,
        rgba(0, 5, 20, 0.5) 70%,
        transparent 100%);
    transition: transform var(--transition-normal), opacity var(--transition-normal);
}

.main-header.hidden {
    transform: translateY(-100%);
    opacity: 0;
}

.logo-container {
    display: inline-block;
    position: relative;
}

/* MEGA GLOW behind logo */
.logo-container::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150%;
    height: 200%;
    background:
        radial-gradient(ellipse, rgba(0, 255, 255, 0.3) 0%, transparent 50%),
        radial-gradient(ellipse at 30% 50%, rgba(144, 0, 255, 0.15) 0%, transparent 40%),
        radial-gradient(ellipse at 70% 50%, rgba(255, 0, 170, 0.1) 0%, transparent 40%);
    filter: blur(30px);
    animation: logoGlow 3s ease-in-out infinite;
    z-index: -1;
}

@keyframes logoGlow {
    0%, 100% {
        opacity: 0.6;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.15);
    }
}

/* Electric border around logo area */
.logo-container::after {
    content: '';
    position: absolute;
    top: -20px;
    left: -40px;
    right: -40px;
    bottom: -20px;
    border: 2px solid transparent;
    background: linear-gradient(var(--void-black), var(--void-black)) padding-box,
                linear-gradient(90deg, var(--neon-cyan), var(--neon-purple), var(--neon-pink), var(--neon-cyan)) border-box;
    background-size: 100% 100%, 300% 100%;
    animation: borderFlow 4s linear infinite;
    z-index: -1;
    opacity: 0.5;
}

@keyframes borderFlow {
    0% { background-position: 0 0, 0% 0%; }
    100% { background-position: 0 0, 300% 0%; }
}

.logo {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 7vw, 4.5rem);
    font-weight: 900;
    letter-spacing: 0.03em;
    display: inline-block;
    position: relative;
}

.logo-char {
    display: inline-block;
    animation: charWave 2.5s ease-in-out infinite;
    animation-delay: calc(var(--i) * 0.06s);
    background: linear-gradient(135deg, #00ffff 0%, #00ccff 25%, #9000ff 50%, #ff00aa 75%, #00ffff 100%);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: charWave 2.5s ease-in-out infinite, gradientShift 4s ease infinite;
    filter: drop-shadow(0 0 20px rgba(0, 255, 255, 0.9))
            drop-shadow(0 0 40px rgba(0, 255, 255, 0.6))
            drop-shadow(0 0 60px rgba(144, 0, 255, 0.4));
}

@keyframes charWave {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-10px) scale(1.08);
    }
}

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

.logo-subtitle {
    margin-top: 15px;
    font-family: var(--font-mono);
    font-size: 1rem;
    letter-spacing: 0.5em;
    color: var(--neon-cyan);
    text-shadow:
        0 0 10px var(--neon-cyan),
        0 0 20px var(--neon-cyan),
        0 0 30px rgba(0, 255, 255, 0.5);
}

.subtitle-text {
    display: inline-block;
    animation: subtitleGlow 2s ease-in-out infinite;
}

@keyframes subtitleGlow {
    0%, 100% {
        color: var(--neon-cyan);
        text-shadow: 0 0 10px var(--neon-cyan), 0 0 20px var(--neon-cyan);
    }
    50% {
        color: var(--neon-cyan-bright);
        text-shadow: 0 0 20px var(--neon-cyan), 0 0 40px var(--neon-cyan), 0 0 60px var(--neon-cyan);
    }
}

.subtitle-cursor {
    animation: cursorBlink 0.7s step-end infinite;
    color: var(--neon-cyan-bright);
    text-shadow: 0 0 10px var(--neon-cyan);
}

@keyframes cursorBlink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.header-decoration {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 25px;
    gap: 25px;
}

.deco-line {
    width: 150px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--neon-cyan), var(--neon-purple), var(--neon-pink), transparent);
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 10px var(--neon-cyan);
}

.deco-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.9), transparent);
    animation: lineShine 2.5s ease-in-out infinite;
}

.deco-line.left::after {
    animation-delay: 0s;
}

.deco-line.right::after {
    animation-delay: 1.25s;
}

@keyframes lineShine {
    0%, 100% { left: -100%; }
    50% { left: 150%; }
}

.deco-diamond {
    width: 16px;
    height: 16px;
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-pink));
    transform: rotate(45deg);
    box-shadow: var(--glow-cyan);
    animation: diamondPulse 1.5s ease-in-out infinite;
}

@keyframes diamondPulse {
    0%, 100% {
        transform: rotate(45deg) scale(1);
        box-shadow: var(--glow-cyan);
    }
    50% {
        transform: rotate(45deg) scale(1.3);
        box-shadow: 0 0 20px var(--neon-cyan), 0 0 40px var(--neon-cyan), 0 0 60px var(--neon-pink);
    }
}

/* ========================================
   Visualization Container
   ======================================== */

.viz-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    display: none;
}

.viz-container.active {
    display: block;
}

#blackholeCanvas {
    width: 100%;
    height: 100%;
    display: block;
    touch-action: none;
}

/* Zoom controls - CYAN GLOW */
.zoom-controls {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 150;
}

.zoom-btn {
    width: 55px;
    height: 55px;
    background: rgba(0, 10, 30, 0.9);
    border: 2px solid var(--neon-cyan);
    color: var(--neon-cyan);
    font-size: 1.8rem;
    font-weight: bold;
    cursor: pointer;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.3), inset 0 0 20px rgba(0, 255, 255, 0.1);
}

.zoom-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--neon-cyan);
    transform: translateY(100%);
    transition: transform var(--transition-fast);
}

.zoom-btn span,
.zoom-btn {
    position: relative;
    z-index: 1;
}

.zoom-btn:hover {
    color: var(--void-black);
    box-shadow: var(--glow-cyan);
    text-shadow: none;
}

.zoom-btn:hover::before {
    transform: translateY(0);
}

.zoom-btn:active {
    transform: scale(0.92);
}

/* Center info - AYAAN STYLE */
.center-info {
    position: fixed;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 50;
    display: none;
    max-width: 90%;
}

.center-info.active {
    display: block;
    animation: infoSlideUp 0.4s var(--transition-bounce);
}

@keyframes infoSlideUp {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0) scale(1);
    }
}

.info-frame {
    background: rgba(0, 5, 20, 0.95);
    border: 2px solid var(--neon-cyan);
    padding: 20px 30px;
    position: relative;
    backdrop-filter: blur(15px);
    box-shadow:
        0 0 30px rgba(0, 255, 255, 0.3),
        inset 0 0 30px rgba(0, 255, 255, 0.05);
}

/* Animated border */
.info-frame::before {
    content: '';
    position: absolute;
    inset: -3px;
    background: linear-gradient(90deg, var(--neon-cyan), var(--neon-purple), var(--neon-pink), var(--neon-cyan));
    background-size: 400% 100%;
    z-index: -1;
    animation: borderFlow 3s linear infinite;
    opacity: 0.8;
}

.info-frame::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 5, 20, 0.95);
    z-index: -1;
}

.info-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    font-family: var(--font-display);
    font-size: 0.75rem;
    letter-spacing: 0.3em;
    color: var(--neon-cyan);
    text-shadow: 0 0 15px var(--neon-cyan);
}

.info-icon {
    animation: iconPulse 1.2s ease-in-out infinite;
    font-size: 1.2rem;
}

@keyframes iconPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0.7; }
}

.info-url {
    font-family: var(--font-mono);
    font-size: 0.95rem;
    color: var(--text-primary);
    word-break: break-all;
    max-width: 500px;
    margin-bottom: 15px;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.4);
}

.info-meta {
    display: flex;
    align-items: center;
    gap: 18px;
    font-size: 0.8rem;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.meta-label {
    color: var(--text-muted);
    letter-spacing: 0.15em;
}

.meta-value {
    color: var(--neon-cyan);
    font-weight: 700;
    text-shadow: 0 0 12px var(--neon-cyan);
}

.meta-divider {
    color: var(--neon-purple);
    opacity: 0.6;
}

.cached-badge {
    color: var(--neon-green);
    display: none;
    text-shadow: 0 0 12px var(--neon-green);
}

.cached-badge.active {
    display: flex;
    animation: badgeFlash 0.5s ease;
}

@keyframes badgeFlash {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

/* Touch hint */
.touch-hint {
    position: fixed;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 10, 30, 0.95);
    border: 1px solid var(--neon-cyan);
    padding: 14px 28px;
    font-size: 0.85rem;
    color: var(--neon-cyan);
    display: none;
    z-index: 50;
    backdrop-filter: blur(10px);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
}

.touch-hint.active {
    display: flex;
    align-items: center;
    gap: 15px;
    animation: hintFadeIn 0.3s ease;
}

@keyframes hintFadeIn {
    from { opacity: 0; transform: translateX(-50%) translateY(20px); }
    to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

.hint-icon {
    font-size: 1.4rem;
    animation: handWave 1s ease-in-out infinite;
}

@keyframes handWave {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(15deg); }
    75% { transform: rotate(-15deg); }
}

/* Instructions */
.instructions {
    position: fixed;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    display: none;
    gap: 30px;
    z-index: 100;
    background: rgba(0, 10, 30, 0.9);
    padding: 15px 30px;
    border: 1px solid var(--neon-cyan);
    backdrop-filter: blur(10px);
    box-shadow: 0 0 25px rgba(0, 255, 255, 0.3);
}

.instructions.active {
    display: flex;
    animation: instructionsFadeIn 0.5s ease;
}

@keyframes instructionsFadeIn {
    from { opacity: 0; transform: translateX(-50%) translateY(20px); }
    to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

.instruction-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.8rem;
}

.instruction-item .key {
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.2), rgba(144, 0, 255, 0.2));
    border: 1px solid var(--neon-cyan);
    color: var(--neon-cyan);
    padding: 5px 12px;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 600;
    text-shadow: 0 0 8px var(--neon-cyan);
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.2);
}

.instruction-item .desc {
    color: var(--text-secondary);
}

.instruction-item.touch-only {
    display: none;
}

@media (hover: none) and (pointer: coarse) {
    .instruction-item.touch-only {
        display: flex;
    }
}

/* ========================================
   Responsive
   ======================================== */

@media (max-width: 768px) {
    :root {
        --panel-width: 100%;
        --header-height: 130px;
    }

    .logo {
        font-size: 1.8rem;
    }

    .logo-char {
        filter: drop-shadow(0 0 10px rgba(0, 255, 255, 0.8));
    }

    .logo-subtitle {
        font-size: 0.75rem;
        letter-spacing: 0.25em;
    }

    .header-decoration {
        display: none;
    }

    .zoom-controls {
        right: 12px;
        bottom: 200px;
        top: auto;
        transform: none;
    }

    .zoom-btn {
        width: 48px;
        height: 48px;
        font-size: 1.4rem;
    }

    .center-info {
        bottom: 240px;
    }

    .info-frame {
        padding: 15px 20px;
    }

    .info-url {
        font-size: 0.85rem;
        max-width: 280px;
    }

    .instructions {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
        padding: 12px 18px;
        max-width: 95%;
    }

    .instruction-item {
        font-size: 0.75rem;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.001ms !important;
        transition-duration: 0.001ms !important;
    }
}
