/* ==========================================================================
   KULTA PLAY - Master Stylesheet (WebP Optimized & Animated Colorful Buttons)
   ========================================================================== */

:root {
    --bg-dark: #0a0b10;
    --bg-card: rgba(18, 22, 38, 0.82);
    --bg-card-hover: rgba(28, 34, 58, 0.95);
    --bg-surface: #121524;
    
    --primary-cyan: #00f2fe;
    --primary-blue: #4facfe;
    --accent-purple: #7928ca;
    --accent-pink: #ff0080;
    --accent-gold: #ffb703;
    
    --gradient-primary: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%);
    --gradient-accent: linear-gradient(135deg, #7928ca 0%, #ff0080 100%);
    --gradient-dark: linear-gradient(180deg, rgba(10, 11, 16, 0.6) 0%, rgba(10, 11, 16, 0.95) 100%);
    
    --text-primary: #f8fafc;
    --text-secondary: #cbd5e1;
    --text-muted: #94a3b8;
    
    --border-color: rgba(255, 255, 255, 0.12);
    --border-glow: rgba(0, 242, 254, 0.35);
    
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base & Strict Reset against any Right Horizontal Overflow */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden !important;
    position: relative;
}

/* Accessibility (a11y) Skip Link & Visible Focus States */
.skip-link {
    position: absolute;
    top: -100px;
    left: 10px;
    background: var(--primary-cyan);
    color: #050b14;
    padding: 0.5rem 1rem;
    font-weight: 800;
    font-family: var(--font-heading);
    border-radius: var(--radius-sm);
    z-index: 9999;
    transition: top 0.2s ease;
}

.skip-link:focus {
    top: 10px;
}

:focus-visible {
    outline: 3px solid var(--primary-cyan) !important;
    outline-offset: 3px !important;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.45;
    -webkit-font-smoothing: antialiased;
}

img, svg, video, iframe {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

ul {
    list-style: none;
}

/* Typography & Utilities */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
}

.container {
    width: 100%;
    max-width: 1240px;
    padding-left: 0.85rem;
    padding-right: 0.85rem;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}

.section-padding {
    padding-top: 1rem;
    padding-bottom: 2.5rem;
}

.section-header {
    text-align: center;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 0.85rem;
}

.section-subtitle {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.725rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--primary-cyan);
    margin-bottom: 0.2rem;
}

.section-title {
    font-size: 1.3rem;
    font-weight: 800;
    background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.25rem;
}

.section-title.left-align { text-align: left; }

.section-line {
    width: 45px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
    margin: 0.25rem auto 0.5rem auto;
}

.section-line.left-align { margin-left: 0; }

.section-desc {
    color: var(--text-secondary);
    font-size: 0.825rem;
}

.highlight {
    color: var(--primary-cyan);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Base Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 0.5rem 1rem;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.8rem;
    border-radius: var(--radius-full);
    border: none;
    cursor: pointer;
    transition: all var(--transition-normal);
    text-align: center;
    touch-action: manipulation;
}

.btn-primary {
    background: var(--gradient-primary);
    color: #050b14;
    box-shadow: 0 3px 12px rgba(0, 242, 254, 0.25);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 18px rgba(0, 242, 254, 0.45);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 0.55rem 1.25rem;
    font-size: 0.85rem;
}

.btn-sm {
    padding: 0.35rem 0.75rem;
    font-size: 0.75rem;
}

.btn-block { width: 100%; }

.glow-effect {
    position: relative;
    overflow: hidden;
}

.glow-effect::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.4) 0%, transparent 60%);
    opacity: 0;
    transition: opacity var(--transition-normal);
    pointer-events: none;
}

.glow-effect:hover::after { opacity: 1; }

/* ==========================================================================
   Header & Mobile Navigation Drawer
   ========================================================================== */
.header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 11, 16, 0.92);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
    transition: all var(--transition-normal);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 56px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.15rem;
    letter-spacing: -0.5px;
}

.logo-icon {
    width: 30px;
    height: 30px;
    border-radius: var(--radius-sm);
    box-shadow: 0 0 10px rgba(0, 242, 254, 0.4);
}

.logo-text { color: var(--text-primary); }

