/* ── Fonts ── */
@font-face {
    font-family: 'RDR Lino';
    src: url('rdrlino-regular-webfont.woff2') format('woff2'),
         url('rdrlino-regular-webfont.woff') format('woff');
    font-display: swap;
}

@font-face {
    font-family: 'Crock';
    src: url('crock.ttf') format('truetype');
    font-display: swap;
}

/* ── Variables ── */
:root {
    --bg: #0a0807;
    --bg-light: rgba(20, 16, 12, 0.85);
    --text: #d4c9b8;
    --text-dim: rgba(212, 201, 184, 0.5);
    --accent: #c41e1e;
    --accent-glow: rgba(196, 30, 30, 0.6);
    --accent-dim: rgba(196, 30, 30, 0.15);
    --line: rgba(255, 255, 255, 0.08);
    --gold: #d4a43e;
}

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

html {
    background: var(--bg);
}

@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

body {
    font-family: 'RDR Lino', Georgia, serif;
    background: var(--bg);
    color: var(--text);
    overflow-x: hidden;
    cursor: default;
}

::selection {
    background: var(--accent);
    color: #fff;
}

/* ── Scrollbar ── */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg);
}

::-webkit-scrollbar-thumb {
    background: rgba(120, 100, 80, 0.4);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(120, 100, 80, 0.6);
}

/* ── Particles ── */
.particles {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    contain: layout style paint;
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: rgba(212, 164, 62, 0.3);
    border-radius: 50%;
    animation: float linear infinite;
    will-change: transform, opacity;
}

@keyframes float {
    0% {
        transform: translateY(100vh) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-10vh) translateX(40px);
        opacity: 0;
    }
}

/* ── Hero Section ── */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--bg);
    z-index: 1;
    overflow: hidden;
}

/* Cinematic layered background (optimized: fewer layers, GPU-composited) */
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    will-change: transform;
    transform: translateZ(0);
    background:
        /* Top: subtle red sky glow */
        radial-gradient(ellipse 120% 40% at 50% 0%, rgba(196, 30, 30, 0.12) 0%, transparent 100%),
        /* Horizon line: warm golden band */
        radial-gradient(ellipse 150% 8% at 50% 62%, rgba(212, 164, 62, 0.1) 0%, transparent 100%),
        /* Sun glow behind logo area */
        radial-gradient(circle at 50% 45%, rgba(196, 30, 30, 0.08) 0%, transparent 40%),
        /* Bottom ground fade */
        linear-gradient(to top, rgba(10, 8, 7, 1) 0%, rgba(10, 8, 7, 0.8) 15%, transparent 40%),
        /* Stars (reduced from 10 to 4) */
        radial-gradient(1px 1px at 20% 30%, rgba(255, 255, 255, 0.15), transparent),
        radial-gradient(1px 1px at 60% 15%, rgba(255, 255, 255, 0.12), transparent),
        radial-gradient(1px 1px at 80% 25%, rgba(255, 255, 255, 0.08), transparent),
        radial-gradient(1px 1px at 40% 8%, rgba(255, 255, 255, 0.1), transparent),
        /* Base: dark warm gradient */
        linear-gradient(180deg,
            #0d0a08 0%,
            #120e0a 20%,
            #1a130d 40%,
            #15100b 60%,
            #0f0c09 80%,
            #0a0807 100%
        );
}

/* Animated horizon haze (optimized: no blur, use opacity + transform only) */
.hero::after {
    content: "";
    position: absolute;
    bottom: 30%;
    left: -10%;
    right: -10%;
    height: 180px;
    z-index: 0;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(212, 164, 62, 0.025) 20%,
        rgba(196, 30, 30, 0.03) 50%,
        rgba(212, 164, 62, 0.025) 80%,
        transparent 100%
    );
    will-change: transform, opacity;
    transform: translateZ(0);
    animation: horizonDrift 12s ease-in-out infinite alternate;
}

@keyframes horizonDrift {
    0% {
        transform: translateX(-3%) scaleX(1);
        opacity: 0.6;
    }
    100% {
        transform: translateX(3%) scaleX(1.1);
        opacity: 1;
    }
}

.hero-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    padding: 0 20px;
    position: relative;
    z-index: 2;
    will-change: transform, opacity;
}

/* ── Logo ── */
.logo-wrapper {
    position: relative;
    display: inline-block;
}

.logo {
    width: 336px;
    height: 336px;
    object-fit: contain;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 0 20px rgba(196, 30, 30, 0.3));
}

