@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;800;900&family=Outfit:wght@700;900&display=swap');

:root {
    --bg: #050706;
    --surface: rgba(16, 20, 18, 0.88);
    --surface-2: rgba(25, 31, 28, 0.9);
    --line: rgba(224, 211, 176, 0.15);
    --text: #f2efe4;
    --muted: #aaa89c;
    --dim: #6f7168;
    --gold: #d4a64d;
    --green: #7f936e;
    --blue: #78a9b2;
    --red: #b35a43;
    --shadow: 0 28px 90px rgba(0, 0, 0, 0.58);
    --font-main: 'Inter', system-ui, sans-serif;
    --font-title: 'Outfit', system-ui, sans-serif;
    --ease: 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 88px;
}

body {
    min-height: 100vh;
    overflow-x: hidden;
    color: var(--text);
    font-family: var(--font-main);
    line-height: 1.65;
    background:
        radial-gradient(circle at 72% 12%, rgba(212, 166, 77, 0.16), transparent 28rem),
        radial-gradient(circle at 16% 44%, rgba(120, 169, 178, 0.11), transparent 34rem),
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px) 0 0 / 68px 68px,
        linear-gradient(0deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px) 0 0 / 68px 68px,
        linear-gradient(180deg, #070908 0%, #121611 48%, #050706 100%);
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    background:
        radial-gradient(ellipse at center, transparent 0 42%, rgba(0, 0, 0, 0.68) 84%),
        repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.018) 0 1px, transparent 1px 18px);
}

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

p {
    color: var(--muted);
}

strong {
    color: var(--text);
}

h1,
h2,
h3 {
    font-family: var(--font-title);
    line-height: 1.08;
    letter-spacing: 0.035em;
    text-transform: uppercase;
}

.container {
    width: min(1160px, calc(100% - 36px));
    margin: 0 auto;
}

#flashlight {
    position: fixed;
    inset: 0;
    z-index: 9999;
    pointer-events: none;
    background: radial-gradient(circle at center, transparent 0 120px, rgba(0, 0, 0, 0.33) 330px, rgba(0, 0, 0, 0.78) 720px);
    transition: background 0.08s ease;
}

.site-nav {
    position: fixed;
    inset: 0 0 auto;
    z-index: 1000;
    border-bottom: 1px solid var(--line);
    background: rgba(5, 7, 6, 0.82);
    backdrop-filter: blur(16px);
}

