@font-face { font-family: 'Inter'; font-weight: 300; font-style: normal; font-display: swap; src: url('../fonts/inter-300.woff2') format('woff2'), url('../fonts/inter-300.ttf') format('truetype'); }
@font-face { font-family: 'Inter'; font-weight: 400; font-style: normal; font-display: swap; src: url('../fonts/inter-400.woff2') format('woff2'), url('../fonts/inter-400.ttf') format('truetype'); }
@font-face { font-family: 'Inter'; font-weight: 500; font-style: normal; font-display: swap; src: url('../fonts/inter-500.woff2') format('woff2'), url('../fonts/inter-500.ttf') format('truetype'); }
@font-face { font-family: 'Inter'; font-weight: 600; font-style: normal; font-display: swap; src: url('../fonts/inter-600.woff2') format('woff2'), url('../fonts/inter-600.ttf') format('truetype'); }
@font-face { font-family: 'Inter'; font-weight: 700; font-style: normal; font-display: swap; src: url('../fonts/inter-700.woff2') format('woff2'), url('../fonts/inter-700.ttf') format('truetype'); }
@font-face { font-family: 'Teko'; font-weight: 400; font-style: normal; font-display: swap; src: url('../fonts/teko-400.woff2') format('woff2'), url('../fonts/teko-400.ttf') format('truetype'); }
@font-face { font-family: 'Teko'; font-weight: 500; font-style: normal; font-display: swap; src: url('../fonts/teko-500.woff2') format('woff2'), url('../fonts/teko-500.ttf') format('truetype'); }
@font-face { font-family: 'Teko'; font-weight: 600; font-style: normal; font-display: swap; src: url('../fonts/teko-600.woff2') format('woff2'), url('../fonts/teko-600.ttf') format('truetype'); }
@font-face { font-family: 'Teko'; font-weight: 700; font-style: normal; font-display: swap; src: url('../fonts/teko-700.woff2') format('woff2'), url('../fonts/teko-700.ttf') format('truetype'); }

:root {

    --black: #050507;
    --void: #0a0a0f;
    --obsidian: #111118;
    --charcoal: #1a1a22;
    --smoke: #2a2a35;

    --blood: #e11d29;
    --blood-deep: #a50d18;
    --blood-dark: #6b0710;
    --blood-light: #ff3846;
    --crimson: #c4141f;

    --gold: #f5c842;
    --gold-dark: #c49a2e;

    --ivory: #f5f3ef;
    --bone: #d4cfc4;
    --ash: #7c7a74;
    --graphite: #3a3a42;

    --glow-blood: 0 0 40px rgba(225, 29, 41, 0.45);
    --glow-blood-soft: 0 0 80px rgba(225, 29, 41, 0.2);
    --glow-gold: 0 0 30px rgba(245, 200, 66, 0.4);
    --shadow-deep: 0 30px 80px rgba(0, 0, 0, 0.6);
    --shadow-med: 0 10px 40px rgba(0, 0, 0, 0.4);

    --grad-blood: linear-gradient(135deg, #6b0710 0%, #e11d29 50%, #ff3846 100%);
    --grad-blood-flat: linear-gradient(90deg, #a50d18, #e11d29);
    --grad-noir: linear-gradient(180deg, #050507 0%, #0a0a0f 50%, #050507 100%);
    --grad-vignette: radial-gradient(ellipse at center, transparent 40%, rgba(5,5,7,0.9) 100%);

    --font-display: 'Teko', 'Impact', sans-serif;
    --font-body: 'Inter', system-ui, sans-serif;

    --font-ui: 'Inter', system-ui, sans-serif;

    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-smooth: cubic-bezier(0.65, 0, 0.35, 1);
    --ease-snap: cubic-bezier(0.22, 1.3, 0.36, 1);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    background: var(--black);
    color-scheme: dark;
}

body {
    font-family: var(--font-body);
    background: var(--black);
    color: var(--ivory);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    cursor: default;
}

img { max-width: 100%; height: auto; display: block; -webkit-user-drag: none; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

::selection { background: var(--blood); color: var(--ivory); }

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: var(--blood-dark); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--blood); }

.page-loader {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: var(--black);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    transition: opacity 0.8s var(--ease-out), visibility 0.8s;
}

.page-loader.hide {
    opacity: 0;
    visibility: hidden;
}

.loader-logo {
    width: 90px;
    opacity: 0;
    animation: loader-pulse 1.5s var(--ease-out) infinite;
}

@keyframes loader-pulse {
    0%, 100% { opacity: 0.3; transform: scale(0.95); filter: drop-shadow(0 0 10px rgba(225,29,41,0.3)); }
    50% { opacity: 1; transform: scale(1.05); filter: drop-shadow(0 0 30px rgba(225,29,41,0.8)); }
}

.loader-bar {
    width: 200px;
    height: 2px;
    background: rgba(255,255,255,0.05);
    overflow: hidden;
    border-radius: 2px;
}

.loader-bar::before {
    content: '';
    display: block;
    width: 40%;
    height: 100%;
    background: var(--grad-blood-flat);
    animation: loader-slide 1.2s ease-in-out infinite;
}

@keyframes loader-slide {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(350%); }
}

.noise-overlay {
    position: fixed;
    inset: 0;
    z-index: 1000;
    pointer-events: none;
    opacity: 0.04;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' /%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' /%3E%3C/svg%3E");
    mix-blend-mode: overlay;
}

.ambient-bg {
    position: fixed;
    inset: 0;
    z-index: -3;
    background: var(--black);
    overflow: hidden;
}

.ambient-bg::before,
.ambient-bg::after {
    content: '';
    position: absolute;
    width: 100vmax;
    height: 100vmax;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.45;
    pointer-events: none;
}

.ambient-bg::before {
    background: radial-gradient(circle, rgba(225, 29, 41, 0.35), transparent 55%);
    top: -40%;
    left: -20%;
    animation: aurora-drift-1 28s ease-in-out infinite;
}

.ambient-bg::after {
    background: radial-gradient(circle, rgba(165, 13, 24, 0.28), transparent 55%);
    bottom: -50%;
    right: -30%;
    animation: aurora-drift-2 32s ease-in-out infinite;
}

@keyframes aurora-drift-1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(25vw, 15vh) scale(1.1); }
    66% { transform: translate(-15vw, 30vh) scale(0.95); }
}

@keyframes aurora-drift-2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-20vw, -25vh) scale(1.15); }
}

.ambient-glow {
    position: fixed;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    overflow: hidden;
}

.ambient-glow::before {
    content: '';
    position: absolute;
    width: 60vmax;
    height: 60vmax;
    top: 50%;
    left: 50%;
    background: radial-gradient(circle, rgba(225, 29, 41, 0.18), transparent 60%);
    border-radius: 50%;
    filter: blur(60px);
    transform: translate(-50%, -50%);
    animation: aurora-drift-3 24s ease-in-out infinite;
    opacity: 0.6;
}

@keyframes aurora-drift-3 {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
    50% { transform: translate(-30%, -70%) scale(1.2); opacity: 0.75; }
}

.particle-field {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}

.particle {
    position: absolute;
    bottom: -20px;
    border-radius: 50%;
    opacity: 0;
    animation: particle-float linear infinite;
    will-change: transform, opacity;
}

.particle.small {
    width: 2px;
    height: 2px;
    background: rgba(225, 29, 41, 0.8);
    box-shadow: 0 0 4px rgba(225, 29, 41, 0.6);
}

.particle.medium {
    width: 3px;
    height: 3px;
    background: rgba(255, 56, 70, 0.7);
    box-shadow: 0 0 8px rgba(255, 56, 70, 0.5);
}

.particle.tiny {
    width: 1px;
    height: 1px;
    background: rgba(255, 255, 255, 0.4);
    box-shadow: 0 0 3px rgba(255, 255, 255, 0.3);
}

.particle.gold {
    width: 2px;
    height: 2px;
    background: rgba(245, 200, 66, 0.5);
    box-shadow: 0 0 4px rgba(245, 200, 66, 0.4);
}

@keyframes particle-float {
    0% {
        opacity: 0;
        transform: translate(0, 0) scale(0);
    }
    10% {
        opacity: 1;
        transform: translate(var(--drift-x, 0px), -15vh) scale(1);
    }
    90% {
        opacity: 0.8;
        transform: translate(calc(var(--drift-x, 0px) * 2), -90vh) scale(1);
    }
    100% {
        opacity: 0;
        transform: translate(calc(var(--drift-x, 0px) * 2.2), -110vh) scale(0.5);
    }
}

.scan-lines {
    position: fixed;
    inset: 0;
    z-index: 1001;
    pointer-events: none;
    background: repeating-linear-gradient(
        0deg,
        transparent 0px,
        transparent 2px,
        rgba(255,255,255,0.012) 3px,
        transparent 4px
    );
    mix-blend-mode: overlay;
}

.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    padding: 0 2rem;
    height: 78px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s var(--ease-out);
    background: transparent;
    border-bottom: 1px solid transparent;
}

.nav.scrolled {
    height: 64px;
    background: rgba(5, 5, 7, 0.92);
    backdrop-filter: blur(20px) saturate(140%);
    border-bottom-color: rgba(225, 29, 41, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.nav-brand {
    position: absolute;
    left: 2rem;
    top: 50%;
    transform: translateY(-50%) scale(0.85);
    display: flex;
    align-items: center;
    gap: 0.7rem;
    text-decoration: none;
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s var(--ease-out);
}

.nav.scrolled .nav-brand {
    opacity: 1;
    transform: translateY(-50%) scale(1);
    pointer-events: auto;
}

.nav-brand img {
    height: 38px;
    width: auto;
    filter: drop-shadow(0 0 10px rgba(225, 29, 41, 0.5));
    transition: filter 0.3s ease;
}

.nav-brand:hover img {
    filter: drop-shadow(0 0 18px rgba(225, 29, 41, 0.8));
}

.nav-brand-name {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 4px;
    color: var(--ivory);
    text-transform: uppercase;
    line-height: 1;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu a {
    display: inline-flex;
    align-items: center;
    padding: 0.55rem 1.1rem;
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--bone);
    border-radius: 6px;
    transition: all 0.25s var(--ease-out);
    line-height: 1;
    text-decoration: none;
}

.nav-menu a:hover {
    color: var(--ivory);
    background: rgba(225, 29, 41, 0.08);
}

.nav-menu a.active {
    color: var(--ivory);
    background: rgba(225, 29, 41, 0.12);
}

.nav-menu a.cta {
    background: var(--blood);
    color: var(--ivory);
    font-weight: 700;
    padding: 0.55rem 1.5rem;
    margin: 0 0.4rem;
    box-shadow:
        0 2px 15px rgba(225, 29, 41, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    position: relative;
    overflow: hidden;
    isolation: isolate;
    animation: cta-breathe 3s ease-in-out infinite;
}

.nav-menu a.cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--blood-light), var(--blood) 50%, var(--blood-deep));
    opacity: 0;
    transition: opacity 0.4s var(--ease-out);
    z-index: -1;
}