.logo-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1);
    width: 380px;
    height: 380px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    filter: blur(40px);
    z-index: 1;
    will-change: transform, opacity;
    animation: glowPulse 4s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% {
        opacity: 0.4;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 0.7;
        transform: translate(-50%, -50%) scale(1.15);
    }
}

/* ── Tagline ── */
.tagline-wrapper {
    text-align: center;
    min-height: 80px;
    transition: opacity 0.6s ease;
}

.tagline-title {
    font-family: 'Crock', 'RDR Lino', Georgia, serif;
    font-size: 22px;
    font-weight: normal;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--text);
    margin-bottom: 10px;
    transition: opacity 0.4s ease;
    border-right: 2px solid var(--accent);
    padding-right: 4px;
    display: inline-block;
    animation: cursorBlink 0.8s step-end infinite;
}

@keyframes cursorBlink {
    0%, 100% { border-color: var(--accent); }
    50% { border-color: transparent; }
}

.tagline {
    font-family: 'RDR Lino', Georgia, serif;
    font-size: 20px;
    color: var(--text-dim);
    font-style: italic;
    letter-spacing: 1px;
    max-width: none;
    line-height: 1.5;
    margin: 0 auto;
    transition: opacity 0.5s ease;
}

/* ── Buttons ── */
.hero-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

.hero-buttons .btn {
    min-width: 200px;
    justify-content: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: 4px;
    text-decoration: none;
    font-family: 'RDR Lino', Georgia, serif;
    font-size: 16px;
    font-weight: normal;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
    border: 1px solid;
    cursor: pointer;
}

.btn-discord {
    background: rgba(88, 101, 242, 0.12);
    color: #7289da;
    border-color: rgba(88, 101, 242, 0.3);
}

.btn-discord:hover {
    background: #5865f2;
    color: #fff;
    border-color: #5865f2;
    box-shadow: 0 0 30px rgba(88, 101, 242, 0.3);
    transform: translateY(-2px);
}

.btn-youtube {
    background: var(--accent-dim);
    color: var(--accent);
    border-color: rgba(196, 30, 30, 0.3);
}

.btn-youtube:hover {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
    box-shadow: 0 0 30px rgba(196, 30, 30, 0.3);
    transform: translateY(-2px);
}

.btn-tiktok {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text);
    border-color: rgba(255, 255, 255, 0.15);
}

.btn-tiktok:hover {
    background: #fff;
    color: #000;
    border-color: #fff;
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.btn-teamspeak {
    background: rgba(47, 100, 164, 0.15);
    color: #5b9bd5;
    border-color: rgba(47, 100, 164, 0.4);
}

.btn-teamspeak:hover {
    background: #2f64a4;
    color: #fff;
    border-color: #2f64a4;
    box-shadow: 0 0 30px rgba(47, 100, 164, 0.35);
    transform: translateY(-2px);
}

.btn-large {
    padding: 20px 44px;
    font-size: 18px;
}

/* ── Server Status ── */
.server-status {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--line);
    border-radius: 4px;
    font-family: 'RDR Lino', Georgia, serif;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-top: 8px;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
    position: relative;
    z-index: 2;
}

.server-status:hover {
    background: rgba(74, 140, 63, 0.15);
    border-color: rgba(74, 140, 63, 0.3);
    transform: translateY(-2px);
}

.server-status:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

.status-dot.online {
    background: #4a8c3f;
    box-shadow: 0 0 8px rgba(74, 140, 63, 0.6);
    animation: statusPulse 2s ease-in-out infinite;
}

.status-dot.offline {
    background: var(--accent);
    box-shadow: 0 0 6px var(--accent-glow);
}

#statusText {
    font-size: 13px;
    color: var(--text-dim);
    letter-spacing: 1px;
}

@keyframes statusPulse {
    0%, 100% { box-shadow: 0 0 8px rgba(74, 140, 63, 0.6); }
    50% { box-shadow: 0 0 16px rgba(74, 140, 63, 0.9); }
}

/* ── Scroll Hint ── */
.scroll-hint {
    position: absolute;
    bottom: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0.4;
    z-index: 2;
    animation: scrollBounce 2s ease-in-out infinite;
}

.scroll-hint span {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--text-dim);
}

.scroll-arrow {
    width: 20px;
    height: 20px;
    border-right: 2px solid var(--text-dim);
    border-bottom: 2px solid var(--text-dim);
    transform: rotate(45deg);
}

