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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Source Sans Pro', sans-serif;
    background-color: #000000;
    color: #ffffff;
    line-height: 1.6;
    font-weight: 400;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.2;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 48px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #ffffff, #969696);
    margin: 16px auto 0;
}

/* Header & Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    padding: 16px 0;
    transition: background-color 0.3s ease;
}

.nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: 1px;
}

.logo a:hover {
    color: #969696;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #ffffff;
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: #ffffff;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #0a0a0a 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at 20% 80%, rgba(120, 119, 198, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.25);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 24px;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 24px;
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #969696;
    margin-bottom: 40px;
    font-weight: 300;
    animation: fadeInUp 1s ease 0.2s;
    animation-fill-mode: both;
}

.cta-button {
    display: inline-block;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 16px 40px;
    border: 2px solid #ffffff;
    background-color: transparent;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
    animation: fadeInUp 1s ease 0.4s;
    animation-fill-mode: both;
}

.cta-button:hover {
    background-color: #ffffff;
    color: #000000;
}

/* About Section */
.about {
    padding: 100px 0;
    background-color: #0a0a0a;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-content p {
    font-size: 1.125rem;
    color: #969696;
    margin-bottom: 24px;
    line-height: 1.8;
}

.about-content p:last-child {
    margin-bottom: 0;
}

/* Services Section */
.services {
    padding: 100px 0;
    background-color: #000000;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.service-card {
    background: linear-gradient(145deg, #111111, #0a0a0a);
    padding: 40px;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #1a1a1a;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(255, 255, 255, 0.05);
}

.service-icon {
    margin-bottom: 24px;
    color: #ffffff;
}

.service-card h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.25rem;
    margin-bottom: 16px;
    font-weight: 600;
}

.service-card p {
    color: #969696;
    font-size: 1rem;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background-color: #0a0a0a;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px;
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 1rem;
    background-color: #111111;
    border: 1px solid #333333;
    color: #ffffff;
    border-radius: 4px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #ffffff;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #666666;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Checkbox Styling */
.checkbox-group {
    margin-top: 16px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-size: 0.95rem;
    color: #969696;
    text-transform: none;
    font-weight: 400;
    letter-spacing: 0;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin: 0;
    cursor: pointer;
    accent-color: #ffffff;
}

.submit-btn {
    width: 100%;
    padding: 18px 40px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    background-color: #ffffff;
    color: #000000;
    border: 2px solid #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 4px;
    margin-top: 16px;
}

.submit-btn:hover {
    background-color: transparent;
    color: #ffffff;
}

.submit-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.recaptcha-notice {
    margin-top: 24px;
    font-size: 0.75rem;
    color: #666666;
    text-align: center;
}

.recaptcha-notice a {
    color: #969696;
    text-decoration: underline;
}

.recaptcha-notice a:hover {
    color: #ffffff;
}

/* Footer */
.footer {
    padding: 40px 0;
    background-color: #000000;
    border-top: 1px solid #1a1a1a;
    text-align: center;
}

.copyright {
    font-size: 0.875rem;
    color: #969696;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #111111;
    padding: 20px 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    z-index: 1001;
    border-top: 1px solid #333333;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-banner p {
    font-size: 0.875rem;
    color: #969696;
    margin: 0;
}

.cookie-accept {
    padding: 10px 24px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    background-color: #ffffff;
    color: #000000;
    border: none;
    cursor: pointer;
    transition: opacity 0.3s ease;
    border-radius: 4px;
    white-space: nowrap;
}

.cookie-accept:hover {
    opacity: 0.9;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Success Message */
.success-message {
    background-color: #1a3d1a;
    border: 1px solid #2d5a2d;
    color: #90EE90;
    padding: 16px;
    border-radius: 4px;
    margin-top: 24px;
    text-align: center;
    display: none;
}

.success-message.show {
    display: block;
    animation: fadeInUp 0.5s ease;
}

/* Responsive Design */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        max-width: 300px;
        height: 100vh;
        background-color: #0a0a0a;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 32px;
        transition: right 0.3s ease;
    }

    .nav-links.active {
        right: 0;
    }

    .hero-title {
        font-size: 2.25rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .about,
    .services,
    .contact {
        padding: 60px 0;
    }

    .cookie-banner {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.75rem;
    }

    .cta-button {
        padding: 14px 32px;
        font-size: 0.875rem;
    }

    .service-card {
        padding: 32px 24px;
    }

    .container {
        padding: 0 16px;
    }
}

/* ========================================
   ROBOT FIGHTING GAME STYLES
   ======================================== */

/* Game Screens */
.game-screen {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 900px;
    padding: 24px;
}

/* Name Entry Screen */
.name-entry {
    text-align: center;
    animation: fadeInUp 0.8s ease;
}

.game-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #ff6b6b, #feca57, #48dbfb, #ff9ff3, #54a0ff);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease infinite;
    text-shadow: 0 0 30px rgba(255, 107, 107, 0.3);
    margin-bottom: 16px;
    letter-spacing: 4px;
}

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

.game-subtitle {
    font-size: 1.5rem;
    color: #48dbfb;
    margin-bottom: 40px;
    font-weight: 300;
}

.name-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
}

.name-form input {
    width: 100%;
    max-width: 350px;
    padding: 18px 24px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.1);
    border: 3px solid #48dbfb;
    border-radius: 50px;
    color: #ffffff;
    text-align: center;
    outline: none;
    transition: all 0.3s ease;
}

.name-form input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.name-form input:focus {
    border-color: #ff6b6b;
    box-shadow: 0 0 20px rgba(255, 107, 107, 0.4);
    background: rgba(255, 255, 255, 0.15);
}

.game-btn {
    padding: 18px 50px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    background: linear-gradient(135deg, #ff6b6b, #feca57);
    border: none;
    border-radius: 50px;
    color: #000;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 30px rgba(255, 107, 107, 0.4);
}

.game-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 40px rgba(255, 107, 107, 0.6);
}

.game-btn:active {
    transform: translateY(0) scale(0.98);
}

