:root {
    /* Color Palette */
    --color-bg-dark: #0a0510;
    --color-maroon: #5a0b1c;
    --color-wine: #3c0919;
    --color-burgundy: #290510;
    --color-purple: #4a148c;
    --color-neon-orange: #ff3d00;
    --color-pink-glow: #ff4081;
    --color-gold: #ffd700;
    --color-green: #00e676;
    
    /* Gradients */
    --grad-primary: linear-gradient(135deg, var(--color-maroon), var(--color-purple));
    --grad-glass: rgba(20, 5, 30, 0.15); /* More transparent */
    --grad-glass-light: rgba(60, 20, 80, 0.1);
    
    /* Fonts */
    --font-heading: 'Orbitron', sans-serif;
    --font-body: 'Poppins', sans-serif;
    --font-accent: 'Exo 2', sans-serif;
    --font-tech: 'Rajdhani', sans-serif;
    
    /* Borders & Shadows */
    --border-glass: 1px solid rgba(255, 255, 255, 0.1);
    --border-glow: 1px solid rgba(255, 61, 0, 0.5);
    --shadow-neon: 0 0 15px rgba(255, 61, 0, 0.4), 0 0 30px rgba(255, 64, 129, 0.2);
    --shadow-glass: 0 8px 32px 0 rgba(0, 0, 0, 0.5);
    
    /* Radii */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-pill: 50px;
}

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

body {
    font-family: var(--font-body);
    background-color: var(--color-bg-dark);
    color: #fff;
    overflow-x: hidden;
    height: 100vh;
}

/* Background Canvas */
#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -2;
}

/* Cyberpunk Scanlines */
.scanlines {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,0) 50%, rgba(0,0,0,0.1) 50%, rgba(0,0,0,0.1));
    background-size: 100% 4px;
    z-index: 9999;
    pointer-events: none;
    opacity: 0.5;
}

/* Ambient Cursor Glow */
.ambient-glow {
    position: fixed;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(100, 21, 255, 0.15) 0%, rgba(0,0,0,0) 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: -1;
    transition: opacity 0.3s;
}

/* Scanline Overlay */
.scanlines {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: linear-gradient(
        to bottom,
        rgba(255,255,255,0),
        rgba(255,255,255,0) 50%,
        rgba(0,0,0,0.2) 50%,
        rgba(0,0,0,0.2)
    );
    background-size: 100% 4px;
    z-index: 9999;
    pointer-events: none;
    opacity: 0.3;
}

/* Dynamic Ambient Glow */
.ambient-glow {
    position: fixed;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(100, 21, 255, 0.15) 0%, rgba(0,0,0,0) 70%);
    border-radius: 50%;
    z-index: -1;
    pointer-events: none;
    transition: all 0.2s ease;
}

/* Animated Gradient Background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: radial-gradient(circle at 20% 30%, rgba(90, 11, 28, 0.4) 0%, transparent 40%),
                radial-gradient(circle at 80% 70%, rgba(74, 20, 140, 0.3) 0%, transparent 40%),
                radial-gradient(circle at 50% 50%, rgba(255, 61, 0, 0.1) 0%, transparent 50%);
    z-index: -1;
    animation: pulseBg 10s infinite alternate ease-in-out;
}

@keyframes pulseBg {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.1); opacity: 1; }
}

/* Typography & Utilities */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    letter-spacing: 1px;
}