.nav-menu a.cta::after {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 60%;
    height: 100%;
    background: linear-gradient(
        100deg,
        transparent 20%,
        rgba(255, 255, 255, 0.35) 50%,
        transparent 80%
    );
    transform: skewX(-20deg);
    animation: cta-shimmer 4.5s ease-in-out infinite;
    animation-delay: 1.5s;
    z-index: 0;
    pointer-events: none;
}

@keyframes cta-breathe {
    0%, 100% {
        box-shadow: 0 2px 15px rgba(225, 29, 41, 0.4), inset 0 1px 0 rgba(255,255,255,0.15);
        transform: scale(1);
    }
    50% {
        box-shadow:
            0 6px 30px rgba(225, 29, 41, 0.65),
            0 0 50px rgba(225, 29, 41, 0.25),
            inset 0 1px 0 rgba(255,255,255,0.2);
        transform: scale(1.025);
    }
}

@keyframes cta-shimmer {
    0% { left: -150%; }
    30% { left: 250%; }
    100% { left: 250%; }
}

.nav-menu a.cta:hover {
    color: #fff;
    transform: translateY(-2px) scale(1.08) !important;
    box-shadow:
        0 10px 40px rgba(225, 29, 41, 0.7),
        0 0 60px rgba(225, 29, 41, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.25);
    animation-play-state: paused;
    letter-spacing: 3.5px;
}

.nav-menu a.cta:hover::before {
    opacity: 1;
}

.nav-menu a.cta:active {
    transform: translateY(0) scale(1.02) !important;
}

.nav-menu a.beta {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: var(--black);
    font-weight: 800;
    padding: 0.55rem 1.2rem 0.55rem 1.2rem;
    margin-left: 0.4rem;
    box-shadow:
        0 2px 12px rgba(245, 200, 66, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
    isolation: isolate;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    animation: beta-pulse 3s ease-in-out infinite;
}

.nav-menu a.beta::before {
    content: '';
    width: 7px;
    height: 7px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.9), 0 0 14px rgba(255, 255, 255, 0.5);
    animation: beta-dot 1.4s ease-in-out infinite;
    flex-shrink: 0;
}

.nav-menu a.beta::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -150%;
    width: 70%;
    height: 200%;
    background: linear-gradient(
        110deg,
        transparent 25%,
        rgba(255, 255, 255, 0.55) 50%,
        transparent 75%
    );
    transform: rotate(10deg);
    animation: beta-shine 4s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes beta-pulse {
    0%, 100% {
        box-shadow:
            0 2px 12px rgba(245, 200, 66, 0.4),
            inset 0 1px 0 rgba(255, 255, 255, 0.3);
    }
    50% {
        box-shadow:
            0 5px 25px rgba(245, 200, 66, 0.7),
            0 0 40px rgba(245, 200, 66, 0.25),
            inset 0 1px 0 rgba(255, 255, 255, 0.4);
    }
}

@keyframes beta-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.3; transform: scale(1.4); }
}

@keyframes beta-shine {
    0% { left: -150%; }
    40% { left: 250%; }
    100% { left: 250%; }
}

.nav-menu a.beta:hover {
    transform: translateY(-2px) scale(1.06) !important;
    box-shadow:
        0 8px 30px rgba(245, 200, 66, 0.7),
        0 0 50px rgba(245, 200, 66, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
    background: linear-gradient(135deg, #ffd85c 0%, var(--gold) 100%);
    color: var(--black);
    animation-play-state: paused;
    letter-spacing: 3.5px;
}

.nav-menu a.beta:active {
    transform: translateY(0) scale(1.02) !important;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    padding: 10px;
    cursor: pointer;
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    z-index: 2;
}

.nav-toggle span {
    width: 26px;
    height: 2px;
    background: var(--ivory);
    border-radius: 2px;
    transition: all 0.3s var(--ease-out);
    transform-origin: center;
}

.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 6.5rem 2rem 3rem;
    overflow: hidden;
}

.hero-spotlight {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120%;
    height: 120%;
    transform: translate(-50%, -50%);
    background:
        radial-gradient(circle at center, rgba(225, 29, 41, 0.18) 0%, transparent 45%),
        radial-gradient(circle at center, rgba(225, 29, 41, 0.08) 0%, transparent 70%);
    pointer-events: none;
    animation: spotlight-pulse 8s ease-in-out infinite;
}

@keyframes spotlight-pulse {
    0%, 100% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 0.7; transform: translate(-50%, -50%) scale(1.1); }
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(225,29,41,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(225,29,41,0.04) 1px, transparent 1px);
    background-size: 80px 80px;
    mask-image: radial-gradient(ellipse at center, black, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black, transparent 70%);
    animation: grid-drift 30s linear infinite;
}

@keyframes grid-drift {
    0% { background-position: 0 0; }
    100% { background-position: 80px 80px; }
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 1100px;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    font-family: var(--font-ui);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: var(--bone);
    margin-bottom: 1.1rem;
    animation: enter-up 0.8s var(--ease-out) 0.3s both;
}

.hero-tag::before,
.hero-tag::after {
    content: '';
    width: 46px;
    height: 1px;
    flex-shrink: 0;
}

.hero-tag::before {
    background: linear-gradient(90deg, transparent, rgba(225, 29, 41, 0.85));
}

.hero-tag::after {
    background: linear-gradient(90deg, rgba(225, 29, 41, 0.85), transparent);
}

@keyframes tag-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(1.3); }
}

.hero-logo-wrap {
    position: relative;
    display: block;
    width: fit-content;
    margin: 0 auto 1rem;
    animation: enter-logo 1.4s var(--ease-out) both;
}

.hero-logo {
    width: clamp(160px, 17vw, 230px);
    filter: drop-shadow(0 0 60px rgba(225,29,41,0.5));
}

@keyframes enter-logo {
    0% { opacity: 0; transform: scale(0.4) rotate(-12deg); filter: drop-shadow(0 0 0 transparent) blur(20px); }
    50% { opacity: 1; filter: drop-shadow(0 0 80px rgba(225,29,41,0.8)) blur(0); }
    100% { opacity: 1; transform: scale(1) rotate(0); filter: drop-shadow(0 0 60px rgba(225,29,41,0.5)); }
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 8vw, 6.2rem);
    font-weight: 700;
    line-height: 0.9;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.hero-title .line {
    display: block;
    overflow: hidden;
    padding: 0.05em 0;
}

.hero-title .line span {
    display: inline-block;
    animation: reveal-line 1s var(--ease-out) both;
}

.hero-title .line:nth-child(1) span { animation-delay: 0.6s; }
.hero-title .line:nth-child(2) span { animation-delay: 0.8s; }

@keyframes reveal-line {
    from { transform: translateY(110%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.hero-title .accent {
    background: var(--grad-blood);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.hero-subtitle {
    font-size: clamp(1rem, 1.4vw, 1.2rem);
    color: var(--bone);
    max-width: 600px;
    margin: 0 auto 1.8rem;
    font-weight: 300;
    line-height: 1.7;
    animation: enter-up 1s var(--ease-out) 1.1s both;
}

.hero-subtitle strong {
    color: var(--ivory);
    font-weight: 600;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 1.8rem;
    animation: enter-up 1s var(--ease-out) 1.3s both;
}

.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 1rem 2.2rem;
    font-family: var(--font-ui);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-radius: 4px;
    overflow: hidden;
    transition: all 0.4s var(--ease-out);
    white-space: nowrap;
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--grad-blood-flat);
    transform: translateX(-101%);
    transition: transform 0.4s var(--ease-out);
    z-index: -1;
}

.btn-primary {
    background: var(--blood);
    color: var(--ivory);
    box-shadow: 0 10px 30px -10px rgba(225,29,41,0.5), inset 0 1px 0 rgba(255,255,255,0.1);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 50px -10px rgba(225,29,41,0.7), inset 0 1px 0 rgba(255,255,255,0.15);
}

.btn-primary::before {
    background: linear-gradient(90deg, var(--blood-light), var(--blood));
}

.btn-primary:hover::before {
    transform: translateX(0);
}

.btn-ghost {
    background: transparent;
    color: var(--ivory);
    border: 1px solid rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
}

.btn-ghost:hover {
    border-color: var(--blood);
    color: var(--blood-light);
    transform: translateY(-3px);
    background: rgba(225,29,41,0.05);
}

.btn-discord {
    background: #5865f2;
    color: #fff;
    box-shadow:
        0 10px 30px -10px rgba(88, 101, 242, 0.55),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    position: relative;
    overflow: hidden;
}

.btn-discord::before {
    background: linear-gradient(90deg, #7984ff, #5865f2) !important;
}

.btn-discord:hover {
    transform: translateY(-3px);
    box-shadow:
        0 15px 50px -10px rgba(88, 101, 242, 0.75),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    color: #fff;
}

.btn-discord:hover::before {
    transform: translateX(0);
}

.btn-discord svg {
    transition: transform 0.3s var(--ease-out);
}

.btn-discord:hover svg {
    transform: scale(1.1) rotate(-5deg);
}

.btn svg {
    transition: transform 0.3s var(--ease-out);
}

.btn:hover svg {
    transform: translateX(3px);
}

.hero-connect {
    display: flex;
    justify-content: center;
    animation: enter-up 1s var(--ease-out) 1.5s both;
    margin: 0 auto;
    width: 100%;
}

.hero-ip {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
    padding: 1rem 1.8rem;
    background:
        linear-gradient(135deg, rgba(30, 15, 20, 0.92), rgba(10, 10, 15, 0.96)),
        radial-gradient(circle at top right, rgba(225, 29, 41, 0.22), transparent 50%);
    background-blend-mode: normal, overlay;
    border: 1px solid rgba(225, 29, 41, 0.3);
    border-radius: 16px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.4s var(--ease-out);
    backdrop-filter: blur(12px);
    min-width: 360px;
    max-width: 480px;
    width: 100%;
}

.hero-ip::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 40px; height: 40px;
    border-top: 2px solid var(--blood);
    border-left: 2px solid var(--blood);
    border-top-left-radius: 14px;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.hero-ip::after {
    content: '';
    position: absolute;
    bottom: 0; right: 0;
    width: 40px; height: 40px;
    border-bottom: 2px solid var(--blood);
    border-right: 2px solid var(--blood);
    border-bottom-right-radius: 14px;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.hero-ip:hover {
    border-color: rgba(225, 29, 41, 0.6);
    box-shadow: 0 0 50px rgba(225, 29, 41, 0.25), 0 15px 40px rgba(0, 0, 0, 0.5);
    transform: translateY(-3px);
}

.hero-ip:hover::before,
.hero-ip:hover::after { opacity: 1; }

.hero-ip-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-body);
    font-size: 0.68rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--bone);
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.hero-ip-status {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    box-shadow: 0 0 10px #22c55e, 0 0 20px rgba(34, 197, 94, 0.5);
    animation: status-pulse 2s ease-in-out infinite;
    flex-shrink: 0;
}

.hero-ip-label span { color: #22c55e; font-weight: 700; }

@keyframes status-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.2); }
}