.controls-info {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.controls-info p {
    font-size: 1rem;
    color: #969696;
}

.controls-info .key {
    display: inline-block;
    padding: 6px 14px;
    background: linear-gradient(135deg, #2d3436, #636e72);
    border-radius: 8px;
    color: #fff;
    font-weight: 600;
    margin-right: 8px;
    box-shadow: 0 4px 0 #1e272e, 0 6px 10px rgba(0,0,0,0.3);
}

.controls-info .highlight {
    color: #ff6b6b;
    font-weight: 700;
}

/* Game Arena */
.game-arena {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.game-hud {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 700px;
    margin-bottom: 30px;
    padding: 0 20px;
}

.player-hud {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

.enemy-hud {
    align-items: flex-end;
}

.player-name {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: #48dbfb;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.enemy-name {
    color: #ff6b6b;
}

.health-bar {
    width: 200px;
    height: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.health-fill {
    width: 100%;
    height: 100%;
    transition: width 0.3s ease;
    border-radius: 8px;
}

.player-health {
    background: linear-gradient(90deg, #48dbfb, #0abde3);
}

.enemy-health {
    background: linear-gradient(90deg, #ff6b6b, #ee5a5a);
}

.score {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #feca57;
    text-shadow: 0 0 20px rgba(254, 202, 87, 0.5);
}

.vs-badge {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #ff6b6b, #feca57);
    padding: 10px 20px;
    border-radius: 10px;
    box-shadow: 0 0 30px rgba(255, 107, 107, 0.5);
}

/* Arena Floor */
.arena-floor {
    position: relative;
    width: 100%;
    max-width: 700px;
    height: 350px;
    background: linear-gradient(180deg,
        transparent 0%,
        rgba(72, 219, 251, 0.05) 50%,
        rgba(72, 219, 251, 0.1) 100%);
    border-radius: 20px;
    border: 3px solid rgba(72, 219, 251, 0.3);
    box-shadow:
        0 0 50px rgba(72, 219, 251, 0.2),
        inset 0 0 100px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

.arena-floor::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(180deg, transparent, rgba(72, 219, 251, 0.2));
    border-radius: 0 0 17px 17px;
}

/* Robot Base Styles */
.robot {
    position: absolute;
    bottom: 60px;
    width: 80px;
    height: 140px;
    transition: left 0.1s ease, right 0.1s ease;
}

.player-robot {
    left: 80px;
}

.enemy-robot {
    right: 80px;
    transform: scaleX(-1);
}

/* Robot Head */
.robot-head {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 45px;
    height: 40px;
    border-radius: 10px 10px 5px 5px;
}

.player-robot .robot-head {
    background: linear-gradient(180deg, #48dbfb, #0abde3);
    box-shadow: 0 0 20px rgba(72, 219, 251, 0.5);
}

.enemy-robot .robot-head {
    background: linear-gradient(180deg, #ff6b6b, #ee5a5a);
    box-shadow: 0 0 20px rgba(255, 107, 107, 0.5);
}

.robot-antenna {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 15px;
    border-radius: 3px;
}

.player-robot .robot-antenna {
    background: #feca57;
    box-shadow: 0 -5px 15px rgba(254, 202, 87, 0.8);
}

.enemy-robot .robot-antenna {
    background: #ff9ff3;
    box-shadow: 0 -5px 15px rgba(255, 159, 243, 0.8);
}

.robot-eye {
    position: absolute;
    top: 12px;
    width: 10px;
    height: 10px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 0 10px #fff;
}

.robot-eye.left { left: 8px; }
.robot-eye.right { right: 8px; }

/* Robot Body */
.robot-body {
    position: absolute;
    top: 45px;
    left: 50%;
    transform: translateX(-50%);
    width: 55px;
    height: 50px;
    border-radius: 8px;
}

.player-robot .robot-body {
    background: linear-gradient(180deg, #54a0ff, #2e86de);
    box-shadow: 0 0 15px rgba(84, 160, 255, 0.4);
}

.enemy-robot .robot-body {
    background: linear-gradient(180deg, #ff9f43, #ee5a24);
    box-shadow: 0 0 15px rgba(255, 159, 67, 0.4);
}

.robot-chest {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 25px;
    height: 25px;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.5);
}

.player-robot .robot-chest {
    background: radial-gradient(circle, #48dbfb, #0abde3);
    box-shadow: 0 0 20px rgba(72, 219, 251, 0.8);
}

.enemy-robot .robot-chest {
    background: radial-gradient(circle, #ff6b6b, #ee5a5a);
    box-shadow: 0 0 20px rgba(255, 107, 107, 0.8);
}

/* Robot Arms */
.robot-arm {
    position: absolute;
    top: 48px;
    width: 18px;
    height: 45px;
    border-radius: 8px;
    transform-origin: top center;
    transition: transform 0.15s ease;
}

.left-arm { left: -5px; }
.right-arm { right: -5px; }

.player-robot .robot-arm {
    background: linear-gradient(180deg, #48dbfb, #0abde3);
}

.enemy-robot .robot-arm {
    background: linear-gradient(180deg, #ff6b6b, #ee5a5a);
}

/* Robot Legs */
.robot-leg {
    position: absolute;
    bottom: 0;
    width: 20px;
    height: 45px;
    border-radius: 5px;
    transform-origin: top center;
    transition: transform 0.15s ease;
}

.left-leg { left: 12px; }
.right-leg { right: 12px; }

.player-robot .robot-leg {
    background: linear-gradient(180deg, #5f27cd, #341f97);
}

.enemy-robot .robot-leg {
    background: linear-gradient(180deg, #8395a7, #576574);
}

/* Strike Animations */
.robot.striking .right-arm {
    transform: rotate(-100deg);
}

.robot.kick .right-leg {
    transform: rotate(-70deg);
}

/* Hit Effect */
.hit-effect {
    position: absolute;
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, #feca57, #ff6b6b, transparent);
    border-radius: 50%;
    opacity: 0;
    pointer-events: none;
    transform: scale(0);
    z-index: 100;
}

.hit-effect.show {
    animation: hitBurst 0.4s ease-out;
}

@keyframes hitBurst {
    0% {
        transform: scale(0);
        opacity: 1;
    }
    100% {
        transform: scale(2);
        opacity: 0;
    }
}

/* Robot Hit Animation */
.robot.hit {
    animation: robotHit 0.3s ease;
}

@keyframes robotHit {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(2) hue-rotate(30deg); }
}

/* Game Message */
.game-message {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: #feca57;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 20px rgba(254, 202, 87, 0.8);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.game-message.show {
    opacity: 1;
}

/* Victory Screen */
.victory-screen {
    text-align: center;
    animation: fadeInUp 0.8s ease;
}

.victory-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 8px;
}

.victory-title.winner {
    background: linear-gradient(135deg, #feca57, #48dbfb, #ff9ff3);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 2s ease infinite;
}

.victory-title.loser {
    color: #ff6b6b;
}

.victory-message {
    font-size: 1.5rem;
    color: #969696;
    margin-bottom: 40px;
}

.learn-more-link {
    display: block;
    margin-top: 20px;
    color: #48dbfb;
    font-size: 1rem;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.learn-more-link:hover {
    color: #fff;
}

/* Walking Animation */
.robot.walking .left-leg {
    animation: walkLeft 0.3s ease infinite;
}

.robot.walking .right-leg {
    animation: walkRight 0.3s ease infinite;
}

@keyframes walkLeft {
    0%, 100% { transform: rotate(-15deg); }
    50% { transform: rotate(15deg); }
}

@keyframes walkRight {
    0%, 100% { transform: rotate(15deg); }
    50% { transform: rotate(-15deg); }
}

/* Round Start Animation */
.round-start {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Montserrat', sans-serif;
    font-size: 5rem;
    font-weight: 700;
    color: #feca57;
    text-shadow: 0 0 50px rgba(254, 202, 87, 0.8);
    opacity: 0;
    z-index: 200;
}

.round-start.show {
    animation: roundStart 1s ease-out forwards;
}

@keyframes roundStart {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(3);
    }
    30% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
    70% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.5);
    }
}

/* Game Controls Display */
.game-controls-display {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin-top: 25px;
    padding: 15px 30px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.8));
    border-radius: 15px;
    border: 2px solid rgba(72, 219, 251, 0.3);
    box-shadow: 0 0 20px rgba(72, 219, 251, 0.1);
}

.control-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.control-key {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    padding: 8px 12px;
    background: linear-gradient(180deg, #3a3a3a, #1a1a1a);
    border: 2px solid #555;
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    color: #feca57;
    text-transform: uppercase;
    box-shadow: 0 4px 0 #111, 0 0 10px rgba(254, 202, 87, 0.2);
}

.control-label {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Jumping Robot Animation */
.robot.jumping {
    animation: none;
}

.player-robot.jumping .robot-leg.left-leg,
.player-robot.jumping .robot-leg.right-leg {
    transform: rotate(-20deg);
}

/* ========================================
   ROBOT ARMY BATTLE STYLES
   ======================================== */

/* Team Selection / Robot Roster */
.team-selection {
    margin: 30px 0;
}

.select-label {
    font-size: 1.2rem;
    color: #feca57;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Time Selection */
.time-selection {
    margin: 25px 0;
}

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

.time-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px 25px;
    background: linear-gradient(180deg, rgba(255,255,255,0.1), rgba(255,255,255,0.05));
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 12px;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.time-btn:hover {
    border-color: #feca57;
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(254, 202, 87, 0.3);
}

.time-btn.selected {
    background: linear-gradient(180deg, rgba(254, 202, 87, 0.3), rgba(254, 202, 87, 0.1));
    border-color: #feca57;
    box-shadow: 0 0 25px rgba(254, 202, 87, 0.5);
}

.time-btn .kills-info {
    display: block;
    font-size: 0.7rem;
    color: #969696;
    margin-top: 5px;
    font-weight: 400;
}

.time-btn.selected .kills-info {
    color: #feca57;
}

.robot-roster {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    max-width: 600px;
    margin: 0 auto;
}

.roster-robot {
    width: 80px;
    height: 100px;
    background: linear-gradient(180deg, rgba(255,255,255,0.1), rgba(255,255,255,0.05));
    border: 3px solid rgba(255,255,255,0.2);
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px;
}

.roster-robot:hover {
    transform: scale(1.1);
    border-color: #feca57;
    box-shadow: 0 0 20px rgba(254, 202, 87, 0.4);
}

.roster-robot.selected {
    border-color: #00ff88;
    box-shadow: 0 0 30px rgba(0, 255, 136, 0.6);
    background: linear-gradient(180deg, rgba(0, 255, 136, 0.2), rgba(0, 255, 136, 0.1));
}

.roster-robot .mini-robot {
    width: 40px;
    height: 50px;
    position: relative;
}

.roster-robot .robot-name {
    font-size: 0.65rem;
    color: #fff;
    margin-top: 8px;
    text-align: center;
    font-weight: 700;
    text-transform: uppercase;
}

.roster-robot .robot-trait {
    font-size: 0.55rem;
    color: #feca57;
    margin-top: 2px;
}

/* Army Battle HUD */
.army-hud {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 800px;
    margin-bottom: 20px;
    gap: 15px;
}

.timer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: linear-gradient(180deg, #1a1a2e, #0a0a0a);
    padding: 10px 30px;
    border-radius: 15px;
    border: 2px solid #ff6b6b;
    box-shadow: 0 0 20px rgba(255, 107, 107, 0.3);
}

.timer-label {
    font-size: 0.8rem;
    color: #969696;
    letter-spacing: 2px;
}

.timer {
    font-family: 'Montserrat', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: #ff6b6b;
    text-shadow: 0 0 20px rgba(255, 107, 107, 0.5);
}

.timer.warning {
    color: #feca57;
    animation: timerPulse 0.5s ease infinite;
}

.timer.critical {
    color: #ff4757;
    animation: timerPulse 0.25s ease infinite;
}

@keyframes timerPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.score-container {
    display: flex;
    align-items: center;
    gap: 30px;
}

.team-score {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px 25px;
    border-radius: 15px;
    min-width: 120px;
}

.team-score.your-team {
    background: linear-gradient(180deg, rgba(0, 255, 136, 0.2), rgba(0, 255, 136, 0.1));
    border: 2px solid #00ff88;
}

.team-score.enemy-team {
    background: linear-gradient(180deg, rgba(255, 107, 107, 0.2), rgba(255, 107, 107, 0.1));
    border: 2px solid #ff6b6b;
}

.team-label {
    font-size: 0.7rem;
    color: #969696;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.kill-count {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
}

.your-team .kill-count {
    color: #00ff88;
    text-shadow: 0 0 15px rgba(0, 255, 136, 0.5);
}

.enemy-team .kill-count {
    color: #ff6b6b;
    text-shadow: 0 0 15px rgba(255, 107, 107, 0.5);
}

.kills-label {
    font-size: 0.6rem;
    color: #969696;
    letter-spacing: 1px;
}

/* Battle Log */
.battle-log {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 250px;
    max-height: 150px;
    background: rgba(0, 0, 0, 0.8);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    padding: 10px;
    overflow: hidden;
}

.log-title {
    font-size: 0.7rem;
    color: #feca57;
    letter-spacing: 2px;
    margin-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 5px;
}

.log-entries {
    max-height: 110px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #333 transparent;
}

.log-entry {
    font-size: 0.7rem;
    color: #ccc;
    padding: 3px 0;
    animation: logSlideIn 0.3s ease;
}

.log-entry.kill {
    color: #ff6b6b;
}

.log-entry.your-kill {
    color: #00ff88;
}

@keyframes logSlideIn {
    from { opacity: 0; transform: translateX(20px); }
    to { opacity: 1; transform: translateX(0); }
}

/* Army Robot Colors */
.army-robot {
    position: absolute;
    width: 60px;
    height: 100px;
    transition: none;
    overflow: visible;
}

.army-robot.eliminated {
    opacity: 0.3;
    filter: grayscale(1);
    pointer-events: none;
}

.army-robot.your-robot {
    filter: drop-shadow(0 0 10px rgba(0, 255, 136, 0.8));
}

/* Robot Name Tags */
.robot-name-tag {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.5rem;
    font-weight: 700;
    color: #fff;
    background: rgba(0, 0, 0, 0.7);
    padding: 3px 8px;
    border-radius: 8px;
    white-space: nowrap;
    letter-spacing: 0.5px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 10;
}

.robot-name-tag.your-tag {
    background: rgba(0, 255, 136, 0.3);
    border-color: #00ff88;
    color: #00ff88;
    font-size: 0.55rem;
    box-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
}

/* Robot Color Variations */
.robot-red .robot-head { background: linear-gradient(180deg, #ff6b6b, #ee5a5a) !important; }
.robot-red .robot-body { background: linear-gradient(180deg, #ff4757, #c0392b) !important; }

.robot-blue .robot-head { background: linear-gradient(180deg, #48dbfb, #0abde3) !important; }
.robot-blue .robot-body { background: linear-gradient(180deg, #54a0ff, #2e86de) !important; }

.robot-green .robot-head { background: linear-gradient(180deg, #00ff88, #00d68f) !important; }
.robot-green .robot-body { background: linear-gradient(180deg, #1dd1a1, #10ac84) !important; }

.robot-purple .robot-head { background: linear-gradient(180deg, #a55eea, #8854d0) !important; }
.robot-purple .robot-body { background: linear-gradient(180deg, #9b59b6, #8e44ad) !important; }

.robot-orange .robot-head { background: linear-gradient(180deg, #ffa502, #ff7f50) !important; }
.robot-orange .robot-body { background: linear-gradient(180deg, #ff6348, #ff4757) !important; }

.robot-yellow .robot-head { background: linear-gradient(180deg, #feca57, #f9ca24) !important; }
.robot-yellow .robot-body { background: linear-gradient(180deg, #eccc68, #f1c40f) !important; }

.robot-pink .robot-head { background: linear-gradient(180deg, #fd79a8, #e84393) !important; }
.robot-pink .robot-body { background: linear-gradient(180deg, #f8a5c2, #f78fb3) !important; }

.robot-cyan .robot-head { background: linear-gradient(180deg, #00cec9, #00b894) !important; }
.robot-cyan .robot-body { background: linear-gradient(180deg, #55efc4, #00b894) !important; }

/* Battle Stats */
.battle-stats {
    margin: 20px 0;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    min-width: 300px;
}

.stat-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-row:last-child {
    border-bottom: none;
}

.stat-label {
    color: #969696;
    font-size: 0.9rem;
}

.stat-value {
    color: #feca57;
    font-weight: 700;
}

/* Funny speech bubbles */
.speech-bubble {
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    color: #333;
    padding: 5px 10px;
    border-radius: 10px;
    font-size: 0.6rem;
    font-weight: 700;
    white-space: nowrap;
    animation: bubblePop 1.5s ease forwards;
    z-index: 100;
}

.speech-bubble::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: #fff;
}

@keyframes bubblePop {
    0% { opacity: 0; transform: translateX(-50%) translateY(10px) scale(0.5); }
    20% { opacity: 1; transform: translateX(-50%) translateY(0) scale(1); }
    80% { opacity: 1; transform: translateX(-50%) translateY(0) scale(1); }
    100% { opacity: 0; transform: translateX(-50%) translateY(-20px) scale(0.8); }
}

/* Explosion effect */
.explosion {
    position: absolute;
    width: 80px;
    height: 80px;
    pointer-events: none;
    animation: explode 0.5s ease forwards;
}

.explosion::before,
.explosion::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
}

.explosion::before {
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, #feca57 0%, #ff6b6b 50%, transparent 70%);
}

.explosion::after {
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, #fff 0%, #feca57 50%, transparent 70%);
}

@keyframes explode {
    0% { transform: scale(0); opacity: 1; }
    50% { transform: scale(1.5); opacity: 0.8; }
    100% { transform: scale(2); opacity: 0; }
}

/* Game Responsive Styles */
@media (max-width: 768px) {
    .game-controls-display {
        gap: 20px;
        padding: 12px 20px;
    }

    .control-key {
        min-width: 35px;
        padding: 6px 10px;
        font-size: 0.8rem;
    }

    .control-label {
        font-size: 0.85rem;
    }

    .game-title {
        font-size: 2.2rem;
        letter-spacing: 2px;
    }

    .game-subtitle {
        font-size: 1.1rem;
    }

    .controls-info {
        flex-direction: column;
        gap: 15px;
    }

    .game-hud {
        flex-wrap: wrap;
        gap: 15px;
    }

    .health-bar {
        width: 120px;
        height: 15px;
    }

    .arena-floor {
        height: 280px;
    }

    .robot {
        transform: scale(0.8);
        bottom: 50px;
    }

    .player-robot {
        left: 40px;
    }

    .enemy-robot {
        right: 40px;
        transform: scaleX(-1) scale(0.8);
    }

    .vs-badge {
        order: -1;
        width: 100%;
        text-align: center;
        padding: 8px;
        font-size: 1.5rem;
    }

    .score {
        font-size: 2rem;
    }

    .victory-title {
        font-size: 2.5rem;
        letter-spacing: 4px;
    }
}

@media (max-width: 480px) {
    .game-title {
        font-size: 1.6rem;
    }

    .game-btn {
        padding: 14px 35px;
        font-size: 1rem;
    }

    .arena-floor {
        height: 240px;
    }

    .robot {
        transform: scale(0.65);
        bottom: 40px;
    }

    .player-robot {
        left: 20px;
    }

    .enemy-robot {
        right: 20px;
        transform: scaleX(-1) scale(0.65);
    }

    .game-controls-display {
        flex-wrap: wrap;
        gap: 15px;
        padding: 10px 15px;
    }

    .control-key {
        min-width: 30px;
        padding: 5px 8px;
        font-size: 0.75rem;
    }

    .control-label {
        font-size: 0.75rem;
    }
}

/* ========================================
   SIDE-BY-SIDE GAMES LAYOUT
   ======================================== */

.games-section {
    min-height: auto;
    padding: 20px 20px 40px;
}

.games-container {
    display: flex;
    gap: 15px;
    max-width: 1400px;
    margin: 0 auto;
    justify-content: center;
    align-items: stretch;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.game-card {
    flex: 1;
    min-width: 280px;
    max-width: 320px;
    background: linear-gradient(180deg, rgba(26, 26, 46, 0.95), rgba(10, 10, 10, 0.98));
    border: 2px solid rgba(72, 219, 251, 0.3);
    border-radius: 15px;
    padding: 15px;
    box-shadow: 0 0 30px rgba(72, 219, 251, 0.15);
    overflow: hidden;
    transition: all 0.4s ease;
    cursor: pointer;
}

.game-card:hover:not(.expanded) {
    transform: scale(1.02);
    box-shadow: 0 0 60px rgba(72, 219, 251, 0.25);
}

.game-card.chidiya-card {
    border-color: rgba(255, 183, 77, 0.3);
    box-shadow: 0 0 40px rgba(255, 183, 77, 0.15);
    background: linear-gradient(180deg, rgba(22, 33, 62, 0.95), rgba(15, 52, 96, 0.98));
}

.game-card.chidiya-card:hover:not(.expanded) {
    box-shadow: 0 0 60px rgba(255, 183, 77, 0.25);
}

/* Expanded/Maximized Game Card */
.game-card.expanded {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: auto;
    max-width: 900px;
    width: 95vw;
    max-height: 95vh;
    overflow-y: auto;
    z-index: 1000;
    cursor: default;
    padding: 30px;
}

.game-card.expanded .game-title-small {
    font-size: 3.5rem !important;
}

.game-card.expanded .chidiya-title-small {
    font-size: 3.5rem !important;
}

.game-card.expanded .arena-floor {
    height: 350px;
}

.game-card.expanded .chidiya-word {
    font-size: 4rem;
}

.game-card.expanded .chidiya-emoji {
    font-size: 4rem;
}

/* ========================================
   GAME PREVIEW CARDS (Homepage)
   ======================================== */

.game-preview {
    text-decoration: none;
    display: block;
}

.game-preview-info {
    margin: 10px 0;
    padding: 10px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    text-align: left;
}

.game-preview-info p {
    color: #ccc;
    font-size: 0.8rem;
    margin-bottom: 8px;
    text-align: center;
}

.game-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.game-features li {
    color: #aaa;
    font-size: 0.75rem;
    padding: 4px 0;
    padding-left: 18px;
    position: relative;
}

.game-features li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    color: #48dbfb;
    font-weight: bold;
    font-size: 0.7rem;
}

.chidiya-card .game-features li::before {
    color: #ffb74d;
}

.play-btn {
    display: inline-block;
    padding: 10px 25px;
    background: linear-gradient(135deg, #ff6b6b, #ff8e53);
    border-radius: 20px;
    color: white;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
}

.play-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(255, 107, 107, 0.6);
}

.play-btn.chidiya-btn {
    background: linear-gradient(135deg, #ffb74d, #ff9800);
    box-shadow: 0 5px 20px rgba(255, 183, 77, 0.4);
}

.play-btn.chidiya-btn:hover {
    box-shadow: 0 8px 30px rgba(255, 183, 77, 0.6);
}

/* Stock Card Preview */
.game-card.stock-card {
    border-color: rgba(76, 175, 80, 0.3);
    box-shadow: 0 0 40px rgba(76, 175, 80, 0.15);
    background: linear-gradient(180deg, rgba(15, 32, 39, 0.95), rgba(32, 58, 67, 0.98));
}

.game-card.stock-card:hover:not(.expanded) {
    box-shadow: 0 0 60px rgba(76, 175, 80, 0.25);
}

.stock-card .game-features li::before {
    color: #4caf50;
}

.stock-title-small {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    background: linear-gradient(135deg, #4caf50, #8bc34a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 3px;
    letter-spacing: 2px;
    text-align: center;
}

.stock-subtitle-small {
    font-size: 0.85rem;
    color: #81c784;
    margin-bottom: 15px;
    text-align: center;
}

/* Furrr Card Preview */
.game-card.furrr-card {
    border-color: rgba(255, 107, 107, 0.3);
    box-shadow: 0 0 40px rgba(255, 107, 107, 0.15);
    background: linear-gradient(180deg, rgba(26, 26, 46, 0.95), rgba(22, 33, 62, 0.98));
}

.game-card.furrr-card:hover:not(.expanded) {
    box-shadow: 0 0 60px rgba(255, 107, 107, 0.25);
}

.furrr-card .game-features li::before {
    color: #ff6b6b;
}

.furrr-title-small {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.6rem;
    font-weight: 900;
    background: linear-gradient(135deg, #ff6b6b, #feca57, #ff9ff3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 3px;
    letter-spacing: 2px;
    text-align: center;
}

.furrr-subtitle-small {
    font-size: 0.85rem;
    color: #feca57;
    margin-bottom: 15px;
    text-align: center;
}

.play-btn.furrr-btn {
    background: linear-gradient(135deg, #ff6b6b, #ee5a5a);
}

.play-btn.furrr-btn:hover {
    box-shadow: 0 8px 30px rgba(255, 107, 107, 0.6);
}

/* AnnaMota Card Preview */
.game-card.annamota-card {
    border-color: rgba(243, 156, 18, 0.3);
    box-shadow: 0 0 30px rgba(243, 156, 18, 0.15);
    background: linear-gradient(180deg, rgba(10, 10, 26, 0.95), rgba(26, 26, 46, 0.98));
}

.game-card.annamota-card:hover:not(.expanded) {
    box-shadow: 0 0 50px rgba(243, 156, 18, 0.25);
}

.annamota-card .game-features li::before {
    color: #f39c12;
}

.annamota-title-small {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.6rem;
    font-weight: 900;
    background: linear-gradient(135deg, #f39c12, #e74c3c, #9b59b6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 3px;
    letter-spacing: 2px;
    text-align: center;
}

.annamota-subtitle-small {
    font-size: 0.85rem;
    color: #f39c12;
    margin-bottom: 15px;
    text-align: center;
}

.play-btn.annamota-btn {
    background: linear-gradient(135deg, #f39c12, #e74c3c);
}

.play-btn.annamota-btn:hover {
    box-shadow: 0 8px 30px rgba(243, 156, 18, 0.6);
}

/* ========================================
   FULLSCREEN GAME PAGE
   ======================================== */

.game-page {
    background: #0a0a0a;
}

.game-page-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 20px 40px;
}

.game-fullscreen {
    width: 100%;
    max-width: 900px;
    background: linear-gradient(180deg, rgba(26, 26, 46, 0.95), rgba(10, 10, 10, 0.98));
    border: 2px solid rgba(72, 219, 251, 0.3);
    border-radius: 25px;
    padding: 40px;
    box-shadow: 0 0 60px rgba(72, 219, 251, 0.2);
}

.chidiya-page .game-fullscreen {
    border-color: rgba(255, 183, 77, 0.3);
    box-shadow: 0 0 60px rgba(255, 183, 77, 0.2);
    background: linear-gradient(180deg, rgba(22, 33, 62, 0.95), rgba(15, 52, 96, 0.98));
}

.game-fullscreen .arena-floor {
    height: 400px;
}

@media (max-width: 768px) {
    .game-fullscreen {
        padding: 20px;
        margin: 10px;
    }

    .game-fullscreen .arena-floor {
        height: 300px;
    }
}

@media (max-width: 480px) {
    .game-page-section {
        padding: 80px 10px 20px;
    }

    .game-fullscreen {
        padding: 15px;
        border-radius: 15px;
    }
}

.game-backdrop.show {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Minimize button */
.minimize-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.minimize-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: scale(1.1);
}

.game-card.expanded .minimize-btn {
    display: flex;
}

.game-card-content {
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

/* Smaller titles for side-by-side */
.game-title-small {
    font-size: 1.6rem !important;
    letter-spacing: 2px !important;
    margin-bottom: 5px !important;
}

.chidiya-title-small {
    font-size: 1.6rem !important;
    letter-spacing: 2px !important;
    margin-bottom: 3px !important;
}

/* Adjusted game screen for cards */
.game-card .game-screen {
    max-width: 100%;
    padding: 15px;
}

.game-card .game-subtitle,
.game-card .chidiya-subtitle {
    font-size: 1rem;
    margin-bottom: 25px;
}

/* Smaller arena for side-by-side */
.game-card .arena-floor {
    max-width: 100%;
    height: 280px;
}

.game-card .army-hud {
    gap: 10px;
    margin-bottom: 15px;
}

.game-card .timer-container {
    padding: 8px 20px;
}

.game-card .timer {
    font-size: 2rem;
}

.game-card .team-score {
    padding: 10px 15px;
    min-width: 90px;
}

.game-card .kill-count {
    font-size: 2rem;
}

.game-card .vs-badge {
    font-size: 1.2rem;
    padding: 8px 15px;
}

.game-card .battle-log {
    width: 180px;
    max-height: 100px;
    bottom: 10px;
    right: 10px;
    padding: 8px;
}

/* Smaller instructions for Chidiya */
.game-card .chidiya-instructions {
    padding: 20px;
    margin-bottom: 20px;
}

.game-card .instruction-text {
    font-size: 0.95rem;
    margin-bottom: 8px;
}

.game-card .instruction-highlight {
    font-size: 1.1rem;
    margin: 15px 0;
}

.game-card .speed-info {
    margin-top: 15px;
    padding-top: 15px;
}

.game-card .speed-info p {
    font-size: 0.85rem;
    margin: 5px 0;
    display: inline-block;
    margin-right: 10px;
}

/* Smaller word display for Chidiya */
.game-card .chidiya-word-container {
    padding: 25px 40px;
    min-width: auto;
    margin: 20px 0;
}

.game-card .chidiya-word {
    font-size: 2.5rem;
    letter-spacing: 5px;
    margin-bottom: 10px;
}

.game-card .chidiya-emoji {
    font-size: 2.5rem;
}

.game-card .chidiya-hud {
    gap: 20px;
    margin-bottom: 20px;
}

.game-card .chidiya-score,
.game-card .chidiya-level {
    font-size: 2rem;
}

.game-card .prompt-text {
    font-size: 1.4rem;
}

/* Smaller stats */
.game-card .chidiya-stats,
.game-card .battle-stats {
    padding: 15px 25px;
    max-width: 280px;
}

.game-card .result-title,
.game-card .victory-title {
    font-size: 2.5rem;
    letter-spacing: 4px;
}

/* Responsive for side-by-side */
@media (max-width: 1000px) {
    .games-container {
        flex-direction: column;
        align-items: center;
    }

    .game-card {
        min-width: 100%;
        max-width: 600px;
    }

    .game-card.expanded {
        width: 98vw;
        max-width: none;
    }
}

@media (max-width: 600px) {
    .games-section {
        padding: 80px 10px 20px;
    }

    .game-card {
        padding: 15px;
        min-width: auto;
    }

    .game-title-small,
    .chidiya-title-small {
        font-size: 1.8rem !important;
    }

    .game-card .arena-floor {
        height: 220px;
    }

    .game-card .chidiya-word {
        font-size: 1.8rem;
        letter-spacing: 3px;
    }

    .game-card .chidiya-emoji {
        font-size: 2rem;
    }

    .game-card.expanded {
        padding: 20px 15px;
        border-radius: 15px;
    }

    .game-card.expanded .game-title-small,
    .game-card.expanded .chidiya-title-small {
        font-size: 2.2rem !important;
    }

    .minimize-btn {
        width: 35px;
        height: 35px;
        font-size: 1.3rem;
    }
}

/* ========================================
   CHIDIYA UD GAME STYLES
   ======================================== */

.chidiya-section {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
}

.chidiya-section::before {
    background:
        radial-gradient(ellipse at 30% 70%, rgba(255, 183, 77, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 30%, rgba(100, 181, 246, 0.1) 0%, transparent 50%);
}

/* Chidiya Start Screen */
.chidiya-start {
    text-align: center;
    animation: fadeInUp 0.8s ease;
}

.chidiya-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 4rem;
    font-weight: 700;
    background: linear-gradient(135deg, #ffb74d, #ff8a65, #f06292, #ba68c8);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease infinite;
    text-shadow: 0 0 30px rgba(255, 183, 77, 0.3);
    margin-bottom: 10px;
    letter-spacing: 6px;
}

.chidiya-subtitle {
    font-size: 1.3rem;
    color: #64b5f6;
    margin-bottom: 40px;
    font-weight: 300;
    letter-spacing: 2px;
}

.chidiya-instructions {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 183, 77, 0.3);
    border-radius: 20px;
    padding: 30px 40px;
    margin-bottom: 30px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.instruction-text {
    color: #b0bec5;
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.instruction-highlight {
    color: #fff;
    font-size: 1.3rem;
    font-weight: 600;
    margin: 20px 0;
}

.key-badge {
    display: inline-block;
    padding: 8px 20px;
    background: linear-gradient(180deg, #ffb74d, #ff8a65);
    border-radius: 10px;
    color: #1a1a2e;
    font-weight: 700;
    font-size: 1rem;
    box-shadow: 0 4px 0 #e65100, 0 6px 15px rgba(255, 183, 77, 0.4);
    margin: 0 5px;
}

.key-badge.small {
    padding: 4px 12px;
    font-size: 0.85rem;
}

.speed-info {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.speed-info p {
    color: #78909c;
    font-size: 0.95rem;
    margin: 8px 0;
}

.level-badge {
    display: inline-block;
    padding: 3px 10px;
    background: rgba(100, 181, 246, 0.2);
    border: 1px solid #64b5f6;
    border-radius: 5px;
    color: #64b5f6;
    font-size: 0.75rem;
    font-weight: 600;
    margin-right: 10px;
}

.chidiya-btn {
    background: linear-gradient(135deg, #ffb74d, #ff8a65);
    box-shadow: 0 8px 30px rgba(255, 183, 77, 0.4);
}

.chidiya-btn:hover {
    box-shadow: 0 12px 40px rgba(255, 183, 77, 0.6);
}

/* Chidiya Game Arena */
.chidiya-arena {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 500px;
}

.chidiya-hud {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.score-display,
.level-display {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8px 16px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 10px;
    border: 2px solid rgba(255, 183, 77, 0.3);
}

.score-label,
.level-label {
    font-size: 0.6rem;
    color: #78909c;
    letter-spacing: 1px;
    margin-bottom: 3px;
}

.chidiya-score {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffb74d;
    text-shadow: 0 0 15px rgba(255, 183, 77, 0.5);
}

.chidiya-level {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: #64b5f6;
    text-shadow: 0 0 15px rgba(100, 181, 246, 0.5);
}

.timer-display {
    width: 150px;
}

.timer-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.timer-fill {
    height: 100%;
    width: 100%;
    background: linear-gradient(90deg, #4caf50, #8bc34a);
    border-radius: 5px;
    transition: width 0.1s linear;
}

.timer-fill.warning {
    background: linear-gradient(90deg, #ff9800, #ffb74d);
}

.timer-fill.critical {
    background: linear-gradient(90deg, #f44336, #ff5252);
    animation: timerPulse 0.3s ease infinite;
}

/* Word Display */
.chidiya-word-container {
    margin: 30px 0;
    padding: 40px 80px;
    background: rgba(255, 255, 255, 0.05);
    border: 3px solid rgba(255, 183, 77, 0.4);
    border-radius: 25px;
    box-shadow: 0 0 50px rgba(255, 183, 77, 0.2);
    min-width: 350px;
}

.chidiya-word {
    font-family: 'Montserrat', sans-serif;
    font-size: 4rem;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 8px;
    margin-bottom: 15px;
    animation: wordAppear 0.3s ease;
}

@keyframes wordAppear {
    0% {
        opacity: 0;
        transform: scale(0.5) translateY(20px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.chidiya-emoji {
    font-size: 4rem;
    animation: emojiFloat 2s ease-in-out infinite;
}

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

/* Prompt */
.chidiya-prompt {
    margin-top: 30px;
}

.prompt-text {
    font-size: 1.8rem;
    color: #fff;
    font-weight: 600;
    margin-bottom: 10px;
}

.prompt-hint {
    color: #78909c;
    font-size: 1rem;
}

/* Feedback */
.chidiya-feedback {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Montserrat', sans-serif;
    font-size: 5rem;
    font-weight: 700;
    pointer-events: none;
    opacity: 0;
    z-index: 1000;
}

.chidiya-feedback.correct {
    color: #4caf50;
    text-shadow: 0 0 50px rgba(76, 175, 80, 0.8);
    animation: feedbackPop 0.6s ease forwards;
}

.chidiya-feedback.wrong {
    color: #f44336;
    text-shadow: 0 0 50px rgba(244, 67, 54, 0.8);
    animation: feedbackPop 0.6s ease forwards;
}

@keyframes feedbackPop {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.3);
    }
    30% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.2);
    }
    60% {
        transform: translate(-50%, -50%) scale(1);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.8) translateY(-30px);
    }
}

/* Game Over Screen */
.chidiya-gameover {
    text-align: center;
    animation: fadeInUp 0.8s ease;
}

.result-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 6px;
}

.result-title.game-over {
    color: #f44336;
}

.result-title.high-score {
    background: linear-gradient(135deg, #ffb74d, #ff8a65, #f06292);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 2s ease infinite;
}

.result-message {
    font-size: 1.3rem;
    color: #b0bec5;
    margin-bottom: 30px;
}

.chidiya-stats {
    margin: 30px auto;
    padding: 25px 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    max-width: 350px;
}

.chidiya-stats .stat-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.chidiya-stats .stat-row:last-child {
    border-bottom: none;
}

.chidiya-stats .stat-label {
    color: #78909c;
    font-size: 1rem;
}

.chidiya-stats .stat-value {
    color: #ffb74d;
    font-weight: 700;
    font-size: 1.1rem;
}

/* Flying Animation for correct answers */
.chidiya-word-container.flying {
    animation: flyAway 0.5s ease forwards;
}

@keyframes flyAway {
    0% {
        transform: translateY(0) rotate(0);
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) rotate(10deg);
        opacity: 0;
    }
}

/* Shake animation for wrong answers */
.chidiya-word-container.wrong {
    animation: shakeWrong 0.5s ease;
}

@keyframes shakeWrong {
    0%, 100% { transform: translateX(0); }
    20% { transform: translateX(-20px); }
    40% { transform: translateX(20px); }
    60% { transform: translateX(-15px); }
    80% { transform: translateX(15px); }
}

/* Responsive Styles */
@media (max-width: 768px) {
    .chidiya-title {
        font-size: 2.5rem;
        letter-spacing: 4px;
    }

    .chidiya-subtitle {
        font-size: 1rem;
    }

    .chidiya-instructions {
        padding: 20px;
        margin: 0 15px 30px;
    }

    .chidiya-hud {
        gap: 20px;
    }

    .chidiya-score,
    .chidiya-level {
        font-size: 2rem;
    }

    .chidiya-word-container {
        padding: 30px 40px;
        min-width: auto;
        margin: 20px;
    }

    .chidiya-word {
        font-size: 2.5rem;
        letter-spacing: 4px;
    }

    .chidiya-emoji {
        font-size: 3rem;
    }

    .result-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .chidiya-title {
        font-size: 2rem;
    }

    .chidiya-word {
        font-size: 2rem;
        letter-spacing: 2px;
    }

    .chidiya-emoji {
        font-size: 2.5rem;
    }

    .chidiya-feedback {
        font-size: 3rem;
    }

    .timer-display {
        width: 150px;
    }
}

/* ========================================
   STOCK MANIA GAME STYLES
   ======================================== */

.stock-section {
    background: linear-gradient(135deg, #1a1a2e 0%, #0f2027 50%, #203a43 100%);
}

.stock-section::before {
    background:
        radial-gradient(ellipse at 30% 70%, rgba(76, 175, 80, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 30%, rgba(244, 67, 54, 0.1) 0%, transparent 50%);
}

.stock-fullscreen {
    border-color: rgba(76, 175, 80, 0.3);
    box-shadow: 0 0 60px rgba(76, 175, 80, 0.15);
}

.stock-page .game-fullscreen {
    border-color: rgba(76, 175, 80, 0.3);
    box-shadow: 0 0 60px rgba(76, 175, 80, 0.15);
    background: linear-gradient(180deg, rgba(15, 32, 39, 0.95), rgba(32, 58, 67, 0.98));
}

/* Stock Title */
.stock-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 4rem;
    font-weight: 700;
    background: linear-gradient(135deg, #4caf50, #8bc34a, #cddc39);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease infinite;
    text-shadow: 0 0 30px rgba(76, 175, 80, 0.3);
    margin-bottom: 10px;
    letter-spacing: 6px;
    text-align: center;
}

.stock-subtitle {
    font-size: 1.3rem;
    color: #81c784;
    margin-bottom: 30px;
    letter-spacing: 3px;
    text-align: center;
}

/* Stock Instructions */
.stock-instructions {
    background: rgba(76, 175, 80, 0.1);
    border: 1px solid rgba(76, 175, 80, 0.3);
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 30px;
    text-align: center;
}

.stock-instructions .instruction-text {
    color: #b0bec5;
    font-size: 1rem;
    margin-bottom: 10px;
}

.stock-instructions .instruction-highlight {
    color: #fff;
    font-size: 1.2rem;
    margin: 15px 0;
}

.highlight-badge {
    background: linear-gradient(135deg, #4caf50, #8bc34a);
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 700;
}

/* Stock Selection Grid */
.stock-selection {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

.stock-category {
    flex: 1;
    min-width: 280px;
    max-width: 400px;
}

.category-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 15px;
    text-align: center;
    padding: 10px;
    border-radius: 10px;
}

.gainers-title {
    color: #4caf50;
    background: rgba(76, 175, 80, 0.15);
    border: 1px solid rgba(76, 175, 80, 0.3);
}

.losers-title {
    color: #f44336;
    background: rgba(244, 67, 54, 0.15);
    border: 1px solid rgba(244, 67, 54, 0.3);
}

.stocks-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.stock-card {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 15px;
}

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

.stock-card.gainer:hover {
    border-color: rgba(76, 175, 80, 0.5);
    box-shadow: 0 0 20px rgba(76, 175, 80, 0.2);
}

.stock-card.loser:hover {
    border-color: rgba(244, 67, 54, 0.5);
    box-shadow: 0 0 20px rgba(244, 67, 54, 0.2);
}

.stock-card.selected {
    border-color: #4caf50;
    background: rgba(76, 175, 80, 0.2);
    box-shadow: 0 0 25px rgba(76, 175, 80, 0.3);
}

.stock-card-ticker {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    min-width: 60px;
}

.stock-card-name {
    flex: 1;
    font-size: 0.9rem;
    color: #b0bec5;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.stock-card-change {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    padding: 5px 10px;
    border-radius: 8px;
}

.stock-card-change.gainer {
    color: #4caf50;
    background: rgba(76, 175, 80, 0.2);
}

.stock-card-change.loser {
    color: #f44336;
    background: rgba(244, 67, 54, 0.2);
}

.stock-loading {
    text-align: center;
    color: #78909c;
    padding: 20px;
}

/* Stock Button */
.stock-btn {
    background: linear-gradient(135deg, #4caf50, #8bc34a);
    box-shadow: 0 5px 20px rgba(76, 175, 80, 0.4);
}

.stock-btn:hover:not(:disabled) {
    box-shadow: 0 8px 30px rgba(76, 175, 80, 0.6);
}

.stock-btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(76, 175, 80, 0.5);
}

.stock-btn-secondary:hover {
    background: rgba(76, 175, 80, 0.2);
}

/* Stock Arena (Question Screen) */
.stock-hud {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding: 15px 20px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 15px;
    flex-wrap: wrap;
    gap: 15px;
}

.selected-stock-display {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ticker-badge {
    background: linear-gradient(135deg, #4caf50, #8bc34a);
    padding: 8px 15px;
    border-radius: 10px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    color: #fff;
}

.ticker-badge.large {
    font-size: 2rem;
    padding: 15px 30px;
}

.stock-name-small {
    color: #b0bec5;
    font-size: 0.95rem;
}

.stock-name-large {
    font-size: 1.5rem;
    color: #81c784;
    margin-top: 10px;
}

.progress-display, .score-display {
    text-align: center;
}

.progress-label, .score-label {
    display: block;
    font-size: 0.8rem;
    color: #78909c;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.progress-count {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #64b5f6;
}

.stock-score {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: #4caf50;
    text-shadow: 0 0 15px rgba(76, 175, 80, 0.5);
}

/* Question Container */
.question-container {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(76, 175, 80, 0.2);
    border-radius: 20px;
    padding: 40px;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.question-loading {
    text-align: center;
    color: #b0bec5;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(76, 175, 80, 0.2);
    border-top-color: #4caf50;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.question-text {
    font-size: 1.4rem;
    color: #fff;
    text-align: center;
    margin-bottom: 30px;
    line-height: 1.6;
}

.answers-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    max-width: 600px;
    margin: 0 auto;
}

.answer-btn {
    background: rgba(255, 255, 255, 0.08);
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 18px 20px;
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Source Sans Pro', sans-serif;
}

.answer-btn:hover:not(:disabled) {
    background: rgba(76, 175, 80, 0.2);
    border-color: rgba(76, 175, 80, 0.5);
    transform: scale(1.02);
}

.answer-btn:disabled {
    cursor: default;
}

.answer-btn.correct {
    background: rgba(76, 175, 80, 0.3);
    border-color: #4caf50;
    color: #4caf50;
}

.answer-btn.wrong {
    background: rgba(244, 67, 54, 0.3);
    border-color: #f44336;
    color: #f44336;
}

/* Question Feedback */
.question-feedback {
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    margin-top: 20px;
    animation: popIn 0.3s ease;
}

.question-feedback.correct {
    color: #4caf50;
    text-shadow: 0 0 20px rgba(76, 175, 80, 0.5);
}

.question-feedback.wrong {
    color: #f44336;
    text-shadow: 0 0 20px rgba(244, 67, 54, 0.5);
}

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

/* Results Screen */
.results-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #4caf50, #8bc34a, #cddc39);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease infinite;
    text-align: center;
    margin-bottom: 10px;
}

.results-message {
    color: #b0bec5;
    font-size: 1.2rem;
    text-align: center;
    margin-bottom: 30px;
}

.stock-final-stats {
    background: rgba(76, 175, 80, 0.1);
    border: 1px solid rgba(76, 175, 80, 0.3);
    border-radius: 20px;
    padding: 30px;
    max-width: 400px;
    margin: 0 auto 30px;
    text-align: center;
}

.final-stock-display {
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.stock-final-stats .stat-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.stock-final-stats .stat-row:last-child {
    border-bottom: none;
}

.stock-final-stats .stat-label {
    color: #78909c;
    font-size: 1rem;
}

.stock-final-stats .stat-value {
    color: #4caf50;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
}

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

.results-buttons .game-btn {
    min-width: 180px;
}

/* Responsive Stock Mania */
@media (max-width: 768px) {
    .stock-title {
        font-size: 2.5rem;
        letter-spacing: 3px;
    }

    .stock-selection {
        flex-direction: column;
    }

    .stock-category {
        max-width: 100%;
    }

    .stock-hud {
        justify-content: center;
    }

    .question-container {
        padding: 25px;
    }

    .question-text {
        font-size: 1.2rem;
    }

    .answers-grid {
        grid-template-columns: 1fr;
    }

    .answer-btn {
        padding: 15px;
    }

    .results-title {
        font-size: 2.5rem;
    }

    .ticker-badge.large {
        font-size: 1.5rem;
        padding: 12px 20px;
    }
}

@media (max-width: 480px) {
    .stock-title {
        font-size: 2rem;
        margin-top: 50px;
    }

    .stock-card {
        padding: 12px;
    }

    .stock-card-ticker {
        min-width: 50px;
        font-size: 1rem;
    }

    .stock-card-name {
        font-size: 0.85rem;
    }

    .stock-hud {
        flex-direction: column;
        gap: 10px;
    }

    .question-feedback {
        font-size: 1.5rem;
    }
}

/* ========================================
   YOUTUBE SECTION
   ======================================== */

.youtube-section {
    padding: 80px 20px 15px;
    background: linear-gradient(180deg, #0a0a0a 0%, #111111 100%);
}

.youtube-container {
    display: flex;
    gap: 15px;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.youtube-player {
    width: 280px;
    max-width: 100%;
    aspect-ratio: 16 / 9;
    background: #1a1a1a;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(255, 0, 0, 0.12);
}

.youtube-player iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.youtube-loading {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 0.8rem;
}

.youtube-info {
    max-width: 200px;
    text-align: center;
}

.youtube-info h3 {
    font-size: 0.95rem;
    margin-bottom: 5px;
    color: #fff;
}

.youtube-info p {
    color: #969696;
    margin-bottom: 10px;
    font-size: 0.7rem;
    line-height: 1.3;
}

.subscribe-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #FF0000;
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.65rem;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.subscribe-btn:hover {
    background: #CC0000;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 0, 0, 0.4);
}

.subscribe-btn svg {
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .youtube-section {
        padding: 70px 15px 10px;
    }

    .youtube-container {
        flex-direction: column;
        gap: 15px;
    }

    .youtube-player {
        width: 100%;
        max-width: 320px;
    }

    .youtube-info {
        max-width: 100%;
    }
}