.header-right {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.btn-desktop { display: none; }
.nav-actions-mobile { display: block; margin-top: auto; }

/* Burger Button (Default Mobile <= 991px) */
.burger-btn {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 34px;
    height: 28px;
    padding: 5px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--border-glow);
    border-radius: var(--radius-sm);
    cursor: pointer;
    z-index: 1002;
}

.burger-bar {
    width: 100%;
    height: 2px;
    background-color: var(--text-primary);
    border-radius: 2px;
    transition: transform var(--transition-normal), opacity var(--transition-normal);
}

.burger-btn.active .burger-bar:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger-btn.active .burger-bar:nth-child(2) { opacity: 0; }
.burger-btn.active .burger-bar:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Mobile Nav Drawer (< 991px) */
@media (max-width: 991px) {
    .nav-menu {
        position: fixed;
        top: 56px;
        left: 0;
        width: 100%;
        max-width: 100vw;
        height: calc(100vh - 56px);
        background: rgba(10, 11, 16, 0.98);
        backdrop-filter: blur(20px);
        display: none;
        flex-direction: column;
        padding: 1.75rem 1.25rem;
        overflow-y: auto;
        z-index: 999;
    }

    .nav-menu.active {
        display: flex;
        animation: fadeInRight 0.25s ease-out forwards;
    }
}

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

.nav-list {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    margin-bottom: 1.5rem;
}

.nav-link {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-secondary);
    padding: 0.35rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-link:hover, .nav-link.active { color: var(--primary-cyan); }

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
    position: relative;
    padding-top: 1rem;
    padding-bottom: 1rem;
    background: url('assets/hero_bg.webp') center/cover no-repeat;
    overflow: hidden;
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(10, 11, 16, 0.82) 0%, rgba(10, 11, 16, 0.98) 100%);
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.15rem 0.55rem;
    background: rgba(0, 242, 254, 0.1);
    border: 1px solid rgba(0, 242, 254, 0.3);
    border-radius: var(--radius-full);
    font-family: var(--font-heading);
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--primary-cyan);
    margin-bottom: 0.35rem;
}

.badge-pulse {
    width: 5px;
    height: 5px;
    background-color: var(--primary-cyan);
    border-radius: 50%;
    box-shadow: 0 0 6px var(--primary-cyan);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); opacity: 0.8; }
    50% { transform: scale(1.3); opacity: 1; }
    100% { transform: scale(0.95); opacity: 0.8; }
}

.hero-title {
    font-size: 1.35rem;
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 0.3rem;
    background: linear-gradient(135deg, #ffffff 30%, #a5f3fc 70%, #00f2fe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description {
    font-size: 0.8rem;
    color: var(--text-secondary);
    max-width: 540px;
    margin-bottom: 0.55rem;
}

.hero-buttons {
    display: flex;
    flex-direction: row;
    gap: 0.4rem;
    margin-bottom: 0.25rem;
}

.scroll-prompt { display: none; }

/* Subpage Hero Banner */
.subpage-hero {
    position: relative;
    padding-top: 1.75rem;
    padding-bottom: 1.75rem;
    background: url('assets/hero_bg.webp') center/cover no-repeat;
    border-bottom: 1px solid var(--border-color);
    overflow: hidden;
}

.subpage-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(10, 11, 16, 0.85) 0%, rgba(10, 11, 16, 0.98) 100%);
}

.subpage-hero-container {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
}

.subpage-title {
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 0.4rem;
    background: linear-gradient(135deg, #ffffff 0%, #a5f3fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subpage-desc {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

/* ==========================================================================
   Games Cards & Highly Animated Eye-Catching Action Buttons
   ========================================================================== */
.games-section {
    background: var(--bg-dark);
    position: relative;
    padding-top: 0.6rem;
    overflow: hidden;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.55rem;
}

.game-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    overflow: hidden;
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    transition: transform var(--transition-normal), border-color var(--transition-normal);
}

.game-card:hover {
    transform: translateY(-3px);
    border-color: rgba(0, 242, 254, 0.5);
}

/* Mobile Icon View (< 768px) */
.game-card-mobile-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: rgba(0, 242, 254, 0.12);
    border: 1px solid rgba(0, 242, 254, 0.3);
    border-radius: var(--radius-sm);
    color: var(--primary-cyan);
    margin-bottom: 0.25rem;
    box-shadow: 0 0 8px rgba(0, 242, 254, 0.2);
}

