/* =====================================================
   REIGN 14 — PREMIUM ESPORTS CSS
   ===================================================== */

@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;600;700;800;900&display=swap');


/* =========================
   RESET
========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #030303;
    color: #ffffff;
    font-family: "Orbitron", sans-serif;
    overflow-x: hidden;
}


/* =========================
   CUSTOM SCROLLBAR
========================= */

::-webkit-scrollbar {
    width: 7px;
}

::-webkit-scrollbar-track {
    background: #030303;
}

::-webkit-scrollbar-thumb {
    background: #e50914;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #ff2633;
}


/* =========================
   BACKGROUND
========================= */

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -10;

    background:
        radial-gradient(
            circle at 15% 20%,
            rgba(229, 9, 20, 0.13),
            transparent 30%
        ),
        radial-gradient(
            circle at 85% 75%,
            rgba(255, 0, 50, 0.10),
            transparent 30%
        );

    animation: backgroundPulse 8s ease-in-out infinite alternate;
}

@keyframes backgroundPulse {
    from {
        opacity: 0.7;
    }

    to {
        opacity: 1;
    }
}


/* GRID */

.bg-grid {
    position: fixed;
    inset: 0;
    z-index: -9;
    pointer-events: none;

    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.025) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.025) 1px,
            transparent 1px
        );

    background-size: 55px 55px;

    mask-image: linear-gradient(
        to bottom,
        black,
        transparent 90%
    );
}


/* =========================
   GLOW EFFECTS
========================= */

.glow {
    position: fixed;

    width: 500px;
    height: 500px;

    border-radius: 50%;

    filter: blur(140px);

    opacity: 0.15;

    pointer-events: none;

    z-index: -8;
}

.glow-1 {
    background: #e50914;

    top: -250px;
    left: -250px;
}

.glow-2 {
    background: #ff003c;

    right: -250px;
    bottom: -250px;
}


/* =========================
   NAVBAR
========================= */

.navbar {
    position: fixed;

    top: 0;
    left: 0;

    width: 100%;
    height: 82px;

    padding: 0 7%;

    display: flex;
    align-items: center;
    justify-content: space-between;

    z-index: 1000;

    background: rgba(3, 3, 3, 0.72);

    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);

    border-bottom: 1px solid rgba(255, 0, 30, 0.12);

    transition: 0.4s ease;
}


/* LOGO */

.logo {
    font-size: 21px;

    font-weight: 900;

    letter-spacing: 3px;

    white-space: nowrap;
}

.logo span {
    color: #e50914;

    text-shadow:
        0 0 15px rgba(229, 9, 20, 0.7);
}

.logo b {
    color: #e50914;
}


/* NAVIGATION */

nav {
    display: flex;

    align-items: center;

    gap: 32px;
}

nav a {
    position: relative;

    color: #8d8d8d;

    text-decoration: none;

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 2px;

    transition: 0.3s ease;
}

nav a::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: -8px;

    width: 0;
    height: 2px;

    background: #e50914;

    box-shadow: 0 0 10px #e50914;

    transition: 0.3s ease;
}

nav a:hover {
    color: #ffffff;
}

nav a:hover::after {
    width: 100%;
}


/* JOIN BUTTON */

.join-btn {
    position: relative;

    padding: 12px 22px;

    color: #ffffff;

    background: transparent;

    border: 1px solid #e50914;

    font-family: inherit;

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 2px;

    cursor: pointer;

    overflow: hidden;

    transition: 0.35s ease;
}

.join-btn::before {
    content: "";

    position: absolute;

    inset: 0;

    background: #e50914;

    transform: translateX(-105%);

    transition: 0.35s ease;

    z-index: -1;
}

.join-btn:hover::before {
    transform: translateX(0);
}

.join-btn:hover {
    box-shadow:
        0 0 25px rgba(229, 9, 20, 0.35);
}


/* =========================
   HERO
========================= */

.hero {
    min-height: 100vh;

    padding: 150px 8% 100px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    position: relative;

    overflow: hidden;
}


/* HERO CONTENT */

.hero-content {
    max-width: 800px;

    animation: heroReveal 1s ease forwards;
}

