/*
 * Dagor Theme
 * Hauptstylesheet für das eigene Frontend.
 */


/* =========================================================
   Fonts
   ========================================================= */






/* =========================================================
   Variables
   ========================================================= */

:root {
    --color-background: #07090d;
    --color-surface: #0d1117;
    --color-surface-elevated: #121821;

    --color-border: #222c36;

    --color-text: #f6f7ff;
    --color-text-muted: #98a2ae;

    --color-brand: #24b6d4;
    --color-brand-hover: #45c5df;

    --content-width: 1280px;
}


/* =========================================================
   Base
   ========================================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;

    background: var(--color-background);
    color: var(--color-text);

    font-family: "Inter", sans-serif;
    font-size: 16px;
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin-top: 0;

    font-family: "Space Grotesk", sans-serif;
    line-height: 1.1;
}

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

img {
    display: block;
    max-width: 100%;
}

.dagor-container {
    width: min(100% - 48px, var(--content-width));
    margin-inline: auto;
}


/* =========================================================
   Header
   ========================================================= */

.dagor-header {
    background: var(--color-background);

    border-bottom: 1px solid var(--color-border);
}

.dagor-header__inner {
    display: flex;
    align-items: center;
    gap: 32px;

    min-height: 80px;
}

.dagor-logo {
    display: inline-flex;

    margin-right: auto;
}

.dagor-logo img {
    width: 150px;
    height: auto;
}

.dagor-header__menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.dagor-nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.dagor-nav a,
.dagor-nav-dropdown > summary {
    color: var(--color-text-muted);

    font-size: 15px;
    font-weight: 500;

    transition:
        color 0.2s ease,
        background-color 0.2s ease;
}

.dagor-nav a:hover,
.dagor-nav-dropdown > summary:hover,
.dagor-nav-dropdown[open] > summary {
    color: var(--color-text);
}


/* Navigation Dropdowns */

.dagor-nav-dropdown {
    position: relative;
}

.dagor-nav-dropdown > summary {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    list-style: none;

    cursor: pointer;
    user-select: none;
}

.dagor-nav-dropdown > summary::-webkit-details-marker {
    display: none;
}

.dagor-nav-dropdown > summary::after {
    content: "";

    width: 6px;
    height: 6px;

    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;

    transform:
        translateY(-2px)
        rotate(45deg);

    transition: transform 0.2s ease;
}

.dagor-nav-dropdown[open] > summary::after {
    transform:
        translateY(2px)
        rotate(225deg);
}

.dagor-nav-dropdown__menu {
    position: absolute;
    z-index: 40;

    top: calc(100% + 16px);
    left: 50%;

    min-width: 190px;
    padding: 8px;

    background: var(--color-surface);

    border: 1px solid var(--color-border);
    border-radius: 10px;

    box-shadow:
        0 18px 50px rgba(0, 0, 0, 0.32);

    transform: translateX(-50%);
}

.dagor-nav-dropdown__menu::before {
    content: "";

    position: absolute;

    top: -17px;
    left: 0;

    width: 100%;
    height: 17px;
}

.dagor-nav-dropdown__menu a {
    display: block;

    padding: 10px 12px;

    border-radius: 7px;

    white-space: nowrap;
}

.dagor-nav-dropdown__menu a:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--color-text);
}

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

    padding: 10px 18px;

    background: var(--color-brand);
    color: var(--color-background);

    border-radius: 8px;

    font-size: 15px;
    font-weight: 700;

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

.dagor-recruitment:hover {
    background: var(--color-brand-hover);

    transform: translateY(-1px);
}

.dagor-menu-button {
    display: none;

    width: 44px;
    height: 44px;
    padding: 10px;

    background: transparent;

    border: 0;

    cursor: pointer;
}

.dagor-menu-button span {
    display: block;

    width: 100%;
    height: 2px;
    margin: 5px 0;

    background: var(--color-text);

    transition: 0.2s ease;
}


/* =========================================================
   Buttons
   ========================================================= */

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

    padding: 14px 22px;

    border: 0;
    border-radius: 8px;

    appearance: none;

    font-family: "Inter", sans-serif;
    font-size: 15px;
    font-weight: 700;

    cursor: pointer;

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

.dagor-button:hover {
    transform: translateY(-2px);
}

.dagor-button--primary {
    background: var(--color-brand);
    color: var(--color-background);
}

.dagor-button--primary:hover {
    background: var(--color-brand-hover);
}

.dagor-button--secondary {
    color: var(--color-text);

    border: 1px solid var(--color-border);
}

.dagor-button--secondary:hover {
    border-color: var(--color-brand);
}


/* =========================================================
   Standard Hero
   ========================================================= */

.dagor-hero {
    position: relative;

    overflow: hidden;

    padding: 110px 0 0;

    background:
        radial-gradient(
            circle at 75% 45%,
            rgba(36, 182, 212, 0.10),
            transparent 35%
        ),
        var(--color-background);
}

