/* =========================
   RESET
========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #080808;
    color: white;
    font-family: 'Rajdhani', sans-serif;
    overflow-x: hidden;
}


/* =========================
   KOLORY CST
========================= */

:root {
    --black: #080808;
    --orange: #ff5b00;
    --orange-light: #ff9d00;
    --cyan: #00e5df;
    --white: #ffffff;
    --gray: #a5a5a5;
}


/* =========================
   TŁO
========================= */

.background-effects {
    position: fixed;
    inset: 0;
    z-index: -2;

    background:
        radial-gradient(
            circle at 80% 20%,
            rgba(255, 70, 0, 0.15),
            transparent 30%
        ),

        radial-gradient(
            circle at 10% 80%,
            rgba(0, 220, 220, 0.1),
            transparent 30%
        ),

        #080808;
}


/* =========================
   NAVBAR
========================= */

.navbar {
    height: 80px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 7%;

    border-bottom: 1px solid rgba(255,255,255,0.08);

    position: sticky;
    top: 0;
    z-index: 100;

    background: rgba(8,8,8,0.85);

    backdrop-filter: blur(15px);
}

.nav-logo img {
    width: 85px;
}

nav {
    display: flex;
    gap: 35px;
}

nav a {
    color: white;
    text-decoration: none;

    font-size: 14px;
    font-weight: 700;

    transition: 0.3s;
}

nav a:hover {
    color: var(--orange);
}

.discord-button {
    padding: 12px 22px;

    border: 1px solid var(--cyan);

    color: white;
    text-decoration: none;

    transition: 0.3s;
}

.discord-button:hover {
    background: var(--cyan);

    color: black;

    box-shadow: 0 0 25px var(--cyan);
}


/* =========================
   HERO
========================= */

.hero {
    min-height: 750px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 80px 10%;

    position: relative;
}

.hero-text {
    max-width: 550px;

    animation: slideLeft 1s ease;
}

.small-title {
    color: var(--orange);

    letter-spacing: 5px;

    font-weight: bold;

    margin-bottom: 20px;
}

.hero h1 {
    font-size: clamp(60px, 8vw, 120px);

    line-height: 0.9;

    font-weight: 700;
}

.hero h1 span {
    display: block;

    color: var(--orange);

    text-shadow:
        0 0 20px rgba(255,91,0,0.5);
}

.description {
    color: var(--gray);

    font-size: 18px;

    margin: 35px 0;

    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.button {
    display: inline-block;

    padding: 15px 30px;

    text-decoration: none;

    color: white;

    font-weight: bold;

    transition: 0.3s;
}

.orange-button {
    border: 1px solid var(--orange);
}

.orange-button:hover {
    background: var(--orange);

    box-shadow:
        0 0 30px rgba(255,91,0,0.5);

    transform: translateY(-5px);
}

.cyan-button {
    border: 1px solid var(--cyan);
}

.cyan-button:hover {
    background: var(--cyan);

    color: black;

    box-shadow:
        0 0 30px rgba(0,229,223,0.4);

    transform: translateY(-5px);
}


/* =========================
   LOGO
========================= */

.hero-logo {
    position: relative;

    width: 520px;

    animation:
        float 5s ease-in-out infinite;
}

.hero-logo img {
    width: 100%;

    position: relative;

    z-index: 2;
}

.logo-glow {
    position: absolute;

    width: 70%;
    height: 70%;

    background: var(--orange);

    filter: blur(100px);

    opacity: 0.2;

    top: 20%;
    left: 15%;
}


/* =========================
   SEKCJE
========================= */

.section {
    max-width: 1200px;

    margin: auto;

    padding: 100px 30px;

    opacity: 0;

    transform: translateY(50px);

    transition: 1s ease;
}

.section.show {
    opacity: 1;

    transform: translateY(0);
}

.section-title {
    display: flex;

    align-items: center;

    gap: 15px;

    margin-bottom: 50px;
}

.section-title span {
    color: var(--cyan);

    font-size: 40px;
}

.section-title h2 {
    font-size: 40px;
}


/* =========================
   O NAS
========================= */

.about-content {
    display: flex;

    justify-content: space-between;

    gap: 80px;
}

.about-text {
    max-width: 550px;
}

.about-text h3 {
    font-size: 38px;

    margin-bottom: 20px;
}

.about-text h3 span {
    color: var(--orange);
}

.about-text p {
    color: var(--gray);

    font-size: 18px;

    line-height: 1.7;

    margin-bottom: 30px;
}

.stats {
    display: flex;

    gap: 50px;
}

.stat {
    border-left: 1px solid var(--cyan);

    padding-left: 20px;
}

.stat strong {
    font-size: 50px;

    color: var(--orange);
}

.stat p {
    color: var(--gray);
}


/* =========================
   GRY
========================= */

.teams-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 20px;
}