@keyframes scrollBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(10px); }
}

/* ── Section Headers ── */
.section-header {
    display: flex;
    align-items: center;
    gap: 24px;
    justify-content: center;
    margin-bottom: 48px;
}

.section-header h2 {
    font-family: 'Crock', 'RDR Lino', Georgia, serif;
    font-size: 34px;
    font-weight: normal;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--accent);
    white-space: nowrap;
}

.section-header .line {
    width: 80px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

/* ── Quotes Section ── */
.quotes-section {
    padding: 100px 40px;
    position: relative;
    z-index: 1;
    background:
        linear-gradient(180deg, var(--bg) 0%, rgba(15, 12, 10, 1) 50%, var(--bg) 100%);
}

.quotes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.quote-card {
    background: var(--bg-light);
    border: 1px solid var(--line);
    border-radius: 4px;
    padding: 24px;
    transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
    position: relative;
    overflow: hidden;
}

.quote-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, transparent, var(--accent), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.quote-card:hover {
    background: rgba(30, 25, 20, 0.9);
    border-color: rgba(196, 30, 30, 0.2);
    transform: translateY(-3px);
}

.quote-card:hover::before {
    opacity: 1;
}

.quote-title {
    font-family: 'Crock', 'RDR Lino', Georgia, serif;
    font-size: 16px;
    font-weight: normal;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--accent);
    margin-bottom: 10px;
}

.quote-text {
    font-family: 'RDR Lino', Georgia, serif;
    font-size: 16px;
    color: var(--text);
    line-height: 1.5;
    font-style: italic;
}

/* ── Video Section ── */
.video-section {
    padding: 100px 40px;
    position: relative;
    z-index: 1;
    background:
        radial-gradient(ellipse at center, rgba(196, 30, 30, 0.04), transparent 60%),
        var(--bg);
}

.video-wrapper {
    max-width: 900px;
    margin: 0 auto;
    aspect-ratio: 16 / 9;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid rgba(196, 30, 30, 0.25);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

.video-wrapper iframe {
    width: 100%;
    height: 100%;
}

/* ── CTA Section ── */
.cta-section {
    padding: 100px 40px;
    position: relative;
    z-index: 1;
    background:
        radial-gradient(ellipse at center top, rgba(196, 30, 30, 0.06), transparent 50%),
        var(--bg);
}

.cta-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.cta-content h2 {
    font-family: 'Crock', 'RDR Lino', Georgia, serif;
    font-size: 36px;
    font-weight: normal;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 18px;
    color: var(--text);
}

.cta-content p {
    font-size: 18px;
    color: var(--text-dim);
    margin-bottom: 36px;
    line-height: 1.5;
}

/* ── Features Section ── */
.features-section {
    padding: 100px 40px;
    position: relative;
    z-index: 1;
    background:
        radial-gradient(ellipse at center, rgba(196, 30, 30, 0.04), transparent 60%),
        var(--bg);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: var(--bg-light);
    border: 1px solid var(--line);
    border-radius: 4px;
    padding: 32px 24px;
    text-align: center;
    transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover {
    background: rgba(30, 25, 20, 0.9);
    border-color: rgba(196, 30, 30, 0.2);
    transform: translateY(-4px);
}

.feature-card:hover::after {
    opacity: 1;
}

.feature-icon {
    font-size: 36px;
    margin-bottom: 16px;
    filter: grayscale(0.3);
}

.feature-card h3 {
    font-family: 'Crock', 'RDR Lino', Georgia, serif;
    font-size: 20px;
    font-weight: normal;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent);
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 15px;
    color: var(--text-dim);
    line-height: 1.6;
}

/* ── About Section ── */
.about-section {
    padding: 100px 40px;
    position: relative;
    z-index: 1;
    background:
        linear-gradient(180deg, var(--bg) 0%, rgba(15, 12, 10, 1) 50%, var(--bg) 100%);
}

.about-content {
    max-width: 950px;
    margin: 0 auto;
    background: var(--bg-light);
    border: 1px solid var(--line);
    border-radius: 4px;
    padding: 40px 48px;
    position: relative;
    overflow: hidden;
}

.about-content::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, transparent, var(--accent), transparent);
}

.about-content::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, transparent, var(--accent), transparent);
}

.about-content p {
    font-size: 17px;
    line-height: 1.8;
    color: var(--text);
    margin-bottom: 18px;
}