.dagor-hero__grid {
    position: absolute;
    inset: 0;

    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: 64px 64px;

    pointer-events: none;
}

.dagor-hero__inner {
    position: relative;
    z-index: 1;

    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 80px;

    min-height: 560px;
}

.dagor-hero__content {
    position: relative;
    z-index: 2;
}

.dagor-hero__status {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    margin-bottom: 28px;
    padding: 8px 12px;

    background: rgba(255, 255, 255, 0.025);
    color: var(--color-text-muted);

    border: 1px solid var(--color-border);
    border-radius: 999px;

    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.dagor-hero__status-dot {
    width: 7px;
    height: 7px;

    background: var(--color-brand);

    border-radius: 50%;

    box-shadow: 0 0 12px rgba(36, 182, 212, 0.8);
}

.dagor-hero__eyebrow {
    margin: 0 0 18px;

    color: var(--color-brand);

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

.dagor-hero h1 {
    margin: 0;

    font-size: clamp(68px, 8vw, 112px);
    font-weight: 700;
    line-height: 0.9;
    letter-spacing: -5px;
}

.dagor-hero h1 span {
    color: var(--color-brand);
}

.dagor-hero__text {
    max-width: 620px;
    margin: 32px 0 0;

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

    font-size: 18px;
    line-height: 1.7;
}

.dagor-hero__actions {
    display: flex;
    gap: 16px;

    margin-top: 40px;
}

.dagor-hero__visual {
    position: relative;

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

    min-height: 480px;
}

.dagor-hero__visual::after {
    content: "";

    position: absolute;

    width: 1px;
    height: 420px;

    background: linear-gradient(
        transparent,
        rgba(36, 182, 212, 0.5),
        transparent
    );

    transform: rotate(28deg);
}

.dagor-hero__glow {
    position: absolute;

    width: 420px;
    height: 420px;

    background: rgba(36, 182, 212, 0.13);

    border-radius: 50%;

    filter: blur(90px);
}

.dagor-hero__visual img {
    position: relative;
    z-index: 2;

    width: min(100%, 380px);
    height: auto;

    filter: drop-shadow(
        0 0 40px rgba(36, 182, 212, 0.16)
    );
}

.dagor-hero__stats {
    position: relative;
    z-index: 2;

    display: grid;
    grid-template-columns: repeat(3, 1fr);

    margin-top: 70px;

    border-top: 1px solid var(--color-border);
}

.dagor-hero__stat {
    padding: 26px 32px;
}

.dagor-hero__stat:not(:last-child) {
    border-right: 1px solid var(--color-border);
}

.dagor-hero__stat span {
    display: block;

    margin-bottom: 4px;

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

    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.dagor-hero__stat strong {
    color: var(--color-text);

    font-family: "Space Grotesk", sans-serif;
    font-size: 22px;
    font-weight: 600;
}


/* =========================================================
   About
   ========================================================= */

.dagor-about {
    position: relative;
    overflow: hidden;

    padding: 120px 0;

    background: var(--color-background);

    border-top: 1px solid var(--color-border);
}

.dagor-about::before {
    content: "";

    position: absolute;
    inset: 0;

    background:
        radial-gradient(
            circle at 72% 42%,
            rgba(36, 182, 212, 0.16),
            rgba(36, 182, 212, 0.06) 28%,
            transparent 58%
        );

    pointer-events: none;
}

.dagor-about .dagor-container {
    position: relative;
    z-index: 1;
}

.dagor-about__top {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: end;
    gap: 80px;
}

.dagor-section-label {
    margin: 0 0 18px;

    color: var(--color-brand);

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

.dagor-about__top h2 {
    max-width: 700px;
    margin: 0;

    font-size: clamp(48px, 5vw, 72px);
    line-height: 0.98;
    letter-spacing: -3px;
}

.dagor-about__statement {
    max-width: 560px;
}

.dagor-about__statement p {
    margin: 0;

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

    font-size: 20px;
    line-height: 1.7;
}

.dagor-about__principles {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    margin-top: 90px;

    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.dagor-principle {
    position: relative;

    min-height: 290px;
    padding: 32px;

    background: rgba(255, 255, 255, 0.01);

    transition: background-color 0.2s ease;
}

.dagor-principle:not(:last-child) {
    border-right: 1px solid var(--color-border);
}

.dagor-principle:hover {
    background: rgba(36, 182, 212, 0.04);
}

.dagor-principle__number {
    display: inline-block;

    margin-bottom: 60px;

    color: var(--color-brand);

    font-family: "Space Grotesk", sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
}

.dagor-principle h3 {
    margin: 0 0 16px;

    font-size: 28px;
    font-weight: 600;
}

.dagor-principle p {
    max-width: 340px;
    margin: 0;

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

    font-size: 16px;
    line-height: 1.7;
}


/* =========================================================
   Recruitment Page
   ========================================================= */

.dagor-recruitment-page {
    padding: 100px 0 120px;
}

.dagor-recruitment-page__header {
    max-width: 820px;
    margin: 0 auto 64px;

    text-align: center;
}

.dagor-recruitment-page__header .dagor-section-label,
.dagor-recruitment-page__header h1,
.dagor-recruitment-page__header > p:last-child {
    text-align: center;
}

.dagor-recruitment-page__header h1 {
    margin: 0 0 24px;

    font-size: clamp(48px, 6vw, 76px);
    line-height: 1;
    letter-spacing: -3px;
}

.dagor-recruitment-page__header > p:last-child {
    margin: 0;

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

    font-size: 18px;
    line-height: 1.7;
}

.dagor-application-form {
    max-width: 820px;
    margin: 0 auto;
    padding: 48px;

    background: var(--color-surface);

    border: 1px solid var(--color-border);
    border-radius: 12px;
}

.dagor-form-field {
    display: flex;
    flex-direction: column;
    gap: 10px;

    margin-bottom: 28px;
}

.dagor-form-field label {
    color: var(--color-text);

    font-size: 14px;
    font-weight: 600;
}

.dagor-form-field input,
.dagor-form-field select,
.dagor-form-field textarea {
    width: 100%;

    padding: 14px 16px;

    background: var(--color-background);
    color: var(--color-text);

    border: 1px solid var(--color-border);
    border-radius: 8px;

    outline: none;

    font-family: "Inter", sans-serif;
    font-size: 16px;

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

.dagor-form-field input:focus,
.dagor-form-field select:focus,
.dagor-form-field textarea:focus {
    border-color: var(--color-brand);

    box-shadow: 0 0 0 3px rgba(36, 182, 212, 0.08);
}

.dagor-form-field textarea {
    min-height: 160px;

    resize: vertical;
}

.dagor-form-field input::placeholder,
.dagor-form-field textarea::placeholder {
    color: #66717d;
}

.dagor-form-field select {
    cursor: pointer;
}

.dagor-application-form > .dagor-button {
    margin-top: 8px;

    border: 0;

    cursor: pointer;
}

.dagor-required {
    color: #ff5c5c;
}


/* =========================================================
   Raid Planner Page
   ========================================================= */

.dagor-raidplanner-page {
    padding: 48px 0 80px;
}

.dagor-raidplanner-page .dagor-container {
    width: min(100% - 32px, 1600px);
}

#dagor-raid-planner-root {
    width: 100%;
}


/* =========================================================
   Fantasy Concept Hero
   ========================================================= */

.dagor-fantasy-hero {
    position: relative;

    display: flex;
    flex-direction: column;

    min-height: 860px;

    overflow: hidden;

    background: var(--color-background);
}

.dagor-fantasy-hero__background {
    position: absolute;
    inset: 0;

    background-image:
        url("../images/dagor-fantasy-hero.webp");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    transform: scale(1.02);
}

.dagor-fantasy-hero__overlay {
    position: absolute;
    inset: 0;

    background:
        radial-gradient(
            circle at 52% 47%,
            rgba(7, 9, 13, 0.28) 0%,
            rgba(7, 9, 13, 0.12) 25%,
            transparent 45%
        ),
        linear-gradient(
            90deg,
            rgba(7, 9, 13, 0.97) 0%,
            rgba(7, 9, 13, 0.86) 30%,
            rgba(7, 9, 13, 0.42) 55%,
            rgba(7, 9, 13, 0.12) 82%,
            rgba(7, 9, 13, 0.06) 100%
        ),
        linear-gradient(
            0deg,
            var(--color-background) 0%,
            rgba(7, 9, 13, 0.72) 14%,
            rgba(7, 9, 13, 0.18) 35%,
            transparent 55%
        );
}

.dagor-fantasy-hero__grid {
    position: absolute;
    inset: 0;

    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: 64px 64px;

    opacity: 0.35;

    pointer-events: none;
}

.dagor-fantasy-hero__inner {
    position: relative;
    z-index: 2;

    display: flex;
    align-items: center;

    flex: 1;

    width: min(100% - 48px, var(--content-width));
    margin-inline: auto;

    padding-top: 70px;
    padding-bottom: 70px;
}

.dagor-fantasy-hero__content {
    max-width: 720px;
}

.dagor-fantasy-hero h1 {
    margin: 18px 0 0;

    font-size: clamp(68px, 8vw, 112px);
    font-weight: 700;
    line-height: 0.9;
    letter-spacing: -5px;
}

.dagor-fantasy-hero h1 span {
    color: var(--color-brand);
}

.dagor-fantasy-hero__text {
    max-width: 620px;
    margin: 32px 0 0;

    color: #c3ccd5;

    font-size: 18px;
    line-height: 1.7;
}

.dagor-fantasy-hero__stats {
    position: relative;
    z-index: 3;

    display: grid;
    grid-template-columns: repeat(3, 1fr);

    width: min(100% - 48px, var(--content-width));
    margin: 0 auto;

    background: rgba(7, 9, 13, 0.48);

    border-top: 1px solid rgba(255, 255, 255, 0.12);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);

    backdrop-filter: blur(8px);
}

.dagor-fantasy-hero__stat {
    padding: 24px 30px;
}

.dagor-fantasy-hero__stat:not(:last-child) {
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.dagor-fantasy-hero__stat span {
    display: block;

    margin-bottom: 4px;

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

    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.dagor-fantasy-hero__stat strong {
    color: var(--color-text);

    font-family: "Space Grotesk", sans-serif;
    font-size: 22px;
    font-weight: 600;
}


/* =========================================================
   Progress Showcase
   ========================================================= */

.dagor-progress-showcase {
    position: relative;
    overflow: hidden;

    min-height: 700px;

    background: var(--color-background);
}

.dagor-progress-showcase__background {
    position: absolute;
    inset: 0;

    background-image:
        url("../images/dagor-fantasy-progress.webp");

    background-size: cover;
    background-position: 35% center;
    background-repeat: no-repeat;
}

.dagor-progress-showcase__overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(7, 9, 13, 0.08) 0%,
            rgba(7, 9, 13, 0.16) 28%,
            rgba(7, 9, 13, 0.48) 52%,
            rgba(7, 9, 13, 0.84) 72%,
            rgba(7, 9, 13, 0.97) 100%
        ),
        linear-gradient(
            0deg,
            var(--color-background) 0%,
            rgba(7, 9, 13, 0.20) 18%,
            transparent 38%,
            transparent 72%,
            rgba(7, 9, 13, 0.35) 90%,
            var(--color-background) 100%
        );
}

.dagor-progress-showcase__inner {
    position: relative;
    z-index: 2;

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

    min-height: 700px;
}

.dagor-progress-showcase__content {
    width: 100%;
    max-width: 560px;
}

.dagor-progress-showcase h2 {
    margin: 0;

    font-size: clamp(52px, 6vw, 82px);
    line-height: 0.95;
    letter-spacing: -4px;
}

.dagor-progress-showcase__text {
    margin: 30px 0 36px;

    color: #c3ccd5;

    font-size: 18px;
    line-height: 1.7;
}

/* =========================================================
   Registration
   ========================================================= */

.dagor-register-page {
    position: relative;

    min-height: calc(100vh - 80px);

    overflow: hidden;

    background: var(--color-background);
}

.dagor-register-page__background {
    position: absolute;
    inset: 0;

    background-image:
        url("../images/dagor-fantasy-progress.webp");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    transform: scale(1.02);
}

.dagor-register-page__overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(7, 9, 13, 0.82) 0%,
            rgba(7, 9, 13, 0.64) 38%,
            rgba(7, 9, 13, 0.42) 62%,
            rgba(7, 9, 13, 0.26) 100%
        ),
        linear-gradient(
            0deg,
            rgba(7, 9, 13, 0.88) 0%,
            rgba(7, 9, 13, 0.18) 35%,
            rgba(7, 9, 13, 0.12) 70%,
            rgba(7, 9, 13, 0.42) 100%
        );
}

.dagor-register-page__inner {
    position: relative;
    z-index: 2;

    display: grid;
    grid-template-columns:
        minmax(0, 1fr)
        minmax(420px, 520px);

    align-items: center;

    gap: 90px;

    min-height: calc(100vh - 80px);

    padding-top: 80px;
    padding-bottom: 80px;
}


/* Intro */

.dagor-register-intro {
    max-width: 650px;
}

.dagor-register-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    margin-bottom: 28px;
    padding: 8px 13px;

    background: rgba(7, 9, 13, 0.48);

    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;

    color: #c8d0d9;

    font-size: 12px;
    font-weight: 700;

    letter-spacing: 1.5px;

    text-transform: uppercase;

    backdrop-filter: blur(10px);
}

.dagor-register-badge span {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: var(--color-brand);

    box-shadow:
        0 0 14px rgba(36, 182, 212, 0.9);
}

.dagor-register-intro h1 {
    margin: 0;

    font-size: clamp(58px, 6vw, 88px);

    line-height: 0.95;

    letter-spacing: -4px;
}

.dagor-register-intro h1 span {
    color: var(--color-brand);
}

.dagor-register-intro__text {
    max-width: 590px;

    margin: 30px 0 0;

    color: #c1cad4;

    font-size: 18px;

    line-height: 1.7;
}


/* Benefits */

.dagor-register-benefits {
    display: grid;

    gap: 18px;

    margin-top: 44px;
}

.dagor-register-benefit {
    display: flex;
    align-items: center;

    gap: 16px;
}

.dagor-register-benefit__icon {
    display: flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 44px;

    width: 44px;
    height: 44px;

    background: rgba(7, 9, 13, 0.58);

    border: 1px solid rgba(36, 182, 212, 0.25);
    border-radius: 9px;

    color: var(--color-brand);

    font-size: 20px;

    backdrop-filter: blur(8px);
}

.dagor-register-benefit strong {
    display: block;

    margin-bottom: 2px;

    color: var(--color-text);

    font-size: 14px;
}

.dagor-register-benefit span {
    display: block;

    color: #aab4bf;

    font-size: 13px;
}


/* Registration card */

.dagor-register-card {
    width: 100%;

    padding: 38px;

    background:
        linear-gradient(
            180deg,
            rgba(18, 24, 33, 0.93),
            rgba(10, 14, 20, 0.94)
        );

    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 16px;

    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.48),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);

    backdrop-filter: blur(18px);
}

