/* =========================================
   WE HAPPY FEW
   World of Warcraft Forever
   ========================================= */

:root {
    --bg: #05080c;
    --bg-soft: #080d13;
    --bg-card: #0b121a;

    --blue: #79caff;
    --blue-bright: #a8ddff;
    --blue-dark: #286487;

    --text: #edf6fc;
    --text-muted: #91a4b2;
    --text-dim: #60717e;

    --border: rgba(121, 202, 255, 0.18);
    --border-strong: rgba(121, 202, 255, 0.42);

    --max-width: 1180px;
}


/* =========================================
   RESET
   ========================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family:
        Inter,
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}


/* =========================================
   HEADER
   ========================================= */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 72px;
    z-index: 9999;

    background: #111827;
    border-bottom: 2px solid #79caff;

    display: block !important;
}

.nav-container {
    width: min(var(--max-width), calc(100% - 48px));
    height: 72px;
    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.brand {
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.18em;
    white-space: nowrap;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;

    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;

    color: var(--text-muted);
}

.nav-links a {
    transition:
        color 0.18s ease,
        opacity 0.18s ease,
        text-shadow 0.18s ease;
}

.nav-links a:hover {
    color: #ffffff;
    opacity: 1;
    text-shadow: 0 0 18px rgba(121, 202, 255, 0.35);
}


/* =========================================
   HERO
   ========================================= */

.hero {
    min-height: 100vh;
    min-height: 100svh;

    position: relative;
    overflow: hidden;

    display: flex;
    align-items: center;
    justify-content: center;

    background:
        linear-gradient(
            90deg,
            rgba(5, 8, 12, 0.92) 0%,
            rgba(5, 8, 12, 0.68) 35%,
            rgba(5, 8, 12, 0.25) 70%,
            rgba(5, 8, 12, 0.55) 100%
        ),
        url("Images/hero.jpg") 85% center / cover no-repeat;
}

.hero::before {
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            to bottom,
            rgba(5, 8, 12, 0.15),
            transparent 25%,
            transparent 65%,
            rgba(5, 8, 12, 0.9) 100%
        );

    pointer-events: none;
}

.hero::after {
    content: none;
}

.hero-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            to bottom,
            rgba(5, 8, 12, 0.35),
            transparent 20%,
            transparent 70%,
            rgba(5, 8, 12, 1) 100%
        );

    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;

    width: min(var(--max-width), calc(100% - 48px));

    padding-top: 72px;
}

.eyebrow,
.section-label {
    color: var(--blue);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.hero h1 {
    margin-top: 16px;

    font-size: clamp(4rem, 9vw, 8.5rem);
    line-height: 0.9;
    font-weight: 900;
    letter-spacing: -0.055em;

    text-shadow:
        0 0 50px rgba(121, 202, 255, 0.12);
}

.hero-divider {
    width: 90px;
    height: 2px;

    margin: 30px 0 20px;

    background: var(--blue);

    box-shadow:
        0 0 18px rgba(121, 202, 255, 0.55);
}

.hero-subtitle {
    color: var(--blue-bright);

    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.18em;
}

.hero-description {
    max-width: 580px;

    margin-top: 22px;

    color: #b8c8d3;

    font-size: clamp(16px, 2vw, 19px);
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;

    margin-top: 34px;
}


/* =========================================
   BUTTONS
   ========================================= */

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 48px;
    padding: 0 24px;

    border-radius: 2px;

    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.13em;

    transition:
        transform 0.18s ease,
        filter 0.18s ease,
        background 0.18s ease,
        box-shadow 0.18s ease,
        border-color 0.18s ease;
}

.button:hover {
    transform: translateY(-2px);
    filter: brightness(1.08);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.28);
}

.button:active {
    transform: translateY(0);
}


/* DISCORD BUTTON */

.discord-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;

    min-height: 48px;
    padding: 0 24px;

    background: #5865F2;
    color: #ffffff;

    border: 1px solid #5865F2;
    border-radius: 4px;
}

.discord-button:hover {
    background: #4752C4;
    border-color: #4752C4;
    color: #ffffff;
}

.discord-icon {
    display: block;

    width: 18px;
    height: 18px;

    min-width: 18px;
    min-height: 18px;

    max-width: 18px;
    max-height: 18px;

    flex: 0 0 18px;

    object-fit: contain;
    object-position: center;
}


