:root {
    --bg: #050505;
    --bg-soft: #0a0a0a;
    --panel: #111111;
    --panel-2: #171717;
    --text: #ffffff;
    --text-soft: #b8b8b8;
    --muted: #777777;
    --red: #ff1f1f;
    --red-dark: #8f0000;
    --red-deep: #420000;
    --border: rgba(255, 255, 255, 0.08);
    --border-red: rgba(255, 31, 31, 0.4);
    --shadow-red: rgba(255, 0, 0, 0.25);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", sans-serif;
    background: var(--bg);
    color: var(--text);
    overflow-x: hidden;
    line-height: 1.6;
}

body.loader-active {
    overflow: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea,
select {
    font: inherit;
}

img {
    display: block;
    max-width: 100%;
}

/* =========================
   LOADER
========================= */

#loader {
    position: fixed;
    inset: 0;
    z-index: 999999;
    background:
        radial-gradient(
            circle at center,
            rgba(255, 0, 0, 0.12),
            transparent 42%
        ),
        #020202;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition:
        opacity 0.7s ease,
        visibility 0.7s ease;
}

#loader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-glow {
    position: absolute;
    width: 440px;
    height: 440px;
    border-radius: 50%;
    background: rgba(255, 0, 0, 0.11);
    filter: blur(90px);
    animation: loaderGlow 1.5s ease-in-out infinite alternate;
}

.loader-logo {
    width: 180px;
    height: 180px;
    object-fit: contain;
    border-radius: 30px;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 0 30px rgba(255, 0, 0, 0.55));
    animation: loaderLogo 1.3s ease-in-out;
}

.loader-name {
    margin-top: 28px;
    font-family: "Orbitron", sans-serif;
    font-weight: 900;
    letter-spacing: 12px;
    font-size: 34px;
    position: relative;
    z-index: 2;
}

.loader-line {
    width: 0;
    height: 3px;
    margin-top: 18px;
    background: linear-gradient(
        90deg,
        transparent,
        var(--red),
        transparent
    );
    box-shadow: 0 0 20px var(--red);
    animation: loaderLine 1.4s ease forwards;
}

@keyframes loaderLogo {
    0% {
        opacity: 0;
        transform: scale(0.75);
        filter: drop-shadow(0 0 0 rgba(255, 0, 0, 0));
    }

    100% {
        opacity: 1;
        transform: scale(1);
        filter: drop-shadow(0 0 30px rgba(255, 0, 0, 0.55));
    }
}

@keyframes loaderLine {
    to {
        width: 220px;
    }
}

@keyframes loaderGlow {
    from {
        transform: scale(0.8);
        opacity: 0.45;
    }

    to {
        transform: scale(1.15);
        opacity: 1;
    }
}

/* =========================
   TŁO
========================= */

#particles {
    position: fixed;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: -3;
}

.particle {
    position: absolute;
    bottom: -20px;
    border-radius: 50%;
    background: var(--red);
    box-shadow:
        0 0 8px rgba(255, 0, 0, 0.9),
        0 0 20px rgba(255, 0, 0, 0.45);
    animation: particleFloat linear infinite;
}

@keyframes particleFloat {
    0% {
        transform: translateY(0) translateX(0);
        opacity: 0;
    }

    10% {
        opacity: 0.6;
    }

    50% {
        transform: translateY(-55vh) translateX(30px);
    }

    100% {
        transform: translateY(-115vh) translateX(-30px);
        opacity: 0;
    }
}

.background-grid {
    position: fixed;
    inset: 0;
    z-index: -5;
    pointer-events: none;
    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.018) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.018) 1px,
            transparent 1px
        );
    background-size: 70px 70px;
    mask-image: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.75),
        transparent 92%
    );
}

.background-glow {
    position: fixed;
    border-radius: 50%;
    filter: blur(150px);
    pointer-events: none;
    z-index: -4;
}

.glow-one {
    width: 700px;
    height: 700px;
    top: -350px;
    left: -300px;
    background: rgba(255, 0, 0, 0.10);
}

.glow-two {
    width: 650px;
    height: 650px;
    right: -280px;
    bottom: -300px;
    background: rgba(180, 0, 0, 0.08);
}

/* =========================
   HEADER
========================= */

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition:
        background 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;
    border-bottom: 1px solid transparent;
}