.about-content p:last-child {
    margin-bottom: 0;
}

.about-content strong {
    color: #e8ddd0;
    font-weight: normal;
}

.partner-link {
    color: var(--accent);
    text-decoration: none;
    border-bottom: 1px solid var(--accent-dim);
    transition: all 0.2s ease;
}

.partner-link:hover {
    color: #e02828;
    border-bottom-color: var(--accent);
}

/* ── Footer ── */
footer {
    padding: 30px 40px;
    text-align: center;
    border-top: 1px solid var(--line);
    z-index: 1;
    position: relative;
}

footer p {
    font-size: 12px;
    color: var(--text-dim);
    letter-spacing: 1px;
}

/* ── Responsive ── */
@media (max-width: 900px) {
    .quotes-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .logo {
        width: 240px;
        height: 240px;
    }

    .logo-glow {
        width: 280px;
        height: 280px;
    }

    .about-content {
        padding: 28px 32px;
    }

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

    .section-header h2 {
        font-size: 22px;
    }

    .cta-content h2 {
        font-size: 26px;
    }
}

@media (max-width: 600px) {
    .quotes-grid {
        grid-template-columns: 1fr;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .tagline {
        font-size: 16px;
        padding: 0 20px;
    }

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

    .section-header .line {
        width: 40px;
    }
}

/* ── Focus Visible (Accessibility) ── */
.btn:focus-visible,
.partner-link:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* ── Prefers Reduced Motion ── */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .particle {
        display: none;
    }

    .scroll-hint {
        transform: none;
    }
}

/* ── Grain / Texture Overlay ── */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.04;
    background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAGq0lEQVR4nO2ba1MbRxCG+f+/IgmXcDEGYxtsx4lTqZTzIZVKHMcxYC4S0u5qd3ZnuqcvswIhxLJx5cPOh5JW0vbT09Mzs7saGhoa+n+j9d8LGBoa+u9pCMDQ0H8cQ9L/PcA/jKBP+sBn2OYziTAAIJKhJMCBAgJCYhD4FEEAJCKFMaFPSEIiSjAICEGIgkBIAiFIEBKBCAKhT0RCH/gEAfQBgEhJTExMYmJisBgTg4AIBETEJCAmJiEOA6cKqA8ARAbhP4pEBGQgPiYWE/t4EGLoAxAZBIFE0FfUuVMAEiJJiPcJfUASCYlIJJGIBCIJiUBCREIcAmJQH3qfxKAnoB8AGQShd4kl6RNJSE0iSUANEoFIImB/ZNDr048hgJ4AxSA+Jg4JRIkgkITU1CQkIIaEBBKJJYRY4mNiEBBJTB/QD4CMgDhEx8SiHtBHfB94N5KQmDgkJiYJCUFMDAlxSMRewxX1ASDDID4mDhGJfU29R+gDQUIsAbFEEOETg0hIfOwTiUEkPjHEJBCbeuuZAuojQIZBHOJiUY/ouDz0YYhFJJFEREAiERHx+EQiEklMTAQxCcQmIAKRBGLxicHvA+gHQIZBYuLiY2PRiDruE1CTQCIhMYlICCEmJh6RhMQk4BNJQiIxCfhEEkMf4J8tAD0BiiSBRMQhLhbx+MQQi4CQhJhY4mJjicUnIRb1qU8IIgkJSUhAAmISYujTjyEAHQZJjMUjLj4eHwfvE4EQRCISEY+IBETiEUFCLLHExRAbi09MHCIRCUiIIR6fPuA0APQhiMQljrhYNCQW8YiJQSQhITGIxCckFp+IOBwCcAgJCUiIxScmBgcHYhHwiSQ+PgGfPoA+AJFBcIiLxcXF4ePiE4FIQmJi8InBJwKfmBh8YhGJSEBEQiIJicMhJhafkHh84vBx6QP8swXQB4AYxOMSi3rEx+ITEolILAISExFBTGIREIlHRDw+sUQSk0gICYnDJyYOn5B4fHw8YukDOF0ABCQxDp9YPBzi8QmJQEhEIokISExCIuITEUsMDhH4hMQjJD6xhITE4eMTE4dPKLH4hMTRB5wGgBgSE+NjcQmJwyUeIbEIiSQmIR4RiUhIHD4hcfg4+ETE4uMTE49PJA4xiCUmjjhC4vEJiaMPOA0ACYmJw8PFxcfjEhGPkIiERCQmHp+YOHxCHCLi8YmIj8cnJj4+IbHEEIMQn5h4fELi8InFJyQ+MfQBpwtAJA4el4CPj0csPg4RCYlEJCExcfiExOMTi09MfBwi4vHxCSUGPxYfn1hi8fGIJSQOH584+oDTBSCSmHg8Aj4BPh4hEQmJwCeSiBhiicUnIo5YfEIi4hETh09MPC4xsbg4xODiEodHTDwuPrH4xOPjEUtIHH3APw4AIhFEEmLxCIjHxycWn4hEROLj8ImJxScmHh+XOHxCHCLi4+MTi4OPRww+IXE4xOITE4eLh4+LTyw+sfQBp80BiMQjIhafkHhcAjxCYhASgUgiYomJxychIQ4xsfh4+IRE4hETHw+XSBxCYvAIicEjJj4eDj4+cfj4hBJLH3C6ABCJJMThExGHS0A8DhEJiSCSmIREEBFLTHwcIuJxCImPTywuDh4xsbg4xMXi4uMSg4+DR0xcfGJxiYnFJ5Y+4HQBICKSOHwi4nCJx8cnJBYhEYkkJiGRxMQnIg6fkHg8AmLi8XFxiYnFxcfBIyYWDw8fj1h8fDxiiSUOn1j6gNMFgEgksbg4xOES4OMTg0hCIolJSEwiCYklJiERcfhExMfjExGHSyw+Ph4+PrE4+Hh4eMTi4OLj4REbh0csfcDpAkBEJHF4eMTj4xFKTEIiEUlMfCISEUtMfCLi8YmIxyEiHp+QeHxcYvFx8fDw8YjFxcfHIxYfj1hcYuPw8Oikj+k0AAjxiMfHwyeWUGISEolIYuITkYiIxMQnIj4+EfHxCInHJyIOlxh8XGJxiY+Lh4ePT0wcDi4+Hj4xsfh4xOIR0wecBgCReHh4ePj4xBASk5CIREQSk4CIWGLiExGfiBh8QuLjExKPT0QcHiGx+Li4+HjE4uLj4uHj4ePh4xFLHD4esfQBpwEAIpF4uPh4+ITEEhKJSCIiicUnIpGExCcijph4fELi8QmJJQafkJh4XGJicfBw8fDxicXBx8fHIzYOD5cYXGLx8YilDzgNABCJxCXAx8cnlpCYhEQiIpGExCciFp+Y+ETExychPh6xxOARg4eHTwwuMbi4+PjE4uLh4xETi4eLRywuMfcC/wIWNHWjcmq6hQAAAABJRU5ErkJggg==");
    background-repeat: repeat;
    background-size: 64px 64px;
    will-change: auto;
}

