/* ===========================
   RESET & GLOBAL STYLES
   =========================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-dark: #0a0a0a;
    --color-darker: #050505;
    --color-primary: #ff2a2a;
    --color-primary-light: #ff4444;
    --color-gray: #1a1a1a;
    --color-gray-light: #333333;
    --color-text: #ffffff;
    --color-text-muted: #a0a0a0;
    --font-main: 'Inter', sans-serif;
    --font-heading: 'Poppins', sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --glow: 0 0 20px rgba(255, 42, 42, 0.3);
}

html {
    scroll-behavior: smooth;
}

html {
    overflow-x: hidden;
}

body {
    font-family: var(--font-main);
    background: var(--color-dark);
    color: var(--color-text);
    overflow-x: hidden;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -1px;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin-bottom: 3rem;
    text-align: center;
    font-weight: 800;
    background: linear-gradient(135deg, var(--color-text), var(--color-text-muted));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-title span {
    color: var(--color-primary);
    -webkit-text-fill-color: var(--color-primary);
}

.navbar-container,
.section-container,
.stats-container,
.about-container,
.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ===========================
   NAVBAR
   =========================== */
/* ===========================
   GOOGLE TRANSLATE OVERRIDES
   =========================== */
.goog-te-banner-frame,
.goog-te-balloon-frame,
.goog-te-ftab-float,
.goog-te-menu-frame,
#goog-gt-tt,
.goog-te-menu-value:hover { display: none !important; height: 0 !important; }
body { top: 0 !important; position: static !important; }
html body { top: 0 !important; margin-top: 0 !important; }
.goog-tooltip, .goog-tooltip:hover { display: none !important; }
.goog-text-highlight { background: none !important; box-shadow: none !important; }
#google_translate_element { display: none !important; }
.goog-te-spinner-pos { display: none !important; }
.skiptranslate:not(#google_translate_element) { display: none !important; height: 0 !important; }

/* ===========================
   LANGUAGE SWITCHER
   =========================== */
.lang-switcher {
    position: relative;
    display: flex;
    align-items: center;
    z-index: 10001;
    margin-left: 1rem;
}


.lang-btn {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    background: transparent;
    border: 1px solid rgba(255, 42, 42, 0.3);
    color: var(--color-text-muted);
    padding: 0.4rem 0.75rem;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: var(--transition);
    font-family: var(--font-main);
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.lang-btn:hover,
.lang-btn.active {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

#langFlag { font-size: 1.2rem; line-height: 1; }

.lang-arrow {
    font-size: 0.65rem;
    transition: transform 0.2s ease;
}

.lang-btn.active .lang-arrow {
    transform: rotate(180deg);
}

/* Desktop dropdown */
.lang-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: #111111;
    border: 1px solid rgba(255, 42, 42, 0.2);
    border-radius: 8px;
    overflow: hidden;
    min-width: 160px;
    z-index: 10002;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6);
}

.lang-dropdown.open { display: block; }

.lang-option {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.75rem 1rem;
    color: var(--color-text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    transition: background 0.15s ease, color 0.15s ease;
    white-space: nowrap;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.lang-option:hover,
.lang-option:active {
    background: rgba(255, 42, 42, 0.08);
    color: var(--color-text);
}

.lang-option.selected {
    color: var(--color-primary);
    background: rgba(255, 42, 42, 0.05);
}

/* Mobile overlay — disabled (caused double-tap issues) */
.lang-overlay { display: none !important; }

/* Mobile only: dropdown centered on screen */
@media (max-width: 1024px) {
    .navbar-container {
        position: relative;
    }

    .lang-switcher {
        position: static;
        margin-left: 0;
    }

    .lang-dropdown {
        position: absolute;
        top: calc(100% + 8px);
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        width: 220px;
        border-radius: 10px;
        max-height: 70vh;
        overflow-y: auto;
        z-index: 10002;
    }

    .lang-option {
        padding: 0.9rem 1.2rem;
        font-size: 0.95rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    }
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 42, 42, 0.1);
    padding: 0.8rem 0;
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-text);
    text-transform: uppercase;
    flex-shrink: 0;
}

.logo-icon {
    font-size: 1.8rem;
    animation: pulse 2s ease-in-out infinite;
}

.logo-img {
    height: 72px;
    width: auto;
    display: block;
}

@media (max-width: 1024px) {
    .logo-img {
        height: 30px;
    }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.nav-menu {
    display: flex;
    gap: 2.5rem;
    align-items: center;
    margin-left: auto;
}

.nav-menu a {
    color: var(--color-text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    white-space: nowrap;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-primary);
    transition: var(--transition);
}

.nav-menu a:hover {
    color: var(--color-primary);
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-btn {
    white-space: nowrap;
    flex-shrink: 0;
    margin-left: 2rem;
}

.nav-kontakt-mobile {
    display: none;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    margin-left: 1rem;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background: var(--color-primary);
    transition: var(--transition);
}

/* ===========================
   BUTTONS
   =========================== */
.btn-primary,
.btn-secondary,
.btn-link,
.btn-cta {
    border: none;
    cursor: pointer;
    font-family: var(--font-main);
    font-weight: 600;
    transition: var(--transition);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 0.9rem;
    border-radius: 4px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-primary), #ff4444);
    color: white;
    padding: 0.75rem 1.5rem;
    box-shadow: 0 0 20px rgba(255, 42, 42, 0.2);
}

.btn-primary:hover {
    box-shadow: 0 0 40px rgba(255, 42, 42, 0.5), inset 0 0 20px rgba(255, 100, 100, 0.3);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
    padding: 0.75rem 1.5rem;
}

.btn-secondary:hover {
    background: var(--color-primary);
    color: var(--color-dark);
    box-shadow: var(--glow);
}

.btn-link {
    background: none;
    color: var(--color-primary);
    padding: 0;
    font-size: 0.9rem;
    text-decoration: none;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1rem;
    white-space: nowrap;
}

.btn-center {
    display: block;
    width: fit-content;
    margin: 3rem auto 0;
}

.btn-cta {
    background: white;
    color: var(--color-primary);
    padding: 1.2rem 3rem;
    font-size: 1.1rem;
    font-weight: 700;
}

/* ===========================
   HERO SECTION
   =========================== */
.hero {
    height: 100vh;
    background: linear-gradient(135deg, var(--color-dark) 0%, var(--color-darker) 100%);
    display: flex;
    align-items: stretch;
    overflow: hidden;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(255, 42, 42, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

.hero-visual {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

/* iframe tła – cover 16:9 */
.hero-iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100vw;
    height: 56.25vw;
    min-height: 100vh;
    min-width: 177.78vh;
    border: none;
    pointer-events: none;
}

.hero-container {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    flex: 1;
    padding-top: 80px;
    padding-left: 2rem;
    padding-right: 2rem;
}

.hero-content {
    max-width: 550px;
    background: linear-gradient(90deg, rgba(10, 10, 10, 0.95) 0%, rgba(10, 10, 10, 0.8) 70%, transparent 100%);
    padding: 3rem;
    border-radius: 0;
}

.hero-badge {
    display: none;
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    animation: slideDown 0.8s ease-out 0.1s backwards;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    margin-bottom: 2.5rem;
    line-height: 1.8;
    animation: slideDown 0.8s ease-out 0.2s backwards;
    max-width: 95%;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    animation: slideDown 0.8s ease-out 0.3s backwards;
    max-width: 95%;
    flex-wrap: wrap;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===========================
   STATS SECTION
   =========================== */
.stats {
    background: linear-gradient(180deg, var(--color-dark) 0%, rgba(255, 42, 42, 0.02) 100%);
    border-top: 1px solid rgba(255, 42, 42, 0.1);
    border-bottom: 1px solid rgba(255, 42, 42, 0.1);
    padding: 5rem 0;
    position: relative;
    z-index: 10;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.stat-card {
    text-align: center;
    padding: 2rem;
    border-radius: 8px;
    background: rgba(255, 42, 42, 0.03);
    border: 1px solid rgba(255, 42, 42, 0.1);
    transition: var(--transition);
}

.stat-card:hover {
    background: rgba(255, 42, 42, 0.08);
    border-color: var(--color-primary);
    transform: translateY(-10px);
    box-shadow: 0 0 30px rgba(255, 42, 42, 0.2);
}

.stat-number {
    font-size: clamp(2.5rem, 8vw, 3.5rem);
    font-weight: 900;
    color: var(--color-primary);
    font-family: var(--font-heading);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
}

.suffix {
    font-size: clamp(2.5rem, 8vw, 3.5rem);
    color: var(--color-primary);
    font-weight: 900;
}

.stat-label {
    color: var(--color-text-muted);
    font-size: 1rem;
    font-weight: 500;
}

/* ===========================
   FEATURES SECTION
   =========================== */
.features {
    padding: 5rem 0;
    background: var(--color-dark);
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

@media (min-width: 1025px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.feature-card {
    padding: 2.5rem;
    background: rgba(255, 42, 42, 0.03);
    border: 1px solid rgba(255, 42, 42, 0.1);
    border-radius: 8px;
    transition: var(--transition);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
    width: 100%;
}

.feature-card:hover {
    background: rgba(255, 42, 42, 0.08);
    border-color: var(--color-primary);
    transform: translateY(-10px);
    box-shadow: 0 0 40px rgba(255, 42, 42, 0.2);
}

.feature-header {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    width: 100%;
}

.feature-icon {
    font-size: 2.5rem;
    display: block;
    flex-shrink: 0;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--color-text);
}

.feature-card p {
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.7;
    text-align: center;
    width: 100%;
}

.feature-link {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: var(--transition);
    width: 100%;
}

.feature-link:hover {
    gap: 1rem;
}

/* desktop: wyśrodkowane karty */
@media (min-width: 1025px) {
    .feature-card {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .feature-header {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 0;
        margin-bottom: 0;
        width: auto;
    }

    .feature-icon {
        font-size: 3rem;
        margin-bottom: 1rem;
    }

    .feature-card h3 {
        margin-bottom: 1rem;
    }

    .feature-card p {
        text-align: center;
        width: auto;
    }

    .feature-link {
        display: inline-flex;
        justify-content: center;
        width: auto;
    }
}

/* ===========================
   GAMES SECTION
   =========================== */
.games {
    padding: 5rem 0;
    background: linear-gradient(180deg, var(--color-dark) 0%, rgba(255, 42, 42, 0.02) 100%);
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.game-card {
    background: rgba(255, 42, 42, 0.03);
    border: 1px solid rgba(255, 42, 42, 0.1);
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.game-card:hover {
    border-color: var(--color-primary);
    box-shadow: 0 0 40px rgba(255, 42, 42, 0.3);
    transform: translateY(-10px);
}

.game-card-image {
    width: 100%;
    height: 250px;
    background: linear-gradient(135deg, rgba(255, 42, 42, 0.15), rgba(255, 42, 42, 0.05));
    border-bottom: 1px solid rgba(255, 42, 42, 0.1);
    transition: var(--transition);
}

.game-card:hover .game-card-image {
    background: linear-gradient(135deg, rgba(255, 42, 42, 0.25), rgba(255, 42, 42, 0.15));
}

.game-card-content {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.game-category {
    display: inline-block;
    background: rgba(255, 42, 42, 0.2);
    color: var(--color-primary);
    padding: 0.4rem 1rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    width: fit-content;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.game-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
}

.game-card p {
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.game-card .btn-link {
    align-self: flex-start;
}

/* ===========================
   ANNOUNCEMENTS SECTION
   =========================== */
.announcements {
    padding: 5rem 0;
    background: var(--color-dark);
}

.announcements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.announcement-card {
    background: rgba(255, 42, 42, 0.03);
    border: 1px solid rgba(255, 42, 42, 0.1);
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.announcement-card:hover {
    border-color: var(--color-primary);
    box-shadow: 0 0 40px rgba(255, 42, 42, 0.3);
    transform: translateY(-10px);
}

.announcement-image {
    width: 100%;
    height: 300px;
    background: linear-gradient(135deg, rgba(255, 42, 42, 0.2), rgba(255, 42, 42, 0.1));
    transition: var(--transition);
}

.announcement-card:hover .announcement-image {
    background: linear-gradient(135deg, rgba(255, 42, 42, 0.3), rgba(255, 42, 42, 0.2));
}

.announcement-content {
    padding: 2.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.announcement-badge {
    display: inline-block;
    background: var(--color-primary);
    color: var(--color-dark);
    padding: 0.5rem 1.2rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    width: fit-content;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.announcement-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.announcement-card p {
    color: var(--color-text-muted);
    margin-bottom: 2rem;
    flex-grow: 1;
    line-height: 1.7;
}

/* ===========================
   ABOUT SECTION
   =========================== */
.about {
    padding: 5rem 0;
    background: linear-gradient(180deg, var(--color-dark) 0%, rgba(255, 42, 42, 0.02) 100%);
}

.about-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.about-content {
    z-index: 1;
    width: 100%;
}

.about-content p {
    color: var(--color-text-muted);
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.about-stats {
    display: flex;
    gap: 2rem;
    margin: 2.5rem 0;
    flex-wrap: wrap;
    justify-content: center;
}

.about-stat {
    flex: 1;
    min-width: 150px;
    text-align: center;
}

.about-stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--color-primary);
    font-family: var(--font-heading);
}

.about-stat-label {
    display: block;
    color: var(--color-text-muted);
    font-size: 0.95rem;
    margin-top: 0.5rem;
}

.about-image-placeholder {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, rgba(255, 42, 42, 0.15), rgba(255, 42, 42, 0.05));
    border: 2px solid rgba(255, 42, 42, 0.2);
    border-radius: 8px;
}

/* ===========================
   CTA SECTION
   =========================== */
.cta {
    background: linear-gradient(180deg, var(--color-dark) 0%, rgba(255, 42, 42, 0.06) 100%);
    border-top: 1px solid rgba(255, 42, 42, 0.15);
    padding: 5rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 300px;
    background: radial-gradient(ellipse at center top, rgba(255, 42, 42, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}

.cta h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 1rem;
    color: var(--color-text);
}

.cta p {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    margin-bottom: 3rem;
}

/* ===========================
   DARK CTA (shared: games, announcements, etc.)
   =========================== */
.games-cta {
    background: linear-gradient(180deg, var(--color-dark) 0%, rgba(255, 42, 42, 0.04) 100%);
    border-top: 1px solid rgba(255, 42, 42, 0.1);
    padding: 5rem 2rem;
    text-align: center;
}

.games-cta .cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.games-cta h2 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    margin-bottom: 1rem;
    color: #ffffff;
}

.games-cta p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2.5rem;
}

.games-cta .cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-platforms {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
}

.cta-platform-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 42, 42, 0.04);
    border: 1px solid rgba(255, 42, 42, 0.15);
    border-radius: 12px;
    padding: 1.5rem 1rem;
    text-decoration: none;
    color: var(--color-text-muted);
    transition: var(--transition);
}

.cta-platform-box:hover {
    background: rgba(255, 42, 42, 0.1);
    border-color: var(--color-primary);
    color: var(--color-text);
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(255, 42, 42, 0.2);
}

.cta-platform-icon {
    font-size: 2.2rem;
    line-height: 1;
}

.cta-platform-label {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    white-space: nowrap;
    color: inherit;
}

/* ===========================
   FOOTER
   =========================== */
.footer {
    background: var(--color-darker);
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(255, 42, 42, 0.1);
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-column h3,
.footer-column h4 {
    color: var(--color-text);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.footer-column h3 {
    font-size: 1.5rem;
    letter-spacing: 1px;
}

.footer-column p {
    color: var(--color-text-muted);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 0.8rem;
}

.footer-column ul a {
    color: var(--color-text-muted);
    text-decoration: none;
    transition: var(--transition);
}

.footer-column ul a:hover {
    color: var(--color-primary);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 42, 42, 0.1);
    border-radius: 50%;
    text-decoration: none;
    font-size: 1.2rem;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--color-primary);
    transform: translateY(-5px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 42, 42, 0.1);
    padding-top: 2rem;
    text-align: center;
    color: var(--color-text-muted);
}

.footer-badges {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.footer-badges span {
    font-size: 0.9rem;
    color: var(--color-primary);
}

/* ===========================
   HERO CAROUSEL (mobile)
   =========================== */
.hero-carousel {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    z-index: 0;
}

.carousel-track {
    display: flex;
    height: 100%;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.carousel-slide {
    min-width: 100%;
    height: 100%;
    overflow: hidden;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.carousel-dots {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.6rem;
    z-index: 3;
}

.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: var(--transition);
}

.carousel-dot.active {
    background: var(--color-primary);
    transform: scale(1.4);
    box-shadow: 0 0 8px rgba(255, 42, 42, 0.6);
}

/* ===========================
   RESPONSIVE DESIGN
   =========================== */

@media (max-width: 1024px) {
    .navbar {
        padding: 1rem 0;
    }

    .nav-menu {
        display: none;
        position: fixed;
        top: 68px;
        left: 0;
        right: 0;
        background: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        flex-direction: column;
        align-items: center;
        padding: 1.5rem 2rem 2rem;
        gap: 1.2rem;
        border-bottom: 1px solid rgba(255, 42, 42, 0.25);
        z-index: 999;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu a {
        font-size: 1.1rem;
        padding: 0.5rem 0;
        width: 100%;
        text-align: center;
    }

    .nav-btn {
        display: none;
    }

    .nav-menu .nav-kontakt-mobile {
        display: inline-flex;
        margin-top: 0.5rem;
        width: auto;
        padding: 0.7rem 2rem;
        text-align: center;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
        transform: translateX(-10px);
    }

    .hamburger.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero {
        height: 100vh;
    }

    .hero-container {
        padding-top: 68px;
        justify-content: center;
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .hero-visual {
        display: none;
    }

    .hero-carousel {
        display: block;
    }

    .hero-content {
        max-width: 100%;
        width: 100%;
        padding: 2rem 1.5rem;
        text-align: center;
        background: linear-gradient(180deg, rgba(10, 10, 10, 0.88) 0%, rgba(10, 10, 10, 0.6) 100%);
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        max-width: 100%;
        width: 100%;
    }

    .hero-subtitle {
        max-width: 100%;
        margin-left: 0;
        font-size: 0.95rem;
    }

    .hero-title {
        font-size: clamp(2rem, 8vw, 3.2rem);
        width: 100%;
    }

    /* --- Features --- force single column on all mobile browsers */
    .features {
        overflow: hidden;
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    .features-grid {
        grid-template-columns: 1fr !important;
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
    }

    .feature-card {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        padding: 1.5rem;
        text-align: center;
        align-items: center;
    }

    .feature-header {
        justify-content: center;
        align-items: center;
        width: 100%;
        margin: 0 auto 1rem;
    }

    .feature-icon {
        display: inline-block;
        margin: 0;
    }

    .feature-card h3 {
        margin: 0;
        text-align: center;
    }

    .feature-card p,
    .feature-link {
        text-align: center;
        width: 100%;
    }

    /* --- Games --- */
    .game-card-content {
        text-align: center;
        align-items: center;
    }

    .game-card-content .game-category {
        margin: 0 auto 1rem;
    }

    .game-card h3,
    .game-card p {
        text-align: center;
        width: 100%;
    }

    .game-card-content .btn-link {
        align-self: center;
        text-align: center;
    }

    .games-grid {
        grid-template-columns: 1fr;
    }

    /* --- Announcements --- */
    .announcements-grid {
        grid-template-columns: 1fr;
    }

    .announcement-content {
        text-align: center;
        align-items: center;
    }

    .announcement-badge {
        margin: 0 auto 1rem;
    }

    /* --- About --- */
    .about-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-content {
        text-align: center;
    }

    .about-stats {
        justify-content: center;
    }

    .about-stat {
        text-align: center;
        min-width: 100px;
    }

    .about-image {
        display: none;
    }

    /* --- CTA --- */
    .cta-content {
        text-align: center;
        padding: 0 1.5rem;
    }

    /* --- Footer --- */
    .footer-column {
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    .footer-column ul {
        padding: 0;
    }

    /* --- CTA platform boxy 2x2 na mobile --- */
    .cta-platforms {
        grid-template-columns: repeat(2, 1fr);
        max-width: 100%;
    }
}

/* --- Safari: YouTube iframe nie autoplayuje, pokazujemy karuzelę --- */
html.is-safari .hero-visual {
    display: none;
}

html.is-safari .hero-carousel {
    display: block;
}

html.is-safari .hero-content {
    background: linear-gradient(90deg, rgba(10, 10, 10, 0.95) 0%, rgba(10, 10, 10, 0.8) 70%, transparent 100%);
}

/* --- Małe telefony (do 768px) --- */
@media (max-width: 768px) {
    .section-title {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}