header.scrolled {
    background: rgba(4, 4, 4, 0.88);
    backdrop-filter: blur(18px);
    border-bottom-color: rgba(255, 255, 255, 0.06);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.navbar {
    width: min(92%, 1450px);
    height: 82px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 13px;
}

.nav-logo img {
    width: 46px;
    height: 46px;
    object-fit: cover;
    border-radius: 10px;
}

.nav-logo span {
    font-family: "Orbitron", sans-serif;
    font-weight: 900;
    letter-spacing: 5px;
    font-size: 20px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 34px;
    list-style: none;
}

.nav-links a {
    position: relative;
    color: #c2c2c2;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1.3px;
    font-weight: 700;
    transition: color 0.25s ease;
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 0;
    height: 2px;
    background: var(--red);
    box-shadow: 0 0 10px var(--red);
    transition: width 0.25s ease;
}

.nav-links a:hover {
    color: white;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-discord {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 11px 17px;
    border-radius: 9px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    font-size: 13px;
    font-weight: 700;
    transition: 0.3s ease;
}

.nav-discord:hover {
    border-color: var(--border-red);
    background: rgba(255, 0, 0, 0.08);
    transform: translateY(-2px);
}

.mobile-menu-button {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

/* =========================
   BUTTONS
========================= */

.button {
    min-height: 52px;
    padding: 0 27px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    border-radius: 10px;
    font-size: 13px;
    letter-spacing: 0.9px;
    font-weight: 800;
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.button-primary {
    color: white;
    border: 1px solid rgba(255, 65, 65, 0.45);
    background: linear-gradient(
        135deg,
        #ff2d2d,
        #9c0000
    );
    box-shadow: 0 14px 35px rgba(255, 0, 0, 0.22);
}

.button-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(255, 0, 0, 0.34);
}

.button-secondary {
    color: white;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.025);
}

.button-secondary:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.045);
}

/* =========================
   HERO
========================= */

.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 130px 20px 80px;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    width: 850px;
    height: 850px;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(255, 0, 0, 0.13),
        rgba(255, 0, 0, 0.035) 45%,
        transparent 70%
    );
    animation: heroGlow 5s ease-in-out infinite alternate;
}

@keyframes heroGlow {
    from {
        transform: scale(0.92);
        opacity: 0.65;
    }

    to {
        transform: scale(1.08);
        opacity: 1;
    }
}

.hero-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(255, 0, 0, 0.075);
    pointer-events: none;
}

.ring-one {
    width: 620px;
    height: 620px;
    animation: ringPulse 5s ease-in-out infinite;
}

.ring-two {
    width: 760px;
    height: 760px;
    animation: ringPulse 5s ease-in-out 1s infinite;
}

@keyframes ringPulse {
    0%,
    100% {
        transform: scale(0.93);
        opacity: 0.3;
    }

    50% {
        transform: scale(1.05);
        opacity: 0.75;
    }
}

