/* =========================================
   KATULON DESIGN SYSTEM - MAIN STYLES
   ========================================= */

@import './variables.css';

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    /* Removes bottom spacing */
}

html {
    scroll-behavior: smooth;
    font-family: var(--font-main);
    background-color: var(--bg-body);
    color: var(--text-primary);
    transition: background-color 0.5s var(--ease-fluid), color 0.5s var(--ease-fluid);
    overflow-x: hidden;
    scroll-padding-top: 100px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-title);
    font-weight: 800;
}

::selection {
    background: var(--color-primary);
    color: white;
}

body {
    position: relative;
    min-height: 100vh;
    background-image: var(--bg-gradient);
    background-attachment: fixed;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../assets/motif%20africain%201.jpg');
    background-size: 400px;
    background-repeat: repeat;
    opacity: 0.15;
    z-index: -99;
    pointer-events: none;
}

/* --- AMBIENT LIGHT STYLES --- */
.ambient-light {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -90;
    pointer-events: none;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: moveOrb 20s infinite alternate ease-in-out;
}

.orb-1 {
    top: -10%;
    left: -10%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, var(--color-primary-glow), transparent);
    animation-duration: 25s;
}

.orb-2 {
    bottom: -10%;
    right: -10%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.2), transparent);
    /* Purple hint */
    animation-duration: 30s;
    animation-delay: -5s;
}

.orb-3 {
    top: 40%;
    left: 40%;
    width: 40vw;
    height: 40vw;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15), transparent);
    /* Blue hint */
    animation-duration: 35s;
    animation-delay: -10s;
}

@keyframes moveOrb {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(100px, 50px) scale(1.1);
    }
}

[data-theme="light"] body::before {
    opacity: 0.05;
    filter: invert(1);
    mix-blend-mode: multiply;
}


/* --- VISUAL EFFECTS --- */

/* The Core "Liquid Glass" Class */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(16px) saturate(140%);
    -webkit-backdrop-filter: blur(16px) saturate(140%);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
    transition: all 0.4s var(--ease-fluid);
}

.glass-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(125deg,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.05) 40%,
            rgba(255, 255, 255, 0) 100%);
    pointer-events: none;
    z-index: 1;
}

.glass-interactive:hover {
    transform: translateY(-5px) scale(1.02);
    background: var(--glass-highlight);
    border-color: var(--color-primary);
    box-shadow: 0 16px 48px 0 rgba(0, 0, 0, 0.5), 0 0 15px var(--color-primary-glow);
}

/* --- TYPOGRAPHY --- */