.team-card {
    height: 280px;

    padding: 25px;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: flex-end;

    text-align: center;

    border: 1px solid rgba(0,229,223,0.4);

    position: relative;

    overflow: hidden;

    transition: 0.4s;

    background:
        radial-gradient(
            circle at 50% 20%,
            rgba(255,91,0,0.18),
            transparent 45%
        ),

        linear-gradient(
            135deg,
            #181818,
            #080808
        );
}

.team-card::before {
    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            transparent 20%,
            rgba(0,0,0,0.85)
        );

    z-index: 1;
}

.team-card::after {
    content: "";

    position: absolute;

    width: 180px;

    height: 180px;

    border-radius: 50%;

    background: var(--cyan);

    filter: blur(100px);

    opacity: 0.08;

    top: -70px;

    right: -50px;
}

.team-card img {
    width: 150px;

    height: 150px;

    object-fit: contain;

    display: block;

    position: absolute;

    top: 25px;

    left: 50%;

    transform: translateX(-50%);

    z-index: 2;

    transition: 0.4s;
}

.team-card div {
    position: relative;

    z-index: 3;
}

.team-card:hover {
    transform: translateY(-10px);

    border-color: var(--orange);

    box-shadow:
        0 0 30px rgba(255,91,0,0.3);
}

.team-card:hover img {
    transform: translateX(-50%) scale(1.08);
}

.team-card p {
    color: var(--cyan);
}

.team-card h3 {
    font-size: 35px;
}


/* =========================
   ZAWODNICY
========================= */

.players-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 25px;
}

.player-card {
    padding: 25px;

    text-align: center;

    border: 1px solid rgba(0,229,223,0.4);

    transition: 0.3s;
}

.player-card:hover {
    transform: translateY(-8px);

    border-color: var(--orange);
}

.player-image {
    height: 250px;

    background:
        radial-gradient(
            circle,

            rgba(255,91,0,0.4),

            transparent 40%
        ),

        #111;

    margin-bottom: 20px;
}

.player-card img {
    max-width: 100%;

    max-height: 250px;

    object-fit: contain;

    display: block;

    margin: 0 auto 20px;
}

.player-card h3 {
    font-size: 25px;
}

.player-card p {
    color: var(--orange);

    margin-top: 5px;
}


/* =========================
   KONTAKT
========================= */

.contact {
    text-align: center;
}

.contact p {
    color: var(--gray);

    font-size: 20px;

    margin-bottom: 30px;
}


/* =========================
   FOOTER
========================= */

footer {
    border-top: 1px solid rgba(255,255,255,0.1);

    padding: 50px 10%;

    display: flex;

    align-items: center;

    justify-content: space-between;
}

footer img {
    width: 100px;
}

footer p {
    color: var(--gray);
}


/* =========================
   ANIMACJE
========================= */

@keyframes float {

    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

@keyframes slideLeft {

    from {
        opacity: 0;

        transform: translateX(-50px);
    }

    to {
        opacity: 1;

        transform: translateX(0);
    }
}


/* =========================
   TELEFONY
========================= */

@media (max-width: 900px) {

    nav {
        display: none;
    }

    .hero {
        flex-direction: column;

        text-align: center;

        padding-top: 100px;
    }

    .hero-logo {
        width: 90%;

        margin-top: 50px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .about-content {
        flex-direction: column;
    }

    .stats {
        justify-content: center;
    }

    .teams-grid,
    .players-grid {
        grid-template-columns: 1fr;
    }

    footer {
        flex-direction: column;

        gap: 20px;

        text-align: center;
    }
}
/* =========================
   SOCIAL MEDIA
========================= */

.social-buttons {

    display: flex;

    align-items: center;

    gap: 15px;

}


.youtube-button,
.discord-button {

    padding: 12px 20px;

    color: white;

    text-decoration: none;

    font-weight: bold;

    transition: 0.3s;

}


.youtube-button {

    border: 1px solid var(--cyan);

}


.youtube-button:hover {

    background: var(--cyan);

    color: black;

    box-shadow: 0 0 25px var(--cyan);

}


.discord-button {

    border: 1px solid var(--cyan);

}


.discord-button:hover {

    background: var(--cyan);

    color: black;

    box-shadow: 0 0 25px var(--cyan);

}


/* =========================
   CONTACT
========================= */

.contact-links {

    display: flex;

    justify-content: center;

    align-items: center;

    flex-wrap: wrap;

    gap: 20px;

    margin-top: 30px;

}


.contact-links a {

    padding: 15px 25px;

    border: 1px solid rgba(0,229,223,0.5);

    color: white;

    text-decoration: none;

    transition: 0.3s;

}


.contact-links a:hover {

    border-color: var(--orange);

    color: var(--orange);

    transform: translateY(-5px);

}


/* =========================
   FOOTER LINKS
========================= */

.footer-links {

    display: flex;

    gap: 20px;

}


.footer-links a {

    color: var(--gray);

    text-decoration: none;

    transition: 0.3s;

}


.footer-links a:hover {

    color: var(--orange);

}