.game-card-image-wrap { display: none; }

.game-card-content {
    padding: 0.55rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.game-card-rating {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin-bottom: 0.2rem;
}

.stars { color: var(--accent-gold); font-size: 0.7rem; }
.rating-num { font-size: 0.65rem; color: var(--text-muted); }

.game-card-title {
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
    color: var(--text-primary);
    line-height: 1.15;
}

.game-card-desc {
    font-size: 0.7rem;
    color: var(--text-secondary);
    margin-bottom: 0.45rem;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-grow: 1;
}

.game-card-features { display: none; }

/* 🌟 HIGHLY ATTRACTIVE ANIMATED NEON GAME BUTTON 🌟 */
@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes btnPulseGlow {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(0, 242, 254, 0.4), 0 0 8px rgba(79, 172, 254, 0.3);
    }
    50% {
        box-shadow: 0 6px 22px rgba(255, 0, 128, 0.6), 0 0 16px rgba(0, 242, 254, 0.8);
    }
}

@keyframes shineLight {
    0% { left: -120%; }
    25%, 100% { left: 220%; }
}

.btn-card {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    background: linear-gradient(135deg, #00f2fe 0%, #4facfe 35%, #7928ca 70%, #ff0080 100%);
    background-size: 250% 250%;
    animation: gradientShift 4s ease infinite, btnPulseGlow 2.5s infinite ease-in-out;
    color: #050b14;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.75rem;
    letter-spacing: 0.3px;
    width: 100%;
    padding: 0.45rem 0.4rem;
    border-radius: var(--radius-sm);
    border: none;
    overflow: hidden;
    cursor: pointer;
    transition: all var(--transition-normal);
    text-transform: uppercase;
}

.btn-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -120%;
    width: 70%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.7), transparent);
    transform: skewX(-22deg);
    animation: shineLight 3.5s infinite;
}

.btn-card:hover {
    transform: translateY(-2px) scale(1.02);
    color: #ffffff;
    box-shadow: 0 8px 25px rgba(0, 242, 254, 0.7), 0 0 20px rgba(255, 0, 128, 0.6);
}

.btn-card .btn-icon {
    transition: transform var(--transition-fast);
}

.btn-card:hover .btn-icon {
    transform: translateX(4px);
}

/* Detailed Game Cards (Strona o-grach) */
.games-detail-section { background: var(--bg-dark); overflow: hidden; }
.game-detail-card { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius-lg); padding: 1.25rem; margin-bottom: 1.75rem; backdrop-filter: blur(12px); }
.game-detail-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; align-items: center; }
.game-detail-media { position: relative; border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--border-color); }
.game-detail-img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.game-stats-badge { position: absolute; bottom: 8px; left: 8px; right: 8px; background: rgba(10, 11, 16, 0.9); border: 1px solid rgba(255, 255, 255, 0.15); border-radius: var(--radius-sm); padding: 0.4rem 0.75rem; display: flex; justify-content: space-between; font-size: 0.7rem; color: var(--text-secondary); }
.badge-tag { display: inline-block; font-family: var(--font-heading); font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--primary-cyan); margin-bottom: 0.3rem; }
.game-detail-title { font-size: 1.3rem; font-weight: 800; margin-bottom: 0.4rem; }
.game-detail-text { color: var(--text-secondary); font-size: 0.875rem; line-height: 1.5; margin-bottom: 0.75rem; }
.game-highlights { display: flex; flex-direction: column; gap: 0.4rem; margin-top: 0.85rem; margin-bottom: 1.25rem; }
.highlight-item { display: flex; align-items: center; gap: 0.4rem; font-size: 0.825rem; color: var(--text-primary); }
.check-icon { color: var(--primary-cyan); font-weight: bold; }