h1,
h2,
h3,
h4 {
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

h1 {
    font-size: 2.5rem;
    text-transform: uppercase;
}

@media(min-width: 768px) {
    h1 {
        font-size: 5rem;
    }
}

@media(max-width: 768px) {
    h1 {
        font-size: 3rem;
    }

    h2 {
        font-size: 2rem;
    }

    .section {
        padding: 40px 0;
    }

    .glass-panel {
        padding: 1.5rem !important;
        /* Force smaller padding on mobile */
    }

    .full-height {
        min-height: auto;
        padding: 15vh 0 10vh;
    }

    .game-card {
        min-height: 350px;
    }
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

p {
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.text-gradient {
    background: linear-gradient(135deg, #ffffff 0%, var(--text-accent) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    /* Fallback */
    color: white;
}

[data-theme="light"] .text-gradient {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--text-accent) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* --- COMPONENTS --- */

/* Pill Navigation */
.nav-pill {
    position: fixed;
    top: 20px;
    left: 0;
    right: 0;
    margin: 0 auto;
    /* transform: translateX(-50%); REMOVED to prevent containing block issue */
    z-index: 1000;
    padding: 0.75rem 2rem;
    border-radius: var(--radius-pill);
    display: flex;
    align-items: center;
    gap: 2rem;
    width: 90vw;
    max-width: 800px;
    justify-content: space-between;
    overflow: visible !important;
    /* Allow menu to overflow */
}

.nav-links {
    display: none;
    gap: 2rem;
    list-style: none;
}

@media(min-width: 768px) {
    .nav-links {
        display: flex;
    }
}

.nav-link {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    position: relative;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.nav-link:hover,
.nav-link.active {
    opacity: 1;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--color-primary);
    transform: translateX(-50%);
    transition: width 0.3s var(--ease-bounce);
    box-shadow: 0 0 10px var(--color-primary);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Mobile Menu Icon */
.mobile-toggle {
    display: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
    background: none;
    border: none;
    z-index: 1001;
}

@media(max-width: 768px) {
    .nav-pill {
        padding: 0.5rem 1.5rem;
        width: 95vw;
    }

    .mobile-toggle {
        display: block;
        font-size: 2rem;
        /* Increased from 1.5rem for better visibility */
        line-height: 1;
        padding: 0;
        margin-right: 5px;
        /* Slight spacing adjustment */
        z-index: 1001;
        /* Ensure it stays above the menu overlay */
        position: relative;
    }

    /* Force the toggle to be white when the menu is active (fixing the visibility against dark overlay) */
    body.menu-open .mobile-toggle {
        color: #ffffff !important;
    }

    /* Force visibility in light mode if user requested 'white' specifically for the toggle */
    /* If the glass panel is dark in user's view, this helps. If it's light, this might be invisible. 
       However, the user asked for "ecritures du hamburger menu soit blanches" (writings of the hamburger menu).
       This usually refers to the menu items. */

    .nav-links {
        display: flex;
        position: fixed;
        /* Counteract the containing block offset from .nav-pill (approx 20px top) */
        top: -20px;
        /* Center relative to the container (which is centered in viewport) */
        left: 50%;
        /* Ensure it covers the full width regardless of container width */
        width: 100vw;
        height: 110vh;
        /* Extra height to avoid bottom gaps */
        background: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        /* Start hidden (up and centered) */
        transform: translate(-50%, -100%);
        visibility: hidden;
        opacity: 0;
        transition: transform 0.4s var(--ease-fluid), opacity 0.4s var(--ease-fluid), visibility 0.4s;
        z-index: 999;
        margin: 0;
        padding: 0;
    }

    .nav-links.active {
        /* Move to view (centered horizontally, aligned to top) */
        transform: translate(-50%, 0);
        visibility: visible;
        opacity: 1;
    }

    .nav-link {
        font-size: 2rem;
        /* Larger font for better mobile experience */
        margin-bottom: 2rem;
        /* Better spacing */
        opacity: 0;
        transform: translateY(20px);
        transition: all 0.4s var(--ease-fluid);
        color: #ffffff !important;
        /* Force white text on the dark overlay, fixing Light Mode invisibility */
    }

    .nav-links.active .nav-link {
        opacity: 1;
        transform: translateY(0);
        transition-delay: 0.2s;
        /* Stagger effect base delay */
        /* Delay for stagger effect handled in JS or precise delays here */
    }
}

.btn-text-only {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.btn-text-only:hover {
    color: var(--color-primary);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    border-radius: var(--radius-pill);
    text-decoration: none;
    font-weight: 800;
    font-family: var(--font-title);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.3s var(--ease-fluid);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    color: white;
}

.btn-primary {
    background: var(--color-primary);
    box-shadow: 0 4px 20px var(--color-primary-glow);
}

.btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 30px var(--color-primary-glow);
}

/* Liquid Effect (Simple pseudo-element animation) */
.btn-liquid .liquid {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 60%);
    transform: scale(0);
    transition: transform 0.6s;
    pointer-events: none;
}

.btn-liquid:hover .liquid {
    transform: scale(1);
}

/* --- SECTIONS & UTILITIES --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-center {
    text-align: center;
}

.section {
    padding: 100px 0;
}

.full-height {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

/* --- HERO SPECIFIC --- */
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    z-index: -2;
    display: none;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 0%, var(--bg-body) 80%);
    z-index: -1;
}

.hero-content {
    z-index: 2;
    position: relative;
}

.hero-title {
    margin-bottom: 2rem;
}

.hero-logo {
    display: block;
    margin: 6rem auto 2rem auto;
    max-width: 400px;
    width: 100%;
}

.hero-subtitle {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto 3rem;
    opacity: 0.9;
}

/* --- LOGO --- */
.logo-img {
    height: 32px;
    width: auto;
}

[data-theme="light"] .logo-img {
    filter: invert(1) hue-rotate(180deg);
}

/* --- VISION SECTION --- */
.vision-card {
    padding: 4rem;
    margin-top: -50px;
    z-index: 10;
}

.vision-content h2 {
    color: var(--color-primary);
}

/* --- THEME & LANG BTNS --- */
.btn-theme,
.btn-lang {
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--text-primary);
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-main);
    font-weight: 600;
    transition: color 0.3s;
}