@keyframes heroReveal {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* SMALL TITLE */

.small-title {
    color: #e50914;

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 5px;

    margin-bottom: 25px;

    text-shadow:
        0 0 15px rgba(229, 9, 20, 0.5);
}


/* HERO TITLE */

.hero h1 {
    font-size: clamp(75px, 12vw, 165px);

    line-height: 0.82;

    font-weight: 900;

    letter-spacing: -8px;

    color: #ffffff;

    text-shadow:
        0 0 40px rgba(255, 255, 255, 0.05);

    user-select: none;
}

.hero h1 span {
    color: #e50914;

    text-shadow:
        0 0 20px rgba(229, 9, 20, 0.8),
        0 0 60px rgba(229, 9, 20, 0.3);
}


/* HERO SUBTITLE */

.hero h2 {
    margin-top: 32px;

    font-size: 17px;

    font-weight: 700;

    letter-spacing: 5px;

    color: #f0f0f0;
}


/* HERO TEXT */

.hero-text {
    max-width: 600px;

    margin-top: 22px;

    color: #777777;

    font-size: 12px;

    line-height: 2;

    letter-spacing: 0.5px;
}


/* HERO BUTTONS */

.hero-buttons {
    display: flex;

    gap: 15px;

    margin-top: 38px;
}


/* PRIMARY BUTTON */

.primary-btn {
    position: relative;

    padding: 16px 30px;

    border: none;

    background: #e50914;

    color: #ffffff;

    font-family: inherit;

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 2px;

    cursor: pointer;

    overflow: hidden;

    transition: 0.35s ease;
}

.primary-btn::before {
    content: "";

    position: absolute;

    top: 0;
    left: -100%;

    width: 100%;
    height: 100%;

    background: rgba(255, 255, 255, 0.15);

    transition: 0.4s ease;
}

.primary-btn:hover::before {
    left: 100%;
}

.primary-btn:hover {
    transform: translateY(-4px);

    box-shadow:
        0 12px 35px rgba(229, 9, 20, 0.35);
}


/* SECONDARY BUTTON */

.secondary-btn {
    padding: 16px 30px;

    border: 1px solid #303030;

    background: rgba(255, 255, 255, 0.02);

    color: #ffffff;

    font-family: inherit;

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 2px;

    cursor: pointer;

    transition: 0.35s ease;
}

.secondary-btn:hover {
    border-color: #e50914;

    color: #e50914;

    background: rgba(229, 9, 20, 0.05);

    transform: translateY(-4px);
}


/* =========================
   R14 SYMBOL
========================= */

.hero-symbol {
    margin-right: 4%;

    animation: symbolAppear 1.2s ease forwards;
}

@keyframes symbolAppear {
    from {
        opacity: 0;
        transform: scale(0.7) rotate(-20deg);
    }

    to {
        opacity: 1;
        transform: scale(1) rotate(0);
    }
}

.symbol-ring {
    width: 320px;
    height: 320px;

    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(229, 9, 20, 0.4);

    border-radius: 50%;

    box-shadow:
        0 0 50px rgba(229, 9, 20, 0.08),
        inset 0 0 50px rgba(229, 9, 20, 0.08);

    animation: ringRotate 15s linear infinite;
}

.symbol-ring::before {
    content: "";

    position: absolute;

    width: 235px;
    height: 235px;

    border: 1px solid rgba(229, 9, 20, 0.7);

    border-radius: 50%;

    box-shadow:
        0 0 30px rgba(229, 9, 20, 0.15);
}

.symbol-ring::after {
    content: "";

    position: absolute;

    width: 10px;
    height: 10px;

    top: 18px;
    left: 50%;

    transform: translateX(-50%);

    background: #e50914;

    border-radius: 50%;

    box-shadow:
        0 0 20px #e50914,
        0 0 40px #e50914;
}

.symbol-ring span {
    color: #e50914;

    font-size: 52px;

    font-weight: 900;

    text-shadow:
        0 0 20px rgba(229, 9, 20, 0.8);

    animation: ringText 15s linear infinite;
}

@keyframes ringRotate {
    to {
        transform: rotate(360deg);
    }
}

@keyframes ringText {
    to {
        transform: rotate(-360deg);
    }
}


/* =========================
   STATS
========================= */

.stats {
    position: relative;

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    padding: 45px 8%;

    background: rgba(255, 255, 255, 0.015);

    border-top: 1px solid #171717;
    border-bottom: 1px solid #171717;
}

.stat {
    text-align: center;

    border-right: 1px solid #202020;

    padding: 10px;
}

.stat:last-child {
    border-right: none;
}

.stat h3 {
    color: #e50914;

    font-size: 40px;

    font-weight: 900;

    text-shadow:
        0 0 20px rgba(229, 9, 20, 0.3);
}

.stat p {
    margin-top: 10px;

    color: #555555;

    font-size: 9px;

    font-weight: 700;

    letter-spacing: 3px;
}


/* =========================
   SECTION
========================= */

.section {
    padding: 130px 8%;
}

.section-heading {
    margin-bottom: 60px;
}

.section-heading p {
    color: #e50914;

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 4px;

    margin-bottom: 15px;
}

.section-heading h2 {
    font-size: clamp(32px, 5vw, 58px);

    font-weight: 900;

    letter-spacing: -2px;
}

.section-heading h2 span {
    color: #e50914;

    text-shadow:
        0 0 25px rgba(229, 9, 20, 0.3);
}


/* =========================
   ABOUT CARDS
========================= */

.about-container {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 22px;
}

.about-card {
    position: relative;

    min-height: 280px;

    padding: 42px;

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,0.045),
            rgba(255,255,255,0.01)
        );

    border: 1px solid #1d1d1d;

    overflow: hidden;

    transition: 0.4s ease;
}