.text-glow-orange { color: var(--color-neon-orange); text-shadow: 0 0 10px var(--color-neon-orange); }
.text-glow-purple { color: #d500f9; text-shadow: 0 0 10px #d500f9; }
.text-glow-gold { color: var(--color-gold); text-shadow: 0 0 10px var(--color-gold); }
.text-glow-green { color: var(--color-green); text-shadow: 0 0 10px var(--color-green); }
.hidden { display: none !important; }

/* Intro Screen */
.intro-screen {
    position: fixed;
    inset: 0;
    background: var(--color-bg-dark);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.intro-content {
    text-align: center;
    position: relative;
}

.boot-sequence {
    font-family: var(--font-tech);
    color: var(--color-green);
    font-size: 14px;
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    white-space: pre-line;
    text-align: left;
    width: 300px;
}

.intro-title {
    font-size: 4rem;
    color: #fff;
    text-shadow: 0 0 20px var(--color-neon-orange), 0 0 40px var(--color-pink-glow);
    margin-bottom: 10px;
    font-family: var(--font-heading);
}

.intro-subtitle {
    font-family: var(--font-tech);
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 40px;
    letter-spacing: 2px;
}

.btn-primary {
    background: linear-gradient(90deg, var(--color-neon-orange), var(--color-pink-glow));
    border: none;
    padding: 15px 40px;
    border-radius: var(--radius-pill);
    color: #fff;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: var(--shadow-neon);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

.btn-primary:hover::after {
    left: 100%;
}

.btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 0 25px var(--color-neon-orange), 0 0 50px var(--color-pink-glow);
}

/* App Container Layout */
.app-container {
    height: 100vh;
    display: flex;
    flex-direction: column;
    padding: 20px;
    gap: 20px;
    max-width: 1600px;
    margin: 0 auto;
}

/* Glass Panel Base */
.glass-panel {
    background: var(--grad-glass);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: var(--border-glass);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-glass);
    transform-style: preserve-3d;
    transform: perspective(1000px) rotateX(0deg) rotateY(0deg);
    transition: transform 0.1s ease-out;
}
.premium-border {
    position: relative;
}

.premium-border::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 2px;
    background: linear-gradient(45deg, var(--color-neon-orange), var(--color-pink-glow), var(--color-purple));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: destination-out;
    mask-composite: exclude;
    z-index: -1;
    opacity: 0.7;
    animation: borderGlow 3s linear infinite;
    pointer-events: none;
}

@keyframes borderGlow {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 1; }
}

/* Top Header */
.top-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    background: var(--grad-glass);
    border-radius: var(--radius-pill);
    border: var(--border-glass);
    backdrop-filter: blur(10px);
}

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

.mini-logo {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-gold);
    display: flex;
    align-items: center;
    gap: 8px;
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 0, 0, 0.4);
    padding: 5px 12px;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(0, 230, 118, 0.3);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: var(--color-green);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--color-green);
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(0, 230, 118, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(0, 230, 118, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 230, 118, 0); }
}

.status-text {
    font-family: var(--font-tech);
    font-size: 0.8rem;
    color: var(--color-green);
    letter-spacing: 1px;
}

.header-center {
    text-align: center;
}

.main-title {
    font-size: 2rem;
    margin-bottom: 2px;
}

.main-title .highlight {
    color: transparent;
    background: linear-gradient(90deg, var(--color-neon-orange), var(--color-pink-glow));
    -webkit-background-clip: text;
    background-clip: text;
}

.subtitle {
    font-family: var(--font-tech);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.header-right {
    display: flex;
    gap: 15px;
}

.icon-btn {
    background: rgba(255, 255, 255, 0.05);
    border: var(--border-glass);
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    color: var(--color-neon-orange);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 61, 0, 0.2);
}

/* Main Content Area */
.main-content {
    display: grid;
    grid-template-columns: 280px 1fr 300px;
    gap: 20px;
    flex: 1;
    min-height: 0;
}

/* Left Sidebar */
.left-sidebar {
    padding: 25px;
    display: flex;
    flex-direction: column;
    gap: 25px;
    overflow-y: auto;
}

.left-sidebar::-webkit-scrollbar {
    width: 5px;
}
.left-sidebar::-webkit-scrollbar-thumb {
    background: var(--color-purple);
    border-radius: 10px;
}

.sidebar-header h2 {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 10px;
}

.stats-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.stat-card {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 12px 15px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 15px;
    transition: transform 0.3s, background 0.3s;
}

.stat-card:hover {
    transform: translateX(5px);
    background: rgba(255, 255, 255, 0.05);
}

.stat-icon {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.5);
}

.stat-card:nth-child(1) .stat-icon { color: var(--color-green); }
.stat-card:nth-child(2) .stat-icon { color: var(--color-neon-orange); }
.stat-card:nth-child(3) .stat-icon { color: var(--color-gold); }