.btn-theme:hover,
.btn-lang:hover {
    color: var(--color-primary);
}

.btn-lang {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    padding: 0.4rem 0.8rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 0.8rem;
    color: var(--text-primary);
}

.lang-dropdown {
    position: relative;
    display: inline-block;
}

.lang-list {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    list-style: none;
    padding: 0.5rem;
    min-width: 120px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    box-shadow: var(--shadow-lg);
}

.lang-dropdown.active .lang-list {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-list li {
    padding: 0.6rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
    cursor: pointer;
    border-radius: var(--radius-sm);
    transition: all 0.2s;
    font-size: 0.85rem;
    font-weight: 500;
}

.lang-list li:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-primary);
}

.lang-flag {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* --- ANIMATIONS CLASSES --- */
.reveal-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s var(--ease-fluid);
}

.reveal-zoom {
    opacity: 0;
    transform: scale(0.95);
    transition: all 0.8s var(--ease-fluid);
}

.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* --- FLOATING ANIMATION --- */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

.float-slow {
    animation: float 6s ease-in-out infinite;
}

.float-medium {
    animation: float 4s ease-in-out infinite;
}

/* --- SCROLL TO TOP --- */
.scroll-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--color-primary);
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s var(--ease-fluid);
    display: flex;
    align-items: center;
    justify-content: center;
}

.scroll-top-btn.visible {
    opacity: 1;
    pointer-events: all;
}

.scroll-top-btn:hover {
    background: var(--color-primary);
    color: white;
    transform: translateY(-5px);
}

/* --- ABOUT PAGE SPECIFIC --- */
.awards-grid {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.award-card {
    padding: 2rem;
    text-align: center;
    max-width: 300px;
}

.award-img {
    max-height: 100px;
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.2));
}

/* Theme Image Toggling */
[data-theme="dark"] .light-mode-img {
    display: none !important;
}

[data-theme="light"] .dark-mode-img {
    display: none !important;
}

[data-theme="light"] .light-mode-img {
    display: inline-block !important;
}


.gallery-scroller {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 2rem 0;
    scrollbar-width: none;
}

.gallery-scroller::-webkit-scrollbar {
    display: none;
}

.gallery-item {
    flex: 0 0 80%;
    scroll-snap-align: center;
    border-radius: var(--radius-md);
    overflow: hidden;
    max-height: 500px;
}

@media(min-width: 768px) {
    .gallery-item {
        flex: 0 0 50%;
    }
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.team-card {
    padding: 2rem;
    text-align: center;
}

.member-photo {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center top;
    margin-bottom: 1rem;
    border: 4px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s var(--ease-fluid), box-shadow 0.3s;
}

.member-photo:hover {
    transform: scale(1.1);
    box-shadow: 0 0 30px var(--color-primary-glow);
}

.role {
    color: var(--color-primary);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
}

/* --- CONTACT PAGE --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    margin-top: 2rem;
}

@media(min-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 10px var(--color-primary-glow);
    background: rgba(255, 255, 255, 0.1);
}

/* Light Theme Overrides for Inputs */
[data-theme="light"] .form-input,
[data-theme="light"] .form-textarea {
    background: rgba(0, 0, 0, 0.04);
    border-color: rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .form-input:focus,
[data-theme="light"] .form-textarea:focus {
    background: rgba(255, 255, 255, 0.8);
    border-color: var(--color-primary);
}

.status-info {
    color: var(--text-accent);
    font-size: 0.9rem;
    font-style: italic;
}

.status-success {
    color: #10b981;
    /* Emerald/Green */
    font-size: 0.9rem;
    font-weight: bold;
}

.status-error {
    color: #ef4444;
    /* Red */
    font-size: 0.9rem;
    font-weight: bold;
}

.social-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    transition: all 0.3s;
}

.social-icon:hover {
    background: var(--color-primary);
    color: white;
    transform: rotate(360deg);
}

/* --- GAMES PAGE --- */
.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    padding: 2rem 0;
}