.dagor-register-card__header {
    margin-bottom: 28px;
}

.dagor-register-card__header .dagor-section-label {
    margin-bottom: 10px;
}

.dagor-register-card__header h2 {
    margin: 0 0 8px;

    font-size: 36px;

    letter-spacing: -1.5px;
}

.dagor-register-card__header > p:last-child {
    margin: 0;

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


/* Messages */

.dagor-register-message {
    margin-bottom: 24px;

    padding: 13px 15px;

    border-radius: 8px;

    font-size: 14px;
}

.dagor-register-message--error {
    background: rgba(239, 91, 91, 0.10);

    color: #ff9d9d;

    border: 1px solid rgba(239, 91, 91, 0.34);
}


/* Fields */

.dagor-register-form {
    display: grid;

    gap: 20px;
}

.dagor-register-field {
    display: flex;
    flex-direction: column;

    gap: 8px;
}

.dagor-register-field label {
    color: #d9e0e7;

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 1.1px;

    text-transform: uppercase;
}

.dagor-register-optional {
    margin-left: 5px;

    color: #65717d;

    font-size: 10px;
    font-weight: 500;

    letter-spacing: 0;

    text-transform: none;
}

.dagor-register-field input {
    width: 100%;

    height: 46px;

    padding: 0 14px;

    background: rgba(7, 9, 13, 0.68);

    color: var(--color-text);

    border: 1px solid #32404d;
    border-radius: 7px;

    outline: none;

    font-family: "Inter", sans-serif;

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

.dagor-register-field input:hover {
    border-color: #465667;
}

.dagor-register-field input:focus {
    background: rgba(7, 9, 13, 0.86);

    border-color: var(--color-brand);

    box-shadow:
        0 0 0 3px rgba(36, 182, 212, 0.08);
}

.dagor-register-field input::placeholder {
    color: #697582;
}

.dagor-register-field small {
    color: #71808d;

    font-size: 11px;
}


/* Honeypot */

.dagor-register-honeypot {
    position: absolute;

    width: 1px;
    height: 1px;

    overflow: hidden;

    clip: rect(0 0 0 0);

    clip-path: inset(50%);
}


/* Privacy */

.dagor-register-privacy {
    display: flex;
    align-items: flex-start;

    gap: 10px;

    color: #c4ccd5;

    font-size: 13px;

    line-height: 1.5;

    cursor: pointer;
}

.dagor-register-privacy input {
    flex: 0 0 auto;

    width: 18px;
    height: 18px;

    margin-top: 1px;

    accent-color: var(--color-brand);
}

.dagor-register-privacy a {
    color: var(--color-brand);

    text-decoration: underline;

    text-underline-offset: 3px;
}


/* Submit */

.dagor-register-submit {
    width: 100%;

    margin-top: 4px;

    border: 0;

    cursor: pointer;
}

.dagor-register-submit span {
    margin-left: 8px;
}


/* Login link */

.dagor-register-login {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 6px;

    padding-top: 18px;

    border-top: 1px solid rgba(255, 255, 255, 0.10);

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

    font-size: 13px;
}

.dagor-register-login a {
    color: var(--color-brand);

    font-weight: 600;
}

.dagor-register-login a:hover {
    color: var(--color-brand-hover);
}


/* Success */

.dagor-register-success {
    padding: 40px 0;

    text-align: center;
}

.dagor-register-success__icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 64px;
    height: 64px;

    margin: 0 auto 24px;

    background: rgba(36, 182, 212, 0.12);

    color: var(--color-brand);

    border: 1px solid rgba(36, 182, 212, 0.32);
    border-radius: 50%;

    font-size: 28px;
}

.dagor-register-success h2 {
    margin-bottom: 12px;

    font-size: 38px;
}

.dagor-register-success p {
    max-width: 380px;

    margin: 0 auto 28px;

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

/* =========================================================
   Login
   ========================================================= */

.dagor-login-card {
    max-width: 520px;
}

.dagor-login-options {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    margin-top: -2px;

    font-size: 13px;
}

.dagor-login-remember {
    display: flex;
    align-items: center;

    gap: 9px;

    color: #c4ccd5;

    cursor: pointer;
}

.dagor-login-remember input {
    width: 17px;
    height: 17px;

    margin: 0;

    accent-color: var(--color-brand);
}

.dagor-login-forgot {
    color: var(--color-brand);

    font-weight: 600;
}

.dagor-login-forgot:hover {
    color: var(--color-brand-hover);
}

/* =========================================================
   Mobile
   ========================================================= */

@media (max-width: 800px) {

    .dagor-container {
        width: min(100% - 32px, var(--content-width));
    }


    /* Header */

    .dagor-header__inner {
        position: relative;
    }

    .dagor-logo img {
        width: 120px;
    }

    .dagor-menu-button {
        display: block;
    }

    .dagor-header__menu {
        display: none;

        position: absolute;
        z-index: 20;

        top: 100%;
        left: 0;

        width: 100%;
        padding: 24px;

        background: var(--color-surface);

        border: 1px solid var(--color-border);
        border-radius: 8px;
    }

    .dagor-header.menu-open .dagor-header__menu {
        display: flex;
        flex-direction: column;
        align-items: stretch;
    }

    .dagor-nav {
        width: 100%;

        flex-direction: column;
        align-items: stretch;
        gap: 4px;
    }

    .dagor-nav > a,
    .dagor-nav-dropdown > summary {
        width: 100%;
        padding: 10px 0;
    }

    .dagor-nav-dropdown {
        width: 100%;
    }

    .dagor-nav-dropdown > summary {
        justify-content: space-between;
    }

    .dagor-nav-dropdown__menu {
        position: static;

        min-width: 0;
        margin: 2px 0 8px;
        padding: 4px 0 4px 14px;

        background: transparent;

        border: 0;
        border-left: 1px solid var(--color-border);
        border-radius: 0;

        box-shadow: none;

        transform: none;
    }

    .dagor-nav-dropdown__menu::before {
        display: none;
    }

    .dagor-nav-dropdown__menu a {
        padding: 9px 12px;

        white-space: normal;
    }

    .dagor-recruitment {
        width: 100%;
    }


    /* Standard Hero */

    .dagor-hero {
        padding-top: 70px;
    }

    .dagor-hero__inner {
        grid-template-columns: 1fr;
        gap: 50px;

        min-height: auto;
    }

    .dagor-hero h1 {
        font-size: clamp(54px, 16vw, 78px);
        letter-spacing: -3px;
    }

    .dagor-hero__text {
        margin-top: 24px;

        font-size: 17px;
    }

    .dagor-hero__actions {
        flex-direction: column;
    }

    .dagor-button {
        width: 100%;
    }

    .dagor-hero__visual {
        min-height: 320px;
    }

    .dagor-hero__visual img {
        width: min(100%, 280px);
    }

    .dagor-hero__glow {
        width: 300px;
        height: 300px;
    }

    .dagor-hero__visual::after {
        height: 300px;
    }

    .dagor-hero__stats {
        grid-template-columns: 1fr;

        margin-top: 50px;
    }

    .dagor-hero__stat {
        padding: 20px 0;
    }

    .dagor-hero__stat:not(:last-child) {
        border-right: 0;
        border-bottom: 1px solid var(--color-border);
    }


    /* About */

    .dagor-about {
        padding: 80px 0;
    }

    .dagor-about__top {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .dagor-about__top h2 {
        font-size: clamp(40px, 12vw, 56px);
        letter-spacing: -2px;
    }

    .dagor-about__statement p {
        font-size: 18px;
    }

    .dagor-about__principles {
        grid-template-columns: 1fr;

        margin-top: 60px;
    }

    .dagor-principle {
        min-height: auto;
        padding: 28px 0;
    }

    .dagor-principle:not(:last-child) {
        border-right: 0;
        border-bottom: 1px solid var(--color-border);
    }

    .dagor-principle__number {
        margin-bottom: 28px;
    }


    /* Recruitment */

    .dagor-recruitment-page {
        padding: 70px 0 90px;
    }

    .dagor-recruitment-page__header {
        margin-bottom: 44px;
    }

    .dagor-recruitment-page__header h1 {
        font-size: clamp(42px, 12vw, 60px);
        letter-spacing: -2px;
    }

    .dagor-application-form {
        padding: 28px 20px;
    }

    .dagor-form-field {
        margin-bottom: 24px;
    }

    .dagor-application-form > .dagor-button {
        width: 100%;
    }


    /* Raid Planner */

    .dagor-raidplanner-page {
        padding: 24px 0 60px;
    }

    .dagor-raidplanner-page .dagor-container {
        width: min(100% - 24px, 1600px);
    }


    /* Fantasy Hero */

    .dagor-fantasy-hero {
        min-height: 720px;
    }

    .dagor-fantasy-hero__background {
        background-position: 65% center;
    }

    .dagor-fantasy-hero__overlay {
        background:
            linear-gradient(
                90deg,
                rgba(7, 9, 13, 0.94),
                rgba(7, 9, 13, 0.65)
            ),
            linear-gradient(
                0deg,
                var(--color-background),
                transparent 50%
            );
    }

    .dagor-fantasy-hero__inner {
        width: min(100% - 32px, var(--content-width));

        padding-top: 70px;
        padding-bottom: 70px;
    }

    .dagor-fantasy-hero h1 {
        font-size: clamp(54px, 16vw, 78px);
        letter-spacing: -3px;
    }

    .dagor-fantasy-hero__text {
        font-size: 17px;
    }

    .dagor-fantasy-hero__stats {
        grid-template-columns: 1fr;

        width: min(100% - 32px, var(--content-width));
    }

    .dagor-fantasy-hero__stat {
        padding: 18px 0;
    }

    .dagor-fantasy-hero__stat:not(:last-child) {
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }


    /* Progress Showcase */

    .dagor-progress-showcase {
        min-height: 680px;
    }

    .dagor-progress-showcase__background {
        background-position: 30% center;
    }

    .dagor-progress-showcase__overlay {
        background:
            linear-gradient(
                0deg,
                rgba(7, 9, 13, 0.96) 0%,
                rgba(7, 9, 13, 0.82) 48%,
                rgba(7, 9, 13, 0.30) 100%
            );
    }

    .dagor-progress-showcase__inner {
        align-items: flex-end;
        justify-content: flex-start;

        min-height: 680px;

        padding-top: 60px;
        padding-bottom: 70px;
    }

    .dagor-progress-showcase__content {
        max-width: 100%;
    }

    .dagor-progress-showcase h2 {
        font-size: clamp(44px, 13vw, 64px);
        letter-spacing: -2px;
    }

    .dagor-progress-showcase__text {
        font-size: 17px;
    }

    /* Registration */

    .dagor-register-page__background {
        background-position: 35% center;
    }

    .dagor-register-page__overlay {
        background:
            linear-gradient(
                0deg,
                rgba(7, 9, 13, 0.94) 0%,
                rgba(7, 9, 13, 0.72) 60%,
                rgba(7, 9, 13, 0.50) 100%
            );
    }

    .dagor-register-page__inner {
        grid-template-columns: 1fr;

        gap: 50px;

        min-height: auto;

        padding-top: 60px;
        padding-bottom: 70px;
    }

    .dagor-register-intro h1 {
        font-size: clamp(48px, 15vw, 68px);

        letter-spacing: -3px;
    }

    .dagor-register-intro__text {
        font-size: 17px;
    }

    .dagor-register-benefits {
        margin-top: 36px;
    }

    .dagor-register-card {
        padding: 28px 20px;
    }

    .dagor-register-card__header h2 {
        font-size: 32px;
    }

    .dagor-login-options {
        align-items: flex-start;
        flex-direction: column;

        gap: 12px;
    }
}

/* =========================================================
   ROADMAP TEASER
========================================================= */

.dagor-roadmap-teaser {
    padding: 54px 0;

    background:
        linear-gradient(
            90deg,
            rgba(36, 182, 212, 0.06),
            rgba(36, 182, 212, 0.01) 52%,
            transparent
        ),
        var(--color-background);

    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.dagor-roadmap-teaser__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
}

.dagor-roadmap-teaser__content {
    max-width: 760px;
}

.dagor-roadmap-teaser__content h2 {
    margin: 0;

    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.05;
    letter-spacing: -2px;
}

.dagor-roadmap-teaser__content > p:last-child {
    max-width: 680px;
    margin: 18px 0 0;

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

    font-size: 17px;
    line-height: 1.7;
}

.dagor-roadmap-teaser .dagor-button {
    flex: 0 0 auto;
}


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

.dagor-footer {
    border-top: 1px solid var(--color-border);
    background: #07090d;
}

.dagor-footer__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;

    min-height: 84px;
}

.dagor-footer p {
    margin: 0;

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

    font-size: 14px;
}

.dagor-footer__nav {
    display: flex;
    align-items: center;
    gap: 22px;
}

.dagor-footer__nav a {
    color: #c3ccd5;

    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.dagor-footer__nav a:hover,
.dagor-footer__nav a:focus-visible {
    color: var(--color-brand);
}


@media (max-width: 760px) {
    .dagor-roadmap-teaser {
        padding: 44px 0;
    }

    .dagor-roadmap-teaser__inner {
        align-items: flex-start;
        flex-direction: column;
        gap: 28px;
    }

    .dagor-footer__inner {
        align-items: flex-start;
        flex-direction: column;
        justify-content: center;

        min-height: 100px;
        padding-top: 24px;
        padding-bottom: 24px;
    }
}


/* =========================================================
   Header Polish
   ========================================================= */

.dagor-header {
    position: sticky;
    z-index: 100;
    top: 0;

    background: rgba(7, 9, 13, 0.92);
    border-bottom-color: rgba(255, 255, 255, 0.07);

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}


body.admin-bar .dagor-header {
    top: 32px;
}

@media (max-width: 782px) {
    body.admin-bar .dagor-header {
        top: 46px;
    }
}

@media (max-width: 600px) {
    body.admin-bar .dagor-header {
        top: 0;
    }
}

.dagor-header__inner {
    min-height: 62px;
    gap: 24px;
}

.dagor-logo {
    align-items: center;
    align-self: center;
    flex-shrink: 0;
    height: 62px;
}

.dagor-logo img {
    display: block;
    width: auto;
    height: 86px;
    max-height: none;
    object-fit: contain;
}

.dagor-header__menu {
    gap: 24px;
}

.dagor-nav {
    gap: 6px;
}

.dagor-nav > a,
.dagor-nav-dropdown > summary {
    position: relative;

    min-height: 40px;
    padding: 10px 12px;

    border-radius: 8px;

    transition:
        color 0.2s ease,
        background-color 0.2s ease;
}

.dagor-nav > a:hover,
.dagor-nav-dropdown > summary:hover,
.dagor-nav-dropdown[open] > summary {
    background: rgba(255, 255, 255, 0.045);
}

.dagor-nav > a.is-active,
.dagor-nav-dropdown.is-active > summary {
    color: var(--color-text);
    background: rgba(36, 182, 212, 0.08);
}

.dagor-nav > a.is-active::after,
.dagor-nav-dropdown.is-active > summary::before {
    content: "";

    position: absolute;
    right: 12px;
    bottom: 4px;
    left: 12px;

    height: 2px;

    background: var(--color-brand);
    border-radius: 999px;
}

.dagor-nav-dropdown__menu {
    top: calc(100% + 10px);

    min-width: 205px;
    padding: 8px;

    background: rgba(13, 17, 23, 0.98);
    border-color: rgba(255, 255, 255, 0.08);
    border-radius: 12px;

    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.42);
}

.dagor-nav-dropdown__menu::before {
    top: -11px;
    height: 11px;
}

.dagor-nav-dropdown__menu a {
    padding: 10px 12px;
}

.dagor-nav-dropdown__menu a.is-active {
    background: rgba(36, 182, 212, 0.1);
    color: var(--color-text);
}

.dagor-recruitment {
    min-height: 42px;
    padding: 10px 18px;

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

    box-shadow: 0 8px 24px rgba(36, 182, 212, 0.12);
}

.dagor-recruitment.is-active {
    background: transparent;
    color: var(--color-brand);
    border-color: var(--color-brand);
    box-shadow: inset 0 0 0 1px rgba(36, 182, 212, 0.08);
}

.dagor-recruitment.is-active:hover {
    background: rgba(36, 182, 212, 0.08);
}

.dagor-menu-button {
    position: relative;

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

.dagor-menu-button:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: var(--color-border);
}

.dagor-menu-button span {
    margin: 5px 0;

    transform-origin: center;
}

.dagor-header.menu-open .dagor-menu-button span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.dagor-header.menu-open .dagor-menu-button span:nth-child(2) {
    opacity: 0;
}

.dagor-header.menu-open .dagor-menu-button span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 1080px) and (min-width: 801px) {
    .dagor-header__inner {
        gap: 18px;
    }

    .dagor-header__menu {
        gap: 14px;
    }

    .dagor-nav > a,
    .dagor-nav-dropdown > summary {
        padding-inline: 9px;
        font-size: 14px;
    }

    .dagor-recruitment {
        padding-inline: 14px;
        font-size: 14px;
    }
}

@media (max-width: 800px) {
    .dagor-header__inner {
        min-height: 58px;
    }

    .dagor-logo {
        height: 58px;
    }

    .dagor-logo img {
        width: auto;
        height: 78px;
        max-height: none;
    }

    .dagor-header__menu {
        top: calc(100% + 10px);
        right: 0;
        left: 0;

        width: auto;
        max-height: calc(100vh - 94px);
        padding: 14px;

        overflow-y: auto;

        background: rgba(13, 17, 23, 0.98);
        border-color: rgba(255, 255, 255, 0.08);
        border-radius: 14px;

        box-shadow: 0 24px 70px rgba(0, 0, 0, 0.48);

        backdrop-filter: blur(18px);
        -webkit-backdrop-filter: blur(18px);
    }

    .dagor-header.menu-open .dagor-header__menu {
        gap: 14px;
    }

    .dagor-nav {
        gap: 3px;
    }

    .dagor-nav > a,
    .dagor-nav-dropdown > summary {
        min-height: 46px;
        padding: 12px 14px;

        border-radius: 9px;
    }

    .dagor-nav > a.is-active::after,
    .dagor-nav-dropdown.is-active > summary::before {
        top: 12px;
        right: auto;
        bottom: 12px;
        left: 4px;

        width: 2px;
        height: auto;
    }

    .dagor-nav-dropdown__menu {
        margin: 3px 0 7px 10px;
        padding: 4px 0 4px 10px;

        border-left-color: rgba(36, 182, 212, 0.3);
    }

    .dagor-nav-dropdown__menu a {
        border-radius: 8px;
    }

    .dagor-recruitment {
        min-height: 46px;
        margin-top: 2px;
    }
}