.about-card::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 3px;
    height: 0;

    background: #e50914;

    box-shadow:
        0 0 15px #e50914;

    transition: 0.4s ease;
}

.about-card:hover::before {
    height: 100%;
}

.about-card:hover {
    transform: translateY(-10px);

    border-color: rgba(229, 9, 20, 0.35);

    background:
        linear-gradient(
            145deg,
            rgba(229,9,20,0.07),
            rgba(255,255,255,0.01)
        );

    box-shadow:
        0 20px 50px rgba(0,0,0,0.3);
}

.card-icon {
    color: #e50914;

    font-size: 12px;

    font-weight: 800;

    margin-bottom: 35px;
}

.about-card h3 {
    font-size: 20px;

    margin-bottom: 18px;

    letter-spacing: 2px;
}

.about-card p {
    color: #686868;

    font-size: 11px;

    line-height: 2;
}


/* =========================
   ROSTER
========================= */

.roster-section {
    position: relative;

    background:
        linear-gradient(
            180deg,
            #050505,
            #080808,
            #050505
        );
}

.roster {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 20px;
}


/* PLAYER CARD */

.player-card {
    position: relative;

    min-height: 390px;

    padding: 25px;

    text-align: center;

    overflow: hidden;

    background:
        linear-gradient(
            160deg,
            rgba(255,255,255,0.045),
            rgba(255,0,0,0.01)
        );

    border: 1px solid #1d1d1d;

    transition:
        transform 0.25s ease,
        border 0.3s ease,
        box-shadow 0.3s ease;
}

.player-card::before {
    content: "";

    position: absolute;

    width: 180px;
    height: 180px;

    top: -100px;
    right: -100px;

    background: #e50914;

    border-radius: 50%;

    filter: blur(100px);

    opacity: 0.12;

    transition: 0.4s ease;
}

.player-card:hover::before {
    opacity: 0.25;
}

.player-card:hover {
    border-color: rgba(229, 9, 20, 0.5);

    box-shadow:
        0 20px 50px rgba(0,0,0,0.4);
}

.player-number {
    position: absolute;

    top: 18px;
    left: 20px;

    color: #303030;

    font-size: 12px;

    font-weight: 800;
}


/* PLAYER AVATAR */

.player-avatar {
    width: 145px;
    height: 145px;

    margin: 45px auto 28px;

    display: flex;

    align-items: center;
    justify-content: center;

    position: relative;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            #330000,
            #0b0b0b 70%
        );

    border: 1px solid rgba(229, 9, 20, 0.45);

    color: #e50914;

    font-size: 48px;

    font-weight: 900;

    box-shadow:
        0 0 35px rgba(229, 9, 20, 0.08);
}

.player-avatar::before {
    content: "";

    position: absolute;

    inset: -7px;

    border-radius: 50%;

    border: 1px dashed rgba(229, 9, 20, 0.3);

    animation: avatarSpin 10s linear infinite;
}

@keyframes avatarSpin {
    to {
        transform: rotate(360deg);
    }
}

.player-card h3 {
    font-size: 17px;

    letter-spacing: 2px;
}

.player-card p {
    color: #e50914;

    font-size: 9px;

    font-weight: 700;

    letter-spacing: 3px;

    margin: 12px 0;
}

.player-card span {
    color: #444444;

    font-size: 8px;

    letter-spacing: 2px;
}


/* =========================
   GUILD SECTION
========================= */

.guild-section {
    min-height: 620px;

    padding: 130px 8%;

    display: flex;

    align-items: center;

    position: relative;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 70% 50%,
            rgba(229,9,20,0.13),
            transparent 35%
        ),
        #050505;
}