.game-detail-info .btn-primary {
    background: linear-gradient(135deg, #00f2fe 0%, #4facfe 35%, #7928ca 70%, #ff0080 100%);
    background-size: 250% 250%;
    animation: gradientShift 4s ease infinite, btnPulseGlow 2.5s infinite ease-in-out;
    color: #050b14;
    font-weight: 800;
    border-radius: var(--radius-full);
}

.game-detail-info .btn-primary:hover {
    color: #ffffff;
    transform: translateY(-2px) scale(1.02);
}

/* About & FAQ */
.about-section { background: var(--bg-surface); overflow: hidden; }
.about-grid { display: grid; grid-template-columns: 1fr; gap: 1.75rem; align-items: center; }
.about-image-wrapper { position: relative; border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--border-color); }
.about-img { width: 100%; height: auto; object-fit: cover; }
.about-experience-badge { position: absolute; bottom: 12px; left: 12px; background: rgba(10, 11, 16, 0.9); border: 1px solid var(--primary-cyan); border-radius: var(--radius-sm); padding: 0.6rem 0.85rem; }
.exp-number { display: block; font-family: var(--font-heading); font-size: 1.25rem; font-weight: 800; color: var(--primary-cyan); }
.exp-label { font-size: 0.65rem; color: var(--text-secondary); }
.about-p { color: var(--text-secondary); font-size: 0.875rem; margin-bottom: 0.85rem; }

.faq-section { background: var(--bg-dark); overflow: hidden; }
.faq-accordion { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 0.75rem; }
.faq-item { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius-sm); overflow: hidden; }
.faq-question { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 0.85rem 1rem; background: transparent; border: none; color: var(--text-primary); font-family: var(--font-heading); font-size: 0.9rem; font-weight: 700; text-align: left; cursor: pointer; }
.faq-toggle { font-size: 1.25rem; color: var(--primary-cyan); }
.faq-item.active .faq-toggle { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height var(--transition-normal) ease-out, padding var(--transition-normal) ease-out; padding: 0 1rem; }
.faq-item.active .faq-answer { max-height: 300px; padding: 0 1rem 0.85rem 1rem; }
.faq-answer p { color: var(--text-secondary); font-size: 0.825rem; }

/* Reviews & Contact */
.reviews-section { background: var(--bg-surface); overflow: hidden; }
.reviews-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
.review-card { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius-md); padding: 1rem; }
.review-header { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.5rem; }
.reviewer-avatar { width: 38px; height: 38px; background: var(--gradient-accent); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--font-heading); font-weight: 800; font-size: 0.85rem; }
.reviewer-info h4 { font-size: 0.875rem; }
.reviewer-role { font-size: 0.685rem; color: var(--text-muted); }
.review-rating { color: var(--accent-gold); margin-bottom: 0.4rem; font-size: 0.8rem; }
.review-text { color: var(--text-secondary); font-size: 0.825rem; font-style: italic; }

.contact-section { background: var(--bg-dark); overflow: hidden; }
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
.contact-desc { color: var(--text-secondary); font-size: 0.875rem; margin-bottom: 1.25rem; }
.contact-details { display: flex; flex-direction: column; gap: 1rem; }
.contact-item { display: flex; gap: 0.75rem; align-items: flex-start; }
.contact-icon { width: 34px; height: 34px; background: rgba(255,255,255,0.05); border: 1px solid var(--border-color); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; font-size: 1rem; }
.contact-item h5 { font-size: 0.85rem; margin-bottom: 0.1rem; }
.contact-item p { font-size: 0.775rem; color: var(--text-muted); }

.map-box-placeholder { width: 100%; height: 140px; margin-top: 1.25rem; border-radius: var(--radius-md); background: linear-gradient(135deg, rgba(18, 22, 38, 0.9) 0%, rgba(28, 34, 58, 0.9) 100%), url('assets/hero_bg.webp') center/cover; border: 1px solid var(--border-glow); display: flex; align-items: center; justify-content: center; }
.map-overlay-text { text-align: center; background: rgba(10, 11, 16, 0.85); padding: 0.65rem 1rem; border-radius: var(--radius-sm); border: 1px solid rgba(0, 242, 254, 0.3); }
.map-overlay-text span { font-family: var(--font-heading); font-weight: 700; color: var(--primary-cyan); font-size: 0.825rem; }
.map-overlay-text small { color: var(--text-muted); font-size: 0.7rem; display: block; }