.hero-ip-main {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    width: 100%;
    position: relative;
    z-index: 1;
}

.hero-ip-addr {
    font-family: var(--font-display);
    font-size: 1.7rem;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--ivory);
    line-height: 1;
    flex: 1;
    text-align: left;
}

.hero-ip-copy {
    padding: 0.55rem 1.1rem;
    background: var(--blood);
    color: var(--ivory);
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-radius: 6px;
    transition: all 0.3s var(--ease-out);
    box-shadow: 0 4px 15px rgba(225, 29, 41, 0.3);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.hero-ip-copy svg { width: 14px; height: 14px; }

.hero-ip:hover .hero-ip-copy {
    background: var(--blood-light);
    box-shadow: 0 6px 20px rgba(225, 29, 41, 0.5);
}

.hero-ip-copy.copied {
    background: #22c55e;
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.4);
}

.hero-discord {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 1rem 1.6rem;
    background:
        linear-gradient(135deg, rgba(88, 101, 242, 0.15), rgba(30, 20, 50, 0.85));
    border: 1px solid rgba(88, 101, 242, 0.3);
    border-radius: 14px;
    text-decoration: none;
    transition: all 0.4s var(--ease-out);
    backdrop-filter: blur(12px);
    position: relative;
    overflow: hidden;
}

.hero-discord::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at bottom left, rgba(88, 101, 242, 0.25), transparent 55%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.hero-discord:hover {
    transform: translateY(-3px);
    border-color: rgba(88, 101, 242, 0.6);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5), 0 0 50px rgba(88, 101, 242, 0.25);
}

.hero-discord:hover::before { opacity: 1; }

.hero-discord-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #5865f2;
    color: #fff;
    border-radius: 10px;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(88, 101, 242, 0.4);
    position: relative;
    z-index: 1;
}

.hero-discord-icon svg {
    width: 24px;
    height: 24px;
}

.hero-discord-text {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    position: relative;
    z-index: 1;
}

.hero-discord-label {
    font-family: var(--font-body);
    font-size: 0.65rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--ash);
    font-weight: 700;
}

.hero-discord-title {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--ivory);
    line-height: 1;
    text-transform: uppercase;
}

.hero-discord-arrow {
    color: var(--bone);
    font-size: 1.2rem;
    margin-left: 0.3rem;
    transition: transform 0.3s var(--ease-out);
    position: relative;
    z-index: 1;
}

.hero-discord:hover .hero-discord-arrow {
    transform: translateX(5px);
    color: #fff;
}

.nav-ip {
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%) scale(0.9);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.7rem 0.4rem 0.9rem;
    background: rgba(20, 15, 18, 0.7);
    border: 1px solid rgba(225, 29, 41, 0.25);
    border-radius: 100px;
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--bone);
    cursor: pointer;
    transition: all 0.3s var(--ease-out);
    opacity: 0;
    pointer-events: none;
    backdrop-filter: blur(12px);
    white-space: nowrap;
}

.nav.scrolled .nav-ip {
    opacity: 1;
    transform: translateY(-50%) scale(1);
    pointer-events: auto;
}

.nav-ip:hover {
    border-color: var(--blood);
    background: rgba(225, 29, 41, 0.12);
    color: var(--ivory);
    box-shadow: 0 0 20px rgba(225, 29, 41, 0.3);
}

.nav-ip-dot {
    width: 6px;
    height: 6px;
    background: #22c55e;
    border-radius: 50%;
    box-shadow: 0 0 6px #22c55e;
    animation: status-pulse 2s ease-in-out infinite;
    flex-shrink: 0;
}

.nav-ip-addr {
    font-family: var(--font-display);
    font-size: 0.95rem;
    letter-spacing: 1.5px;
    color: var(--ivory);
}

.nav-ip-copy-btn {
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(225, 29, 41, 0.2);
    border-radius: 50%;
    color: var(--blood-light);
    transition: all 0.25s ease;
}

.nav-ip:hover .nav-ip-copy-btn {
    background: var(--blood);
    color: #fff;
}

.nav-ip-copy-btn svg {
    width: 11px;
    height: 11px;
}

.nav-ip.copied {
    border-color: #22c55e;
    background: rgba(34, 197, 94, 0.12);
}

.nav-ip.copied .nav-ip-copy-btn {
    background: #22c55e;
    color: #fff;
}

.scroll-hint {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-ui);
    font-size: 0.65rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--ash);
    animation: enter-up 1s var(--ease-out) 2s both, hint-bounce 2s ease-in-out infinite 3s;
}

.scroll-hint-line {
    width: 1px;
    height: 30px;
    background: linear-gradient(180deg, var(--blood), transparent);
}

@keyframes hint-bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

@keyframes enter-up {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.section {
    position: relative;
    padding: 8rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    font-family: var(--font-ui);
    font-size: 0.72rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--blood-light);
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-eyebrow::before {
    content: '';
    width: 30px;
    height: 1px;
    background: var(--blood);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 700;
    line-height: 0.95;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.section-title .accent {
    background: var(--grad-blood);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-lead {
    font-size: 1.05rem;
    color: var(--bone);
    max-width: 600px;
    line-height: 1.8;
    font-weight: 300;
    margin-bottom: 3rem;
}

.stats-strip {
    position: relative;
    padding: 3rem 2rem;
    margin: 4rem auto;
    max-width: 1400px;
    border-top: 1px solid rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    background: linear-gradient(180deg, rgba(10,10,15,0.5), transparent, rgba(10,10,15,0.5));
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat {
    position: relative;
    padding: 1rem;
    border-right: 1px solid rgba(255,255,255,0.05);
}

.stat:last-child { border-right: none; }

.stat-num {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1;
    color: var(--ivory);
    background: var(--grad-blood);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
}

.stat-label {
    font-family: var(--font-ui);
    font-size: 0.7rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--ash);
    font-weight: 600;
    margin-top: 0.4rem;
    display: block;
}

.panel {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 2.5rem;
    align-items: center;
    margin-bottom: 3rem;
    padding: 2rem;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 24px;
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.35),
        0 0 40px rgba(225, 29, 41, 0.05);
    transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out), border-color 0.5s var(--ease-out);
}

.panel:hover {
    transform: translateY(-4px);
    border-color: rgba(225, 29, 41, 0.18);
    box-shadow:
        0 30px 70px rgba(0, 0, 0, 0.45),
        0 0 60px rgba(225, 29, 41, 0.12);
}

.panel:last-child { margin-bottom: 0; }

.panel > .panel-visual { grid-column: 1; grid-row: 1; }
.panel > .panel-content { grid-column: 2; grid-row: 1; }

.panel.reverse > .panel-visual { grid-column: 2; grid-row: 1; }
.panel.reverse > .panel-content { grid-column: 1; grid-row: 1; }

.panel-visual {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    align-self: center;
    transition: transform 0.6s var(--ease-out);
}

.panel:hover .panel-visual {
    transform: scale(1.015);
}

.panel-visual img {
    display: block;
    width: 100%;
    height: auto;
    max-height: none;
    object-fit: contain;
}

.panel-content {
    position: relative;
    padding: 0 0.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: transparent;
    box-shadow: none;
}

.panel:not(.reverse) .panel-content { padding: 0 0.5rem 0 1rem; }
.panel.reverse .panel-content { padding: 0 1rem 0 0.5rem; }

.panel-visual-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.9rem;
    background: rgba(225, 29, 41, 0.12);
    border: 1px solid rgba(225, 29, 41, 0.3);
    border-radius: 100px;
    font-family: var(--font-body);
    font-size: 0.72rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--blood-light);
    font-weight: 700;
    margin-bottom: 1.2rem;
    align-self: flex-start;
}

.panel.reverse .panel-visual-tag {
    align-self: flex-start;
}

.panel-content h3 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 700;
    line-height: 1;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1.2rem;
    color: var(--ivory);
}

.panel-content h3 .accent {
    background: var(--grad-blood);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.panel-content p {
    color: var(--bone);
    font-size: 1rem;
    line-height: 1.75;
    margin-bottom: 1rem;
    font-weight: 300;
}

.panel-content p strong {
    color: var(--ivory);
    font-weight: 600;
}

.panel-content .hl {
    color: var(--blood-light);
    font-weight: 600;
}

.panel-chips {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin: 1.5rem 0;
}

.chip {
    padding: 0.3rem 0.85rem;
    background: rgba(225, 29, 41, 0.1);
    border: 1px solid rgba(225, 29, 41, 0.25);
    border-radius: 100px;
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--blood-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1rem;
}

.feature-tile {
    position: relative;
    padding: 2.5rem 2rem;
    background: linear-gradient(180deg, rgba(20,20,28,0.6), rgba(10,10,15,0.6));
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.4s var(--ease-out);
    cursor: default;
}

.feature-tile::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 2px;
    background: var(--grad-blood-flat);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s var(--ease-out);
}

.feature-tile::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(225,29,41,0.08), transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.feature-tile:hover {
    transform: translateY(-6px);
    border-color: rgba(225,29,41,0.25);
    box-shadow: 0 20px 50px rgba(0,0,0,0.4);
}

