@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Oswald:wght@400;600;700&family=Rajdhani:wght@400;600;700&display=swap');

/* Beta Notification Banner */
.beta-notification-banner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 40px;
    background: linear-gradient(90deg, #ff6b35, #f7931e, #ff6b35);
    z-index: 10000;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(255, 107, 53, 0.3);
}

.notification-content {
    display: flex;
    align-items: center;
    height: 100%;
    white-space: nowrap;
    animation: scrollLeft 20s linear infinite;
}

.notification-text {
    color: #ffffff;
    font-family: 'Oswald', sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    margin-right: 100px;
    display: inline-block;
    line-height: 40px;
}

@keyframes scrollLeft {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}

.beta-notification-banner:hover .notification-content {
    animation-play-state: paused;
}

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

body {
    font-family: 'Oswald', 'Rajdhani', sans-serif;
    background: 
        linear-gradient(135deg, #000000 0%, #1a1a1a 25%, #2d2d2d 50%, #1a1a1a 75%, #000000 100%),
        radial-gradient(circle at 20% 20%, rgba(212, 175, 55, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.02) 0%, transparent 50%);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    color: #ffffff;
    padding-top: 120px;
}

/* GTA-Style Urban Grid Background */
.background-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    background-image: 
        linear-gradient(rgba(212, 175, 55, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(212, 175, 55, 0.08) 1px, transparent 1px),
        radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.01) 1px, transparent 1px);
    background-size: 100px 100px, 100px 100px, 50px 50px;
    animation: urbanMove 30s linear infinite;
}

@keyframes urbanMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(100px, 100px); }
}

.floating-shapes {
    position: relative;
    width: 100%;
    height: 100%;
}

.shape {
    position: absolute;
    background: linear-gradient(45deg, #d4af37, #ffd700, #b8860b);
    border-radius: 2px;
    animation: drift 25s infinite linear;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
}

.shape-1 {
    width: 6px;
    height: 6px;
    left: 10%;
    animation-delay: 0s;
    box-shadow: 0 0 15px #d4af37;
}

.shape-2 {
    width: 4px;
    height: 4px;
    left: 20%;
    animation-delay: 5s;
    box-shadow: 0 0 10px #ffd700;
}

.shape-3 {
    width: 8px;
    height: 8px;
    left: 70%;
    animation-delay: 10s;
    box-shadow: 0 0 20px #b8860b;
}

.shape-4 {
    width: 3px;
    height: 3px;
    left: 80%;
    animation-delay: 15s;
    box-shadow: 0 0 8px #d4af37;
}

.shape-5 {
    width: 10px;
    height: 10px;
    left: 50%;
    animation-delay: 20s;
    box-shadow: 0 0 25px #ffd700;
}

@keyframes drift {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}

/* Navbar Styles */
.navbar {
    position: fixed;
    top: 40px;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(0, 0, 0, 0.98);
    box-shadow: 0 2px 20px rgba(212, 175, 55, 0.2);
}

.navbar-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #d4af37;
}

.brand-logo {
    width: 40px;
    height: 40px;
    filter: drop-shadow(0 0 10px #d4af37);
    transition: transform 0.3s ease;
}

.brand-text {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.8em;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    background: linear-gradient(45deg, #d4af37, #ffd700);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.navbar-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.navbar-nav {
    display: flex;
    align-items: center;
    gap: 25px;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #cccccc;
    text-decoration: none;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 8px 16px;
    border-radius: 25px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.2), transparent);
    transition: left 0.5s ease;
}

.nav-link:hover::before,
.nav-link.active::before {
    left: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: #d4af37;
    background: rgba(212, 175, 55, 0.1);
    transform: translateY(-2px);
}

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

.navbar-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
    padding: 8px;
}

.hamburger-line {
    width: 25px;
    height: 3px;
    background: #d4af37;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Hero Header Styles */
.hero-header {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 100px 20px 50px;
    background: 
        radial-gradient(circle at 20% 30%, rgba(212, 175, 55, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(52, 152, 219, 0.03) 0%, transparent 50%);
}

.hero-container {
    max-width: 1200px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    animation: slideInLeft 0.8s ease-out;
}

.hero-badge {
    margin-bottom: 30px;
}

.badge-content {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 30px;
    color: #d4af37;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.badge-glow {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.3), transparent);
    animation: badgeGlow 3s linear infinite;
}

@keyframes badgeGlow {
    0% { left: -100%; }
    100% { left: 100%; }
}

.hero-title-section {
    margin-bottom: 40px;
}

.hero-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 4em;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.1;
}

.title-highlight {
    background: linear-gradient(45deg, #d4af37, #ffd700, #d4af37);
    background-size: 200% 200%;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: textShine 3s ease-in-out infinite;
}

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

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

.decoration-line {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #d4af37, transparent);
}

.decoration-diamond {
    color: #d4af37;
    font-size: 1.2em;
    animation: diamondRotate 4s linear infinite;
}

@keyframes diamondRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.hero-subtitle {
    margin-bottom: 40px;
}

.subtitle-main {
    font-family: 'Oswald', sans-serif;
    font-size: 1.4em;
    font-weight: 400;
    color: #ffffff;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.subtitle-secondary {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.1em;
    color: #cccccc;
    letter-spacing: 0.5px;
}

.highlight-text {
    color: #d4af37;
    font-weight: 600;
}

.hero-features {
    margin-bottom: 50px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: rgba(212, 175, 55, 0.05);
    border-color: rgba(212, 175, 55, 0.4);
    transform: translateY(-5px);
}

.feature-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(45deg, #d4af37, #ffd700);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    font-size: 1.2em;
}

.feature-text h3 {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.1em;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 5px;
}

.feature-text p {
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.9em;
    color: #cccccc;
}

.hero-cta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.cta-primary,
.cta-secondary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    border-radius: 30px;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: 1.1em;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cta-primary {
    background: linear-gradient(45deg, #d4af37, #ffd700);
    color: #000;
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.4);
}

.cta-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.6);
}

.cta-secondary {
    background: transparent;
    color: #d4af37;
    border: 2px solid #d4af37;
}

.cta-secondary:hover {
    background: rgba(212, 175, 55, 0.1);
    transform: translateY(-3px);
}

.hero-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    animation: slideInRight 0.8s ease-out;
}

.ai-brain-container {
    position: relative;
    width: 300px;
    height: 300px;
}

.ai-brain {
    width: 100%;
    height: 100%;
    position: relative;
}

.brain-core {
    width: 200px;
    height: 200px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1), rgba(52, 152, 219, 0.05));
    border: 2px solid rgba(212, 175, 55, 0.3);
    border-radius: 50%;
    overflow: hidden;
}

.neural-network {
    position: absolute;
    width: 100%;
    height: 100%;
}

.neural-node {
    position: absolute;
    width: 12px;
    height: 12px;
    background: #d4af37;
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.8);
    animation: neuralPulse 2s ease-in-out infinite;
}

.node-1 { top: 30%; left: 30%; animation-delay: 0s; }
.node-2 { top: 30%; right: 30%; animation-delay: 0.4s; }
.node-3 { bottom: 40%; left: 50%; transform: translateX(-50%); animation-delay: 0.8s; }
.node-4 { top: 60%; left: 20%; animation-delay: 1.2s; }
.node-5 { top: 60%; right: 20%; animation-delay: 1.6s; }

@keyframes neuralPulse {
    0%, 100% { 
        transform: scale(1);
        box-shadow: 0 0 15px rgba(212, 175, 55, 0.8);
    }
    50% { 
        transform: scale(1.3);
        box-shadow: 0 0 25px rgba(212, 175, 55, 1);
    }
}

.brain-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    border: 2px solid rgba(212, 175, 55, 0.6);
    border-radius: 50%;
    animation: brainPulse 3s linear infinite;
}

@keyframes brainPulse {
    0% {
        width: 80px;
        height: 80px;
        opacity: 1;
    }
    100% {
        width: 200px;
        height: 200px;
        opacity: 0;
    }
}

.floating-icons {
    position: absolute;
    width: 100%;
    height: 100%;
}

.floating-icon {
    position: absolute;
    width: 40px;
    height: 40px;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #d4af37;
    font-size: 1.2em;
    animation: floatAround 8s linear infinite;
}

.icon-1 { top: 0; left: 50%; transform: translateX(-50%); animation-delay: 0s; }
.icon-2 { top: 50%; right: 0; transform: translateY(-50%); animation-delay: 2s; }
.icon-3 { bottom: 0; left: 50%; transform: translateX(-50%); animation-delay: 4s; }
.icon-4 { top: 50%; left: 0; transform: translateY(-50%); animation-delay: 6s; }

@keyframes floatAround {
    0% { transform: translateX(-50%) rotate(0deg) translateX(150px) rotate(0deg); }
    100% { transform: translateX(-50%) rotate(360deg) translateX(150px) rotate(-360deg); }
}

.stats-counter {
    display: flex;
    gap: 30px;
    text-align: center;
}