.contact-form-wrap { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius-md); padding: 1.25rem 1rem; }
.form-title { font-size: 1.1rem; margin-bottom: 1rem; }
.form-group { margin-bottom: 0.85rem; }
.form-group label { display: block; font-size: 0.775rem; font-weight: 600; color: var(--text-secondary); margin-bottom: 0.25rem; }
.form-input, .form-textarea { width: 100%; padding: 0.55rem 0.75rem; background: rgba(10, 11, 16, 0.6); border: 1px solid var(--border-color); border-radius: var(--radius-sm); color: var(--text-primary); font-family: var(--font-body); font-size: 0.825rem; }
.form-input:focus, .form-textarea:focus { outline: none; border-color: var(--primary-cyan); box-shadow: 0 0 10px rgba(0, 242, 254, 0.25); }
.error-msg { display: none; font-size: 0.675rem; color: var(--accent-pink); margin-top: 0.2rem; }
.form-group.error .form-input, .form-group.error .form-textarea { border-color: var(--accent-pink); }
.form-group.error .error-msg { display: block; }
.form-status { margin-top: 0.75rem; padding: 0.55rem; border-radius: var(--radius-sm); font-size: 0.775rem; text-align: center; display: none; }
.form-status.success { display: block; background: rgba(16, 185, 129, 0.15); border: 1px solid rgba(16, 185, 129, 0.4); color: #34d399; }

/* Legal Page */
.legal-page-section { background: var(--bg-dark); overflow: hidden; }
.legal-card { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius-lg); padding: 1.5rem 1rem; }
.legal-card h2 { font-size: 1.1rem; margin-top: 1.25rem; margin-bottom: 0.5rem; color: var(--primary-cyan); }
.legal-card h2:first-child { margin-top: 0; }
.legal-card p { color: var(--text-secondary); font-size: 0.825rem; line-height: 1.6; margin-bottom: 0.75rem; }
.legal-card ul { list-style: disc; padding-left: 1.1rem; margin-bottom: 0.85rem; color: var(--text-secondary); }
.legal-card li { margin-bottom: 0.25rem; font-size: 0.825rem; }
.legal-card a { color: var(--primary-cyan); text-decoration: underline; }

/* Footer */
.footer { background: #05060a; border-top: 1px solid var(--border-color); padding-top: 2.5rem; padding-bottom: 1.5rem; overflow: hidden; }
.footer-top { display: grid; grid-template-columns: 1fr; gap: 1.75rem; margin-bottom: 2rem; }
.footer-desc { color: var(--text-muted); font-size: 0.775rem; margin-top: 0.5rem; }
.footer-links h4, .footer-legal h4 { font-size: 0.875rem; margin-bottom: 0.75rem; }
.footer-links ul, .footer-legal ul { display: flex; flex-direction: column; gap: 0.4rem; }
.footer-links a, .footer-legal a { color: var(--text-muted); font-size: 0.775rem; }
.footer-links a:hover, .footer-legal a:hover { color: var(--primary-cyan); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.05); padding-top: 1rem; text-align: center; color: var(--text-muted); font-size: 0.725rem; }

/* ==========================================================================
   DESKTOP & TABLET STYLES (@media min-width: 768px & 992px)
   ========================================================================== */

/* 576px+ Small Tablets */
@media (min-width: 576px) {
    .hero-title { font-size: 1.8rem; }
    .section-title { font-size: 1.6rem; }
    .subpage-title { font-size: 1.9rem; }
}