.game-card {
    min-height: 500px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 3rem;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    transition: all 0.5s var(--ease-fluid);
    border: 1px solid var(--glass-border);
    color: #ffffff;
}

.game-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.8) 50%, rgba(0, 0, 0, 0.4) 80%, transparent 100%);
    z-index: 1;
    pointer-events: none;
    transition: opacity 0.5s;
}

.game-card:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), 0 0 30px var(--color-primary-glow);
    border-color: var(--color-primary);
}

.game-card:hover::after {
    opacity: 0.95;
}

/* Development Badge */
.badge-dev {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: rgba(255, 165, 0, 0.2);
    border: 1px solid rgba(255, 165, 0, 0.5);
    color: orange;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 50px;
    margin-bottom: 2rem;
    font-size: 0.9rem;
    box-shadow: 0 0 15px rgba(255, 165, 0, 0.2);
}

.game-info {
    position: relative;
    z-index: 2;
    transform: translateY(20px);
    transition: transform 0.5s var(--ease-fluid);
}

.game-card:hover .game-info {
    transform: translateY(0);
}

.game-title {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #fff 0%, var(--color-primary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.game-desc {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s var(--ease-fluid);
    max-height: 0;
    margin-bottom: 0;
    color: inherit;
}

.game-card:hover .game-desc {
    opacity: 1;
    transform: translateY(0);
    max-height: 200px;
    /* Approximate max height */
    margin-bottom: 1.5rem;
}

/* Specific Game Backgrounds */
.card-kisai {
    background-image: url('../assets/games/kisai/image.png');
}

.card-mummy {
    background-image: url('../assets/games/Mummy food/Menu.png');
}

.card-tri {
    background-image: url('../assets/games/Tri\'Action/Meva.png');
    background-position: center bottom;
}

/* --- FOOTER --- */
/* --- FOOTER --- */
.footer-glass {
    margin-top: 2rem;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    border-bottom: none;
    padding: 2rem 0 1rem;
    position: relative;
    overflow: hidden;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: left;
}

.footer-col h4 {
    margin-bottom: 1rem;
    color: var(--color-primary);
    text-transform: uppercase;
    font-size: 1rem;
    letter-spacing: 0.1em;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-link {
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.footer-link:hover {
    color: white;
    transform: translateX(5px);
}

.footer-bottom {
    border-top: 1px solid var(--glass-border);
    padding-top: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.85rem;
}

.footer-socials {
    display: flex;
    gap: 0.5rem;
}

.social-mini {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    border: 1px solid var(--glass-border);
    transition: all 0.3s;
}

.social-mini:hover {
    background: var(--color-primary);
    color: white;
    transform: translateY(-3px);
}

@media(max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-link {
        justify-content: center;
    }

    .footer-socials {
        justify-content: center;
    }
}

/* --- GAME DETAIL HERO RESPONSIVENESS --- */
.game-hero-container {
    width: 100%;
    height: 60vh;
    min-height: 450px;
    max-height: 600px;
    position: relative;
    border-bottom: 2px solid var(--glass-border);
    overflow: hidden;
}

.game-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

@media (max-width: 768px) {
    .game-hero-container {
        height: auto;
        min-height: 300px;
        max-height: none;
    }

    .game-hero-img {
        object-fit: contain;
        background: rgba(0, 0, 0, 0.2);
    }
}