.counter-item {
    flex: 1;
}

.counter-number {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.5em;
    font-weight: 700;
    color: #d4af37;
    display: block;
    margin-bottom: 5px;
}

.counter-label {
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.9em;
    color: #cccccc;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: #d4af37;
    animation: scrollBounce 2s ease-in-out infinite;
}

.scroll-text {
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.9em;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.scroll-arrow {
    font-size: 1.5em;
}

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

/* Animations */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

/* Main Container */
.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 15px;
    position: relative;
    z-index: 1;
}

/* Header - GTA Style */
.main-header {
    text-align: center;
    margin-bottom: 30px;
    animation: slideInDown 0.6s ease-out;
    background: 
        linear-gradient(135deg, rgba(0, 0, 0, 0.9), rgba(20, 20, 20, 0.8)),
        linear-gradient(45deg, transparent 40%, rgba(212, 175, 55, 0.05) 50%, transparent 60%);
    border: 1px solid #d4af37;
    border-radius: 5px;
    padding: 25px;
    max-width: 900px;
    margin: 0 auto 30px auto;
    box-shadow: 
        0 0 20px rgba(212, 175, 55, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.main-header h1 {
    color: #d4af37;
    font-family: 'Bebas Neue', 'Oswald', sans-serif;
    font-size: 3.2em;
    font-weight: 400;
    margin: 0 0 8px 0;
    text-shadow: 
        2px 2px 4px rgba(0, 0, 0, 0.8),
        0 0 15px rgba(212, 175, 55, 0.6);
    animation: gtaGlow 3s ease-in-out infinite alternate;
    text-transform: uppercase;
    letter-spacing: 4px;
}

.main-header p {
    color: #cccccc;
    font-family: 'Oswald', sans-serif;
    font-size: 1.1em;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

/* Logo Container */
.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.main-logo {
    filter: drop-shadow(0 0 15px #d4af37);
    animation: logoFloat 4s ease-in-out infinite;
}

@keyframes gtaGlow {
    0%, 100% {
        text-shadow: 
            2px 2px 4px rgba(0, 0, 0, 0.8),
            0 0 15px rgba(212, 175, 55, 0.6);
    }
    50% {
        text-shadow: 
            2px 2px 4px rgba(0, 0, 0, 0.8),
            0 0 25px rgba(212, 175, 55, 0.8),
            0 0 35px rgba(255, 215, 0, 0.4);
    }
}

@keyframes logoFloat {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-6px) rotate(2deg);
    }
}

.header-actions {
    margin-top: 20px;
}

/* Navbar GitHub Button - Specific to Navbar */
.navbar .github-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: linear-gradient(45deg, #24292e, #586069);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.95em;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.navbar .github-btn:hover {
    background: linear-gradient(45deg, #2c3e50, #34495e);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.2);
}

.navbar .github-btn:active {
    transform: translateY(0);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.navbar .github-btn i {
    font-size: 1.2em;
}
/* Header Actions */
.header-actions {
    margin-top: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
}

@keyframes glow {
    from {
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3), 0 0 20px rgba(255, 255, 255, 0.3);
    }
    to {
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3), 0 0 30px rgba(255, 255, 255, 0.6);
    }
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Game Selector - GTA Style */
.game-selector {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 12px;
    margin-bottom: 30px;
    animation: slideInUp 0.6s ease-out 0.2s both;
    padding: 15px;
    max-width: 900px;
    margin: 0 auto 30px auto;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8), rgba(20, 20, 20, 0.7));
    border: 1px solid #d4af37;
    border-radius: 5px;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.2);
}

.game-tab {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 3px;
    padding: 15px 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    backdrop-filter: blur(5px);
    position: relative;
    overflow: hidden;
}

.game-tab::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.2), transparent);
    transition: left 0.6s ease;
}

.game-tab:hover::before {
    left: 100%;
}

.game-tab:hover {
    transform: translateY(-4px);
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.2), rgba(255, 255, 255, 0.05));
    border-color: #d4af37;
    box-shadow: 
        0 8px 20px rgba(212, 175, 55, 0.3),
        0 0 15px rgba(212, 175, 55, 0.2);
}

.game-tab.active {
    background: linear-gradient(135deg, #d4af37, #b8860b);
    color: #000;
    transform: translateY(-4px);
    border-color: #ffd700;
    box-shadow: 
        0 12px 25px rgba(212, 175, 55, 0.4),
        0 0 20px rgba(212, 175, 55, 0.3);
}

.game-tab i {
    font-size: 2.2em;
    color: #d4af37;
    text-shadow: 
        1px 1px 2px rgba(0, 0, 0, 0.5),
        0 0 8px rgba(212, 175, 55, 0.4);
    transition: all 0.3s ease;
}

.game-tab.active i {
    color: #000;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.game-tab span {
    font-weight: 600;
    color: #d4af37;
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9em;
    text-shadow: 
        1px 1px 2px rgba(0, 0, 0, 0.5),
        0 0 5px rgba(212, 175, 55, 0.3);
    transition: all 0.3s ease;
}

.game-tab.active span {
    color: #000;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Game Containers - GTA Style */
.game-container {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.95), rgba(20, 20, 20, 0.9));
    border: 2px solid #d4af37; /* GTA gold */
    border-radius: 8px;
    padding: 20px;
    max-width: 900px;
    margin: 0 auto 20px auto;
    box-shadow: 
        0 8px 32px rgba(212, 175, 55, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    display: none !important;
    animation: fadeInScale 0.4s ease-out;
    position: relative;
    overflow: hidden;
}

.game-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(45deg, transparent 40%, rgba(212, 175, 55, 0.03) 50%, transparent 60%),
        radial-gradient(circle at 10% 10%, rgba(255, 255, 255, 0.02) 0%, transparent 40%);
    pointer-events: none;
}

.game-container.active {
    display: block !important;
}

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

.game-header {
    text-align: center;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
}

.game-header h2 {
    color: #d4af37; /* GTA gold */
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.8em;
    margin-bottom: 5px;
    text-shadow: 
        0 0 10px rgba(212, 175, 55, 0.6),
        2px 2px 4px rgba(0, 0, 0, 0.8);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 900;
    position: relative;
}

.game-header h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #d4af37, transparent);
    box-shadow: 0 0 8px rgba(212, 175, 55, 0.8);
}