.stat-info {
    display: flex;
    flex-direction: column;
}

.stat-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    font-family: var(--font-tech);
}

.stat-value {
    font-size: 1.2rem;
    font-weight: 700;
    font-family: var(--font-heading);
}

.xp-section {
    background: rgba(0, 0, 0, 0.2);
    padding: 15px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.xp-header {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.8);
}

.progress-bar-container {
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-pill);
    position: relative;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--color-purple), var(--color-pink-glow));
    border-radius: var(--radius-pill);
    position: relative;
    z-index: 2;
}

.progress-glow {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 75%;
    background: var(--color-pink-glow);
    filter: blur(5px);
    z-index: 1;
    opacity: 0.7;
}

.recent-guesses h3 {
    font-size: 1rem;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.8);
}

.guess-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.guess-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.03);
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
}

.player-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #333;
    border: 1px solid var(--color-gold);
}

/* Center Game Panel */
.center-game-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.game-card {
    height: 100%;
    padding: 40px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.question-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.q-number {
    font-family: var(--font-tech);
    font-size: 1.2rem;
    color: var(--color-neon-orange);
    background: rgba(255, 61, 0, 0.1);
    padding: 5px 15px;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(255, 61, 0, 0.3);
}

.q-timer {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 8px;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.question-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
}

.typing-indicator {
    font-family: var(--font-tech);
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 15px;
    height: 20px;
}

.question-text {
    font-size: 2.5rem;
    line-height: 1.3;
    margin-bottom: 30px;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
    min-height: 100px;
}

.voice-wave {
    display: flex;
    align-items: center;
    gap: 4px;
    height: 30px;
    margin-top: 20px;
}

.voice-wave .bar {
    width: 4px;
    background: var(--color-pink-glow);
    border-radius: 2px;
    animation: wave 1s ease-in-out infinite alternate;
}

.voice-wave .bar:nth-child(1) { height: 10px; animation-delay: 0s; }
.voice-wave .bar:nth-child(2) { height: 20px; animation-delay: 0.2s; }
.voice-wave .bar:nth-child(3) { height: 30px; animation-delay: 0.4s; }
.voice-wave .bar:nth-child(4) { height: 20px; animation-delay: 0.6s; }
.voice-wave .bar:nth-child(5) { height: 10px; animation-delay: 0.8s; }

@keyframes wave {
    0% { transform: scaleY(0.5); }
    100% { transform: scaleY(1.5); box-shadow: 0 0 10px var(--color-pink-glow); }
}

.options-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: auto;
}

.options-grid button:first-child { grid-column: span 2; } /* Yes button spans full */

.option-btn {
    position: relative;
    background: rgba(20, 5, 30, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: var(--radius-pill);
    color: #fff;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s;
    backdrop-filter: blur(5px);
}

.option-btn .btn-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, var(--color-purple), var(--color-maroon), var(--color-neon-orange));
    background-size: 200% auto;
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 1;
}

.option-btn:hover .btn-bg {
    opacity: 0.8;
    animation: shineBg 2s linear infinite;
}

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

.option-btn:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 0 20px rgba(255, 61, 0, 0.4);
    border-color: var(--color-pink-glow);
}

.option-btn .btn-text {
    position: relative;
    z-index: 2;
}

.option-btn:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3), inset 0 0 15px rgba(255, 255, 255, 0.1);
}

.option-btn:hover .btn-bg {
    opacity: 0.8;
}

.option-btn:active {
    transform: translateY(1px);
}