.hero-content {
    width: min(100%, 1000px);
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero-badge {
    width: fit-content;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 8px 13px;
    border-radius: 999px;
    border: 1px solid rgba(255, 0, 0, 0.22);
    background: rgba(255, 0, 0, 0.055);
    color: #ff8585;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.4px;
}

.online-dot {
    width: 8px;
    height: 8px;
    display: inline-block;
    border-radius: 50%;
    background: #35ff68;
    box-shadow: 0 0 10px rgba(53, 255, 104, 0.8);
    animation: dotPulse 1.8s ease-in-out infinite;
}

@keyframes dotPulse {
    0%,
    100% {
        opacity: 0.55;
    }

    50% {
        opacity: 1;
        transform: scale(1.12);
    }
}

.hero-logo {
    width: 205px;
    height: 205px;
    margin: 0 auto 22px;
    object-fit: cover;
    border-radius: 30px;
    filter: drop-shadow(0 0 32px rgba(255, 0, 0, 0.35));
    animation: logoFloat 4s ease-in-out infinite;
}

@keyframes logoFloat {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.hero-overline {
    color: #858585;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 5px;
    margin-bottom: 5px;
}

.hero h1 {
    font-family: "Orbitron", sans-serif;
    font-size: clamp(70px, 11vw, 145px);
    line-height: 0.95;
    letter-spacing: 11px;
    font-weight: 900;
    background: linear-gradient(
        180deg,
        #ffffff 0%,
        #dadada 45%,
        #666666 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-slogan {
    margin-top: 22px;
    font-size: clamp(18px, 2vw, 25px);
    font-weight: 600;
    color: #d3d3d3;
}

.hero-slogan span {
    color: #ff4747;
}

.hero-info {
    margin-top: 26px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.hero-info span {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 13px;
    border: 1px solid rgba(255, 255, 255, 0.055);
    background: rgba(255, 255, 255, 0.022);
    border-radius: 8px;
    color: #9d9d9d;
    font-size: 12px;
    font-weight: 600;
}

.hero-info i {
    color: var(--red);
}

.hero-buttons {
    margin-top: 32px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
}

.scroll-down {
    position: absolute;
    left: 50%;
    bottom: 24px;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
    color: #555;
    font-size: 9px;
    letter-spacing: 3px;
    transition: color 0.25s ease;
}

.scroll-down:hover {
    color: white;
}

.scroll-down i {
    animation: scrollBounce 1.6s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(7px);
    }
}

/* =========================
   GLOBAL SECTION
========================= */

.section {
    width: min(90%, 1450px);
    margin: 0 auto;
    padding: 120px 0;
    position: relative;
}

.section-heading {
    text-align: center;
    margin-bottom: 65px;
}

.section-number {
    display: block;
    color: rgba(255, 0, 0, 0.33);
    font-family: "Orbitron", sans-serif;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 3px;
    margin-bottom: 7px;
}

.section-heading p {
    color: #777;
    font-size: 11px;
    letter-spacing: 5px;
    font-weight: 800;
}

.section-heading h2 {
    margin-top: 7px;
    font-family: "Orbitron", sans-serif;
    font-size: clamp(36px, 5vw, 58px);
    letter-spacing: 3px;
}

.heading-line {
    width: 75px;
    height: 3px;
    margin: 17px auto 0;
    border-radius: 99px;
    background: linear-gradient(
        90deg,
        #5d0000,
        #ff2424,
        #5d0000
    );
    box-shadow: 0 0 16px rgba(255, 0, 0, 0.4);
}

/* =========================
   ABOUT
========================= */

.about-grid {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 50px;
    align-items: start;
}

.about-main {
    padding: 15px 0;
}

.about-label {
    display: inline-block;
    color: #ff5a5a;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2.5px;
    margin-bottom: 18px;
}

.about-main h3 {
    font-size: clamp(32px, 4vw, 52px);
    line-height: 1.12;
    margin-bottom: 28px;
}

.about-main h3 span {
    color: var(--red);
}

.about-main p {
    color: var(--text-soft);
    font-size: 15px;
    line-height: 1.9;
    margin-bottom: 18px;
    max-width: 850px;
}

.about-main blockquote {
    margin-top: 27px;
    padding-left: 22px;
    border-left: 3px solid var(--red);
    color: #fff;
    font-family: "Orbitron", sans-serif;
    font-size: 15px;
    line-height: 1.8;
    letter-spacing: 1px;
}

.about-side {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.about-card {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 24px;
    border-radius: 16px;
    border: 1px solid var(--border);
    background: linear-gradient(
        145deg,
        rgba(20, 20, 20, 0.82),
        rgba(8, 8, 8, 0.88)
    );
    transition: 0.3s ease;
}

.about-card:hover {
    transform: translateX(6px);
    border-color: rgba(255, 0, 0, 0.26);
    box-shadow: 0 15px 40px rgba(255, 0, 0, 0.07);
}

.about-icon {
    min-width: 48px;
    height: 48px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    color: var(--red);
    background: rgba(255, 0, 0, 0.08);
    border: 1px solid rgba(255, 0, 0, 0.15);
}

.about-card h4 {
    font-size: 17px;
    margin-bottom: 5px;
}

.about-card p {
    color: #8d8d8d;
    font-size: 13px;
    line-height: 1.65;
}

.stats {
    margin-top: 75px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border: 1px solid var(--border);
    border-radius: 18px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.018);
}

.stat {
    padding: 38px 20px;
    text-align: center;
    border-right: 1px solid var(--border);
}

.stat:last-child {
    border-right: none;
}

.stat-number {
    display: block;
    color: var(--red);
    font-family: "Orbitron", sans-serif;
    font-size: 44px;
    font-weight: 900;
}

.stat-label {
    margin-top: 6px;
    display: block;
    color: #777;
    font-size: 10px;
    letter-spacing: 2.2px;
    font-weight: 800;
}

/* =========================
   TEAM
========================= */

.team-section {
    width: min(94%, 1550px);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 18px;
}

.player-card {
    min-width: 0;
    border-radius: 18px;
    overflow: hidden;
    background: linear-gradient(
        155deg,
        #151515,
        #090909
    );
    border: 1px solid var(--border);
    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease,
        border-color 0.35s ease;
    transform-style: preserve-3d;
}

.player-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 0, 0, 0.38);
    box-shadow:
        0 24px 55px rgba(0, 0, 0, 0.45),
        0 0 35px rgba(255, 0, 0, 0.10);
}

.player-image {
    height: 320px;
    position: relative;
    overflow: hidden;
}

.player-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
}

