
/*
 * ============================================================
 * LUNAR CRY – FINAL FANTASY XIV DESIGN SYSTEM
 * ============================================================
 *
 * Datei: /FF-XIV/css/ffxiv.css
 * Version: 1.0
 *
 * Gemeinsames Stylesheet für das gesamte FFXIV-Subsystem.
 * ============================================================
 */

:root {
    --xiv-bg: #080b10;
    --xiv-panel: rgba(10, 15, 23, 0.88);
    --xiv-panel-light: rgba(18, 27, 38, 0.82);
    --xiv-border: rgba(125, 190, 207, 0.20);
    --xiv-border-hover: rgba(116, 213, 231, 0.65);
    --xiv-text: #e8edf0;
    --xiv-muted: #a4b0ba;
    --xiv-cyan: #74d5e7;
    --xiv-cyan-light: #b2f0fa;
    --xiv-gold: #c6a46c;
}

/* ============================================================
   RESET & GLOBAL
   ============================================================ */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
    min-height: 100%;
}

body {
    min-height: 100vh;
    margin: 0;
    padding: 0;
    color: var(--xiv-text);
    background: var(--xiv-bg);
    font-family: 'Roboto', sans-serif;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
}

/* ============================================================
   BACKGROUND VIDEO
   ============================================================ */

.xiv-background {
    position: fixed !important;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0 !important;
    pointer-events: none;
}

.xiv-background-overlay {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        linear-gradient(
            180deg,
            rgba(4, 8, 14, 0.56) 0%,
            rgba(5, 9, 16, 0.73) 48%,
            rgba(4, 7, 12, 0.94) 100%
        );
}

/* ============================================================
   SITE WRAPPER
   ============================================================ */

.xiv-site {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.xiv-content {
    width: min(1500px, calc(100% - 48px));
    margin: 0 auto;
}

/* ============================================================
   HEADER
   ============================================================ */

.xiv-header {
    position: sticky;
    top: 0;
    z-index: 20;
    width: 100%;
    background: rgba(5, 9, 15, 0.91);
    border-bottom: 1px solid rgba(116, 213, 231, 0.18);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.xiv-header-inner {
    width: min(1600px, calc(100% - 48px));
    min-height: 76px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.xiv-brand {
    display: flex;
    align-items: center;
    gap: 13px;
    flex-shrink: 0;
}

.xiv-brand-symbol {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 43px;
    height: 43px;
    border: 1px solid rgba(116, 213, 231, 0.55);
    border-radius: 50%;
    color: var(--xiv-cyan);
    font-family: 'Cinzel', serif;
    font-size: 25px;
    text-shadow: 0 0 15px rgba(116, 213, 231, 0.55);
    box-shadow: inset 0 0 12px rgba(116, 213, 231, 0.08);
}

.xiv-brand-text {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.xiv-brand-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #f0f6f8;
}

.xiv-brand-subtitle {
    font-size: 9px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--xiv-cyan);
}

.xiv-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 5px;
    flex-wrap: wrap;
}

.xiv-nav a {
    padding: 11px 13px;
    border-radius: 5px;
    color: #b6c2ca;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: color .2s ease, background .2s ease;
}

.xiv-nav a:hover {
    color: var(--xiv-cyan-light);
    background: rgba(116, 213, 231, 0.09);
}

.xiv-nav .xiv-nav-home {
    border: 1px solid rgba(116, 213, 231, 0.30);
    color: var(--xiv-cyan);
}

/* ============================================================
   HERO
   ============================================================ */

.xiv-hero {
    min-height: 590px;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    border-bottom: 1px solid rgba(116, 213, 231, 0.13);
}

.xiv-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(
            ellipse at 75% 40%,
            rgba(70, 151, 176, 0.15),
            transparent 48%
        ),
        linear-gradient(
            90deg,
            rgba(5, 9, 15, 0.85) 0%,
            rgba(5, 9, 15, 0.58) 52%,
            rgba(5, 9, 15, 0.18) 100%
        );
    pointer-events: none;
}

.xiv-hero::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 140px;
    background: linear-gradient(transparent, var(--xiv-bg));
    pointer-events: none;
}