.guild-section::before {
    content: "R14";

    position: absolute;

    right: 4%;
    top: 50%;

    transform: translateY(-50%);

    font-size: 300px;

    font-weight: 900;

    color: rgba(255,255,255,0.015);

    pointer-events: none;
}

.guild-content {
    max-width: 800px;

    position: relative;

    z-index: 2;
}

.guild-content h2 {
    font-size: clamp(38px, 6vw, 75px);

    line-height: 1.05;

    font-weight: 900;

    letter-spacing: -3px;

    margin-bottom: 30px;
}

.guild-content h2 span {
    color: #e50914;

    text-shadow:
        0 0 30px rgba(229, 9, 20, 0.3);
}

.guild-content > p:not(.small-title) {
    max-width: 650px;

    color: #777777;

    font-size: 12px;

    line-height: 2;

    margin-bottom: 35px;
}


/* =========================
   CONTACT
========================= */

.contact-section {
    text-align: center;

    background: #030303;
}

.contact-section .section-heading {
    margin-bottom: 45px;
}

.contact-box {
    max-width: 750px;

    margin: auto;

    padding: 65px 35px;

    position: relative;

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,0.04),
            rgba(255,255,255,0.01)
        );

    border: 1px solid #1d1d1d;

    overflow: hidden;
}

.contact-box::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 2px;

    background: linear-gradient(
        90deg,
        transparent,
        #e50914,
        transparent
    );
}

.contact-box h3 {
    font-size: 18px;

    margin-bottom: 18px;

    letter-spacing: 1px;
}

.contact-box p {
    max-width: 500px;

    margin: 0 auto 30px;

    color: #666666;

    font-size: 11px;

    line-height: 2;
}


/* =========================
   FOOTER
========================= */

footer {
    padding: 55px 8%;

    text-align: center;

    border-top: 1px solid #161616;

    background: #020202;
}

.footer-logo {
    font-size: 26px;

    font-weight: 900;

    letter-spacing: 5px;
}

.footer-logo span {
    color: #e50914;
}

footer p {
    margin-top: 16px;

    color: #444444;

    font-size: 8px;

    letter-spacing: 2px;
}

footer .footer-small {
    color: #292929;
}


/* =========================
   SELECTION
========================= */

::selection {
    background: #e50914;

    color: #ffffff;
}


/* =========================
   RESPONSIVE — TABLET
========================= */