/* Common Game Elements - GTA Style */
.game-button {
    background: linear-gradient(135deg, #d4af37, #b8860b);
    color: #000;
    border: 1px solid rgba(212, 175, 55, 0.5);
    padding: 12px 25px;
    margin: 6px;
    border-radius: 3px;
    font-size: 14px;
    font-weight: 600;
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 
        0 4px 12px rgba(212, 175, 55, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

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

.game-button:hover::before {
    left: 100%;
}

.game-button:hover {
    transform: translateY(-3px);
    background: linear-gradient(135deg, #ffd700, #d4af37);
    color: #000;
    border-color: #ffd700;
    box-shadow: 
        0 8px 20px rgba(212, 175, 55, 0.4),
        0 0 15px rgba(212, 175, 55, 0.3);
}

.game-button:active {
    transform: translateY(-1px);
}

.game-button.secondary {
    background: linear-gradient(135deg, rgba(60, 60, 60, 0.8), rgba(40, 40, 40, 0.9));
    color: #cccccc;
    border-color: rgba(212, 175, 55, 0.3);
}

.game-button.secondary:hover {
    background: linear-gradient(135deg, rgba(80, 80, 80, 0.9), rgba(60, 60, 60, 0.8));
    color: #d4af37;
    border-color: #d4af37;
}

/* Tic Tac Toe Specific Styles */
.game-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.3), rgba(26, 10, 46, 0.3));
    border: 1px solid rgba(0, 255, 136, 0.3);
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.score-board {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.score {
    background: linear-gradient(145deg, rgba(0, 255, 136, 0.1), rgba(0, 128, 255, 0.1));
    border: 2px solid rgba(0, 255, 136, 0.3);
    padding: 15px 20px;
    border-radius: 12px;
    font-weight: 700;
    font-family: 'Rajdhani', sans-serif;
    color: #00ff88;
    box-shadow: 
        0 6px 15px rgba(0, 255, 136, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 0 5px rgba(0, 255, 136, 0.5);
}

.score:hover {
    transform: translateY(-3px);
    border-color: #ff0080;
    color: #ff0080;
    text-shadow: 0 0 10px rgba(255, 0, 128, 0.8);
    box-shadow: 
        0 10px 25px rgba(255, 0, 128, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* GTA-Style Difficulty Selectors */
.difficulty-selector, 
.pong-difficulty, 
.shooter-difficulty, 
.snake-difficulty, 
.word-difficulty, 
.catch-difficulty, 
.quiz-difficulty, 
.typing-difficulty, 
.chess-difficulty, 
.flappy-difficulty,
.number-difficulty {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 10px 0;
}

.difficulty-selector label,
.pong-difficulty label,
.shooter-difficulty label,
.snake-difficulty label,
.word-difficulty label,
.catch-difficulty label,
.quiz-difficulty label,
.typing-difficulty label,
.chess-difficulty label,
.flappy-difficulty label {
    color: #d4af37;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 16px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 
        0 0 8px rgba(212, 175, 55, 0.6),
        0 2px 4px rgba(0, 0, 0, 0.8);
    min-width: 100px;
    white-space: nowrap;
}

/* Explicit override to ensure Flappy Bird difficulty label matches others exactly */
.flappy-difficulty label {
    color: #d4af37 !important;
    font-family: 'Bebas Neue', sans-serif !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
    text-shadow: 
        0 0 8px rgba(212, 175, 55, 0.6),
        0 2px 4px rgba(0, 0, 0, 0.8) !important;
    min-width: 100px !important;
    white-space: nowrap !important;
}

.difficulty-selector select,
.pong-difficulty select,
.shooter-difficulty select,
.snake-difficulty select,
.word-difficulty select,
.catch-difficulty select,
.quiz-difficulty select,
.typing-difficulty select,
.chess-difficulty select,
.flappy-difficulty select,
.number-difficulty select,
#number-difficulty {
    padding: 12px 20px;
    border-radius: 8px;
    border: 2px solid rgba(212, 175, 55, 0.4);
    background: linear-gradient(135deg, 
        rgba(0, 0, 0, 0.85) 0%, 
        rgba(20, 20, 20, 0.9) 50%, 
        rgba(0, 0, 0, 0.85) 100%);
    color: #ffffff;
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(8px);
    box-shadow: 
        0 4px 12px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(212, 175, 55, 0.1),
        0 0 0 1px rgba(0, 0, 0, 0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
    appearance: none;
    background-image: 
        linear-gradient(45deg, transparent 50%, #d4af37 50%),
        linear-gradient(135deg, #d4af37 50%, transparent 50%);
    background-position: 
        calc(100% - 20px) calc(1em + 2px),
        calc(100% - 15px) calc(1em + 2px);
    background-size: 5px 5px, 5px 5px;
    background-repeat: no-repeat;
    position: relative;
}

.difficulty-selector select:hover,
.pong-difficulty select:hover,
.shooter-difficulty select:hover,
.snake-difficulty select:hover,
.word-difficulty select:hover,
.catch-difficulty select:hover,
.quiz-difficulty select:hover,
.typing-difficulty select:hover,
.chess-difficulty select:hover,
.flappy-difficulty select:hover,
.number-difficulty select:hover,
#number-difficulty:hover {
    border-color: #d4af37;
    background: linear-gradient(135deg, 
        rgba(20, 20, 20, 0.9) 0%, 
        rgba(40, 40, 40, 0.95) 50%, 
        rgba(20, 20, 20, 0.9) 100%);
    box-shadow: 
        0 6px 18px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(212, 175, 55, 0.2),
        0 0 15px rgba(212, 175, 55, 0.3),
        0 0 0 1px rgba(212, 175, 55, 0.6);
    transform: translateY(-1px);
}

.difficulty-selector select:focus,
.pong-difficulty select:focus,
.shooter-difficulty select:focus,
.snake-difficulty select:focus,
.word-difficulty select:focus,
.catch-difficulty select:focus,
.quiz-difficulty select:focus,
.typing-difficulty select:focus,
.chess-difficulty select:focus,
.flappy-difficulty select:focus,
.number-difficulty select:focus,
#number-difficulty:focus {
    outline: none;
    border-color: #ffd700;
    background: linear-gradient(135deg, 
        rgba(40, 40, 40, 0.95) 0%, 
        rgba(60, 60, 60, 0.98) 50%, 
        rgba(40, 40, 40, 0.95) 100%);
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.6),
        inset 0 1px 0 rgba(255, 215, 0, 0.3),
        0 0 20px rgba(255, 215, 0, 0.4),
        0 0 0 2px rgba(255, 215, 0, 0.8);
    transform: translateY(-2px);
}

.difficulty-selector select option,
.pong-difficulty select option,
.shooter-difficulty select option,
.snake-difficulty select option,
.word-difficulty select option,
.catch-difficulty select option,
.quiz-difficulty select option,
.typing-difficulty select option,
.chess-difficulty select option,
.flappy-difficulty select option,
.number-difficulty select option,
#number-difficulty option {
    background: #1a1a1a;
    color: #ffffff;
    padding: 10px;
    border: none;
    font-family: 'Oswald', sans-serif;
    font-weight: 500;
}

.game-board {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 12px;
    margin: 20px auto;
    max-width: 280px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7), rgba(20, 20, 20, 0.8));
    border: 1px solid rgba(212, 175, 55, 0.4);
    border-radius: 5px;
    box-shadow: 
        inset 0 2px 8px rgba(212, 175, 55, 0.1),
        0 6px 20px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(5px);
}

.cell {
    aspect-ratio: 1;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 3px;
    font-size: 2.5em;
    font-weight: 900;
    font-family: 'Bebas Neue', sans-serif;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 
        0 4px 12px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    min-height: 80px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(3px);
}

.cell::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 40%, rgba(212, 175, 55, 0.1) 50%, transparent 60%);
    transform: translateX(-100%);
    transition: transform 0.4s;
}

.cell:hover::before {
    transform: translateX(100%);
}

.cell:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.2), rgba(255, 255, 255, 0.05));
    border-color: #d4af37;
    box-shadow: 
        0 8px 20px rgba(212, 175, 55, 0.3),
        0 0 12px rgba(212, 175, 55, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.cell.x {
    color: #d4af37;
    text-shadow: 
        2px 2px 4px rgba(0, 0, 0, 0.8),
        0 0 15px rgba(212, 175, 55, 0.8);
    animation: popIn 0.4s ease-out;
}

.cell.o {
    color: #ffffff;
    text-shadow: 
        2px 2px 4px rgba(0, 0, 0, 0.8),
        0 0 12px rgba(255, 255, 255, 0.6);
    animation: popIn 0.4s ease-out;
}

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

.cell.winning {
    background: linear-gradient(135deg, #d4af37, #ffd700);
    color: #000;
    border-color: #ff0080;
    animation: winPulse 1s ease-in-out;
    box-shadow: 
        0 0 30px rgba(0, 255, 136, 0.8),
        0 0 50px rgba(0, 255, 136, 0.4);
}

@keyframes winPulse {
    0%, 100% { 
        transform: scale(1);
        box-shadow: 
            0 0 30px rgba(0, 255, 136, 0.8),
            0 0 50px rgba(0, 255, 136, 0.4);
    }
    50% { 
        transform: scale(1.15);
        box-shadow: 
            0 0 40px rgba(255, 0, 128, 0.8),
            0 0 60px rgba(255, 0, 128, 0.6);
    }
}

.turn-indicator {
    margin-top: 30px;
}

.turn-display {
    display: flex;
    justify-content: center;
    gap: 40px;
}

.player-turn, .ai-turn {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 25px 30px;
    border-radius: 15px;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.3), rgba(26, 10, 46, 0.3));
    border: 2px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    min-width: 140px;
    backdrop-filter: blur(10px);
}

.player-turn.active, .ai-turn.active {
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.2), rgba(0, 128, 255, 0.2));
    border-color: #00ff88;
    transform: scale(1.1);
    box-shadow: 
        0 10px 30px rgba(0, 255, 136, 0.3),
        0 0 20px rgba(0, 255, 136, 0.2);
}

.player-turn span:first-child, .ai-turn span:first-child {
    font-size: 3em;
    font-weight: 900;
    font-family: 'Orbitron', monospace;
    margin-bottom: 10px;
    text-shadow: 0 0 10px currentColor;
}

.player-turn span:first-child {
    color: #ff0080;
}

.ai-turn span:first-child {
    color: #0080ff;
}

.player-turn span:last-child, .ai-turn span:last-child {
    color: #00ff88;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* AI Thinking Animation */
.ai-thinking .ai-turn {
    animation: thinking 1s ease-in-out infinite;
}

@keyframes thinking {
    0%, 100% { opacity: 1; transform: scale(1.1); }
    50% { opacity: 0.7; transform: scale(1.05); }
}

/* ========================================
   SPECIFIC GAME STYLES - CLEAN VERSION
   ======================================== */

/* Rock Paper Scissors Game Styles */
.rps-scores {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 30px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 12px;
    flex-wrap: wrap;
}

.rps-scores .score {
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    font-size: 1.2em;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-align: center;
    padding: 10px 20px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), rgba(255, 255, 255, 0.05));
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 8px;
    min-width: 120px;
}

.rps-scores .score span {
    display: block;
    font-size: 1.5em;
    color: #d4af37;
    font-weight: 700;
    margin-top: 5px;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.6);
}

.rps-choices {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 30px 0;
    flex-wrap: wrap;
}