.xiv-hero-inner {
    position: relative;
    z-index: 2;
    width: min(1500px, calc(100% - 48px));
    margin: 0 auto;
    padding: 90px 0 105px;
}

.xiv-eyebrow {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-bottom: 24px;
    color: var(--xiv-cyan);
    font-family: 'Orbitron', sans-serif;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
}

.xiv-eyebrow::before {
    content: "";
    width: 44px;
    height: 1px;
    background: var(--xiv-cyan);
    box-shadow: 0 0 10px var(--xiv-cyan);
}

.xiv-hero h1 {
    max-width: 850px;
    margin: 0;
    color: #f3f5f6;
    font-family: 'Cinzel', serif;
    font-size: clamp(44px, 7vw, 94px);
    font-weight: 500;
    line-height: 1.08;
    letter-spacing: 2px;
    text-shadow: 0 5px 35px rgba(0, 0, 0, 0.75);
}

.xiv-hero h1 span {
    display: block;
    margin-top: 7px;
    color: var(--xiv-cyan);
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(19px, 3vw, 36px);
    font-weight: 400;
    letter-spacing: clamp(4px, 1.2vw, 13px);
}

.xiv-hero-description {
    max-width: 660px;
    margin: 30px 0 0;
    color: #c0cbd1;
    font-size: 16px;
    font-weight: 300;
    line-height: 1.9;
}

.xiv-hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 13px;
    margin-top: 36px;
}

.xiv-button {
    min-height: 47px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    padding: 0 23px;
    border: 1px solid rgba(116, 213, 231, 0.56);
    border-radius: 4px;
    background: rgba(19, 49, 60, 0.57);
    color: var(--xiv-cyan-light);
    font-family: 'Orbitron', sans-serif;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: .25s ease;
}

.xiv-button:hover {
    border-color: var(--xiv-cyan-light);
    background: rgba(62, 151, 174, 0.25);
    box-shadow: 0 0 25px rgba(116, 213, 231, 0.15);
    transform: translateY(-2px);
}

.xiv-button-secondary {
    border-color: rgba(213, 225, 231, 0.25);
    background: rgba(8, 12, 18, 0.48);
    color: #d5dfe3;
}

.xiv-hero-note {
    margin-top: 34px;
    color: rgba(192, 203, 209, 0.62);
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* ============================================================
   GENERAL SECTIONS
   ============================================================ */

.xiv-section {
    position: relative;
    padding: 85px 0;
}

.xiv-section-heading {
    max-width: 760px;
    margin: 0 auto 45px;
    text-align: center;
}

.xiv-section-kicker {
    margin-bottom: 13px;
    color: var(--xiv-cyan);
    font-family: 'Orbitron', sans-serif;
    font-size: 10px;
    letter-spacing: 4px;
    text-transform: uppercase;
}

.xiv-section-heading h2 {
    margin: 0;
    color: #edf2f4;
    font-family: 'Cinzel', serif;
    font-size: clamp(29px, 4vw, 45px);
    font-weight: 500;
    letter-spacing: 1px;
}

.xiv-section-heading p {
    margin: 17px 0 0;
    color: var(--xiv-muted);
    font-size: 14px;
    font-weight: 300;
    line-height: 1.8;
}

.xiv-heading-divider {
    width: 100px;
    height: 1px;
    margin: 23px auto 0;
    background: linear-gradient(90deg, transparent, var(--xiv-cyan), transparent);
}

/* ============================================================
   EXPANSIONS
   ============================================================ */

.xiv-expansions {
    background:
        linear-gradient(
            180deg,
            rgba(5, 9, 15, 0.50),
            rgba(5, 9, 15, 0.90)
        );
}

.xiv-expansion-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.xiv-expansion-card {
    --exp-accent: var(--xiv-cyan);
    position: relative;
    min-height: 310px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 29px;
    border: 1px solid var(--xiv-border);
    border-radius: 7px;
    background:
        linear-gradient(
            135deg,
            rgba(16, 25, 36, 0.94),
            rgba(7, 12, 20, 0.96)
        );
    transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}

.xiv-expansion-card:hover {
    border-color: var(--xiv-border-hover);
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}

.xiv-expansion-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: var(--exp-accent);
    opacity: .8;
    box-shadow: 0 0 18px var(--exp-accent);
}