/* ── Section Divider ── */
.section-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 0 40px;
    position: relative;
    z-index: 1;
}

.section-divider::before,
.section-divider::after {
    content: "";
    flex: 1;
    max-width: 200px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(196, 30, 30, 0.3), transparent);
}

.section-divider-icon {
    font-size: 14px;
    color: var(--accent);
    opacity: 0.5;
    letter-spacing: 8px;
}

/* ── CTA Enhanced ── */
.cta-section {
    background:
        radial-gradient(ellipse at center top, rgba(196, 30, 30, 0.1), transparent 50%),
        radial-gradient(ellipse at center bottom, rgba(212, 164, 62, 0.04), transparent 50%),
        var(--bg);
}

.cta-content::before {
    content: "";
    display: block;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    margin: 0 auto 32px;
}

/* ── Footer Enhanced ── */
footer {
    padding: 40px 40px 30px;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.footer-links {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links a {
    font-size: 13px;
    color: var(--text-dim);
    text-decoration: none;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-links a:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.footer-social {
    display: flex;
    gap: 16px;
}

.footer-social a {
    color: var(--text-dim);
    transition: color 0.2s ease, transform 0.2s ease;
    display: inline-flex;
}

.footer-social a:hover {
    color: var(--accent);
    transform: translateY(-2px);
}

.footer-social a:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* ── Scroll Reveal ── */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.feature-card.reveal:nth-child(1) { transition-delay: 0s; }
.feature-card.reveal:nth-child(2) { transition-delay: 0.1s; }
.feature-card.reveal:nth-child(3) { transition-delay: 0.2s; }
.feature-card.reveal:nth-child(4) { transition-delay: 0.3s; }

@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}