.player-card:hover .player-image img {
    transform: scale(1.055);
}

.player-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            to bottom,
            transparent 45%,
            rgba(8, 8, 8, 0.98) 100%
        );
}

.player-role-top {
    position: absolute;
    left: 13px;
    top: 13px;
    z-index: 2;
    padding: 6px 9px;
    border-radius: 6px;
    background: rgba(0, 0, 0, 0.72);
    border: 1px solid rgba(255, 0, 0, 0.22);
    backdrop-filter: blur(9px);
    color: #ff5a5a;
    font-size: 8px;
    letter-spacing: 1.5px;
    font-weight: 900;
}

.player-content {
    padding: 20px 18px 19px;
}

.player-content h3 {
    font-family: "Orbitron", sans-serif;
    font-size: 17px;
    letter-spacing: 0.5px;
    margin-bottom: 3px;
}

.player-role {
    display: block;
    color: var(--red);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1.6px;
    font-weight: 800;
    margin-bottom: 12px;
}

.player-content p {
    min-height: 65px;
    color: #8f8f8f;
    font-size: 12px;
    line-height: 1.65;
}

.player-socials {
    margin-top: 16px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.055);
}

.player-socials a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #bcbcbc;
    font-size: 11px;
    font-weight: 700;
    transition: 0.25s ease;
}

.player-socials a i {
    font-size: 17px;
}

.player-socials a:hover {
    color: #ff4b77;
    transform: translateX(3px);
}

/* =========================
   GALERIA
========================= */

.gallery-description {
    max-width: 700px;
    margin: -35px auto 42px;
    text-align: center;
    color: #777;
    font-size: 14px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.gallery-item {
    height: 290px;
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    border: 1px solid var(--border);
    background:
        radial-gradient(
            circle at center,
            rgba(255, 0, 0, 0.1),
            transparent 60%
        ),
        #111;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.gallery-item:hover img {
    transform: scale(1.055);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    opacity: 0;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(2px);
    transition: opacity 0.3s ease;
}

.gallery-overlay i {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(255, 0, 0, 0.16);
    border: 1px solid rgba(255, 0, 0, 0.35);
    color: white;
    font-size: 18px;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

/* =========================
   DISCORD
========================= */

.discord-section {
    width: min(90%, 1350px);
    margin: 55px auto;
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    border: 1px solid rgba(255, 0, 0, 0.16);
    background:
        linear-gradient(
            120deg,
            rgba(255, 0, 0, 0.10),
            rgba(20, 20, 20, 0.95) 38%,
            rgba(8, 8, 8, 0.98)
        );
}

.discord-glow {
    position: absolute;
    width: 400px;
    height: 400px;
    left: -160px;
    top: -160px;
    border-radius: 50%;
    background: rgba(255, 0, 0, 0.14);
    filter: blur(90px);
}

.discord-content {
    position: relative;
    z-index: 2;
    min-height: 220px;
    padding: 48px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 28px;
}

.discord-icon {
    width: 88px;
    height: 88px;
    display: grid;
    place-items: center;
    border-radius: 20px;
    background: rgba(255, 0, 0, 0.09);
    border: 1px solid rgba(255, 0, 0, 0.17);
    color: #ff5252;
    font-size: 36px;
}

.discord-content span {
    color: #ff5858;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 2.4px;
}

.discord-content h2 {
    margin-top: 3px;
    font-size: clamp(25px, 3vw, 38px);
}

.discord-content p {
    color: #8a8a8a;
    margin-top: 5px;
    font-size: 14px;
}

/* =========================
   REKRUTACJA
========================= */

.recruitment-layout {
    display: grid;
    grid-template-columns: 0.75fr 1.25fr;
    gap: 45px;
    align-items: start;
}

.recruitment-info {
    padding-top: 12px;
}

.recruitment-open {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid rgba(60, 255, 96, 0.16);
    color: #83ff99;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.3px;
}

.recruitment-info h3 {
    margin-top: 22px;
    font-size: clamp(30px, 3.5vw, 46px);
    line-height: 1.15;
}

.recruitment-info > p {
    margin-top: 18px;
    color: #929292;
    font-size: 14px;
    line-height: 1.8;
}

.requirements {
    margin-top: 26px;
    display: grid;
    gap: 11px;
}

.requirements div {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #bebebe;
    font-size: 13px;
}

.requirements i {
    width: 27px;
    height: 27px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(255, 0, 0, 0.075);
    color: var(--red);
    font-size: 10px;
}

.recruitment-form {
    padding: 32px;
    border-radius: 20px;
    background:
        linear-gradient(
            145deg,
            rgba(20, 20, 20, 0.92),
            rgba(8, 8, 8, 0.96)
        );
    border: 1px solid var(--border);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    margin-bottom: 7px;
    color: #a9a9a9;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.075);
    outline: none;
    color: white;
    background: #090909;
    border-radius: 9px;
    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.form-group input,
.form-group select {
    height: 49px;
    padding: 0 14px;
}

.form-group textarea {
    min-height: 155px;
    padding: 14px;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: rgba(255, 0, 0, 0.44);
    box-shadow: 0 0 0 4px rgba(255, 0, 0, 0.04);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #555;
}

.form-group select {
    color-scheme: dark;
}

.form-submit {
    width: 100%;
    height: 53px;
    margin-top: 3px;
    border: none;
    border-radius: 9px;
    cursor: pointer;
    color: white;
    background: linear-gradient(
        135deg,
        #ff2525,
        #980000
    );
    box-shadow: 0 12px 30px rgba(255, 0, 0, 0.18);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 11px;
    font-weight: 800;
    font-size: 12px;
    letter-spacing: 1px;
    transition: 0.3s ease;
}

.form-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 38px rgba(255, 0, 0, 0.28);
}

.form-submit:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    transform: none;
}

#form-status {
    margin-top: 16px;
    text-align: center;
    min-height: 22px;
    font-size: 12px;
    font-weight: 700;
}