.xiv-expansion-card::after {
    content: attr(data-symbol);
    position: absolute;
    right: 22px;
    top: 12px;
    color: var(--exp-accent);
    font-family: 'Cinzel', serif;
    font-size: 95px;
    opacity: .055;
    pointer-events: none;
}

.xiv-expansion-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
}

.xiv-expansion-number {
    color: var(--exp-accent);
    font-family: 'Orbitron', sans-serif;
    font-size: 11px;
    letter-spacing: 3px;
}

.xiv-expansion-version {
    padding: 6px 9px;
    border: 1px solid rgba(198, 213, 222, 0.16);
    border-radius: 3px;
    color: #aab7c0;
    font-family: 'Orbitron', sans-serif;
    font-size: 9px;
    letter-spacing: 1px;
}

.xiv-expansion-card h3 {
    position: relative;
    z-index: 1;
    margin: 28px 0 5px;
    color: #f0f4f6;
    font-family: 'Cinzel', serif;
    font-size: clamp(23px, 3vw, 31px);
    font-weight: 500;
    line-height: 1.3;
}

.xiv-expansion-subtitle {
    color: var(--exp-accent);
    font-family: 'Orbitron', sans-serif;
    font-size: 10px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.xiv-expansion-description {
    position: relative;
    z-index: 1;
    margin: 19px 0 20px;
    color: #b1bec6;
    font-size: 13px;
    font-weight: 300;
    line-height: 1.8;
}

.xiv-expansion-theme {
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid rgba(180, 199, 211, 0.12);
    color: #83939e;
    font-size: 10px;
    letter-spacing: .6px;
    line-height: 1.7;
}

.xiv-expansion-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-top: 18px;
}

.xiv-expansion-level {
    color: #9aaab4;
    font-size: 10px;
    letter-spacing: 1px;
}

.xiv-expansion-status {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #9fdbc0;
    font-size: 9px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.xiv-expansion-status::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #72d6a1;
    box-shadow: 0 0 9px rgba(114, 214, 161, 0.55);
}

.xiv-expansion-status.upcoming {
    color: #9edfeb;
}

.xiv-expansion-status.upcoming::before {
    background: #74d5e7;
    box-shadow: 0 0 9px rgba(116, 213, 231, 0.65);
}

.xiv-expansion-card.evercold {
    grid-column: 1 / -1;
    min-height: 270px;
    background:
        radial-gradient(
            ellipse at 85% 30%,
            rgba(75, 166, 192, 0.12),
            transparent 48%
        ),
        linear-gradient(
            115deg,
            rgba(13, 26, 37, 0.97),
            rgba(6, 12, 20, 0.96)
        );
}

.xiv-expansion-card.evercold .xiv-expansion-description {
    max-width: 900px;
}

/* ============================================================
   TOPICS
   ============================================================ */

.xiv-topics {
    background: rgba(4, 8, 13, 0.73);
    border-top: 1px solid rgba(116, 213, 231, 0.10);
    border-bottom: 1px solid rgba(116, 213, 231, 0.10);
}

.xiv-topic-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 17px;
}

.xiv-topic-card {
    min-height: 235px;
    display: flex;
    flex-direction: column;
    padding: 26px;
    border: 1px solid rgba(125, 190, 207, 0.15);
    border-radius: 6px;
    background: rgba(13, 20, 29, 0.72);
    transition: .25s ease;
}

.xiv-topic-card:hover {
    border-color: rgba(116, 213, 231, 0.52);
    background: rgba(20, 35, 46, 0.86);
    transform: translateY(-3px);
}

.xiv-topic-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    margin-bottom: 22px;
    border: 1px solid rgba(116, 213, 231, 0.30);
    border-radius: 5px;
    color: var(--xiv-cyan);
    background: rgba(116, 213, 231, 0.06);
    font-family: 'Cinzel', serif;
    font-size: 23px;
}