/* Result Card */
.result-card {
    position: absolute;
    inset: 0;
    background: var(--grad-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10;
    border-radius: inherit;
    text-align: center;
}

.result-title {
    font-size: 3rem;
    color: var(--color-gold);
    text-shadow: 0 0 20px var(--color-gold);
    margin-bottom: 30px;
    animation: dropIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.player-reveal-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    position: relative;
    margin-bottom: 20px;
}

.image-glow {
    position: absolute;
    inset: -10px;
    background: radial-gradient(circle, rgba(255,215,0,0.8) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 1;
    animation: pulseGlow 2s infinite alternate;
}

@keyframes pulseGlow {
    0% { transform: scale(1); opacity: 0.5; }
    100% { transform: scale(1.2); opacity: 1; }
}

.player-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #333, #111);
    border-radius: 50%;
    border: 3px solid var(--color-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 2;
    box-shadow: 0 0 30px rgba(0,0,0,0.5);
}

.guessed-name {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.player-stats {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.team-badge, .role-badge {
    background: rgba(255, 255, 255, 0.1);
    padding: 5px 15px;
    border-radius: var(--radius-pill);
    font-family: var(--font-tech);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.play-again-btn {
    padding: 12px 30px;
    font-size: 1rem;
}

@keyframes dropIn {
    0% { transform: translateY(-50px) scale(0.8); opacity: 0; }
    100% { transform: translateY(0) scale(1); opacity: 1; }
}

/* Right AI Panel */
.right-ai-panel {
    padding: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.ai-status {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.mood-indicator {
    font-family: var(--font-tech);
    font-size: 0.9rem;
    background: rgba(0, 0, 0, 0.3);
    padding: 5px 10px;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.ai-brain-viz {
    position: relative;
    width: 40px;
    height: 40px;
}

.ai-brain-viz .core {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background: var(--color-neon-orange);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--color-neon-orange);
}

.ai-brain-viz .ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 1px solid rgba(255, 61, 0, 0.5);
}

.ai-brain-viz .r1 {
    width: 20px; height: 20px;
    animation: spin 3s linear infinite;
    border-top-color: transparent;
}

.ai-brain-viz .r2 {
    width: 30px; height: 30px;
    animation: spin 4s linear infinite reverse;
    border-bottom-color: transparent;
    border-left-color: transparent;
}

@keyframes spin {
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.character-container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 100%;
}

.ai-character {
    width: 100%;
    max-width: 250px;
    object-fit: cover;
    z-index: 2;
    animation: float 4s ease-in-out infinite;
}

.square-avatar {
    border-radius: var(--radius-lg);
    border: 2px solid var(--color-purple);
    box-shadow: 0 0 30px rgba(74, 20, 140, 0.6), inset 0 0 20px rgba(255, 255, 255, 0.2);
}

.character-aura {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 64, 129, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 1;
    animation: auraPulse 3s infinite alternate;
}

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

@keyframes auraPulse {
    0% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
    100% { transform: translate(-50%, -50%) scale(1.2); opacity: 1; }
}

.speech-bubble {
    position: absolute;
    top: 10%;
    right: -10px;
    background: rgba(255, 255, 255, 0.9);
    color: #000;
    padding: 10px 15px;
    border-radius: 15px;
    border-bottom-left-radius: 0;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    z-index: 3;
    opacity: 0;
    transform: scale(0.8) translateY(10px);
    transition: all 0.3s;
}

.ai-logs {
    width: 100%;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    padding: 15px;
    font-family: var(--font-tech);
    font-size: 0.8rem;
    color: var(--color-green);
    height: 100px;
    overflow-y: hidden;
    position: relative;
}

.ai-logs::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
}

.log-line {
    margin-bottom: 5px;
    opacity: 0.7;
}

.log-line.typing {
    opacity: 1;
    border-right: 2px solid var(--color-green);
    animation: blinkCursor 0.8s infinite;
}

@keyframes blinkCursor {
    0%, 100% { border-color: transparent; }
    50% { border-color: var(--color-green); }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .main-content {
        grid-template-columns: 250px 1fr 250px;
    }
    .question-text { font-size: 2rem; }
}

@media (max-width: 992px) {
    .main-content {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
        overflow-y: auto;
    }
    .app-container { height: auto; min-height: 100vh; }
    .right-ai-panel { order: -1; height: 300px; }
    .center-game-panel { min-height: 500px; }
    .speech-bubble { top: 20%; right: 20%; }
}

@media (max-width: 768px) {
    .top-header { flex-direction: column; gap: 15px; padding: 15px; border-radius: var(--radius-md); }
    .intro-title { font-size: 2.5rem; }
    .question-text { font-size: 1.5rem; }
    .options-grid { grid-template-columns: 1fr; }
    .options-grid button:first-child { grid-column: auto; }
}