.feature-tile:hover::before { transform: scaleX(1); }
.feature-tile:hover::after { opacity: 1; }

.feature-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(225, 29, 41, 0.08);
    border: 1px solid rgba(225, 29, 41, 0.15);
    border-radius: 12px;
    margin-bottom: 1.5rem;
    color: var(--blood-light);
    transition: all 0.4s var(--ease-out);
    filter: drop-shadow(0 4px 10px rgba(225, 29, 41, 0.15));
}

.feature-icon svg {
    width: 32px;
    height: 32px;
}

.feature-tile:hover .feature-icon {
    background: rgba(225, 29, 41, 0.18);
    border-color: rgba(225, 29, 41, 0.35);
    transform: rotate(-4deg) scale(1.08);
    color: var(--ivory);
    filter: drop-shadow(0 6px 18px rgba(225, 29, 41, 0.35));
}

.feature-tile h4 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--ivory);
    margin-bottom: 0.6rem;
}

.feature-tile p {
    color: var(--bone);
    font-size: 0.9rem;
    line-height: 1.7;
    font-weight: 300;
}

.marquee {
    position: relative;
    padding: 2.5rem 0;
    overflow: hidden;
    border-top: 1px solid rgba(225,29,41,0.12);
    border-bottom: 1px solid rgba(225,29,41,0.12);
    background: linear-gradient(180deg, transparent, rgba(225,29,41,0.04), transparent);
    mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}

.marquee-track {
    display: flex;
    gap: 3rem;
    animation: marquee-scroll 35s linear infinite;
    width: max-content;
}

.marquee-item {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--ivory);
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 3rem;
    opacity: 0.85;
    line-height: 1;
}

.marquee-item::after {
    content: '\2726';
    color: var(--blood);
    font-size: 0.55em;
    opacity: 0.85;
    font-family: var(--font-body);
}

.marquee-item:nth-child(even) {
    color: var(--blood-light);
    opacity: 1;
}

@keyframes marquee-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

.factions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
    background: rgba(255,255,255,0.05);
    border-radius: 16px;
    overflow: hidden;
}

.faction-card {
    position: relative;
    padding: 4rem 3rem;
    background: var(--void);
    transition: all 0.5s var(--ease-out);
    overflow: hidden;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.faction-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center top, rgba(225,29,41,0.15), transparent 70%);
    opacity: 0.5;
    transition: opacity 0.5s var(--ease-out);
}

.faction-card:hover::before { opacity: 1; }

.faction-card.criminal::after {
    content: 'CRIMINAL';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-display);
    font-size: clamp(5rem, 12vw, 10rem);
    font-weight: 700;
    color: rgba(225,29,41,0.06);
    letter-spacing: 8px;
    pointer-events: none;
    transition: all 0.5s var(--ease-out);
}

.faction-card.law::after {
    content: 'LAW';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-display);
    font-size: clamp(5rem, 12vw, 10rem);
    font-weight: 700;
    color: rgba(245,200,66,0.06);
    letter-spacing: 8px;
    pointer-events: none;
    transition: all 0.5s var(--ease-out);
}

.faction-card:hover.criminal::after,
.faction-card:hover.law::after {
    transform: translate(-50%, -50%) scale(1.1);
}

.faction-content {
    position: relative;
    z-index: 2;
}

.faction-icon {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.2rem;
    color: var(--blood-light);
    filter: drop-shadow(0 0 20px rgba(225, 29, 41, 0.4));
    transition: transform 0.4s var(--ease-out), filter 0.4s var(--ease-out);
}

.faction-icon svg {
    width: 100%;
    height: 100%;
}

.faction-card.law .faction-icon {
    color: var(--gold);
    filter: drop-shadow(0 0 20px rgba(245, 200, 66, 0.45));
}

.faction-card:hover .faction-icon {
    transform: scale(1.08) rotate(-3deg);
    filter: drop-shadow(0 0 30px rgba(225, 29, 41, 0.6));
}

.faction-card.law:hover .faction-icon {
    transform: scale(1.08) rotate(3deg);
    filter: drop-shadow(0 0 30px rgba(245, 200, 66, 0.65));
}

.faction-card h4 {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--ivory);
    margin-bottom: 0.5rem;
}

.faction-card p {
    color: var(--bone);
    font-size: 1rem;
    line-height: 1.7;
    font-weight: 300;
}

.faction-card.criminal h4 {
    background: var(--grad-blood);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.faction-card.law h4 {
    background: linear-gradient(135deg, var(--gold-dark), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.final-cta {
    position: relative;
    padding: 8rem 2rem;
    text-align: center;
    overflow: hidden;
}

.final-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at center, rgba(225,29,41,0.15), transparent 60%),
        radial-gradient(ellipse at 20% 80%, rgba(225,29,41,0.08), transparent 50%);
}

.final-cta h2 {
    font-family: var(--font-display);
    font-size: clamp(3rem, 8vw, 7rem);
    font-weight: 700;
    line-height: 0.9;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    position: relative;
}

.final-cta h2 .accent {
    background: var(--grad-blood);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.final-cta p {
    font-size: 1.1rem;
    color: var(--bone);
    margin-bottom: 2.5rem;
    position: relative;
}

.final-cta-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
}

.footer {
    position: relative;
    padding: 4rem 2rem 2rem;
    border-top: 1px solid rgba(255,255,255,0.05);
    background: var(--void);
}

.footer-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand img {
    height: 50px;
    width: auto;
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 20px rgba(225,29,41,0.3));
}

.footer-brand p {
    color: var(--ash);
    font-size: 0.85rem;
    line-height: 1.6;
    max-width: 320px;
}

.footer-col h5 {
    font-family: var(--font-ui);
    font-size: 0.75rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--blood-light);
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-col a {
    display: block;
    color: var(--ash);
    font-size: 0.88rem;
    padding: 0.3rem 0;
    transition: color 0.3s ease, transform 0.3s ease;
}

.footer-col a:hover {
    color: var(--ivory);
    transform: translateX(3px);
}

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.04);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    color: var(--ash);
    font-size: 0.78rem;
}

.footer-social {
    display: flex;
    gap: 0.6rem;
}

.footer-social a {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 50%;
    color: var(--ash);
    transition: all 0.3s var(--ease-out);
}

.footer-social a:hover {
    border-color: var(--blood);
    background: rgba(225,29,41,0.1);
    color: var(--ivory);
    transform: translateY(-3px);
    box-shadow: 0 4px 20px rgba(225,29,41,0.25);
}

.inner-hero {
    padding: 10rem 2rem 4rem;
    text-align: center;
    position: relative;
}

.inner-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(3rem, 7vw, 6rem);
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    line-height: 0.9;
    margin-bottom: 1rem;
    background: var(--grad-blood);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.inner-hero p {
    color: var(--bone);
    font-family: var(--font-ui);
    font-size: 0.9rem;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.doc-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 3rem;
    max-width: 1300px;
    margin: 0 auto;
    padding: 2rem 2rem 6rem;
}

.doc-sidebar {
    position: sticky;
    top: 100px;
    align-self: start;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
    padding-right: 1rem;
}

.doc-sidebar::-webkit-scrollbar { width: 3px; }
.doc-sidebar::-webkit-scrollbar-thumb { background: rgba(225,29,41,0.2); }

.doc-sidebar-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--blood-light);
    font-weight: 700;
    margin-bottom: 1rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid rgba(225, 29, 41, 0.15);
    line-height: 1;
}

.doc-sidebar nav {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.doc-sidebar a {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.75rem 1rem;
    font-family: var(--font-body);
    font-size: 0.96rem;
    font-weight: 500;
    color: var(--bone);
    border-radius: 8px;
    transition: all 0.3s var(--ease-out);
    position: relative;
    text-decoration: none;
}

.doc-sidebar a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 0;
    background: var(--blood);
    border-radius: 0 2px 2px 0;
    transition: height 0.3s var(--ease-out);
}

.doc-sidebar a:hover {
    color: var(--ivory);
    background: rgba(255, 255, 255, 0.04);
    transform: translateX(2px);
}

.doc-sidebar a:hover::before { height: 50%; }

.doc-sidebar a.active {
    color: var(--ivory);
    background: rgba(225, 29, 41, 0.1);
    font-weight: 600;
}

.doc-sidebar a.active::before { height: 70%; }

.doc-sidebar-icon {
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--blood-light);
    flex-shrink: 0;
    opacity: 0.85;
    transition: opacity 0.3s ease, color 0.3s ease, filter 0.3s ease;
}

.doc-sidebar a.is-premium .doc-sidebar-icon,
.doc-section h2 .num.is-premium {
    color: var(--gold);
    opacity: 1;
    filter: drop-shadow(0 0 6px rgba(245, 200, 66, 0.55)) drop-shadow(0 0 14px rgba(245, 200, 66, 0.3));
    animation: premium-shine 2.8s ease-in-out infinite;
}

.doc-sidebar a.is-premium:hover .doc-sidebar-icon,
.doc-sidebar a.is-premium.active .doc-sidebar-icon {
    color: #ffd85c;
    filter: drop-shadow(0 0 10px rgba(245, 200, 66, 0.8)) drop-shadow(0 0 20px rgba(245, 200, 66, 0.45));
}

@keyframes premium-shine {
    0%, 100% {
        filter: drop-shadow(0 0 6px rgba(245, 200, 66, 0.55)) drop-shadow(0 0 14px rgba(245, 200, 66, 0.25));
        transform: scale(1);
    }
    50% {
        filter: drop-shadow(0 0 10px rgba(245, 200, 66, 0.85)) drop-shadow(0 0 22px rgba(245, 200, 66, 0.45));
        transform: scale(1.08) rotate(5deg);
    }
}

.doc-sidebar a:hover .doc-sidebar-icon,
.doc-sidebar a.active .doc-sidebar-icon {
    opacity: 1;
}