.nav-content {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 0.72rem;
    color: #fff;
    font-family: var(--font-title);
    font-weight: 900;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.logo::before {
    content: '';
    width: 13px;
    height: 13px;
    border: 2px solid var(--gold);
    transform: rotate(45deg);
    box-shadow: 0 0 18px rgba(212, 166, 77, 0.52);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 0.2rem;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.nav-links a {
    padding: 0.6rem 0.68rem;
    border-bottom: 2px solid transparent;
    color: rgba(242, 239, 228, 0.68);
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
    color: #fff;
    border-color: var(--gold);
}

.hero {
    min-height: 100vh;
    display: grid;
    align-items: end;
    position: relative;
    overflow: hidden;
    padding: 140px 0 84px;
}

.hero-small {
    min-height: 68vh;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -3;
    background:
        linear-gradient(90deg, rgba(5, 7, 6, 0.95), rgba(5, 7, 6, 0.42) 48%, rgba(5, 7, 6, 0.96)),
        linear-gradient(180deg, rgba(0, 0, 0, 0.05), rgba(5, 7, 6, 0.95)),
        url('https://images.unsplash.com/photo-1509023467864-1ecbb3f6354b?auto=format&fit=crop&q=80&w=2200') center/cover no-repeat;
    filter: grayscale(0.25) contrast(1.08) brightness(0.58);
}

.hero-fog {
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
        linear-gradient(120deg, transparent 0 57%, rgba(212, 166, 77, 0.16) 57% 57.4%, transparent 57.4%),
        radial-gradient(circle at 72% 35%, rgba(212, 166, 77, 0.15), transparent 15rem);
}

.hero-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: clamp(2rem, 6vw, 5rem);
    align-items: end;
}

.hero-copy {
    max-width: 790px;
    padding-left: clamp(1rem, 3vw, 2.25rem);
    border-left: 4px solid var(--gold);
}

.eyebrow,
.kicker {
    display: inline-block;
    margin-bottom: 1rem;
    color: var(--gold);
    font-size: 0.74rem;
    font-weight: 900;
    letter-spacing: 0.24em;
    text-transform: uppercase;
}

.hero-title {
    max-width: 9ch;
    margin-bottom: 1.1rem;
    color: #fff;
    font-size: clamp(4rem, 13vw, 9.5rem);
    opacity: 0;
    text-shadow: 0 0 48px rgba(0, 0, 0, 0.84);
}

.hero-text {
    max-width: 680px;
    color: rgba(242, 239, 228, 0.79);
    font-size: clamp(1.04rem, 1.8vw, 1.3rem);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-top: 2rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0.76rem 1rem;
    border: 1px solid var(--line);
    color: #fff;
    font-size: 0.82rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

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

.btn-primary {
    border-color: rgba(212, 166, 77, 0.72);
    background: var(--gold);
    color: #171207;
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.045);
}

.briefing-panel {
    padding: 1.25rem;
    border: 1px solid var(--line);
    background: rgba(9, 12, 10, 0.72);
    box-shadow: var(--shadow);
}

.panel-code {
    display: block;
    margin-bottom: 1rem;
    color: var(--gold);
    font-size: 0.74rem;
    font-weight: 900;
    letter-spacing: 0.18em;
}

.briefing-panel dl {
    display: grid;
    gap: 0.8rem;
}

.briefing-panel div {
    padding-top: 0.8rem;
    border-top: 1px solid rgba(224, 211, 176, 0.11);
}

.briefing-panel dt {
    color: var(--dim);
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.briefing-panel dd {
    margin-top: 0.2rem;
    color: #fff;
    font-weight: 800;
}

.section {
    position: relative;
    padding: 92px 0;
    opacity: 0;
    transform: translateY(34px);
    transition: opacity var(--ease), transform var(--ease);
}

.section::before {
    content: '';
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--line), transparent);
}

.section.revealed,
.hero.revealed {
    opacity: 1;
    transform: translateY(0);
}

.section-head {
    max-width: 760px;
    margin-bottom: 2.2rem;
}

.section h2 {
    margin-bottom: 1rem;
    font-size: clamp(2.1rem, 4.8vw, 4rem);
}

.split-layout,
.trailer-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.78fr);
    gap: clamp(2rem, 5vw, 5rem);
    align-items: center;
}

.trailer-layout {
    grid-template-columns: minmax(220px, 0.55fr) minmax(520px, 1.45fr);
    gap: clamp(1.5rem, 3.5vw, 3.5rem);
}

.mission-board,
.mechanic-card,
.enemy-card,
.news-card,
.member-card,
.video-shell,
.impressum-box {
    border: 1px solid var(--line);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.07), transparent 24%),
        var(--surface);
    box-shadow: var(--shadow);
}

.mission-board {
    padding: 2rem;
    border-left: 6px solid var(--gold);
}

.mission-board span {
    display: block;
    margin-bottom: 1rem;
    color: #fff;
    font-family: var(--font-title);
    font-weight: 900;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.mission-board ul {
    display: grid;
    gap: 1rem;
    list-style: none;
}

.mission-board li {
    position: relative;
    padding: 0.85rem 0 0.85rem 1.45rem;
    border-top: 1px solid rgba(224, 211, 176, 0.1);
    color: rgba(242, 239, 228, 0.8);
}

.mission-board li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 1.35rem;
    width: 8px;
    height: 8px;
    background: var(--gold);
    transform: rotate(45deg);
}

.mechanic-grid,
.news-grid,
.team-grid {
    display: grid;
    gap: 1rem;
}

.mechanic-grid {
    grid-template-columns: repeat(3, 1fr);
}

.mechanic-card {
    min-height: 245px;
    padding: 1.45rem;
    display: flex;
    flex-direction: column;
}

.mechanic-card span {
    color: var(--gold);
    font-weight: 900;
    letter-spacing: 0.16em;
}