#form-status.success {
    color: #55ff7d;
}

#form-status.error {
    color: #ff5151;
}

/* =========================
   FOOTER
========================= */

footer {
    margin-top: 80px;
    border-top: 1px solid rgba(255, 255, 255, 0.055);
    background: #030303;
}

.footer-top {
    width: min(90%, 1350px);
    margin: auto;
    padding: 60px 0;
    display: grid;
    grid-template-columns: 1.4fr 0.7fr 1fr 0.8fr;
    gap: 45px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-logo img {
    width: 55px;
    height: 55px;
    object-fit: cover;
    border-radius: 12px;
}

.footer-logo span {
    font-family: "Orbitron", sans-serif;
    font-size: 22px;
    letter-spacing: 5px;
    font-weight: 900;
}

.footer-brand p {
    margin-top: 17px;
    color: #666;
    font-size: 13px;
    line-height: 1.8;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.footer-column h4 {
    color: #e6e6e6;
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.footer-column a {
    color: #686868;
    font-size: 12px;
    transition: 0.25s ease;
}

.footer-column a:hover {
    color: white;
    transform: translateX(3px);
}

.footer-column i {
    width: 19px;
    color: var(--red);
}

.footer-bottom {
    width: min(90%, 1350px);
    margin: auto;
    min-height: 72px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #494949;
    font-size: 10px;
    letter-spacing: 1px;
}

/* =========================
   LIGHTBOX
========================= */

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 45px;
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(14px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: 0.3s ease;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.lightbox img {
    max-width: 92vw;
    max-height: 84vh;
    object-fit: contain;
    border-radius: 14px;
    border: 1px solid rgba(255, 0, 0, 0.22);
    box-shadow: 0 0 70px rgba(255, 0, 0, 0.13);
}

.lightbox-close {
    position: absolute;
    top: 25px;
    right: 30px;
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.045);
    color: white;
    cursor: pointer;
    font-size: 19px;
    transition: 0.25s ease;
}

.lightbox-close:hover {
    background: var(--red);
    transform: rotate(90deg);
}

/* =========================
   BACK TO TOP
========================= */

#back-to-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 45px;
    height: 45px;
    z-index: 900;
    border: 1px solid rgba(255, 0, 0, 0.2);
    border-radius: 10px;
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(10px);
    color: white;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: 0.3s ease;
}

#back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#back-to-top:hover {
    background: var(--red-dark);
}

/* =========================
   ANIMACJE SCROLL
========================= */

.reveal {
    opacity: 0;
    transform: translateY(35px);
    transition:
        opacity 0.75s ease,
        transform 0.75s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* =========================
   SELECTION + SCROLLBAR
========================= */

::selection {
    background: #a80000;
    color: white;
}

::-webkit-scrollbar {
    width: 9px;
}

::-webkit-scrollbar-track {
    background: #050505;
}

::-webkit-scrollbar-thumb {
    border-radius: 50px;
    background: linear-gradient(
        #5f0000,
        #dc1010
    );
    border: 2px solid #050505;
}

::-webkit-scrollbar-thumb:hover {
    background: #ff2525;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1250px) {
    .team-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .player-image {
        height: 360px;
    }

    .footer-top {
        grid-template-columns: 1.2fr 0.7fr 1fr;
    }

    .footer-column:last-child {
        grid-column: 2 / 4;
    }
}

@media (max-width: 1000px) {
    .nav-links {
        gap: 22px;
    }

    .nav-discord {
        display: none;
    }

    .about-grid,
    .recruitment-layout {
        grid-template-columns: 1fr;
    }

    .about-side {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
    }

    .stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .stat:nth-child(2) {
        border-right: none;
    }

    .stat:nth-child(-n + 2) {
        border-bottom: 1px solid var(--border);
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .discord-content {
        grid-template-columns: auto 1fr;
    }

    .discord-content .button {
        grid-column: 1 / 3;
        width: fit-content;
        margin-left: 116px;
    }
}

@media (max-width: 760px) {
    .navbar {
        height: 70px;
    }

    .mobile-menu-button {
        display: block;
    }

    .nav-links {
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        padding: 25px;
        background: rgba(4, 4, 4, 0.97);
        backdrop-filter: blur(16px);
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
        flex-direction: column;
        gap: 22px;
        transform: translateY(-130%);
        opacity: 0;
        pointer-events: none;
        transition: 0.3s ease;
    }

    .nav-links.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .hero {
        padding-top: 105px;
    }

    .hero-logo {
        width: 165px;
        height: 165px;
    }

    .hero h1 {
        letter-spacing: 6px;
    }

    .ring-one {
        width: 430px;
        height: 430px;
    }

    .ring-two {
        width: 540px;
        height: 540px;
    }

    .section {
        width: min(92%, 1450px);
        padding: 85px 0;
    }

    .section-heading {
        margin-bottom: 45px;
    }

    .about-side {
        grid-template-columns: 1fr;
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .player-image {
        height: 320px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-item {
        height: 310px;
    }

    .discord-content {
        padding: 35px 25px;
        grid-template-columns: 1fr;
        text-align: center;
    }

    .discord-icon {
        margin: auto;
    }

    .discord-content .button {
        grid-column: auto;
        margin: 0 auto;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
    }

    .footer-brand {
        grid-column: 1 / 3;
    }

    .footer-column:last-child {
        grid-column: auto;
    }
}

@media (max-width: 520px) {
    .hero-logo {
        width: 145px;
        height: 145px;
    }

    .hero h1 {
        font-size: 58px;
        letter-spacing: 4px;
    }

    .hero-slogan {
        font-size: 16px;
    }

    .hero-info {
        gap: 7px;
    }

    .hero-info span {
        font-size: 10px;
        padding: 8px 10px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .button {
        width: 100%;
    }

    .stats {
        grid-template-columns: 1fr;
    }

    .stat {
        border-right: none;
        border-bottom: 1px solid var(--border);
    }

    .stat:last-child {
        border-bottom: none;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }

    .player-card {
        max-width: 390px;
        width: 100%;
        margin: auto;
    }

    .player-image {
        height: 390px;
    }

    .recruitment-form {
        padding: 23px 17px;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .footer-brand {
        grid-column: auto;
    }

    .footer-bottom {
        padding: 20px 0;
        flex-direction: column;
        justify-content: center;
        gap: 7px;
        text-align: center;
    }

    .loader-logo {
        width: 145px;
        height: 145px;
    }

    .loader-name {
        font-size: 27px;
        letter-spacing: 8px;
    }
}