.choice-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 25px 20px;
    background: linear-gradient(135deg, 
        rgba(212, 175, 55, 0.1) 0%, 
        rgba(255, 255, 255, 0.05) 50%, 
        rgba(212, 175, 55, 0.1) 100%);
    border: 2px solid rgba(212, 175, 55, 0.3);
    border-radius: 15px;
    color: #ffffff;
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    font-size: 1.1em;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 120px;
    min-height: 120px;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.choice-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(212, 175, 55, 0.2) 0%, 
        transparent 50%, 
        rgba(212, 175, 55, 0.2) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.choice-btn:hover {
    transform: translateY(-5px) scale(1.05);
    border-color: #d4af37;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.4),
        0 0 25px rgba(212, 175, 55, 0.4),
        inset 0 1px 0 rgba(212, 175, 55, 0.3);
    background: linear-gradient(135deg, 
        rgba(212, 175, 55, 0.2) 0%, 
        rgba(255, 255, 255, 0.1) 50%, 
        rgba(212, 175, 55, 0.2) 100%);
}

.choice-btn:hover::before {
    opacity: 1;
}

.choice-btn:active {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 
        0 5px 15px rgba(0, 0, 0, 0.3),
        0 0 15px rgba(212, 175, 55, 0.3);
}

.choice-btn i {
    font-size: 2.5em;
    margin-bottom: 10px;
    color: #d4af37;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.6);
    transition: all 0.3s ease;
}

.choice-btn:hover i {
    transform: scale(1.1);
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.8);
}

.choice-btn span {
    font-size: 0.9em;
    margin-top: 5px;
}

/* Choice button specific colors */
.choice-btn[data-choice="rock"] {
    border-color: rgba(231, 76, 60, 0.4);
}

.choice-btn[data-choice="rock"]:hover {
    border-color: #e74c3c;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.4),
        0 0 25px rgba(231, 76, 60, 0.4);
}

.choice-btn[data-choice="rock"] i {
    color: #e74c3c;
}

.choice-btn[data-choice="paper"] {
    border-color: rgba(52, 152, 219, 0.4);
}

.choice-btn[data-choice="paper"]:hover {
    border-color: #3498db;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.4),
        0 0 25px rgba(52, 152, 219, 0.4);
}

.choice-btn[data-choice="paper"] i {
    color: #3498db;
}

.choice-btn[data-choice="scissors"] {
    border-color: rgba(39, 174, 96, 0.4);
}

.choice-btn[data-choice="scissors"]:hover {
    border-color: #27ae60;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.4),
        0 0 25px rgba(39, 174, 96, 0.4);
}

.choice-btn[data-choice="scissors"] i {
    color: #27ae60;
}

.rps-result {
    margin: 30px 0;
    padding: 25px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 12px;
}

.choice-display {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 20px;
}

.player-choice,
.ai-choice {
    flex: 1;
    text-align: center;
    min-width: 120px;
}

.player-choice h4,
.ai-choice h4 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.3em;
    color: #d4af37;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.choice-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), rgba(255, 255, 255, 0.05));
    border: 2px solid rgba(212, 175, 55, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2em;
    color: #ffffff;
    transition: all 0.3s ease;
}

.choice-icon.show {
    transform: scale(1.1);
    border-color: #d4af37;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
}

.choice-icon.winner {
    background: linear-gradient(135deg, rgba(39, 174, 96, 0.3), rgba(46, 204, 113, 0.2));
    border-color: #27ae60;
    box-shadow: 0 0 25px rgba(39, 174, 96, 0.6);
    animation: winnerPulse 1s ease-in-out;
}

.choice-icon.loser {
    background: linear-gradient(135deg, rgba(231, 76, 60, 0.3), rgba(192, 57, 43, 0.2));
    border-color: #e74c3c;
    opacity: 0.7;
}

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

.vs {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2em;
    color: #d4af37;
    font-weight: 700;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.6);
    margin: 0 20px;
    flex-shrink: 0;
}

.result-message {
    text-align: center;
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.3em;
    color: #ffffff;
    font-weight: 600;
    padding: 15px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.result-message.player-wins {
    color: #27ae60;
    background: rgba(39, 174, 96, 0.1);
    border: 1px solid rgba(39, 174, 96, 0.3);
}

.result-message.ai-wins {
    color: #e74c3c;
    background: rgba(231, 76, 60, 0.1);
    border: 1px solid rgba(231, 76, 60, 0.3);
}

.result-message.draw {
    color: #f1c40f;
    background: rgba(241, 196, 15, 0.1);
    border: 1px solid rgba(241, 196, 15, 0.3);
}

.rps-instructions {
    margin-top: 25px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.2);
    border-left: 4px solid #d4af37;
    border-radius: 4px;
}

.rps-instructions p {
    margin: 8px 0;
    color: #cccccc;
    line-height: 1.6;
}

.rps-instructions strong {
    color: #d4af37;
    font-weight: 600;
}

/* Responsive design for RPS game */
@media (max-width: 768px) {
    .rps-choices {
        gap: 15px;
    }
    
    .choice-btn {
        min-width: 100px;
        min-height: 100px;
        padding: 20px 15px;
    }
    
    .choice-btn i {
        font-size: 2em;
    }
    
    .choice-display {
        flex-direction: column;
        gap: 15px;
    }
    
    .vs {
        order: 2;
        font-size: 1.5em;
        margin: 10px 0;
    }
    
    .choice-icon {
        width: 70px;
        height: 70px;
        font-size: 1.8em;
    }
    
    .rps-scores {
        gap: 20px;
    }
    
    .rps-scores .score {
        min-width: 100px;
        font-size: 1em;
    }
}

@media (max-width: 480px) {
    .choice-btn {
        min-width: 90px;
        min-height: 90px;
        padding: 15px 10px;
    }
    
    .choice-btn i {
        font-size: 1.8em;
        margin-bottom: 5px;
    }
    
    .choice-btn span {
        font-size: 0.8em;
    }
    
    .choice-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5em;
    }
}

/* Memory Game Styles */
.memory-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 15px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 8px;
    flex-wrap: wrap;
    gap: 15px;
}

.memory-stats {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.memory-stats .stat {
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.memory-stats .stat span {
    color: #d4af37;
    font-weight: 700;
}

.memory-board {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 15px;
    margin: 20px auto;
    max-width: 450px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7), rgba(20, 20, 20, 0.8));
    border: 1px solid rgba(212, 175, 55, 0.4);
    border-radius: 12px;
    box-shadow: 
        inset 0 2px 8px rgba(212, 175, 55, 0.1),
        0 6px 20px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(5px);
}

.memory-cell {
    aspect-ratio: 1;
    min-height: 100px;
    border-radius: 12px;
    cursor: pointer;
    background: linear-gradient(135deg, 
        rgba(212, 175, 55, 0.1) 0%, 
        rgba(255, 255, 255, 0.05) 50%, 
        rgba(212, 175, 55, 0.1) 100%);
    border: 2px solid rgba(212, 175, 55, 0.3);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2em;
    position: relative;
    overflow: hidden;
}

.memory-cell i {
    opacity: 0;
    transform: scale(0);
    transition: all 0.3s ease;
}

.memory-cell.flipped i,
.memory-cell.matched i {
    opacity: 1;
    transform: scale(1);
}

.memory-cell::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(212, 175, 55, 0.2) 0%, 
        transparent 50%, 
        rgba(212, 175, 55, 0.2) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.memory-cell:hover {
    transform: translateY(-2px) scale(1.02);
    border-color: #d4af37;
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.3),
        0 0 20px rgba(212, 175, 55, 0.3),
        inset 0 1px 0 rgba(212, 175, 55, 0.4);
}

.memory-cell:hover::before {
    opacity: 1;
}

.memory-cell.active {
    background: linear-gradient(135deg, 
        rgba(212, 175, 55, 0.3) 0%, 
        rgba(255, 215, 0, 0.2) 50%, 
        rgba(212, 175, 55, 0.3) 100%);
    border-color: #ffd700;
    transform: scale(1.05);
    box-shadow: 
        0 0 30px rgba(255, 215, 0, 0.5),
        inset 0 0 20px rgba(255, 215, 0, 0.2);
}

.memory-cell.correct {
    background: linear-gradient(135deg, 
        rgba(39, 174, 96, 0.3) 0%, 
        rgba(46, 204, 113, 0.2) 50%, 
        rgba(39, 174, 96, 0.3) 100%);
    border-color: #27ae60;
    animation: correctPulse 0.6s ease;
}

.memory-cell.wrong {
    background: linear-gradient(135deg, 
        rgba(231, 76, 60, 0.3) 0%, 
        rgba(192, 57, 43, 0.2) 50%, 
        rgba(231, 76, 60, 0.3) 100%);
    border-color: #e74c3c;
    animation: wrongShake 0.6s ease;
}

.memory-cell[data-color="red"].flipped,
.memory-cell[data-color="red"].matched {
    color: #e74c3c;
    background: linear-gradient(135deg, 
        rgba(231, 76, 60, 0.3) 0%, 
        rgba(192, 57, 43, 0.2) 50%, 
        rgba(231, 76, 60, 0.3) 100%);
    border-color: #e74c3c;
}