.doc-sidebar-icon svg {
    width: 100%;
    height: 100%;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.doc-section h2 {
    font-size: 2.2rem !important;
    letter-spacing: 3px !important;
}

.doc-search input {
    font-size: 1rem !important;
    padding: 1.1rem 1.5rem 1.1rem 3rem !important;
}

.doc-search {
    position: relative;
    margin-bottom: 2.5rem;
}

.doc-search input {
    width: 100%;
    padding: 1rem 1.5rem 1rem 3rem;
    background: rgba(20,20,28,0.6);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 12px;
    color: var(--ivory);
    font-family: var(--font-body);
    font-size: 0.9rem;
    outline: none;
    transition: all 0.3s var(--ease-out);
}

.doc-search input:focus {
    border-color: var(--blood);
    box-shadow: 0 0 0 4px rgba(225,29,41,0.1);
    background: rgba(20,20,28,0.9);
}

.doc-search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--ash);
}

.doc-section {
    margin-bottom: 3rem;
    scroll-margin-top: 100px;
}

.doc-section h2 {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--ivory);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.doc-section h2 .num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    color: var(--blood-light);
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 700;
    background: transparent;
    flex-shrink: 0;
    filter: drop-shadow(0 0 8px rgba(225, 29, 41, 0.3));
}