/* =========================================
   HERO SCROLL
   ========================================= */

.hero-scroll {
    position: absolute;
    z-index: 2;

    bottom: 32px;
    left: 50%;

    transform: translateX(-50%);

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;

    color: var(--text-dim);

    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.2em;
}

.scroll-line {
    width: 1px;
    height: 42px;

    background:
        linear-gradient(
            to bottom,
            var(--blue),
            transparent
        );
}


/* =========================================
   GENERAL SECTIONS
   ========================================= */

.section {
    position: relative;

    padding: 120px 0;

    border-top: 1px solid rgba(121, 202, 255, 0.07);
}

.section-inner {
    width: min(var(--max-width), calc(100% - 48px));
    margin: 0 auto;
}

.section h2 {
    margin-top: 12px;

    font-size: clamp(2.5rem, 5vw, 4.8rem);
    line-height: 1;
    letter-spacing: -0.045em;
}

.section-rule {
    width: 70px;
    height: 1px;

    margin: 28px 0;

    background: var(--blue);

    box-shadow:
        0 0 14px rgba(121, 202, 255, 0.45);
}

.large-copy {
    max-width: 800px;

    color: var(--text);

    font-size: clamp(20px, 3vw, 29px);
    line-height: 1.45;
}


/* =========================================
   COUNTDOWN
   ========================================= */

.countdown-section {
    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            #071019,
            #05080c 60%
        );
}

.countdown-section::before {
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(121, 202, 255, 0.035),
            transparent
        );

    pointer-events: none;
}

.countdown-inner {
    text-align: center;
}

.countdown-inner .section-label {
    display: block;
}

.countdown-date {
    margin-top: 20px;

    color: var(--text-muted);

    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.15em;
}

.countdown-grid {
    display: flex;
    align-items: center;
    justify-content: center;

    margin-top: 55px;
}

.countdown-unit {
    min-width: 130px;
}

.countdown-number {
    display: block;

    color: var(--blue-bright);

    font-size: clamp(3rem, 7vw, 6rem);
    font-weight: 800;
    line-height: 0.95;
    letter-spacing: -0.06em;

    text-shadow:
        0 0 35px rgba(121, 202, 255, 0.18);
}

.countdown-label {
    display: block;

    margin-top: 12px;

    color: var(--text-dim);

    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.18em;
}

.countdown-separator {
    margin: 0 12px 25px;

    color: var(--blue-dark);

    font-size: 40px;
    font-weight: 300;
}

.countdown-message {
    margin-top: 42px;

    color: var(--text-muted);

    font-size: 14px;
}


/* =========================================
   RECRUITMENT
   ========================================= */

.class-recruitment {
    margin-top: 50px;
    padding: 24px 28px 32px;

    background: rgba(11, 18, 26, 0.55);

    border: 1px solid rgba(121, 202, 255, 0.08);
    border-radius: 6px;
}

.class-recruitment-label {
    margin: 0 0 28px;

    color: #79caff;

    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-align: center;
}


/* =========================================
   CLASS GRID
   ========================================= */

.class-spec-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px 28px;

    width: 100%;
    max-width: 1000px;

    margin: 0 auto;
}

.class-spec-row {
    display: flex;
    flex-direction: column;
    align-items: center;

    min-width: 0;
}

.class-name {
    margin: 0 0 10px;

    font-size: 0.86rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    line-height: 1;
    text-align: center;
    text-transform: uppercase;
}


/* =========================================
   CLASS NAME COLORS
   ========================================= */

.class-spec-row:nth-child(1) .class-name {
    color: #ff7c0a;
}

.class-spec-row:nth-child(2) .class-name {
    color: #aad372;
}

.class-spec-row:nth-child(3) .class-name {
    color: #68ccff;
}

.class-spec-row:nth-child(4) .class-name {
    color: #f58cba;
}

.class-spec-row:nth-child(5) .class-name {
    color: #ffffff;
}

.class-spec-row:nth-child(6) .class-name {
    color: #fff468;
}

.class-spec-row:nth-child(7) .class-name {
    color: #0070dd;
}

.class-spec-row:nth-child(8) .class-name {
    color: #a330c9;
}