.memory-cell[data-color="blue"].flipped,
.memory-cell[data-color="blue"].matched {
    color: #3498db;
    background: linear-gradient(135deg, 
        rgba(52, 152, 219, 0.3) 0%, 
        rgba(41, 128, 185, 0.2) 50%, 
        rgba(52, 152, 219, 0.3) 100%);
    border-color: #3498db;
}

.memory-cell[data-color="green"].flipped,
.memory-cell[data-color="green"].matched {
    color: #27ae60;
    background: linear-gradient(135deg, 
        rgba(39, 174, 96, 0.3) 0%, 
        rgba(46, 204, 113, 0.2) 50%, 
        rgba(39, 174, 96, 0.3) 100%);
    border-color: #27ae60;
}

.memory-cell[data-color="yellow"].flipped,
.memory-cell[data-color="yellow"].matched {
    color: #f1c40f;
    background: linear-gradient(135deg, 
        rgba(241, 196, 15, 0.3) 0%, 
        rgba(243, 156, 18, 0.2) 50%, 
        rgba(241, 196, 15, 0.3) 100%);
    border-color: #f1c40f;
}

.memory-cell[data-color="purple"].flipped,
.memory-cell[data-color="purple"].matched {
    color: #9b59b6;
    background: linear-gradient(135deg, 
        rgba(155, 89, 182, 0.3) 0%, 
        rgba(142, 68, 173, 0.2) 50%, 
        rgba(155, 89, 182, 0.3) 100%);
    border-color: #9b59b6;
}

.memory-cell[data-color="orange"].flipped,
.memory-cell[data-color="orange"].matched {
    color: #e67e22;
    background: linear-gradient(135deg, 
        rgba(230, 126, 34, 0.3) 0%, 
        rgba(211, 84, 0, 0.2) 50%, 
        rgba(230, 126, 34, 0.3) 100%);
    border-color: #e67e22;
}

.memory-cell[data-color="pink"].flipped,
.memory-cell[data-color="pink"].matched {
    color: #e91e63;
    background: linear-gradient(135deg, 
        rgba(233, 30, 99, 0.3) 0%, 
        rgba(173, 20, 87, 0.2) 50%, 
        rgba(233, 30, 99, 0.3) 100%);
    border-color: #e91e63;
}

.memory-cell[data-color="cyan"].flipped,
.memory-cell[data-color="cyan"].matched {
    color: #1abc9c;
    background: linear-gradient(135deg, 
        rgba(26, 188, 156, 0.3) 0%, 
        rgba(22, 160, 133, 0.2) 50%, 
        rgba(26, 188, 156, 0.3) 100%);
    border-color: #1abc9c;
}

.memory-cell.flipped {
    background: linear-gradient(135deg, 
        rgba(52, 73, 94, 0.8) 0%, 
        rgba(44, 62, 80, 0.9) 50%, 
        rgba(52, 73, 94, 0.8) 100%);
    border-color: #34495e;
    transform: scale(1.05);
}

.memory-cell.matched {
    background: linear-gradient(135deg, 
        rgba(39, 174, 96, 0.3) 0%, 
        rgba(46, 204, 113, 0.2) 50%, 
        rgba(39, 174, 96, 0.3) 100%);
    border-color: #27ae60;
    cursor: default;
}

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

@keyframes wrongShake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

.memory-controls {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin: 20px 0;
    flex-wrap: wrap;
}

.memory-message {
    text-align: center;
    margin: 20px 0;
    padding: 15px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 8px;
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.2em;
    color: #ffffff;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.memory-message.success {
    border-color: rgba(39, 174, 96, 0.6);
    background: rgba(39, 174, 96, 0.1);
    color: #27ae60;
}

.memory-message.game-over {
    border-color: rgba(231, 76, 60, 0.6);
    background: rgba(231, 76, 60, 0.1);
    color: #e74c3c;
}

.memory-instructions {
    margin-top: 20px;
    padding: 15px;
    background: rgba(0, 0, 0, 0.2);
    border-left: 4px solid #d4af37;
    border-radius: 4px;
}

.memory-instructions p {
    margin: 5px 0;
    color: #cccccc;
}

.memory-instructions strong {
    color: #d4af37;
}

/* Memory Game Level Progression */
.memory-board.level-2 {
    grid-template-columns: repeat(3, 1fr);
    max-width: 450px;
}

.memory-board.level-3 {
    grid-template-columns: repeat(4, 1fr);
    max-width: 600px;
}

.memory-board.level-4 {
    grid-template-columns: repeat(4, 1fr);
    max-width: 600px;
}

.memory-board.level-5 {
    grid-template-columns: repeat(5, 1fr);
    max-width: 750px;
}

/* Memory cell size adjustments for different levels */
.memory-board.level-3 .memory-cell,
.memory-board.level-4 .memory-cell,
.memory-board.level-5 .memory-cell {
    min-height: 80px;
    font-size: 1.5em;
}

/* Responsive adjustments for memory game */
@media (max-width: 768px) {
    .memory-board {
        max-width: 350px;
        grid-gap: 10px;
        padding: 15px;
    }
    
    .memory-cell {
        min-height: 75px;
        font-size: 1.5em;
    }
    
    .memory-board.level-2 {
        max-width: 400px;
    }
    
    .memory-board.level-3,
    .memory-board.level-4 {
        max-width: 350px;
    }
    
    .memory-board.level-5 {
        max-width: 400px;
        grid-template-columns: repeat(4, 1fr);
    }
    
    .memory-board.level-3 .memory-cell,
    .memory-board.level-4 .memory-cell,
    .memory-board.level-5 .memory-cell {
        min-height: 60px;
        font-size: 1.2em;
    }
}

@media (max-width: 480px) {
    .memory-board {
        max-width: 300px;
        grid-gap: 8px;
        padding: 12px;
    }
    
    .memory-cell {
        min-height: 65px;
        font-size: 1.3em;
    }
}

/* Number Guessing Game Styles */
.number-game-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 15px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 8px;
    flex-wrap: wrap;
    gap: 15px;
}

.number-stats {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.number-input-section {
    display: flex;
    gap: 10px;
    justify-content: center;
    align-items: center;
    margin: 20px 0;
    flex-wrap: wrap;
}

#number-input {
    padding: 15px 20px;
    border-radius: 8px;
    border: 2px solid rgba(212, 175, 55, 0.4);
    background: linear-gradient(135deg, 
        rgba(0, 0, 0, 0.85) 0%, 
        rgba(20, 20, 20, 0.9) 50%, 
        rgba(0, 0, 0, 0.85) 100%);
    color: #ffffff;
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    font-size: 16px;
    text-align: center;
    min-width: 200px;
    transition: all 0.3s ease;
    backdrop-filter: blur(8px);
    box-shadow: 
        0 4px 12px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(212, 175, 55, 0.1);
}

#number-input:focus {
    outline: none;
    border-color: #d4af37;
    background: linear-gradient(135deg, 
        rgba(20, 20, 20, 0.9) 0%, 
        rgba(40, 40, 40, 0.95) 50%, 
        rgba(20, 20, 20, 0.9) 100%);
    box-shadow: 
        0 6px 18px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(212, 175, 55, 0.2),
        0 0 15px rgba(212, 175, 55, 0.3);
    transform: translateY(-1px);
}

#number-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
    font-style: italic;
}

.number-feedback {
    text-align: center;
    margin: 20px 0;
    padding: 20px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 8px;
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.2em;
    color: #ffffff;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.number-feedback.success {
    border-color: rgba(39, 174, 96, 0.6);
    background: rgba(39, 174, 96, 0.1);
    color: #27ae60;
}

.number-feedback.warning {
    border-color: rgba(230, 126, 34, 0.6);
    background: rgba(230, 126, 34, 0.1);
    color: #e67e22;
}

.number-feedback.error {
    border-color: rgba(231, 76, 60, 0.6);
    background: rgba(231, 76, 60, 0.1);
    color: #e74c3c;
}

.number-controls {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin: 20px 0;
    flex-wrap: wrap;
    align-items: center;
}

.number-history {
    margin: 20px 0;
    padding: 15px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 8px;
    max-height: 200px;
    overflow-y: auto;
}

.number-history h4 {
    color: #d4af37;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.2em;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.guess-entry {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    margin: 5px 0;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 6px;
    border-left: 4px solid transparent;
    font-family: 'Rajdhani', sans-serif;
}

.guess-entry.too-high {
    border-left-color: #e74c3c;
    color: #e74c3c;
}

.guess-entry.too-low {
    border-left-color: #3498db;
    color: #3498db;
}

.guess-entry.correct {
    border-left-color: #27ae60;
    color: #27ae60;
    background: rgba(39, 174, 96, 0.1);
}

.number-instructions {
    margin-top: 20px;
    padding: 15px;
    background: rgba(0, 0, 0, 0.2);
    border-left: 4px solid #d4af37;
    border-radius: 4px;
}

.number-instructions p {
    margin: 5px 0;
    color: #cccccc;
}