/* 768px+ Tablets & Desktop */
@media (min-width: 768px) {
    .container { padding-left: 1.5rem; padding-right: 1.5rem; }
    .section-padding { padding-top: 2.5rem; padding-bottom: 4rem; }
    
    .hero-section {
        padding-top: 1.75rem;
        padding-bottom: 1.75rem;
        min-height: auto;
        display: block;
    }
    
    .hero-badge {
        font-size: 0.775rem;
        padding: 0.25rem 0.85rem;
        margin-bottom: 0.75rem;
    }
    
    .hero-title {
        font-size: 2.4rem;
        margin-bottom: 0.75rem;
    }
    
    .hero-description {
        font-size: 0.975rem;
        margin-bottom: 1.25rem;
    }
    
    .hero-buttons {
        gap: 0.85rem;
        margin-bottom: 0.5rem;
    }

    .scroll-prompt { display: none; }

    .games-section { padding-top: 1.25rem; }
    .section-header { margin-bottom: 1.25rem; }
    .section-subtitle { font-size: 0.8rem; margin-bottom: 0.25rem; }
    .section-title { font-size: 1.75rem; margin-bottom: 0.4rem; }
    .section-line { width: 60px; height: 3px; margin: 0.4rem auto 0.75rem auto; }
    .section-desc { font-size: 0.9rem; }

    .games-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }

    .game-card { border-radius: var(--radius-md); }
    .game-card-mobile-icon { display: none !important; }

    .game-card-image-wrap {
        display: block !important;
        position: relative;
        width: 100%;
        height: 160px;
        overflow: hidden;
        background: #000;
    }

    .game-card-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform var(--transition-slow);
    }

    .game-card:hover .game-card-img { transform: scale(1.06); }
    .game-card-content { padding: 1.1rem; }
    .game-card-rating { margin-bottom: 0.5rem; }
    .stars { font-size: 0.85rem; }
    .rating-num { font-size: 0.75rem; }
    .game-card-title { font-size: 1.1rem; margin-bottom: 0.5rem; }

    .game-card-desc {
        font-size: 0.85rem;
        line-height: 1.45;
        margin-bottom: 0.85rem;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .game-card-features {
        display: flex;
        flex-wrap: wrap;
        gap: 0.4rem;
        margin-bottom: 1rem;
    }

    .feature-tag {
        font-size: 0.7rem;
        color: var(--text-muted);
        background: rgba(255, 255, 255, 0.05);
        padding: 0.15rem 0.5rem;
        border-radius: var(--radius-sm);
        border: 1px solid rgba(255, 255, 255, 0.06);
    }

    .btn-card {
        padding: 0.6rem 1rem;
        font-size: 0.825rem;
        border-radius: var(--radius-sm);
    }

    /* Subpages Desktop */
    .reviews-grid { grid-template-columns: repeat(2, 1fr); }
    .about-grid { grid-template-columns: 1fr 1fr; }
    .contact-grid { grid-template-columns: 1fr 1fr; }
    .footer-top { grid-template-columns: 2fr 1fr 1fr; }
    .game-detail-grid { grid-template-columns: 1fr 1fr; gap: 1.75rem; }
    .game-detail-grid.reverse .game-detail-media { order: 2; }
    .game-detail-grid.reverse .game-detail-info { order: 1; }
    .legal-card { padding: 2.5rem; }
}

/* 991px and below: Burger menu active */
@media (max-width: 991px) {
    .burger-btn { display: flex !important; }
}

/* 992px+ Desktop View */
@media (min-width: 992px) {
    .header-container { height: 64px; }
    .logo { font-size: 1.25rem; }
    .logo-icon { width: 34px; height: 34px; }
    
    .burger-btn { display: none !important; }
    .btn-desktop { display: inline-flex !important; }
    .nav-actions-mobile { display: none !important; }

    .nav-menu {
        position: static !important;
        width: auto !important;
        height: auto !important;
        background: transparent !important;
        backdrop-filter: none !important;
        flex-direction: row !important;
        padding: 0 !important;
        transform: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        overflow-y: visible !important;
    }

    .nav-list {
        flex-direction: row;
        gap: 1.75rem;
        margin-bottom: 0;
    }

    .nav-link {
        font-size: 0.925rem;
        font-weight: 600;
        padding: 0.35rem 0;
        border-bottom: 2px solid transparent;
    }

    .nav-link:hover, .nav-link.active {
        color: var(--primary-cyan);
        border-bottom-color: var(--primary-cyan);
    }

    .hero-title { font-size: 2.8rem; }
    .games-grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
    .reviews-grid { grid-template-columns: repeat(3, 1fr); }
}

/* 1200px+ Large Desktop */
@media (min-width: 1200px) {
    .hero-title { font-size: 3rem; }
}