.class-spec-row:nth-child(9) .class-name {
    color: #c69b6d;
}


/* =========================================
   SPEC GROUPS
   ========================================= */

.class-specs {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    min-width: 0;
    padding: 7px 10px 15px;

    border: 1px solid transparent;
    border-radius: 7px;
}


/* CLASS-COLORED GROUP BOXES */

.class-spec-row:nth-child(1) .class-specs {
    background: rgba(255, 124, 10, 0.06);
    border-color: rgba(255, 124, 10, 0.16);
}

.class-spec-row:nth-child(2) .class-specs {
    background: rgba(170, 211, 114, 0.06);
    border-color: rgba(170, 211, 114, 0.16);
}

.class-spec-row:nth-child(3) .class-specs {
    background: rgba(104, 204, 255, 0.06);
    border-color: rgba(104, 204, 255, 0.16);
}

.class-spec-row:nth-child(4) .class-specs {
    background: rgba(245, 140, 186, 0.06);
    border-color: rgba(245, 140, 186, 0.16);
}

.class-spec-row:nth-child(5) .class-specs {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.12);
}

.class-spec-row:nth-child(6) .class-specs {
    background: rgba(255, 244, 104, 0.06);
    border-color: rgba(255, 244, 104, 0.16);
}

.class-spec-row:nth-child(7) .class-specs {
    background: rgba(0, 112, 221, 0.06);
    border-color: rgba(0, 112, 221, 0.16);
}

.class-spec-row:nth-child(8) .class-specs {
    background: rgba(163, 48, 201, 0.06);
    border-color: rgba(163, 48, 201, 0.16);
}

.class-spec-row:nth-child(9) .class-specs {
    background: rgba(198, 155, 109, 0.06);
    border-color: rgba(198, 155, 109, 0.16);
}


/* =========================================
   SPEC ENTRY
   ========================================= */

.spec-entry {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 76px;
    width: 76px;
    height: 70px;

    padding: 5px 8px;

    border: 1px solid transparent;
    border-radius: 7px;

    text-decoration: none;

    /*
     * Creates an isolated stacking context so the
     * ribbon, spec icon, role icon, and tooltip
     * layer predictably.
     */
    isolation: isolate;

    transition:
        transform 0.2s ease,
        background 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.spec-entry:hover {
    transform: translateY(-2px);
    filter: brightness(1.08);
}

.spec-entry {
    cursor: pointer;
}

.spec-entry:hover .spec-icon {
    filter: brightness(1.08);
}

/* SPEC ICON */

.spec-entry .spec-icon {
    position: relative;

    width: 56px;
    height: 56px;

    object-fit: contain;
    border-radius: 6px;

    z-index: 2;
}


/* ROLE ICON */

.spec-entry .role-icon {
    position: absolute;
    left: 50%;
    top: 62px;

    width: 16px;
    height: 16px;

    margin: 0;
    padding: 0;

    transform: translateX(-50%);

    object-fit: contain;
    object-position: center;

    display: block;

    z-index: 3;
    pointer-events: none;
}


/* =========================================
   ROLE RIBBONS
   ========================================= */

.spec-entry.tank-spec::before,
.spec-entry.healer-spec::before {
    content: "";

    position: absolute;
    left: 50%;
    top: -3px;

    width: 16px;
    height: 82px;

    transform: translateX(-50%);

    z-index: 1;

    box-shadow:
        0 3px 5px rgba(0, 0, 0, 0.25);

    clip-path: polygon(
        0 0,
        100% 0,
        100% 94%,
        50% 100%,
        0 94%
    );

    pointer-events: none;
}


/* TANK RIBBON */

.spec-entry.tank-spec::before {
    background: linear-gradient(
        to right,
        #123C73,
        #174A8B 45%,
        #1B559B
    );

    border-left: 1px solid #2865A8;
    border-right: 1px solid #2865A8;
    border-bottom: 1px solid #2865A8;
}


/* HEALER RIBBON */

.spec-entry.healer-spec::before {
    background: linear-gradient(
        to right,
        #21643E,
        #287A4B 45%,
        #318856
    );

    border-left: 1px solid #3C9662;
    border-right: 1px solid #3C9662;
    border-bottom: 1px solid #3C9662;
}


/* =========================================
   SPEC TOOLTIP
   ========================================= */

.spec-entry::after {
    content: attr(data-tooltip);

    position: absolute;

    bottom: -34px;
    left: 50%;

    transform: translateX(-50%);

    padding: 6px 9px;

    background: #0b121a;

    border: 1px solid rgba(121, 202, 255, 0.25);
    border-radius: 4px;

    color: #dce8f2;

    font-size: 0.7rem;
    font-weight: 600;

    white-space: nowrap;

    opacity: 0;
    pointer-events: none;

    transition: opacity 0.15s ease;

    z-index: 10;
}

.spec-entry:hover::after {
    opacity: 1;
}


/* =========================================
   RECRUITMENT CTA
   ========================================= */

.recruitment-cta {
    margin-top: 34px;

    text-align: center;
}

.recruitment-cta p {
    margin: 0 0 14px;

    color: #9fb2c2;

    font-size: 0.9rem;
}

.recruitment-cta .discord-button {
    width: auto;
}


/* =========================================
   LEADERSHIP
   ========================================= */

.leadership-section {
    background:
        radial-gradient(
            ellipse at 15% 50%,
            rgba(32, 92, 127, 0.09),
            transparent 55%
        ),
        var(--bg);
}

.leadership-card {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;

    padding: 32px;
}

.leader-mark {
    flex-shrink: 0;
}

.leader-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    text-align: center;
}