.number-instructions strong {
    color: #d4af37;
}

/* Number range display styling */
#number-range {
    color: #d4af37;
    font-weight: bold;
}

#number-attempts {
    color: #3498db;
    font-weight: bold;
}

#number-best {
    color: #27ae60;
    font-weight: bold;
}

/* Ping Pong Game Styles */
.pong-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 15px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 8px;
    flex-wrap: wrap;
    gap: 15px;
}

.pong-scores {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.pong-canvas-container {
    position: relative;
    margin: 20px auto;
    text-align: center;
    background: rgba(0, 0, 0, 0.8);
    border: 2px solid rgba(212, 175, 55, 0.4);
    border-radius: 8px;
    overflow: hidden;
    max-width: 100%;
    width: fit-content;
}

#pong-canvas {
    display: block;
    margin: 0 auto;
    background: #000;
    border-radius: 6px;
    max-width: 100%;
    height: auto;
    min-width: 600px;
    min-height: 300px;
}

.pong-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    backdrop-filter: blur(5px);
}

.pong-message {
    color: #d4af37;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2em;
    text-align: center;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.6);
}

.pong-controls {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin: 20px 0;
    flex-wrap: wrap;
}

.pong-mobile-controls {
    display: none;
    margin-top: 20px;
    padding: 15px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 8px;
}

.pong-instructions {
    margin-top: 20px;
    padding: 15px;
    background: rgba(0, 0, 0, 0.2);
    border-left: 4px solid #d4af37;
    border-radius: 4px;
}

/* Responsive adjustments for Ping Pong on higher resolutions */
@media (min-width: 1200px) {
    #pong-canvas {
        min-width: 800px;
        min-height: 400px;
        max-width: 1000px;
        max-height: 500px;
    }
    
    .pong-canvas-container {
        max-width: 1020px;
    }
}

@media (min-width: 1600px) {
    #pong-canvas {
        min-width: 900px;
        min-height: 450px;
        max-width: 1200px;
        max-height: 600px;
    }
    
    .pong-canvas-container {
        max-width: 1220px;
    }
}

@media (max-width: 768px) {
    #pong-canvas {
        min-width: 300px;
        min-height: 150px;
        width: 100%;
    }
    
    .pong-canvas-container {
        margin: 10px auto;
        max-width: 95%;
    }
}

/* Space Shooter Game Styles */
.shooter-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 15px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 8px;
    flex-wrap: wrap;
    gap: 15px;
}

.shooter-stats {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.shooter-canvas-container {
    position: relative;
    margin: 20px 0;
    text-align: center;
    background: rgba(0, 0, 0, 0.8);
    border: 2px solid rgba(212, 175, 55, 0.4);
    border-radius: 8px;
    overflow: hidden;
}

#shooter-canvas {
    display: block;
    margin: 0 auto;
    background: linear-gradient(to bottom, #000428, #004e92);
    border-radius: 6px;
}

.shooter-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    backdrop-filter: blur(5px);
}

.shooter-message {
    color: #d4af37;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2em;
    text-align: center;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.6);
}

.shooter-controls {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin: 20px 0;
    flex-wrap: wrap;
}

.shooter-mobile-controls {
    display: none;
    margin-top: 20px;
    padding: 15px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 8px;
}

.shooter-instructions {
    margin-top: 20px;
    padding: 15px;
    background: rgba(0, 0, 0, 0.2);
    border-left: 4px solid #d4af37;
    border-radius: 4px;
}

/* AI Snake Game Styles */
.snake-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 15px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 8px;
    flex-wrap: wrap;
    gap: 15px;
}

.snake-stats {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.snake-canvas-container {
    position: relative;
    margin: 20px 0;
    text-align: center;
    background: rgba(0, 0, 0, 0.8);
    border: 2px solid rgba(212, 175, 55, 0.4);
    border-radius: 8px;
    overflow: hidden;
}

#snake-canvas {
    display: block;
    margin: 0 auto;
    background: #2d5016;
    border-radius: 6px;
}

.snake-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    backdrop-filter: blur(5px);
}

.snake-message {
    color: #d4af37;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2em;
    text-align: center;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.6);
}

.snake-controls {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin: 20px 0;
    flex-wrap: wrap;
}

.snake-mobile-controls {
    display: none;
    margin-top: 20px;
    padding: 15px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 8px;
}

.snake-instructions {
    margin-top: 20px;
    padding: 15px;
    background: rgba(0, 0, 0, 0.2);
    border-left: 4px solid #d4af37;
    border-radius: 4px;
}

/* Word Guess Game Styles */
.word-guess-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 15px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 8px;
    flex-wrap: wrap;
    gap: 15px;
}

.word-stats {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.word-display {
    text-align: center;
    margin: 30px 0;
    padding: 20px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 8px;
}

.current-word {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 3em;
    color: #d4af37;
    margin-bottom: 10px;
    letter-spacing: 5px;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.6);
}

.word-hint {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.2em;
    color: #cccccc;
    font-style: italic;
}

.letter-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(50px, 1fr));
    gap: 10px;
    max-width: 600px;
    margin: 20px auto;
    padding: 20px;
}

.letter-grid button {
    padding: 15px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 6px;
    color: #ffffff;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.2em;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    min-height: 50px;
}

.letter-grid button:hover {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.3), rgba(255, 255, 255, 0.1));
    border-color: #d4af37;
    transform: translateY(-2px);
}

.letter-grid button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.word-guess-result {
    text-align: center;
    margin: 20px 0;
    padding: 15px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 8px;
}

.word-controls {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin: 20px 0;
    flex-wrap: wrap;
}

.word-instructions {
    margin-top: 20px;
    padding: 15px;
    background: rgba(0, 0, 0, 0.2);
    border-left: 4px solid #d4af37;
    border-radius: 4px;
}

/* Catch Game Styles */
.catch-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 15px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 8px;
    flex-wrap: wrap;
    gap: 15px;
}

.catch-stats {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.catch-canvas-container {
    position: relative;
    margin: 20px 0;
    text-align: center;
    background: rgba(0, 0, 0, 0.8);
    border: 2px solid rgba(212, 175, 55, 0.4);
    border-radius: 8px;
    overflow: hidden;
}

#catch-canvas {
    display: block;
    margin: 0 auto;
    background: linear-gradient(to bottom, #87CEEB, #98FB98);
    border-radius: 6px;
}

.catch-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    backdrop-filter: blur(5px);
}

.catch-message {
    color: #d4af37;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2em;
    text-align: center;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.6);
}

.catch-controls {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin: 20px 0;
    flex-wrap: wrap;
}

.catch-mobile-controls {
    display: none;
    margin-top: 20px;
    padding: 15px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 8px;
}

.catch-instructions {
    margin-top: 20px;
    padding: 15px;
    background: rgba(0, 0, 0, 0.2);
    border-left: 4px solid #d4af37;
    border-radius: 4px;
}

/* Country Quiz Game Styles */
.quiz-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 15px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 8px;
    flex-wrap: wrap;
    gap: 15px;
}

.quiz-stats {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.quiz-game-area {
    margin: 20px 0;
    padding: 20px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 8px;
}

.flag-display {
    text-align: center;
    margin-bottom: 25px;
}

#flag-container {
    display: inline-block;
    padding: 20px;
    background: rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(212, 175, 55, 0.4);
    border-radius: 10px;
    margin-bottom: 15px;
}

#flag-image {
    font-size: 4em;
    line-height: 1;
}

.quiz-message {
    color: #d4af37;
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.3em;
    font-weight: 600;
}

.quiz-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin: 20px 0;
}

.quiz-option {
    padding: 15px 20px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), rgba(255, 255, 255, 0.02));
    border: 2px solid rgba(212, 175, 55, 0.3);
    border-radius: 8px;
    color: #ffffff;
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.quiz-option:hover {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.3), rgba(255, 255, 255, 0.1));
    border-color: #d4af37;
    transform: translateY(-2px);
}

.quiz-option.correct {
    background: linear-gradient(135deg, rgba(0, 255, 0, 0.3), rgba(0, 255, 0, 0.1));
    border-color: #00ff00;
    color: #00ff00;
}

.quiz-option.wrong {
    background: linear-gradient(135deg, rgba(255, 0, 0, 0.3), rgba(255, 0, 0, 0.1));
    border-color: #ff0000;
    color: #ff0000;
}

.quiz-timer {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 20px 0;
    padding: 10px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 8px;
}

.timer-bar {
    flex: 1;
    height: 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    overflow: hidden;
}

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

#timer-text {
    color: #d4af37;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.2em;
    font-weight: 700;
    min-width: 40px;
}

.quiz-controls {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin: 20px 0;
    flex-wrap: wrap;
}

.quiz-instructions {
    margin-top: 20px;
    padding: 15px;
    background: rgba(0, 0, 0, 0.2);
    border-left: 4px solid #d4af37;
    border-radius: 4px;
}

/* Typing Test Game Styles */
.typing-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 15px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 8px;
    flex-wrap: wrap;
    gap: 15px;
}