.mechanic-card h3 {
    margin-top: 1.1rem;
    color: #fff;
    font-size: 1.35rem;
}

.mechanic-card p {
    margin-top: 0.8rem;
    font-size: 0.96rem;
}

.enemy-showcase {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 1rem;
}

.enemy-card {
    overflow: hidden;
    display: grid;
    grid-template-rows: 360px 1fr;
}

.enemy-visual {
    height: 100%;
    min-height: 0;
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(135deg, transparent 0 48%, rgba(212, 166, 77, 0.12) 48% 49%, transparent 49%),
        radial-gradient(ellipse at center, rgba(120, 169, 178, 0.12), #020303 72%);
}

.enemy-visual img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
    filter: contrast(1.05) saturate(0.88) brightness(0.88);
}

.enemy-visual::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(180deg, transparent 42%, rgba(2, 3, 3, 0.38)),
        radial-gradient(ellipse at center, transparent 38%, rgba(0, 0, 0, 0.28) 100%);
}

.enemy-content {
    padding: 1.45rem;
}

.enemy-type {
    display: inline-block;
    margin-bottom: 0.7rem;
    color: var(--gold);
    font-size: 0.74rem;
    font-weight: 900;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.enemy-content h3 {
    color: #fff;
    font-size: clamp(1.7rem, 3vw, 2.7rem);
}

.enemy-content p {
    margin-top: 0.75rem;
}

.swarm-visual img {
    object-position: center 44%;
}

.giant-visual img {
    object-position: center 38%;
}

.news-grid {
    grid-template-columns: repeat(2, 1fr);
}

.news-card {
    padding: 1.45rem;
}

.news-card time {
    display: block;
    margin-bottom: 0.9rem;
    color: var(--gold);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.news-card h3 {
    color: #fff;
}

.video-shell {
    width: 100%;
    aspect-ratio: 16 / 9;
    min-height: 360px;
    overflow: hidden;
    background: #020303;
}

.video-shell video,
.video-shell iframe {
    width: 100%;
    height: 100%;
    display: block;
    border: 0;
    object-fit: cover;
}

.team-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.team-grid {
    grid-template-columns: 1fr;
}

.member-card {
    position: relative;
    padding: clamp(1.6rem, 4vw, 3.2rem);
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
    gap: clamp(1.4rem, 4vw, 3rem);
    align-items: center;
}

.member-card::before {
    content: '';
    position: absolute;
    inset: 0 auto 0 0;
    width: 7px;
    background: var(--member-color);
}

.member-card.amber {
    --member-color: var(--gold);
}

.member-card.blue {
    --member-color: var(--blue);
}

.member-card.red {
    --member-color: var(--red);
}

.member-photo {
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border: 1px solid rgba(224, 211, 176, 0.18);
    background: #020303;
}

.member-photo img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
    filter: contrast(1.04) saturate(0.9);
}

.member-photo-max img {
    object-position: center 18%;
}

.member-content {
    min-width: 0;
}

.role-tag {
    display: inline-block;
    margin-bottom: 1.1rem;
    color: var(--member-color);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.member-card h2 {
    margin-bottom: 0.9rem;
    color: #fff;
    font-size: clamp(2rem, 5vw, 3.8rem);
}

.member-card p {
    max-width: 820px;
    font-size: 1.05rem;
}

.contact-link {
    display: inline-flex;
    margin-top: 1.3rem;
    padding: 0.72rem 0.92rem;
    border: 1px solid rgba(212, 166, 77, 0.42);
    background: rgba(212, 166, 77, 0.08);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.contact-link:hover {
    border-color: var(--gold);
    background: rgba(212, 166, 77, 0.14);
}

.impressum-box {
    padding: clamp(1.5rem, 4vw, 2.5rem);
}

.impressum-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0.8rem;
    margin-top: 1.5rem;
}

.impressum-grid div {
    display: grid;
    gap: 0.25rem;
    padding: 1rem;
    border: 1px solid rgba(224, 211, 176, 0.1);
    background: rgba(0, 0, 0, 0.18);
}

.impressum-grid strong {
    color: var(--gold);
    font-size: 0.76rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.impressum-grid span,
.impressum-grid a {
    color: rgba(242, 239, 228, 0.78);
}

.site-footer {
    padding: 34px 0;
    border-top: 1px solid var(--line);
    background: rgba(0, 0, 0, 0.24);
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.site-footer p {
    color: var(--dim);
    font-size: 0.86rem;
}

.back-to-top {
    width: 44px;
    height: 44px;
    border: 1px solid rgba(212, 166, 77, 0.46);
    border-radius: 50%;
    background: transparent;
    color: var(--gold);
    cursor: pointer;
    font-size: 1.2rem;
    transition: transform 0.18s ease, background 0.18s ease;
}

.back-to-top:hover {
    transform: translateY(-3px);
    background: rgba(212, 166, 77, 0.12);
}

@media (max-width: 980px) {
    .hero-layout,
    .split-layout,
    .trailer-layout,
    .mechanic-grid,
    .enemy-showcase,
    .news-grid {
        grid-template-columns: 1fr;
    }

    .briefing-panel {
        max-width: 520px;
    }

    .video-shell {
        min-height: auto;
    }

}

@media (max-width: 720px) {
    html {
        scroll-padding-top: 132px;
    }

    #flashlight {
        display: none;
    }

    .container {
        width: min(100% - 28px, 1160px);
    }

    .nav-content {
        min-height: auto;
        flex-direction: column;
        align-items: stretch;
        padding: 0.85rem 0;
    }

    .logo {
        align-self: flex-start;
        font-size: 0.9rem;
        letter-spacing: 0.13em;
    }

    .nav-links {
        width: 100%;
        overflow-x: auto;
        padding-bottom: 0.18rem;
        justify-content: flex-start;
        gap: 0.35rem;
        font-size: 0.66rem;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .nav-links::-webkit-scrollbar {
        display: none;
    }

    .nav-links a {
        flex: 0 0 auto;
        padding: 0.5rem 0.46rem;
    }

    .hero {
        min-height: auto;
        padding-top: 154px;
        padding-bottom: 58px;
    }

    .hero-small {
        min-height: 62vh;
    }

    .hero-copy {
        padding-left: 1rem;
    }

    .hero-title {
        max-width: 100%;
        font-size: clamp(3rem, 17vw, 5.4rem);
        overflow-wrap: anywhere;
    }

    .hero-text,
    .section p,
    .mission-board li {
        font-size: 0.98rem;
    }

    .hero-actions,
    .team-strip {
        width: 100%;
    }

    .btn {
        width: 100%;
        min-height: 48px;
        padding: 0.76rem 0.8rem;
        text-align: center;
        letter-spacing: 0.08em;
    }

    .section {
        padding: 64px 0;
    }

    .enemy-visual {
        min-height: 0;
    }

    .enemy-card {
        grid-template-rows: 280px 1fr;
    }

    .team-strip,
    .footer-content {
        align-items: flex-start;
        flex-direction: column;
    }

    .member-card {
        grid-template-columns: 1fr;
    }

    .member-photo {
        width: min(100%, 340px);
    }

    .contact-link {
        max-width: 100%;
        text-align: center;
        overflow-wrap: anywhere;
    }
}

@media (max-width: 430px) {
    .container {
        width: min(100% - 22px, 1160px);
    }

    .logo {
        font-size: 0.78rem;
    }

    .nav-links {
        font-size: 0.6rem;
    }

    .hero {
        padding-top: 146px;
    }

    .hero-copy {
        padding-left: 0.8rem;
        border-left-width: 3px;
    }

    .hero-title {
        font-size: clamp(2.7rem, 16vw, 4.4rem);
    }

    .section h2,
    .member-card h2 {
        font-size: clamp(1.9rem, 11vw, 3rem);
    }

    .mission-board,
    .mechanic-card,
    .enemy-content,
    .news-card,
    .impressum-box {
        padding: 1.1rem;
    }

    .enemy-card {
        grid-template-rows: 230px 1fr;
    }

    .impressum-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        gap: 1.2rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition: none !important;
        animation: none !important;
    }
}