@media (max-width: 1000px) {

    .navbar {
        padding: 0 5%;
    }

    nav {
        gap: 18px;
    }

    .hero {
        padding-left: 6%;
        padding-right: 6%;
    }

    .hero-symbol {
        margin-right: 0;
    }

    .symbol-ring {
        width: 240px;
        height: 240px;
    }

    .symbol-ring::before {
        width: 175px;
        height: 175px;
    }

    .symbol-ring span {
        font-size: 40px;
    }

    .about-container {
        grid-template-columns: 1fr;
    }

    .roster {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* =========================
   RESPONSIVE — MOBILE
========================= */

@media (max-width: 700px) {

    .navbar {
        height: 70px;

        padding: 0 5%;
    }

    nav {
        display: none;
    }

    .join-btn {
        padding: 10px 15px;

        font-size: 8px;
    }


    .hero {
        min-height: 100vh;

        padding: 130px 5% 80px;

        text-align: center;

        justify-content: center;
    }

    .hero-content {
        width: 100%;
    }

    .hero h1 {
        font-size: clamp(65px, 20vw, 100px);

        letter-spacing: -5px;
    }

    .hero h2 {
        font-size: 11px;

        line-height: 1.8;

        letter-spacing: 2px;
    }

    .hero-text {
        font-size: 10px;

        line-height: 1.8;
    }

    .hero-buttons {
        justify-content: center;

        flex-wrap: wrap;
    }

    .hero-symbol {
        display: none;
    }


    .stats {
        grid-template-columns: repeat(2, 1fr);

        padding: 35px 5%;

        gap: 25px;
    }

    .stat {
        border-right: none;
    }

    .stat h3 {
        font-size: 30px;
    }

    .stat p {
        font-size: 7px;
    }


    .section {
        padding: 90px 5%;
    }

    .section-heading {
        margin-bottom: 40px;
    }

    .section-heading h2 {
        font-size: 32px;
    }


    .about-card {
        min-height: auto;

        padding: 30px;
    }


    .roster {
        grid-template-columns: 1fr;
    }

    .player-card {
        min-height: 360px;
    }


    .guild-section {
        min-height: 550px;

        padding: 90px 5%;
    }

    .guild-section::before {
        font-size: 180px;

        right: -20px;
    }

    .guild-content h2 {
        font-size: 40px;

        letter-spacing: -2px;
    }


    .contact-box {
        padding: 45px 25px;
    }
}


/* =========================
   SMALL MOBILE
========================= */

@media (max-width: 400px) {

    .logo {
        font-size: 16px;
    }

    .hero h1 {
        font-size: 62px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .primary-btn,
    .secondary-btn {
        width: 100%;
    }

    .stats {
        gap: 15px;
    }

    .stat h3 {
        font-size: 25px;
    }

    .guild-content h2 {
        font-size: 33px;
    }
}/* =========================================
   REIGN 14 MANAGEMENT
========================================= */

.management-section {
    width: 100%;
    min-height: 100vh;

    padding: 130px 6% 100px;

    background:
        radial-gradient(
            circle at 50% 30%,
            rgba(229, 9, 20, 0.10),
            transparent 45%
        ),
        #030303;

    display: flex;
    flex-direction: column;
    align-items: center;

    overflow: hidden;
}


/* TITLE */

.management-title {
    width: 100%;
    text-align: center;

    margin-bottom: 70px;
}

.management-title p {
    color: #e50914;

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 5px;

    margin-bottom: 18px;
}

.management-title h2 {
    margin: 0;

    color: white;

    font-size: clamp(38px, 6vw, 75px);

    font-weight: 900;

    letter-spacing: -3px;
}

.management-title h2 span {
    color: #e50914;

    text-shadow:
        0 0 25px rgba(229, 9, 20, 0.5);
}


/* GRID */

.management-grid {
    width: 100%;
    max-width: 1200px;

    margin: 0 auto;

    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 25px;

    justify-items: stretch;
}


/* CARD */

.management-card {
    position: relative;

    min-height: 300px;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    text-align: center;

    padding: 35px 20px;

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,0.045),
            rgba(255,0,0,0.015)
        );

    border: 1px solid #222;

    transition: 0.4s ease;

    overflow: hidden;
}


/* CARD TOP LINE */

.management-card::before {
    content: "";

    position: absolute;

    top: 0;
    left: 50%;

    width: 0;
    height: 2px;

    background: #e50914;

    transform: translateX(-50%);

    box-shadow: 0 0 20px #e50914;

    transition: 0.4s ease;
}

.management-card:hover::before {
    width: 100%;
}


/* CARD HOVER */

.management-card:hover {
    transform: translateY(-10px);

    border-color: rgba(229, 9, 20, 0.5);

    box-shadow:
        0 20px 50px rgba(0,0,0,0.5),
        0 0 25px rgba(229,9,20,0.08);
}


/* NUMBER */

.management-card > span {
    position: absolute;

    top: 15px;
    left: 18px;

    color: #333;

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 2px;
}


/* ICON */

.management-icon {
    width: 105px;
    height: 105px;

    display: flex;

    align-items: center;
    justify-content: center;

    margin-bottom: 25px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            #3b0000,
            #080808 70%
        );

    border: 1px solid rgba(229, 9, 20, 0.55);

    color: #e50914;

    font-size: 27px;

    font-weight: 900;

    box-shadow:
        0 0 35px rgba(229, 9, 20, 0.12);
}


/* ROLE */

.management-card small {
    color: #e50914;

    font-size: 9px;

    font-weight: 800;

    letter-spacing: 4px;

    margin-bottom: 10px;
}


/* NAME */

.management-card h3 {
    margin: 0;

    color: #ffffff;

    font-size: 21px;

    font-weight: 900;

    letter-spacing: 2px;
}


/* =========================================
   LAST CARD CENTER
========================================= */

.management-card:last-child {
    grid-column: 2;
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 900px) {

    .management-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .management-card:last-child {
        grid-column: 1 / -1;

        width: 100%;
        max-width: 380px;

        justify-self: center;
    }

}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 600px) {

    .management-section {
        padding: 100px 5% 70px;
    }

    .management-title {
        margin-bottom: 45px;
    }

    .management-title h2 {
        font-size: 38px;

        letter-spacing: -2px;
    }

    .management-grid {
        grid-template-columns: 1fr;

        max-width: 380px;
    }

    .management-card:last-child {
        grid-column: auto;

        max-width: none;
    }

}