.typing-stats {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.typing-game-area {
    margin: 20px 0;
    padding: 20px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 8px;
}

.typing-text-container {
    margin-bottom: 20px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 8px;
    min-height: 120px;
}

.typing-text {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.2em;
    line-height: 1.6;
    color: #cccccc;
    text-align: left;
}

.typing-text .correct {
    background-color: rgba(0, 255, 0, 0.3);
    color: #00ff00;
}

.typing-text .incorrect {
    background-color: rgba(255, 0, 0, 0.3);
    color: #ff0000;
}

.typing-text .current {
    background-color: rgba(212, 175, 55, 0.5);
    animation: blink 1s infinite;
}

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

.typing-input-container {
    margin-bottom: 20px;
}

.typing-input {
    width: 100%;
    min-height: 120px;
    padding: 15px;
    background: rgba(0, 0, 0, 0.6);
    border: 2px solid rgba(212, 175, 55, 0.3);
    border-radius: 8px;
    color: #ffffff;
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.1em;
    line-height: 1.6;
    resize: none;
    outline: none;
    transition: all 0.3s ease;
}

.typing-input:focus {
    border-color: #d4af37;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.3);
}

.typing-progress {
    margin: 20px 0;
}

.progress-bar {
    width: 100%;
    height: 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 10px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #d4af37, #ffd700);
    border-radius: 5px;
    transition: width 0.3s ease;
}

.progress-text {
    display: flex;
    justify-content: space-between;
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.9em;
    color: #cccccc;
    flex-wrap: wrap;
    gap: 10px;
}

.typing-controls {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin: 20px 0;
    flex-wrap: wrap;
}

.typing-results {
    margin: 20px 0;
    padding: 20px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 8px;
}

.typing-results h3 {
    color: #d4af37;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.8em;
    margin-bottom: 20px;
    text-align: center;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
}

.result-item {
    padding: 15px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 6px;
    text-align: center;
}

.result-label {
    display: block;
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.9em;
    color: #cccccc;
    margin-bottom: 5px;
}

.result-value {
    display: block;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.8em;
    color: #d4af37;
    font-weight: 700;
}

.typing-instructions {
    margin-top: 20px;
    padding: 15px;
    background: rgba(0, 0, 0, 0.2);
    border-left: 4px solid #d4af37;
    border-radius: 4px;
}

/* Chess Game Styles */
.chess-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 15px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 8px;
    flex-wrap: wrap;
    gap: 15px;
}

.chess-stats {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.chess-game-area {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 20px;
    margin: 20px 0;
    align-items: start;
}

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

.chess-board {
    display: grid;
    grid-template-columns: repeat(8, 60px);
    grid-template-rows: repeat(8, 60px);
    border: 3px solid rgba(212, 175, 55, 0.6);
    border-radius: 8px;
    overflow: hidden;
    background: #8B4513;
}

.chess-square {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    transition: all 0.2s ease;
}

.chess-square.light {
    background: #F0D9B5;
}

.chess-square.dark {
    background: #B58863;
}

.chess-square.selected {
    background: rgba(212, 175, 55, 0.8) !important;
    box-shadow: inset 0 0 0 3px #d4af37;
}

.chess-square.valid-move {
    position: relative;
}

.chess-square.valid-move::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 12px;
    height: 12px;
    background: #d4af37;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 
        0 0 0 2px rgba(212, 175, 55, 0.3),
        0 0 8px rgba(212, 175, 55, 0.6);
    z-index: 2;
}

.chess-square.valid-move.chess-piece::after {
    width: 8px;
    height: 8px;
    background: #ff4444;
    box-shadow: 
        0 0 0 2px rgba(255, 68, 68, 0.3),
        0 0 8px rgba(255, 68, 68, 0.6);
}

.chess-square.check {
    background: rgba(255, 0, 0, 0.5) !important;
}

.chess-piece {
    font-size: 2.5em;
    line-height: 1;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    user-select: none;
}

/* Chess piece colors */
.chess-piece.white-piece {
    color: #ffffff;
    text-shadow: 
        -1px -1px 0 #000,
        1px -1px 0 #000,
        -1px 1px 0 #000,
        1px 1px 0 #000,
        2px 2px 4px rgba(0, 0, 0, 0.8);
}

.chess-piece.black-piece {
    color: #1a1a1a;
    text-shadow: 
        -1px -1px 0 #fff,
        1px -1px 0 #fff,
        -1px 1px 0 #fff,
        1px 1px 0 #fff,
        2px 2px 4px rgba(255, 255, 255, 0.3);
}

/* New chess piece styling for fresh implementation */
.chess-piece-symbol {
    font-size: 2.5em;
    line-height: 1;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    user-select: none;
    pointer-events: none;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chess-piece-symbol.white-piece {
    color: #ffffff;
    text-shadow: 
        -1px -1px 0 #000,
        1px -1px 0 #000,
        -1px 1px 0 #000,
        1px 1px 0 #000,
        2px 2px 4px rgba(0, 0, 0, 0.8);
}

.chess-piece-symbol.black-piece {
    color: #1a1a1a;
    text-shadow: 
        -1px -1px 0 #fff,
        1px -1px 0 #fff,
        -1px 1px 0 #fff,
        1px 1px 0 #fff,
        2px 2px 4px rgba(255, 255, 255, 0.3);
}

.chess-sidebar {
    padding: 15px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 8px;
    min-height: 300px;
}

.chess-status h3 {
    color: #d4af37;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.5em;
    margin-bottom: 10px;
}

.chess-status p {
    color: #cccccc;
    font-family: 'Rajdhani', sans-serif;
    line-height: 1.4;
}

/* Flappy Bird Game Styles - Clean Version */
.flappy-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 15px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 8px;
    flex-wrap: wrap;
    gap: 15px;
}

.flappy-stats {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.flappy-canvas-container {
    position: relative;
    margin: 20px auto;
    text-align: center;
    background: rgba(0, 0, 0, 0.8);
    border: 2px solid rgba(212, 175, 55, 0.4);
    border-radius: 8px;
    overflow: hidden;
    max-width: 100%;
    width: fit-content;
}

#flappy-canvas {
    display: block;
    margin: 0 auto;
    background: linear-gradient(to bottom, #70c5ce, #4a9eff);
    border-radius: 6px;
    max-width: 100%;
    height: auto;
    min-width: 600px;
    min-height: 375px;
}

.flappy-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    backdrop-filter: blur(5px);
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.flappy-overlay.hidden {
    display: none !important;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.flappy-message {
    color: #d4af37;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2em;
    text-align: center;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.6);
}

.flappy-game-over {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.9);
    border: 2px solid #d4af37;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    z-index: 20;
}

.flappy-controls {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin: 20px 0;
    flex-wrap: wrap;
}

.flappy-mobile-controls {
    display: none;
    margin-top: 20px;
    padding: 15px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 8px;
}

.flappy-instructions {
    margin-top: 20px;
    padding: 15px;
    background: rgba(0, 0, 0, 0.2);
    border-left: 4px solid #d4af37;
    border-radius: 4px;
}

/* Responsive adjustments for Flappy Bird on higher resolutions */
@media (min-width: 1200px) {
    #flappy-canvas {
        min-width: 800px;
        min-height: 500px;
        max-width: 1000px;
        max-height: 625px;
    }
    
    .flappy-canvas-container {
        max-width: 1020px;
    }
}

@media (min-width: 1600px) {
    #flappy-canvas {
        min-width: 900px;
        min-height: 562px;
        max-width: 1200px;
        max-height: 750px;
    }
    
    .flappy-canvas-container {
        max-width: 1220px;
    }
}

@media (max-width: 768px) {
    #flappy-canvas {
        min-width: 300px;
        min-height: 187px;
        width: 100%;
    }
    
    .flappy-canvas-container {
        margin: 10px auto;
        max-width: 95%;
    }
}

/* Flappy Bird Start Screen Styling */
.flappy-title {
    font-size: 2.5em;
    font-weight: 900;
    margin-bottom: 15px;
    background: linear-gradient(45deg, #d4af37, #ffd700, #d4af37);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    animation: titleFloat 2s ease-in-out infinite alternate;
}

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

.flappy-subtitle {
    font-size: 1.2em;
    color: #00ff88;
    margin-bottom: 25px;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    text-shadow: 0 0 10px rgba(0, 255, 136, 0.6);
    animation: subtitlePulse 1.5s ease-in-out infinite;
}

@keyframes subtitlePulse {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 1; }
}