.leader-name {
    font-size: 20px;
    font-weight: 700;
}

.leader-title {
    margin-top: 3px;

    color: var(--blue);

    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.leadership-photo {
    width: 120px;
    height: 120px;

    object-fit: cover;
    border-radius: 50%;

    border: 1px solid rgba(121, 202, 255, 0.35);

    box-shadow:
        0 0 24px rgba(121, 202, 255, 0.12);
}

.leader-email-link {
    display: inline-block;

    margin-top: 16px;

    color: #79caff;

    text-decoration: underline;
    text-underline-offset: 3px;

    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.leader-email-link:hover {
    color: #a8ddff;
}


/* =========================================
   FOOTER
   ========================================= */

.site-footer {
    border-top: 1px solid var(--border);

    background: #030507;
}

.footer-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 8px 250px;
}

.footer-inner > span {
    color: var(--blue);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.legal-disclaimer {
    flex-basis: 100%;
    margin: 8px 0 0;
    padding-top: 10px;
    border-top: 1px solid rgba(121, 202, 255, 0.08);
    color: var(--text-dim);
    font-size: 0.65rem;
    line-height: 1.5;
    text-align: center;
}

/* =========================================
   MOBILE
   ========================================= */

@media (max-width: 1000px) {
    .class-spec-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


@media (max-width: 800px) {

    .nav-container {
        width: min(var(--max-width), calc(100% - 32px));
    }

    .nav-links {
        display: none;
    }

    .hero-content,
    .section-inner {
        width: calc(100% - 32px);
    }

    .hero h1 {
        font-size: clamp(3.5rem, 16vw, 6rem);
    }

    .hero-description {
        max-width: 500px;
    }

    .hero-scroll {
        display: none;
    }

    .section {
        padding: 85px 0;
    }

    .countdown-grid {
        gap: 3px;
    }

    .countdown-unit {
        min-width: 0;
        flex: 1;
    }

    .countdown-separator {
        margin: 0 2px 22px;
        font-size: 24px;
    }

    .countdown-number {
        font-size: clamp(2rem, 10vw, 4rem);
    }

    .footer-inner {
        width: calc(100% - 32px);

        padding: 25px 0;

        flex-direction: column;
        align-items: flex-start;
    }
}


@media (max-width: 700px) {

    .class-recruitment {
        padding: 20px 14px 22px;
    }

    .class-spec-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .class-spec-row {
        justify-content: center;
    }
}


@media (max-width: 600px) {

    .leadership-card {
        flex-direction: column;
        gap: 24px;
    }
}


@media (max-width: 480px) {

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .button {
        width: 100%;
    }

    .recruitment-cta .discord-button {
        width: auto;
    }

    .countdown-date {
        font-size: 10px;
    }

    .leadership-card {
        padding: 22px;
    }
}