.doc-section h2 .num svg {
    width: 100%;
    height: 100%;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.doc-intro {
    padding: 1.2rem 1.5rem;
    border-left: 3px solid var(--blood);
    background: rgba(225,29,41,0.04);
    border-radius: 0 10px 10px 0;
    margin-bottom: 1.5rem;
}

.doc-intro p {
    color: var(--bone);
    line-height: 1.8;
}

.doc-item {
    padding: 1.3rem 1.5rem;
    background: rgba(20,20,28,0.5);
    border: 1px solid rgba(255,255,255,0.04);
    border-radius: 10px;
    margin-bottom: 0.6rem;
    transition: all 0.3s var(--ease-out);
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.doc-item:hover {
    border-color: rgba(225,29,41,0.2);
    background: rgba(20,20,28,0.8);
    transform: translateX(3px);
}

.doc-item-code {
    flex-shrink: 0;
    padding: 0.3rem 0.7rem;
    background: var(--blood);
    color: var(--ivory);
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    border-radius: 6px;
    margin-top: 2px;
}

.doc-item-body h4 {
    font-family: var(--font-ui);
    font-size: 1rem;
    font-weight: 700;
    color: var(--ivory);
    margin-bottom: 0.4rem;
}

.doc-item-body p {
    color: var(--bone);
    font-size: 0.9rem;
    line-height: 1.7;
}

.doc-item-body p strong { color: var(--ivory); }

.doc-quote {
    margin: 1rem 0 0;
    padding: 0.8rem 1.2rem;
    border-left: 3px solid var(--blood);
    background: rgba(225,29,41,0.05);
    border-radius: 0 6px 6px 0;
    color: var(--blood-light);
    font-style: italic;
    font-size: 0.9rem;
    line-height: 1.6;
}

.doc-placeholder {
    padding: 3rem 2rem;
    text-align: center;
    background: rgba(20,20,28,0.4);
    border: 1px dashed rgba(255,255,255,0.08);
    border-radius: 10px;
}

.doc-placeholder-icon {
    opacity: 0.4;
    margin-bottom: 0.8rem;
    display: block;
}

.doc-placeholder-icon svg {
    width: 34px;
    height: 34px;
    color: var(--blood-light);
}

.doc-placeholder p {
    color: var(--ash);
    font-size: 0.9rem;
}

.staff-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 2rem 6rem;
    text-align: center;
}

.staff-tier {
    margin-bottom: 4rem;
}

.staff-tier-header {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 0.5rem 1.5rem 0.8rem;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    justify-content: center;
}

.staff-tier-icon {
    display: inline-flex;
    align-items: center;
}

.staff-tier-icon svg {
    width: 26px;
    height: 26px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.staff-tier.founders .staff-tier-icon { color: var(--blood); filter: drop-shadow(0 0 8px rgba(225,29,41,0.5)); }
.staff-tier.admin .staff-tier-icon { color: #f59e0b; filter: drop-shadow(0 0 8px rgba(245,158,11,0.4)); }
.staff-tier.mod .staff-tier-icon { color: #22c55e; filter: drop-shadow(0 0 8px rgba(34,197,94,0.4)); }
.staff-tier.helper .staff-tier-icon { color: #3b82f6; filter: drop-shadow(0 0 8px rgba(59,130,246,0.4)); }
.staff-tier.builder .staff-tier-icon { color: #a855f7; filter: drop-shadow(0 0 8px rgba(168,85,247,0.4)); }

.staff-tier-title {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.staff-tier.founders .staff-tier-title { color: var(--blood); }
.staff-tier.admin .staff-tier-title { color: #f59e0b; }
.staff-tier.mod .staff-tier-title { color: #22c55e; }
.staff-tier.helper .staff-tier-title { color: #3b82f6; }
.staff-tier.builder .staff-tier-title { color: #a855f7; }

.staff-count {
    padding: 0.25rem 0.75rem;
    background: rgba(255,255,255,0.04);
    border-radius: 100px;
    font-family: var(--font-body);
    font-size: 0.72rem;
    letter-spacing: 2px;
    color: var(--ash);
}

.staff-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
}

.staff-grid .staff-card {
    width: 220px;
    flex: 0 0 auto;
    cursor: pointer;
}

.staff-grid .staff-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    border: 1px solid transparent;
    pointer-events: none;
    transition: border-color 0.3s ease;
}

.staff-grid .staff-card:hover::after {
    border-color: rgba(225, 29, 41, 0.3);
}

.staff-modal {
    position: fixed;
    inset: 0;
    z-index: 9500;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s var(--ease-out), visibility 0.35s;
    padding: 2rem;
}

.staff-modal.open {
    opacity: 1;
    visibility: visible;
}

.staff-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(5, 5, 7, 0.82);
    backdrop-filter: blur(8px);
}

.staff-modal-card {
    position: relative;
    background: linear-gradient(180deg, rgba(26, 26, 34, 0.98), rgba(10, 10, 15, 0.98));
    border: 1px solid rgba(225, 29, 41, 0.2);
    border-radius: 20px;
    padding: 2.5rem 2rem 2rem;
    width: 100%;
    max-width: 360px;
    text-align: center;
    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.7),
        0 0 80px rgba(225, 29, 41, 0.15);
    transform: scale(0.92) translateY(20px);
    transition: transform 0.45s var(--ease-out);
}

.staff-modal.open .staff-modal-card {
    transform: scale(1) translateY(0);
}

.staff-modal-card::before,
.staff-modal-card::after {
    content: '';
    position: absolute;
    width: 44px;
    height: 44px;
    border-color: var(--blood);
    border-style: solid;
}

.staff-modal-card::before {
    top: 0;
    left: 0;
    border-width: 2px 0 0 2px;
    border-top-left-radius: 20px;
}

.staff-modal-card::after {
    bottom: 0;
    right: 0;
    border-width: 0 2px 2px 0;
    border-bottom-right-radius: 20px;
}

.staff-modal-close {
    position: absolute;
    top: 0.8rem;
    right: 0.8rem;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: none;
    color: var(--bone);
    font-size: 1.3rem;
    line-height: 1;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.staff-modal-close:hover {
    background: rgba(225, 29, 41, 0.2);
    color: var(--ivory);
    transform: rotate(90deg);
}

.staff-modal-avatar-wrap {
    width: 140px;
    height: 140px;
    margin: 0 auto 1.2rem;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.staff-modal-avatar-wrap::before {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(225, 29, 41, 0.35), transparent 70%);
    filter: blur(12px);
    animation: staff-halo 4s ease-in-out infinite;
}

@keyframes staff-halo {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.08); }
}

.staff-modal-avatar {
    width: 100%;
    height: 100%;
    object-fit: contain;
    image-rendering: pixelated;
    position: relative;
    z-index: 1;
}

.staff-modal-name {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--ivory);
    margin-bottom: 0.3rem;
    line-height: 1;
}

.staff-modal-role {
    display: inline-block;
    padding: 0.3rem 0.9rem;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--blood-light);
    background: rgba(225, 29, 41, 0.1);
    border: 1px solid rgba(225, 29, 41, 0.25);
    border-radius: 100px;
    margin-bottom: 1.5rem;
}

.staff-modal-info {
    padding: 1rem 1.2rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.staff-modal-info-label {
    font-family: var(--font-body);
    font-size: 0.72rem;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--ash);
    font-weight: 600;
}

.staff-modal-info-value {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    color: var(--ivory);
    text-transform: uppercase;
}

body.modal-open {
    overflow: hidden;
}

@media (max-width: 600px) {
    .staff-modal { padding: 1rem; }
    .staff-modal-card { padding: 2rem 1.4rem 1.6rem; max-width: 100%; }
    .staff-modal-name { font-size: 1.8rem; }
    .staff-modal-info-value { font-size: 1.1rem; }
}

.staff-card {
    position: relative;
    padding: 2rem 1.5rem 1.5rem;
    background: linear-gradient(180deg, rgba(20,20,28,0.6), rgba(10,10,15,0.8));
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 14px;
    text-align: center;
    transition: all 0.4s var(--ease-out);
    overflow: hidden;
}

.staff-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at top, rgba(225,29,41,0.1), transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.staff-card:hover {
    transform: translateY(-6px) scale(1.02);
    border-color: rgba(225,29,41,0.3);
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.staff-card:hover::before { opacity: 1; }

.staff-tier.founders .staff-card:hover { border-color: var(--blood); box-shadow: 0 20px 60px rgba(225,29,41,0.25); }
.staff-tier.admin .staff-card:hover { border-color: #f59e0b; box-shadow: 0 20px 60px rgba(245,158,11,0.2); }
.staff-tier.mod .staff-card:hover { border-color: #22c55e; box-shadow: 0 20px 60px rgba(34,197,94,0.2); }
.staff-tier.helper .staff-card:hover { border-color: #3b82f6; box-shadow: 0 20px 60px rgba(59,130,246,0.2); }
.staff-tier.builder .staff-card:hover { border-color: #a855f7; box-shadow: 0 20px 60px rgba(168,85,247,0.2); }

.staff-avatar {
    width: 120px;
    height: 120px;
    margin: 0 auto 1rem;
    position: relative;
}

.staff-avatar img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    image-rendering: pixelated;
    transition: transform 0.4s var(--ease-out);
}

.staff-card:hover .staff-avatar img {
    transform: scale(1.08);
}

.staff-name {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--ivory);
    position: relative;
    z-index: 2;
}

.staff-role {
    font-family: var(--font-ui);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-top: 0.3rem;
    position: relative;
    z-index: 2;
}

.staff-tier.founders .staff-role { color: var(--blood-light); }
.staff-tier.admin .staff-role { color: #f59e0b; }
.staff-tier.mod .staff-role { color: #22c55e; }
.staff-tier.helper .staff-role { color: #3b82f6; }
.staff-tier.builder .staff-role { color: #a855f7; }

.chatbot-btn {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 900;
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: var(--blood);
    border: none;
    cursor: pointer;
    box-shadow: 0 10px 40px rgba(225, 29, 41, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.35s var(--ease-out);
    overflow: hidden;
}

.chatbot-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 15px 55px rgba(225, 29, 41, 0.75);
}

.chatbot-btn:active { transform: scale(1.02); }

.chatbot-btn img {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    object-fit: cover;
    position: relative;
    z-index: 2;
}

.chatbot-btn-pulse {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid var(--blood);
    animation: chatbot-pulse 2s ease-out infinite;
    pointer-events: none;
}

.chatbot-btn-pulse::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid var(--blood);
    animation: chatbot-pulse 2s ease-out infinite 1s;
}

@keyframes chatbot-pulse {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.6); opacity: 0; }
}

.chatbot-panel {
    position: fixed;
    bottom: 6.5rem;
    right: 1.5rem;
    z-index: 899;
    width: 400px;
    height: 620px;
    max-height: calc(100vh - 8rem);
    background: var(--void);
    border: 1px solid rgba(225, 29, 41, 0.15);
    border-radius: 20px;
    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.7),
        0 0 60px rgba(225, 29, 41, 0.1);
    overflow: hidden;
    display: none;
    flex-direction: column;
}

.chatbot-panel.open {
    display: flex;
    animation: chat-in 0.35s var(--ease-out);
}

@keyframes chat-in {
    from { opacity: 0; transform: translateY(20px) scale(0.96); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.chatbot-header {
    padding: 0.9rem 1rem;
    background: linear-gradient(135deg, var(--blood-deep), var(--blood));
    display: flex;
    align-items: center;
    gap: 0.7rem;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

.chatbot-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 30%, rgba(255, 255, 255, 0.08) 50%, transparent 70%);
    animation: chat-header-shimmer 4s ease-in-out infinite;
    pointer-events: none;
}

@keyframes chat-header-shimmer {
    0%, 100% { transform: translateX(-100%); }
    50% { transform: translateX(100%); }
}

.chatbot-back {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    z-index: 1;
    flex-shrink: 0;
}

.chatbot-back:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateX(-2px);
}

.chatbot-header-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.3);
    object-fit: cover;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.chatbot-header-info {
    flex: 1;
    min-width: 0;
    position: relative;
    z-index: 1;
}

.chatbot-header-info h4 {
    font-family: var(--font-body);
    font-size: 0.98rem;
    font-weight: 700;
    color: var(--ivory);
    letter-spacing: 0.5px;
    line-height: 1.1;
    margin: 0;
}

.chatbot-header-info span {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.75);
    font-weight: 400;
    display: block;
    margin-top: 2px;
    line-height: 1.1;
}

.chatbot-close {
    margin-left: auto;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.5rem;
    line-height: 1;
    padding: 4px 10px;
    transition: color 0.2s;
    position: relative;
    z-index: 1;
    flex-shrink: 0;
    background: none;
    border: none;
    cursor: pointer;
}

.chatbot-close:hover { color: #fff; }

.chatbot-body {
    padding: 1rem;
    overflow-y: auto;
    overflow-x: hidden;
    flex: 1;
    display: flex;
    flex-direction: column;
    scroll-behavior: smooth;
}

.chatbot-body::-webkit-scrollbar { width: 4px; }
.chatbot-body::-webkit-scrollbar-track { background: transparent; }
.chatbot-body::-webkit-scrollbar-thumb { background: rgba(225, 29, 41, 0.3); border-radius: 2px; }

.chat-msg {
    margin-bottom: 0.7rem;
    animation: msg-in 0.3s var(--ease-out);
    display: flex;
}

@keyframes msg-in {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.chat-bubble {
    padding: 0.7rem 1rem;
    border-radius: 16px;
    font-size: 0.9rem;
    line-height: 1.5;
    max-width: 88%;
    word-wrap: break-word;
}

.chat-bubble.bot {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: var(--bone);
    border-bottom-left-radius: 4px;
}

.chat-bubble.bot a {
    color: var(--blood-light);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px dashed rgba(255, 56, 70, 0.4);
}

.chat-bubble.bot a:hover {
    color: #ff5e6a;
    border-bottom-color: var(--blood-light);
}

.chat-bubble.bot code {
    background: rgba(225, 29, 41, 0.12);
    color: var(--blood-light);
    padding: 0.1rem 0.4rem;
    border-radius: 4px;
    font-size: 0.85em;
    font-family: monospace;
}

.chat-bubble.user {
    background: var(--blood);
    color: var(--ivory);
    margin-left: auto;
    border-bottom-right-radius: 4px;
    font-weight: 500;
}

.chat-msg:has(.user) { justify-content: flex-end; }

.chat-options {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

.chat-option {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--ivory);
    padding: 0.8rem 1rem;
    border-radius: 12px;
    font-size: 0.88rem;
    text-align: left;
    font-family: var(--font-body);
    font-weight: 500;
    transition: all 0.22s var(--ease-out);
    cursor: pointer;
    line-height: 1.3;
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.chat-option:hover {
    border-color: rgba(225, 29, 41, 0.5);
    background: rgba(225, 29, 41, 0.08);
    color: #fff;
    transform: translateX(3px);
}

.chat-option:active {
    transform: translateX(1px) scale(0.98);
}

.chat-option:disabled {
    opacity: 0.35;
    pointer-events: none;
}

.chat-option.chat-category {
    padding: 0.9rem 1rem;
    background: linear-gradient(135deg, rgba(225, 29, 41, 0.06), rgba(225, 29, 41, 0.02));
    border: 1px solid rgba(225, 29, 41, 0.15);
}

.chat-option.chat-category:hover {
    background: linear-gradient(135deg, rgba(225, 29, 41, 0.15), rgba(225, 29, 41, 0.05));
    border-color: var(--blood);
}

.chat-cat-icon {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    filter: drop-shadow(0 0 6px rgba(225, 29, 41, 0.3));
}

.chat-cat-icon svg {
    width: 22px;
    height: 22px;
    color: var(--blood-light);
}

.chat-cat-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.chat-cat-text strong {
    font-weight: 700;
    color: var(--ivory);
    font-size: 0.95rem;
    line-height: 1.1;
}

.chat-cat-text small {
    font-size: 0.72rem;
    color: var(--ash);
    font-weight: 400;
}

.chat-cat-arrow {
    color: var(--blood-light);
    font-size: 1.3rem;
    font-weight: 300;
    flex-shrink: 0;
    transition: transform 0.3s var(--ease-out);
}

.chat-option.chat-category:hover .chat-cat-arrow {
    transform: translateX(4px);
}

.chat-option.chat-option-outline {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--bone);
    font-size: 0.85rem;
    padding: 0.7rem 1rem;
}

.chat-option.chat-option-outline:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: var(--bone);
    color: var(--ivory);
}

.social-pop {
    position: fixed;
    bottom: 8rem;
    left: 2rem;
    z-index: 898;
    display: flex;
    align-items: flex-end;
    opacity: 0;
    transform: translateX(-120px);
    pointer-events: none;
    transition: all 0.6s var(--ease-out);
}

.social-pop.show {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

.social-pop.hide {
    opacity: 0;
    transform: translateX(-60px) scale(0.9);
}

.social-pop img {
    width: 110px;
    image-rendering: pixelated;
    filter: drop-shadow(2px 6px 12px rgba(0,0,0,0.5));
    animation: social-bounce 1.4s var(--ease-snap) 0.3s both;
}

@keyframes social-bounce {
    0% { transform: translateY(40px) scale(0.7); opacity: 0; }
    50% { transform: translateY(-6px) scale(1.06); opacity: 1; }
    100% { transform: translateY(0) scale(1); }
}

.social-pop-bubble {
    margin-left: -6px;
    margin-bottom: 1.2rem;
    padding: 0.7rem 1.1rem;
    background: var(--ivory);
    color: var(--black);
    border-radius: 14px;
    border-bottom-left-radius: 4px;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
    opacity: 0;
    transform: scale(0.8);
    animation: bubble-in 0.4s var(--ease-out) 1.1s both;
    cursor: pointer;
}

.social-pop-bubble:hover {
    background: #f0f0f0;
}

.social-pop-bubble strong {
    background: var(--grad-blood);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@keyframes bubble-in {
    from { opacity: 0; transform: scale(0.7) translateY(5px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.cookie-overlay {
    position: fixed; inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.55) 60%, rgba(0,0,0,0.78) 100%);
    z-index: 9998;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}
.cookie-overlay.show { opacity: 1; pointer-events: none; }

.cookie-banner {
    position: fixed;
    bottom: 1rem; left: 1rem; right: 1rem;
    z-index: 9999;
    max-width: 1100px;
    margin: 0 auto;
    background: linear-gradient(180deg, rgba(20, 14, 10, 0.96), rgba(14, 9, 6, 0.98));
    border: 1px solid rgba(225, 29, 41, 0.25);
    border-radius: 16px;
    box-shadow: 0 30px 60px -20px rgba(0,0,0,0.75), 0 0 0 1px rgba(0,0,0,0.6);
    backdrop-filter: blur(14px);
    padding: 1.5rem 1.7rem;
    color: var(--bone);
    transform: translateY(20px);
    opacity: 0;
    transition: transform 0.5s var(--ease-out), opacity 0.4s ease;
}
.cookie-banner.expanded { max-width: 760px; padding: 1.6rem; }
.cookie-banner.show { transform: translateY(0); opacity: 1; }
.cookie-banner.hide { transform: translateY(20px); opacity: 0; }

.cookie-inner {
    display: flex; flex-direction: column; gap: 1rem;
    max-height: 80vh; overflow-y: auto;
}
.cookie-inner::-webkit-scrollbar { width: 6px; }
.cookie-inner::-webkit-scrollbar-thumb { background: rgba(225,29,41,0.25); border-radius: 3px; }

.cookie-inner h3 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--ivory);
    margin: 0;
}
.cookie-inner p {
    font-size: 0.9rem;
    color: var(--bone);
    line-height: 1.6;
    margin: 0;
}
.cookie-inner a {
    color: var(--blood-light);
    font-weight: 600;
    text-decoration: underline;
}
.cookie-inner a:hover { color: var(--ivory); }

.cookie-prefs-head {
    display: flex; justify-content: space-between; align-items: center;
}
.cookie-prefs-close {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--ivory);
    width: 34px; height: 34px;
    border-radius: 8px;
    font-size: 1.4rem; line-height: 1;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: all 0.15s;
}
.cookie-prefs-close:hover { background: rgba(225,29,41,0.15); border-color: rgba(225,29,41,0.3); }

.cookie-cats { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.7rem; }
.cookie-cat {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 10px;
    padding: 0.9rem 1.1rem;
}
.cookie-cat-row {
    display: flex; justify-content: space-between; align-items: center;
    gap: 1rem; margin-bottom: 0.4rem;
}
.cookie-cat-name {
    font-family: var(--font-ui);
    font-weight: 700;
    color: var(--ivory);
    font-size: 0.92rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}
.cookie-cat-desc {
    color: var(--ash);
    font-size: 0.82rem;
    line-height: 1.55;
    margin: 0;
}

.cookie-switch {
    display: flex; align-items: center; gap: 0.55rem;
    cursor: pointer;
    position: relative;
}
.cookie-switch input { position: absolute; opacity: 0; pointer-events: none; width: 1px; height: 1px; }
.cookie-switch-track {
    position: relative;
    width: 42px; height: 22px;
    background: rgba(255,255,255,0.08);
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.12);
    transition: all 0.2s;
    flex-shrink: 0;
}
.cookie-switch-thumb {
    position: absolute;
    top: 2px; left: 2px;
    width: 16px; height: 16px;
    border-radius: 50%;
    background: var(--bone);
    transition: all 0.22s cubic-bezier(0.2,0.8,0.2,1);
}
.cookie-switch input:checked + .cookie-switch-track {
    background: rgba(225, 29, 41, 0.35);
    border-color: rgba(225, 29, 41, 0.6);
}
.cookie-switch input:checked + .cookie-switch-track .cookie-switch-thumb {
    left: 22px;
    background: var(--blood-light);
}
.cookie-switch input:disabled + .cookie-switch-track {
    background: rgba(225, 29, 41, 0.25);
    border-color: rgba(225, 29, 41, 0.45);
    cursor: not-allowed;
    opacity: 0.85;
}
.cookie-switch input:disabled + .cookie-switch-track .cookie-switch-thumb {
    left: 22px;
    background: var(--blood-light);
}
.cookie-switch-label {
    font-size: 0.72rem;
    color: var(--ash);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.cookie-actions {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    margin-top: 0.4rem;
}

.cookie-btn {
    padding: 0.75rem 1.4rem;
    border-radius: 10px;
    font-family: var(--font-ui);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.18s var(--ease-out);
    border: 1px solid transparent;
    cursor: pointer;
    min-width: 140px;
    text-align: center;
    white-space: nowrap;
}

.cookie-accept {
    background: var(--blood);
    color: var(--ivory);
    border-color: rgba(225, 29, 41, 0.4);
    box-shadow: 0 6px 18px -8px rgba(225, 29, 41, 0.5);
}
.cookie-accept:hover {
    background: var(--blood-light);
    transform: translateY(-1px);
    box-shadow: 0 10px 24px -10px rgba(225, 29, 41, 0.7);
}

.cookie-reject, .cookie-settings {
    background: rgba(255,255,255,0.04);
    color: var(--ivory);
    border: 1px solid rgba(255,255,255,0.12);
    font-size: 0.82rem;
    opacity: 1;
    text-transform: uppercase;
    animation: none;
}
.cookie-reject:hover {
    background: rgba(225, 29, 41, 0.1);
    border-color: rgba(225, 29, 41, 0.35);
}
.cookie-settings:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

@media (max-width: 700px) {
    .cookie-banner { padding: 1.1rem; bottom: 0.5rem; left: 0.5rem; right: 0.5rem; }
    .cookie-actions { display: grid; grid-template-columns: 1fr 1fr; }
    .cookie-accept { grid-column: 1 / -1; }
    .cookie-btn { width: 100%; min-width: 0; padding: 0.85rem 0.5rem; font-size: 0.78rem; }
    .cookie-cat-row { flex-wrap: wrap; }
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal.in {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 900px) {

    .nav {
        padding: 0 1rem;
        height: 64px;
        justify-content: flex-start;
    }
    .nav.scrolled { height: 58px; }

    .nav-brand {
        position: static;
        transform: none !important;
        opacity: 1 !important;
        pointer-events: auto !important;
        z-index: 2;
    }
    .nav-brand img { height: 34px; }
    .nav-brand-name { display: none; }

    .nav-menu {
        position: fixed;
        top: 64px;
        left: 0; right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0.3rem;
        border-radius: 0;
        background: rgba(5, 5, 7, 0.97);
        backdrop-filter: blur(20px);
        border-top: 1px solid rgba(225, 29, 41, 0.15);
        padding: 1.2rem 1rem 2rem;
        display: none;
        max-height: calc(100vh - 64px);
        overflow-y: auto;
    }

    .nav.scrolled .nav-menu {
        top: 58px;
    }

    .nav-menu.open {
        display: flex;
        animation: mobile-menu-slide 0.35s var(--ease-out);
    }

    @keyframes mobile-menu-slide {
        from { opacity: 0; transform: translateY(-10px); }
        to { opacity: 1; transform: translateY(0); }
    }

    .nav-menu a {
        text-align: center;
        padding: 0.85rem 1.2rem;
        font-size: 1.15rem;
        letter-spacing: 3px;
        width: 100%;
        justify-content: center;
    }

    .nav-menu a.cta,
    .nav-menu a.beta {
        margin: 0.3rem 0;
    }

    .nav-toggle { display: flex; right: 0.8rem; }

    .nav-ip { display: none !important; }

    .hero { padding: 6rem 1.2rem 3rem; }
    .hero-title { letter-spacing: 2px; }
    .hero-actions {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
    }
    .hero-actions .btn { width: 100%; }
    .hero-ip {
        min-width: 0;
        max-width: 100%;
        padding: 1rem 1.3rem;
    }
    .hero-ip-addr { font-size: 1.4rem; }
    .hero-ip-main { gap: 0.7rem; }
    .hero-ip-copy { padding: 0.5rem 0.8rem; font-size: 0.68rem; }

    .section { padding: 4rem 1.2rem; }

    .section-title { letter-spacing: 2px; }

    .stats-strip { padding: 1.6rem 0.8rem; margin: 2rem auto; }
    .stats-grid { grid-template-columns: repeat(4, 1fr); gap: 0.3rem; }
    .stat { padding: 0.5rem 0.2rem; }
    .stat-num { font-size: 1.55rem; }
    .stat-label { font-size: 0.55rem; letter-spacing: 1.5px; margin-top: 0.25rem; }

    .panel {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto;
        gap: 1.2rem;
        margin-bottom: 2rem;
        padding: 1.2rem;
        border-radius: 18px;
    }

    .panel > .panel-visual,
    .panel.reverse > .panel-visual {
        grid-column: 1;
        grid-row: 1;
        width: 100%;
        aspect-ratio: 16/10;
    }

    .panel-visual img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .panel > .panel-content,
    .panel.reverse > .panel-content,
    .panel:not(.reverse) .panel-content {
        grid-column: 1;
        grid-row: 2;
        padding: 0 0.3rem 0.5rem;
    }

    .panel-content h3 { font-size: 2rem; }

    .factions { grid-template-columns: 1fr; }
    .faction-card { min-height: 280px; padding: 2.5rem 1.8rem; }

    .features-grid { grid-template-columns: 1fr; gap: 0.8rem; }

    .final-cta { padding: 5rem 1.5rem; }
    .final-cta-actions { flex-direction: column; width: 100%; max-width: 300px; margin: 0 auto; }
    .final-cta-actions .btn { width: 100%; }

    .footer { padding: 3rem 1.2rem 1.5rem; }
    .footer-inner { grid-template-columns: 1fr 1fr; gap: 2rem; text-align: left; }
    .footer-brand { grid-column: 1 / -1; text-align: center; }
    .footer-brand p { max-width: none; margin: 0 auto; }
    .footer-bottom { flex-direction: column; text-align: center; gap: 1.2rem; }

    .doc-layout {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1.5rem 1rem 4rem;
    }
    .doc-sidebar {
        position: relative;
        top: 0;
        max-height: none;
        padding: 1.2rem 1.2rem 0.8rem;
        background: rgba(20, 20, 28, 0.5);
        border: 1px solid rgba(255, 255, 255, 0.05);
        border-radius: 14px;
        padding-right: 1.2rem;
    }
    .doc-sidebar-title {
        cursor: pointer;
        margin-bottom: 0;
        padding-bottom: 0;
        border-bottom: none;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    .doc-sidebar-title::after {
        content: '';
        width: 12px;
        height: 12px;
        border-right: 2px solid var(--blood-light);
        border-bottom: 2px solid var(--blood-light);
        transform: rotate(45deg);
        transition: transform 0.3s var(--ease-out);
        margin-top: -4px;
    }
    .doc-sidebar.open .doc-sidebar-title::after {
        transform: rotate(-135deg);
        margin-top: 4px;
    }
    .doc-sidebar nav {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s var(--ease-out);
    }
    .doc-sidebar.open nav {
        max-height: 600px;
        margin-top: 1rem;
        padding-top: 0.8rem;
        border-top: 1px solid rgba(225, 29, 41, 0.15);
    }

    .doc-section h2 {
        font-size: 1.7rem !important;
    }

    .inner-hero { padding: 8rem 1.2rem 3rem; }

    .staff-wrap { padding: 1.5rem 1rem 4rem; }
    .staff-grid { gap: 1rem; }
    .staff-grid .staff-card { width: calc(50% - 0.5rem); max-width: 200px; }

    .social-pop { bottom: 6.5rem; left: 1rem; }
    .social-pop img { width: 78px; }
    .social-pop-bubble { font-size: 0.78rem; padding: 0.5rem 0.8rem; margin-bottom: 0.8rem; }

    .chatbot-btn {
        bottom: 1rem;
        right: 1rem;
        width: 56px;
        height: 56px;
    }
    .chatbot-btn img { width: 48px; height: 48px; }

    .chatbot-panel {
        right: 0;
        left: 0;
        bottom: 0;
        top: auto;
        width: 100%;
        height: 88vh;
        max-height: 88vh;
        border-radius: 18px 18px 0 0;
        border-left: none;
        border-right: none;
        border-bottom: none;
    }

    .chatbot-panel.open {
        animation: chat-in-mobile 0.4s var(--ease-out);
    }

    @keyframes chat-in-mobile {
        from { transform: translateY(100%); opacity: 0.6; }
        to { transform: translateY(0); opacity: 1; }
    }

    .chatbot-header {
        padding: 1rem 1rem calc(1rem + env(safe-area-inset-top, 0));
        padding-top: 1rem;
    }

    .chatbot-header-avatar { width: 40px; height: 40px; }

    .chatbot-header-info h4 { font-size: 1rem; }
    .chatbot-header-info span { font-size: 0.78rem; }

    .chatbot-body {
        padding: 1rem 1rem calc(1rem + env(safe-area-inset-bottom, 0));
    }

    .chat-bubble {
        font-size: 0.95rem;
        padding: 0.8rem 1.1rem;
    }

    .chat-option {
        padding: 0.95rem 1.1rem;
        font-size: 0.95rem;
    }

    .chat-option.chat-category {
        padding: 1rem 1.1rem;
    }

    .chat-cat-text strong { font-size: 1rem; }
    .chat-cat-text small { font-size: 0.78rem; }

    .marquee { padding: 1.8rem 0; }
    .marquee-track { gap: 2rem; }
    .marquee-item { gap: 2rem; }

    .cookie-banner { padding: 1.4rem 1rem; }
    .cookie-actions { flex-direction: column; }
    .cookie-btn { width: 100%; }
    .cookie-opts { flex-direction: column; }
}

@media (max-width: 480px) {
    .nav-toggle { right: 0.5rem; padding: 8px; }
    .nav { padding: 0 0.8rem; }

    .hero { padding: 5rem 1rem 2.5rem; }
    .hero-logo { width: 140px; }
    .hero-title { font-size: 2.6rem !important; letter-spacing: 2px; }
    .hero-subtitle { font-size: 0.95rem; }
    .hero-ip { min-width: 0; padding: 0.9rem 1.1rem; }

    .panel-content h3 { font-size: 1.7rem; }
    .panel-content { padding: 1.5rem 1.2rem 2rem; }

    .staff-grid .staff-card { width: 100%; max-width: 240px; }

    .footer-inner { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}


.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

.step-card {
    position: relative;
    padding: 2.2rem 1.8rem 2rem;
    background: linear-gradient(180deg, rgba(20,20,28,0.6), rgba(10,10,15,0.8));
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 14px;
    transition: all 0.4s var(--ease-out);
    overflow: hidden;
}

.step-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at top left, rgba(225,29,41,0.08), transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.step-card:hover {
    transform: translateY(-5px);
    border-color: rgba(225,29,41,0.35);
    box-shadow: 0 18px 45px rgba(0,0,0,0.45);
}

.step-card:hover::before { opacity: 1; }

.step-num {
    display: block;
    font-family: var(--font-display);
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1px rgba(225,29,41,0.65);
    margin-bottom: 0.9rem;
}

.step-card h4 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--ivory);
    margin-bottom: 0.5rem;
}

.step-card p {
    color: var(--bone);
    font-size: 0.92rem;
    line-height: 1.7;
}

.step-ip {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    margin-top: 1.1rem;
    padding: 0.6rem 1.1rem;
    font-family: var(--font-ui);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--ivory);
    background: rgba(225,29,41,0.08);
    border: 1px solid rgba(225,29,41,0.4);
    border-radius: 8px;
    transition: all 0.3s var(--ease-out);
}

.step-ip svg { width: 15px; height: 15px; }

.step-ip:hover {
    background: rgba(225,29,41,0.18);
    border-color: var(--blood);
    box-shadow: 0 0 25px rgba(225,29,41,0.25);
}

@media (max-width: 900px) {
    .steps { grid-template-columns: 1fr; max-width: 460px; }
}


.lb-live-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 10px #22c55e;
    animation: tag-pulse 1.5s ease-in-out infinite;
    margin-right: 0.4rem;
}

.lb-list {
    list-style: none;
    max-width: 760px;
    margin: 0 auto;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.lb-row {
    display: flex;
    align-items: center;
    gap: 1.1rem;
    padding: 0.9rem 1.5rem;
    background: linear-gradient(180deg, rgba(20,20,28,0.6), rgba(10,10,15,0.8));
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 12px;
    transition: all 0.3s var(--ease-out);
}

.lb-row:hover {
    border-color: rgba(225,29,41,0.3);
    transform: translateX(4px);
}

.lb-row.first {
    border-color: rgba(245,200,66,0.35);
    background:
        linear-gradient(180deg, rgba(30,24,12,0.55), rgba(10,10,15,0.85));
}

.lb-row.first:hover { border-color: var(--gold); }

.lb-rank {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--ash);
    width: 1.6ch;
    text-align: center;
    flex-shrink: 0;
}

.lb-row.first .lb-rank { color: var(--gold); }

.lb-face {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    image-rendering: pixelated;
    flex-shrink: 0;
}

.lb-name {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--ivory);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.lb-right {
    margin-left: auto;
    text-align: right;
    flex-shrink: 0;
}

.lb-kills {
    display: block;
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.1;
    color: var(--blood-light);
}

.lb-kd {
    display: block;
    font-size: 0.72rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--ash);
}

@media (max-width: 480px) {
    .lb-row { padding: 0.8rem 1rem; gap: 0.8rem; }
    .lb-name { font-size: 1.15rem; letter-spacing: 1px; }
}


.trailer-section { padding-top: 5rem; padding-bottom: 4rem; }

.trailer-frame {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    aspect-ratio: 16 / 9;
    border-radius: 18px;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid rgba(225,29,41,0.25);
    box-shadow: 0 30px 80px rgba(0,0,0,0.6), 0 0 60px rgba(225,29,41,0.12);
    transition: all 0.4s var(--ease-out);
}

.trailer-frame:hover {
    border-color: rgba(225,29,41,0.55);
    box-shadow: 0 30px 90px rgba(0,0,0,0.65), 0 0 80px rgba(225,29,41,0.22);
}

.trailer-frame > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out);
}

.trailer-frame:hover > img { transform: scale(1.03); }

.trailer-frame::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, transparent 45%, rgba(5,5,7,0.55) 100%);
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.trailer-frame.playing { cursor: default; }
.trailer-frame.playing::after { display: none; }

.trailer-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 86px;
    height: 86px;
    border-radius: 50%;
    background: rgba(225,29,41,0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 40px rgba(225,29,41,0.55);
    transition: all 0.3s var(--ease-out);
    z-index: 2;
}

.trailer-play::before {
    content: '';
    position: absolute;
    inset: -10px;
    border-radius: 50%;
    border: 2px solid rgba(225,29,41,0.4);
    animation: trailer-pulse 2s ease-out infinite;
}

@keyframes trailer-pulse {
    0% { transform: scale(0.9); opacity: 1; }
    100% { transform: scale(1.35); opacity: 0; }
}

.trailer-play svg {
    width: 34px;
    height: 34px;
    color: #fff;
    margin-left: 4px;
}

.trailer-frame:hover .trailer-play {
    transform: translate(-50%, -50%) scale(1.08);
    background: var(--blood-light);
}

.trailer-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

@media (max-width: 700px) {
    .trailer-frame { border-radius: 12px; }
    .trailer-play { width: 64px; height: 64px; }
    .trailer-play svg { width: 26px; height: 26px; }
}


.step-ip {
    position: relative;
    overflow: hidden;
}

.step-ip::before {
    content: '';
    position: absolute;
    top: 0;
    left: -80%;
    width: 55%;
    height: 100%;
    background: linear-gradient(105deg, transparent, rgba(255,255,255,0.16), transparent);
    transform: skewX(-20deg);
    transition: left 0.55s var(--ease-out);
    pointer-events: none;
}

.step-ip:hover::before { left: 130%; }

.step-ip:hover { transform: translateY(-2px); }

.step-ip:active { transform: translateY(0) scale(0.96); }

.step-ip.copied {
    background: rgba(34,197,94,0.14);
    border-color: #22c55e;
    color: #4ade80;
    box-shadow: 0 0 25px rgba(34,197,94,0.25);
    animation: copy-pop 0.35s var(--ease-snap);
}

@keyframes copy-pop {
    0% { transform: scale(1); }
    40% { transform: scale(1.08); }
    100% { transform: scale(1); }
}

.copy-toast {
    position: fixed;
    left: 50%;
    bottom: 2rem;
    transform: translateX(-50%) translateY(24px);
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.85rem 1.4rem;
    background: rgba(12,12,18,0.97);
    border: 1px solid rgba(34,197,94,0.45);
    border-radius: 12px;
    color: var(--ivory);
    font-family: var(--font-ui);
    font-size: 0.9rem;
    box-shadow: 0 15px 50px rgba(0,0,0,0.6), 0 0 30px rgba(34,197,94,0.15);
    opacity: 0;
    pointer-events: none;
    transition: all 0.35s var(--ease-out);
    z-index: 10050;
    max-width: calc(100vw - 2rem);
}

.copy-toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.copy-toast svg {
    width: 18px;
    height: 18px;
    color: #4ade80;
    flex-shrink: 0;
}

.copy-toast strong { color: #4ade80; }

.trailer-fallback {
    text-align: center;
    margin-top: 1.1rem;
    font-size: 0.85rem;
    color: var(--ash);
}

.trailer-fallback a {
    color: var(--blood-light);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.trailer-fallback a:hover { color: var(--ivory); }


.footer-bottom-copy p { margin: 0; }

.footer-bottom-legal {
    margin-top: 0.3rem !important;
    font-size: 0.72rem !important;
    color: var(--graphite);
    letter-spacing: 0.3px;
}


.social-pop-wrap {
    position: relative;
    display: inline-block;
}

.social-pop-close {
    position: absolute;
    top: -12px;
    right: -10px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(12, 12, 18, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: var(--bone);
    font-size: 17px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45);
    transition: all 0.25s var(--ease-out);
}

.social-pop-close:hover {
    background: var(--blood);
    border-color: var(--blood);
    color: #fff;
    transform: scale(1.08);
}