.flappy-start-button {
    background: linear-gradient(135deg, #d4af37, #b8860b);
    color: #000;
    border: 2px solid rgba(212, 175, 55, 0.5);
    padding: 15px 30px;
    margin: 10px;
    border-radius: 8px;
    font-size: 1.2em;
    font-weight: 700;
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 
        0 6px 20px rgba(212, 175, 55, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

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

.flappy-start-button:hover::before {
    left: 100%;
}

.flappy-start-button:hover {
    transform: translateY(-3px) scale(1.05);
    background: linear-gradient(135deg, #ffd700, #d4af37);
    border-color: #ffd700;
    box-shadow: 
        0 10px 30px rgba(212, 175, 55, 0.6),
        0 0 20px rgba(212, 175, 55, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.flappy-start-button:active {
    transform: translateY(-1px) scale(1.02);
}

/* Footer Section */
.main-footer {
    background: linear-gradient(135deg, 
        rgba(0, 0, 0, 0.95) 0%, 
        rgba(20, 20, 20, 0.9) 50%, 
        rgba(0, 0, 0, 0.95) 100%);
    border-top: 2px solid rgba(212, 175, 55, 0.3);
    margin-top: 60px;
    padding: 60px 0 0;
    position: relative;
    overflow: hidden;
}

.main-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(45deg, transparent 40%, rgba(212, 175, 55, 0.02) 50%, transparent 60%),
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.01) 0%, transparent 40%);
    pointer-events: none;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
    position: relative;
    z-index: 1;
}

.footer-info {
    text-align: left;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.footer-logo-icon {
    filter: drop-shadow(0 0 8px rgba(212, 175, 55, 0.4));
}

.footer-logo span {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.8em;
    color: #d4af37;
    text-shadow: 
        0 0 10px rgba(212, 175, 55, 0.6),
        0 2px 4px rgba(0, 0, 0, 0.8);
    letter-spacing: 2px;
}

.footer-description {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.1em;
    color: #ffffff;
    margin-bottom: 12px;
    line-height: 1.5;
    font-weight: 500;
}

.footer-tagline {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1em;
    color: #cccccc;
    line-height: 1.4;
    font-style: italic;
}

/* Social Media Section */
.social-media-section {
    text-align: center;
}

.social-media-section h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.6em;
    color: #d4af37;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 
        0 0 8px rgba(212, 175, 55, 0.6),
        0 2px 4px rgba(0, 0, 0, 0.8);
}

.social-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 20px;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 15px 20px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), rgba(255, 255, 255, 0.02));
    border: 2px solid rgba(212, 175, 55, 0.3);
    border-radius: 10px;
    color: #ffffff;
    text-decoration: none;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    font-size: 0.95em;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(8px);
    box-shadow: 
        0 4px 12px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.social-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.2), transparent);
    transition: left 0.5s ease;
}

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

.social-btn:hover {
    transform: translateY(-3px);
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.3), rgba(255, 255, 255, 0.1));
    border-color: #d4af37;
    color: #d4af37;
    box-shadow: 
        0 8px 20px rgba(212, 175, 55, 0.4),
        0 0 15px rgba(212, 175, 55, 0.3);
}

.social-btn i {
    font-size: 1.3em;
    filter: drop-shadow(0 0 3px currentColor);
}

.social-btn span {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Individual Social Button Colors */
.github-btn:hover {
    border-color: #333 !important;
    color: #333 !important;
    background: linear-gradient(135deg, rgba(51, 51, 51, 0.2), rgba(255, 255, 255, 0.1)) !important;
    box-shadow: 
        0 8px 20px rgba(51, 51, 51, 0.4),
        0 0 15px rgba(51, 51, 51, 0.3) !important;
}

.linkedin-btn:hover {
    border-color: #0077b5 !important;
    color: #0077b5 !important;
    background: linear-gradient(135deg, rgba(0, 119, 181, 0.2), rgba(255, 255, 255, 0.1)) !important;
    box-shadow: 
        0 8px 20px rgba(0, 119, 181, 0.4),
        0 0 15px rgba(0, 119, 181, 0.3) !important;
}

.twitter-btn:hover {
    border-color: #1da1f2 !important;
    color: #1da1f2 !important;
    background: linear-gradient(135deg, rgba(29, 161, 242, 0.2), rgba(255, 255, 255, 0.1)) !important;
    box-shadow: 
        0 8px 20px rgba(29, 161, 242, 0.4),
        0 0 15px rgba(29, 161, 242, 0.3) !important;
}

.instagram-btn:hover {
    border-color: #e4405f !important;
    color: #e4405f !important;
    background: linear-gradient(135deg, rgba(228, 64, 95, 0.2), rgba(255, 255, 255, 0.1)) !important;
    box-shadow: 
        0 8px 20px rgba(228, 64, 95, 0.4),
        0 0 15px rgba(228, 64, 95, 0.3) !important;
}

.email-btn:hover {
    border-color: #ea4335 !important;
    color: #ea4335 !important;
    background: linear-gradient(135deg, rgba(234, 67, 53, 0.2), rgba(255, 255, 255, 0.1)) !important;
    box-shadow: 
        0 8px 20px rgba(234, 67, 53, 0.4),
        0 0 15px rgba(234, 67, 53, 0.3) !important;
}

.website-btn:hover {
    border-color: #4285f4 !important;
    color: #4285f4 !important;
    background: linear-gradient(135deg, rgba(66, 133, 244, 0.2), rgba(255, 255, 255, 0.1)) !important;
    box-shadow: 
        0 8px 20px rgba(66, 133, 244, 0.4),
        0 0 15px rgba(66, 133, 244, 0.3) !important;
}

/* Footer Bottom Section */
.footer-bottom {
    background: linear-gradient(135deg, 
        rgba(0, 0, 0, 0.8) 0%, 
        rgba(10, 10, 10, 0.9) 100%);
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    padding: 25px 0;
    margin-top: 20px;
}

.footer-bottom-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom p {
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.95em;
    color: #cccccc;
    margin: 0;
    font-weight: 500;
}

.footer-links {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
}

.footer-links a {
    color: #d4af37;
    text-decoration: none;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    font-size: 0.9em;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 8px 12px;
    border-radius: 6px;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.footer-links a:hover {
    color: #ffd700;
    background: rgba(212, 175, 55, 0.2);
    border-color: rgba(212, 175, 55, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

.footer-links i {
    font-size: 1em;
    filter: drop-shadow(0 0 3px currentColor);
}

/* Hidden class for overlays */
.hidden {
    display: none !important;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
}

/* Flappy overlay transition for smooth hiding */
.flappy-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    backdrop-filter: blur(5px);
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.flappy-overlay.hidden {
    display: none !important;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* ===== LEADERBOARD SECTION ===== */
.leaderboard-section {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.95), rgba(20, 20, 20, 0.9));
    border-top: 3px solid #d4af37;
    position: relative;
    overflow: hidden;
}

.leaderboard-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(212, 175, 55, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 215, 0, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.leaderboard-header {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    z-index: 1;
}

.leaderboard-header h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 3em;
    color: #d4af37;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 4px;
    text-shadow: 
        0 0 20px rgba(212, 175, 55, 0.6),
        2px 2px 4px rgba(0, 0, 0, 0.8);
}

.leaderboard-header h2 i {
    margin-right: 15px;
    color: #ffd700;
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.8));
}

.leaderboard-header p {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.3em;
    color: #cccccc;
    margin-bottom: 0;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Personal Stats */
.personal-stats {
    max-width: 1200px;
    margin: 0 auto;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
}

.stat-card {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), rgba(255, 255, 255, 0.02));
    border: 2px solid rgba(212, 175, 55, 0.3);
    border-radius: 12px;
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.stat-card:hover {
    transform: translateY(-5px);
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.2), rgba(255, 255, 255, 0.05));
    border-color: #d4af37;
    box-shadow: 
        0 12px 35px rgba(212, 175, 55, 0.4),
        0 0 20px rgba(212, 175, 55, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #d4af37, #b8860b);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    font-size: 1.5em;
    box-shadow: 
        0 6px 20px rgba(212, 175, 55, 0.4),
        inset 0 2px 0 rgba(255, 255, 255, 0.3);
}

.stat-info {
    flex: 1;
}

.stat-value {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.2em;
    font-weight: 900;
    color: #d4af37;
    margin-bottom: 5px;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.6);
}

.stat-label {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1em;
    color: #cccccc;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

/* Game-Specific Stats */
.game-stats h3 {
    font-family: 'Rajdhani', sans-serif;
    font-size: 2em;
    color: #d4af37;
    text-align: center;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.game-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.game-stat-card {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.6), rgba(20, 20, 20, 0.8));
    border: 2px solid rgba(212, 175, 55, 0.3);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    box-shadow: 
        0 6px 20px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.game-stat-card:hover {
    transform: translateY(-3px);
    border-color: #d4af37;
    box-shadow: 
        0 10px 30px rgba(212, 175, 55, 0.3),
        0 0 15px rgba(212, 175, 55, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.game-icon {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.2), rgba(255, 255, 255, 0.05));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #d4af37;
    font-size: 1.3em;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.game-info {
    flex: 1;
}

.game-name {
    font-family: 'Oswald', sans-serif;
    font-size: 1.1em;
    color: #ffffff;
    margin-bottom: 8px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.game-record {
    display: flex;
    gap: 15px;
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.9em;
    color: #cccccc;
}

.game-record span {
    font-weight: 600;
}