.xiv-topic-card h3 {
    margin: 0 0 7px;
    color: #e6edf0;
    font-family: 'Cinzel', serif;
    font-size: 20px;
    font-weight: 500;
}

.xiv-topic-subtitle {
    color: var(--xiv-cyan);
    font-family: 'Orbitron', sans-serif;
    font-size: 9px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.xiv-topic-card p {
    margin: 15px 0 20px;
    color: #a6b3bc;
    font-size: 12px;
    font-weight: 300;
    line-height: 1.8;
}

.xiv-topic-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: auto;
    padding-top: 13px;
    border-top: 1px solid rgba(180, 199, 211, 0.10);
}

.xiv-topic-tag {
    color: #81919c;
    font-size: 9px;
    letter-spacing: .5px;
}

.xiv-topic-status {
    color: #b5a47f;
    font-size: 9px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* ============================================================
   ABOUT
   ============================================================ */

.xiv-about {
    padding: 80px 0 90px;
}

.xiv-about-panel {
    position: relative;
    overflow: hidden;
    padding: 48px;
    border: 1px solid rgba(116, 213, 231, 0.19);
    border-radius: 7px;
    background:
        radial-gradient(
            ellipse at 100% 0,
            rgba(116, 213, 231, 0.08),
            transparent 50%
        ),
        rgba(10, 15, 23, 0.83);
}

.xiv-about-panel::after {
    content: "✦";
    position: absolute;
    right: 35px;
    bottom: -65px;
    color: rgba(116, 213, 231, 0.045);
    font-family: 'Cinzel', serif;
    font-size: 260px;
    pointer-events: none;
}

.xiv-about-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
}

.xiv-about-content h2 {
    margin: 0 0 20px;
    color: #edf3f5;
    font-family: 'Cinzel', serif;
    font-size: 32px;
    font-weight: 500;
}

.xiv-about-content p {
    color: #aebbc3;
    font-size: 13px;
    font-weight: 300;
    line-height: 2;
}

.xiv-about-note {
    margin-top: 26px;
    padding-left: 17px;
    border-left: 2px solid var(--xiv-cyan);
    color: #d1e4e9 !important;
}

/* ============================================================
   FOOTER
   ============================================================ */

.xiv-footer {
    position: relative;
    z-index: 2;
    width: 100%;
}

/* ============================================================
   RESPONSIVE: TABLET
   ============================================================ */

@media (max-width: 1100px) {
    .xiv-header-inner {
        gap: 15px;
    }

    .xiv-nav a {
        padding: 10px 8px;
        font-size: 9px;
    }

    .xiv-topic-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* ============================================================
   RESPONSIVE: MOBILE
   ============================================================ */

@media (max-width: 768px) {
    .xiv-content,
    .xiv-header-inner,
    .xiv-hero-inner {
        width: calc(100% - 30px);
    }

    .xiv-header {
        position: relative;
    }

    .xiv-header-inner {
        padding: 13px 0;
        align-items: flex-start;
        flex-direction: column;
    }

    .xiv-nav {
        width: 100%;
        justify-content: flex-start;
        gap: 3px;
    }

    .xiv-nav a {
        padding: 9px 8px;
        font-size: 9px;
    }

    .xiv-hero {
        min-height: 530px;
    }

    .xiv-hero-inner {
        padding: 70px 0 90px;
    }

    .xiv-hero-description {
        font-size: 14px;
    }

    .xiv-section {
        padding: 65px 0;
    }

    .xiv-expansion-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .xiv-expansion-card {
        min-height: 290px;
        padding: 24px;
    }

    .xiv-expansion-card.evercold {
        grid-column: auto;
    }

    .xiv-topic-grid {
        grid-template-columns: 1fr;
    }

    .xiv-topic-card {
        min-height: 210px;
    }

    .xiv-about-panel {
        padding: 30px 23px;
    }

    .xiv-about-content h2 {
        font-size: 26px;
    }
}

/* ============================================================
   ACCESSIBILITY
   ============================================================ */

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: .01ms !important;
    }
}