/* ═══════════════════════════════════════════════
   FOF FRONTIER — fof-frontier.css
   Standalone stylesheet · Wild West Landing Page
═══════════════════════════════════════════════ */

/* ── Tokens ── */
:root {
    --amber-100: #fef3c7;
    --amber-300: #fcd34d;
    --amber-400: #fbbf24;
    --amber-500: #f59e0b;
    --amber-600: #d97706;
    --amber-700: #b45309;
    --amber-800: #92400e;
    --amber-900: #78350f;
    --amber-950: #451a03;
    --red-600:   #dc2626;
    --red-700:   #b91c1c;
    --stone-800: #292524;
    --stone-900: #1c1917;
    --stone-950: #0c0a09;
    --steam-blue: #66c0f4;
    --shadow-gold: rgba(251,191,36,.25);
    --shadow-red:  rgba(220,38,38,.35);
    --font-display: 'Rye', serif;
    --font-body:    'Special Elite', cursive;
    --font-serif:   'Playfair Display', Georgia, serif;
}

/* ── Reset / Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
    background: var(--stone-950);
    color: var(--amber-100);
    font-family: var(--font-body);
    overflow-x: hidden;
    cursor: default;
}

/* ── Custom Scrollbar ── */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #0c0a09; }
::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, #78350f, #92400e, #78350f);
    border: 2px solid #0c0a09;
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover { background: linear-gradient(to bottom, #92400e, #b45309, #92400e); }
::selection { background: #92400e; color: #fef3c7; }

/* ═══════════════════════════════════════════════
   CINEMATIC OVERLAYS
═══════════════════════════════════════════════ */

.vignette {
    background: radial-gradient(ellipse at center,
        transparent 40%,
        rgba(0,0,0,.55) 75%,
        rgba(0,0,0,.92) 100%);
}

.scanlines {
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 3px,
        rgba(0,0,0,.06) 3px,
        rgba(0,0,0,.06) 4px
    );
    opacity: .5;
}

.film-grain {
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)' opacity='0.12'/%3E%3C/svg%3E");
    background-size: 256px 256px;
    mix-blend-mode: overlay;
    opacity: .35;
    animation: grainShift 0.12s steps(1) infinite;
}

@keyframes grainShift {
    0%   { background-position:  0%   0%; }
    20%  { background-position: 30%  50%; }
    40%  { background-position: 70%  10%; }
    60%  { background-position: 10%  80%; }
    80%  { background-position: 80%  40%; }
    100% { background-position: 40%  90%; }
}

/* ═══════════════════════════════════════════════
   VIDEO FILTER
═══════════════════════════════════════════════ */
.video-filter {
    opacity: 0.8;
    filter: sepia(.4) contrast(1.1) brightness(0.95) saturate(1.1);
    transition: opacity .5s, filter .5s;
}

/* ═══════════════════════════════════════════════
   DUST PARTICLES
═══════════════════════════════════════════════ */
.dust-particle {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(210,160,80,.55) 0%, transparent 70%);
    animation: dustDrift linear infinite;
    pointer-events: none;
}
@keyframes dustDrift {
    0%   { transform: translateX(0) translateY(0) scale(1); opacity: 0; }
    10%  { opacity: 1; }
    90%  { opacity: .5; }
    100% { transform: translateX(var(--dx)) translateY(-120vh) scale(var(--ds)); opacity: 0; }
}

/* ═══════════════════════════════════════════════
   SERVER INFO SECTION
═══════════════════════════════════════════════ */
.servers-section {
    background:
        linear-gradient(to bottom,
            var(--stone-950) 0%,
            rgba(18,14,11,.99) 50%,
            var(--stone-950) 100%);
    position: relative;
}
.servers-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%2392400e' fill-opacity='0.02'%3E%3Cpath d='M0 20h40M20 0v40' stroke='%2392400e' stroke-opacity='0.04' stroke-width='1'/%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.servers-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    align-items: start;
}
@media (min-width: 900px) {
    .servers-grid { grid-template-columns: 1fr 40px 1fr; gap: 0 24px; }
}

/* Column header */
.server-col-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 28px 20px 20px;
    position: relative;
}
.server-col-header::after {
    content: '';
    position: absolute;
    bottom: 0; left: 10%; right: 10%;
    height: 1px;
}
.server-col-header.pvp::after  { background: linear-gradient(to right, transparent, rgba(185,28,28,.5), transparent); }
.server-col-header.coop::after { background: linear-gradient(to right, transparent, rgba(180,83,9,.5), transparent); }

.server-col-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 58px; height: 58px;
    border-radius: 50%;
    border: 2px solid;
    position: relative;
}
.server-col-icon.pvp {
    background: radial-gradient(circle at 35% 35%, #7f1d1d, #3b0a0a);
    border-color: #b91c1c;
    box-shadow: 0 0 24px rgba(185,28,28,.25), inset 0 1px 0 rgba(255,255,255,.06);
}
.server-col-icon.coop {
    background: radial-gradient(circle at 35% 35%, #78350f, #2c1006);
    border-color: #b45309;
    box-shadow: 0 0 24px rgba(180,83,9,.25), inset 0 1px 0 rgba(255,255,255,.06);
}

.server-col-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    letter-spacing: .22em;
    line-height: 1;
}
.server-col-title.pvp  { color: #f87171; text-shadow: 0 0 20px rgba(248,113,113,.25), 2px 2px 0 rgba(0,0,0,.8); }
.server-col-title.coop { color: #fbbf24; text-shadow: 0 0 20px rgba(251,191,36,.25), 2px 2px 0 rgba(0,0,0,.8); }

.server-col-sub {
    font-family: var(--font-body);
    font-size: .6rem;
    letter-spacing: .25em;
    color: #6b5c47;
    text-transform: uppercase;
}

/* Server list */
.server-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 16px 12px;
}

.server-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: rgba(20,14,10,.7);
    border: 1px solid;
    position: relative;
    overflow: hidden;
    transition: background .25s, border-color .25s, transform .25s;
    cursor: default;
    animation: cardReveal .5s ease both;
    animation-delay: calc(var(--delay, 0) * 1ms);
}
.server-card.pvp  { border-color: rgba(185,28,28,.2); }
.server-card.coop { border-color: rgba(146,64,14,.2); }
.server-card.pvp:hover  { background: rgba(40,10,10,.8); border-color: rgba(185,28,28,.45); transform: translateX(3px); }
.server-card.coop:hover { background: rgba(28,18,8,.8); border-color: rgba(146,64,14,.45); transform: translateX(3px); }

/* Subtle left accent bar */
.server-card::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 2px;
    opacity: 0;
    transition: opacity .25s;
}
.server-card.pvp::before  { background: linear-gradient(to bottom, transparent, #b91c1c, transparent); }
.server-card.coop::before { background: linear-gradient(to bottom, transparent, #b45309, transparent); }
.server-card:hover::before { opacity: 1; }

/* Status dot */
.server-status {
    width: 8px; height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
    position: relative;
}
.server-status::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    animation: statusPing 2.5s ease-out infinite;
}
.server-status.online { background: #22c55e; box-shadow: 0 0 6px rgba(34,197,94,.5); }
.server-status.online::after { background: rgba(34,197,94,.3); }
.server-status.busy   { background: #ef4444; box-shadow: 0 0 6px rgba(239,68,68,.5); }
.server-status.busy::after { background: rgba(239,68,68,.3); animation-duration: 1.5s; }
.server-status.idle   { background: #f59e0b; box-shadow: 0 0 6px rgba(245,158,11,.4); }
.server-status.idle::after { background: rgba(245,158,11,.25); animation-duration: 3.5s; }

@keyframes statusPing {
    0%   { transform: scale(1); opacity: .7; }
    70%  { transform: scale(2.2); opacity: 0; }
    100% { transform: scale(2.2); opacity: 0; }
}

/* Server info text */
.server-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.server-name {
    font-family: var(--font-body);
    font-size: .78rem;
    color: rgba(244,228,188,.85);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.server-map {
    font-family: var(--font-body);
    font-size: .6rem;
    color: #6b5c47;
    letter-spacing: .06em;
}

/* Server meta (players + ping) */
.server-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
    flex-shrink: 0;
}
.server-players {
    font-family: var(--font-body);
    font-size: .72rem;
    color: rgba(244,228,188,.7);
}
.server-max { color: #4b3f33; }

.server-ping {
    font-family: var(--font-body);
    font-size: .6rem;
    letter-spacing: .04em;
}
.server-ping.pvp  { color: #f87171; }
.server-ping.coop { color: #fbbf24; }

/* Column footer */
.server-col-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px 20px;
    font-family: var(--font-body);
    font-size: .6rem;
    letter-spacing: .1em;
    border-top: 1px solid;
    margin: 4px 12px 0;
}
.server-col-footer.pvp  { color: rgba(248,113,113,.5); border-color: rgba(185,28,28,.2); }
.server-col-footer.coop { color: rgba(251,191,36,.4);  border-color: rgba(146,64,14,.2); }

/* Vertical divider between cols */
.servers-divider {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 0;
    gap: 0;
}
@media (min-width: 900px) { .servers-divider { display: flex; } }

.divider-line {
    flex: 1;
    width: 1px;
    background: linear-gradient(to bottom, transparent, rgba(146,64,14,.4), transparent);
    min-height: 60px;
}
.divider-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px; height: 28px;
    border: 1px solid rgba(146,64,14,.35);
    background: rgba(12,10,9,.9);
    border-radius: 50%;
    margin: 8px 0;
    box-shadow: 0 0 12px rgba(0,0,0,.5);
}

/* Mobile: add a horizontal rule between cols */
@media (max-width: 899px) {
    .server-col + .servers-divider + .server-col {
        margin-top: 32px;
        padding-top: 32px;
        border-top: 1px solid rgba(146,64,14,.2);
    }
}

/* ═══════════════════════════════════════════════
   NAVIGATION
═══════════════════════════════════════════════ */
.fof-nav {
    background: linear-gradient(to bottom,
        rgba(12,10,9,.97) 0%,
        rgba(28,25,23,.93) 60%,
        rgba(12,10,9,.88) 100%);
    border-bottom: 2px solid transparent;
    border-image: linear-gradient(to right, transparent, #78350f, #b45309, #78350f, transparent) 1;
    box-shadow: 0 4px 24px rgba(0,0,0,.7), inset 0 -1px 0 rgba(251,191,36,.12);
    position: sticky;
    top: 0;
}
.nav-inner { border-bottom: 1px solid rgba(146,64,14,.15); }

.logo-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: radial-gradient(circle at 30% 30%, #92400e, #451a03);
    border: 2px solid #b45309;
    border-radius: 3px;
    transform: rotate(-2deg);
    box-shadow: 0 2px 12px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,255,255,.08);
    flex-shrink: 0;
}
.logo-text { display: flex; flex-direction: column; }
.logo-title {
    font-family: var(--font-display);
    font-size: 1.15rem;
    letter-spacing: .12em;
    color: #fbbf24;
    text-shadow: 0 0 20px rgba(251,191,36,.3), 2px 2px 0 rgba(0,0,0,.8);
    line-height: 1;
}
.logo-sub {
    font-family: var(--font-body);
    font-size: .55rem;
    letter-spacing: .22em;
    color: #92400e;
    margin-top: 2px;
}

.steam-nav-btn {
    display: none;
    align-items: center;
    gap: 8px;
    font-family: var(--font-display);
    font-size: .7rem;
    letter-spacing: .1em;
    color: white;
    background: linear-gradient(135deg, #1b2838, #16202d);
    border: 1.5px solid rgba(102,192,244,.5);
    padding: 8px 18px;
    border-radius: 3px;
    text-decoration: none;
    box-shadow: 0 0 16px rgba(102,192,244,.15), inset 0 1px 0 rgba(255,255,255,.05);
    transition: all .25s;
}
@media (min-width: 640px) { .steam-nav-btn { display: flex; } }
.steam-nav-btn:hover {
    background: linear-gradient(135deg, #2a475e, #1b2838);
    border-color: #66c0f4;
    box-shadow: 0 0 24px rgba(102,192,244,.3);
    transform: translateY(-1px);
}

/* ═══════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════ */
.hero { padding-top: 60px; }
.hero-center { max-width: 800px; margin: 0 auto; }

/* Rope ornaments */
.rope-left, .rope-right {
    position: fixed;
    top: 25%;
    width: 6px;
    height: 280px;
    border-radius: 3px;
    box-shadow: inset 2px 0 4px rgba(0,0,0,.6), inset -1px 0 2px rgba(255,255,255,.08), 3px 0 8px rgba(0,0,0,.4);
}
.rope-left {
    left: 20px;
    background: repeating-linear-gradient(0deg, #78350f, #78350f 6px, #92400e 6px, #92400e 12px);
    transform-origin: top center;
    animation: ropeSway 6s ease-in-out infinite;
}
.rope-right {
    right: 20px;
    top: 35%;
    height: 200px;
    background: repeating-linear-gradient(0deg, #78350f, #78350f 6px, #92400e 6px, #92400e 12px);
    transform-origin: top center;
    animation: ropeSway 7s ease-in-out infinite reverse;
}
@keyframes ropeSway {
    0%, 100% { transform: rotate(1deg) skewX(0.3deg); }
    50%       { transform: rotate(-1deg) skewX(-0.3deg); }
}

/* Bullet holes */
.bullet {
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #2c2c2c 0%, #0a0a0a 45%, #000 100%);
    box-shadow: inset -2px -2px 4px rgba(255,255,255,.06), inset 2px 2px 5px rgba(0,0,0,.9), 0 0 8px rgba(0,0,0,.6);
    z-index: 4;
}

/* ── WANTED POSTER ── */
.wanted-poster-wrap {
    display: inline-block;
    margin-bottom: 40px;
    animation: posterFloat 5s ease-in-out infinite;
    will-change: transform;
}
@keyframes posterFloat {
    0%, 100% { transform: rotate(.8deg) translateY(0); }
    50%       { transform: rotate(-.6deg) translateY(-6px); }
}

.wanted-poster {
    position: relative;
    background:
        linear-gradient(160deg, rgba(120,53,15,.18) 0%, transparent 50%),
        linear-gradient(to bottom,
            rgba(30,20,12,.97) 0%,
            rgba(20,14,8,.98) 100%);
    border: 3px solid #78350f;
    padding: 4px;
    box-shadow:
        0 0 0 1px rgba(251,191,36,.12),
        0 20px 60px rgba(0,0,0,.8),
        0  0  40px rgba(180,83,9,.12),
        inset 0 0 30px rgba(0,0,0,.4);
}
.wanted-poster::before {
    content: '';
    position: absolute;
    inset: 6px;
    border: 1px solid rgba(146,64,14,.3);
    pointer-events: none;
}
/* aged paper inner texture */
.wanted-poster::after {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 300 300' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.07'/%3E%3C/svg%3E");
    pointer-events: none;
    mix-blend-mode: multiply;
    opacity: .6;
}

/* Corner brackets */
.corner {
    position: absolute;
    width: 20px; height: 20px;
    border-color: rgba(251,191,36,.45);
    border-style: solid;
}
.corner.tl { top: 14px; left: 14px; border-width: 2px 0 0 2px; }
.corner.tr { top: 14px; right: 14px; border-width: 2px 2px 0 0; }
.corner.bl { bottom: 14px; left: 14px; border-width: 0 0 2px 2px; }
.corner.br { bottom: 14px; right: 14px; border-width: 0 2px 2px 0; }

/* Nail dots */
.nail {
    position: absolute;
    width: 8px; height: 8px;
    background: radial-gradient(circle at 35% 35%, #a0a0a0, #383838);
    border-radius: 50%;
    box-shadow: 0 1px 3px rgba(0,0,0,.8), inset -1px -1px 2px rgba(0,0,0,.6);
    z-index: 2;
}

.poster-inner {
    padding: 36px 52px 32px;
    position: relative;
    z-index: 1;
}

.poster-stars {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
}

.star-glow {
    filter: drop-shadow(0 0 6px rgba(251,191,36,.6));
    animation: starTwinkle 2.5s ease-in-out infinite;
}
@keyframes starTwinkle {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: .7; transform: scale(.88); }
}

.poster-eyebrow {
    font-family: var(--font-body);
    font-size: .65rem;
    letter-spacing: .28em;
    color: #92400e;
    margin-bottom: 6px;
    text-align: center;
}

.poster-wanted {
    font-family: var(--font-display);
    font-size: clamp(3rem, 10vw, 6rem);
    color: #fbbf24;
    text-shadow:
        4px 4px 0 rgba(40,10,0,.9),
        8px 8px 16px rgba(0,0,0,.6),
        0 0 40px rgba(251,191,36,.2);
    letter-spacing: .12em;
    line-height: 1;
    text-align: center;
    animation: wantedPulse 4s ease-in-out infinite;
}
@keyframes wantedPulse {
    0%, 100% { text-shadow: 4px 4px 0 rgba(40,10,0,.9), 0 0 40px rgba(251,191,36,.2); }
    50%       { text-shadow: 4px 4px 0 rgba(40,10,0,.9), 0 0 60px rgba(251,191,36,.35), 0 0 80px rgba(251,191,36,.12); }
}

.poster-rule {
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, transparent, #78350f 30%, #b45309 50%, #78350f 70%, transparent);
    margin: 10px 0;
}

.poster-dead {
    font-family: var(--font-display);
    font-size: clamp(1.4rem, 5vw, 2.6rem);
    color: #b91c1c;
    text-shadow:
        2px 2px 0 rgba(60,0,0,.9),
        0 0 30px rgba(185,28,28,.35);
    letter-spacing: .08em;
    text-align: center;
    animation: deadGlow 3s ease-in-out infinite;
}
@keyframes deadGlow {
    0%, 100% { color: #b91c1c; text-shadow: 2px 2px 0 rgba(60,0,0,.9), 0 0 20px rgba(185,28,28,.25); }
    50%       { color: #dc2626; text-shadow: 2px 2px 0 rgba(60,0,0,.9), 0 0 40px rgba(220,38,38,.5); }
}

.poster-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 10px 0;
}
.poster-divider span {
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(146,64,14,.5));
}
.poster-divider span:last-child { background: linear-gradient(to left, transparent, rgba(146,64,14,.5)); }

.poster-tagline {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: .95rem;
    color: rgba(244,228,188,.7);
    text-align: center;
    line-height: 1.6;
    margin-bottom: 16px;
}

.poster-reward {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    margin-top: 16px;
    padding: 10px 24px;
    border: 1px solid rgba(146,64,14,.4);
    background: rgba(0,0,0,.3);
}
.reward-label {
    font-family: var(--font-body);
    font-size: .55rem;
    letter-spacing: .3em;
    color: #92400e;
}
.reward-amount {
    font-family: var(--font-display);
    font-size: 1.8rem;
    color: #fbbf24;
    text-shadow: 2px 2px 0 rgba(0,0,0,.8), 0 0 20px rgba(251,191,36,.3);
    letter-spacing: .1em;
}

/* ── CTA Buttons ── */
.cta-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-top: 16px;
}
@media (min-width: 480px) { .cta-group { flex-direction: row; justify-content: center; } }

.cta-primary {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: .9rem;
    letter-spacing: .12em;
    color: var(--amber-100);
    text-decoration: none;
    background: linear-gradient(135deg, #78350f 0%, #92400e 50%, #78350f 100%);
    border: 2px solid #b45309;
    padding: 14px 32px;
    overflow: hidden;
    box-shadow:
        0 4px 0 #451a03,
        0 6px 20px rgba(0,0,0,.5),
        0 0 40px rgba(180,83,9,.25),
        inset 0 1px 0 rgba(255,255,255,.1);
    transform: translateY(0);
    transition: all .2s cubic-bezier(.2,.8,.3,1);
}
.cta-primary:hover {
    transform: translateY(-3px);
    box-shadow:
        0 7px 0 #451a03,
        0 10px 28px rgba(0,0,0,.55),
        0 0 60px rgba(180,83,9,.4),
        inset 0 1px 0 rgba(255,255,255,.15);
    border-color: #d97706;
}
.cta-primary:active {
    transform: translateY(4px);
    box-shadow: 0 0 0 #451a03, inset 0 2px 6px rgba(0,0,0,.4);
}
.cta-shine {
    position: absolute;
    top: 0; left: -100%; width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.12), transparent);
    transition: left .55s ease;
}
.cta-primary:hover .cta-shine { left: 100%; }

.cta-secondary {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-display);
    font-size: .75rem;
    letter-spacing: .14em;
    color: #92400e;
    text-decoration: none;
    border: 1px solid rgba(146,64,14,.45);
    padding: 13px 24px;
    background: rgba(0,0,0,.25);
    backdrop-filter: blur(4px);
    transition: all .25s;
}
.cta-secondary:hover {
    color: #d97706;
    border-color: #d97706;
    background: rgba(120,53,15,.15);
    box-shadow: 0 0 20px rgba(120,53,15,.2);
}

/* Scroll hint */
.scroll-hint {
    display: flex;
    justify-content: center;
    margin-top: 36px;
    opacity: .4;
}
.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, transparent, #78350f, transparent);
    animation: scrollBob 2s ease-in-out infinite;
}
@keyframes scrollBob {
    0%, 100% { transform: scaleY(1); opacity: .4; }
    50%       { transform: scaleY(1.3); opacity: .7; }
}

/* ═══════════════════════════════════════════════
   FEATURES SECTION
═══════════════════════════════════════════════ */
.features-section {
    background:
        linear-gradient(to bottom,
            var(--stone-950) 0%,
            rgba(28,25,23,.98) 20%,
            rgba(22,18,15,.98) 80%,
            var(--stone-950) 100%);
    position: relative;
}
.features-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%2392400e' fill-opacity='0.025'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.section-rule {
    position: absolute;
    left: 0; right: 0;
    height: 3px;
    background: linear-gradient(to right, transparent, #78350f 20%, #b45309 50%, #78350f 80%, transparent);
}
.section-rule.top  { top: 0; }
.section-rule.bottom { bottom: 0; }

.section-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 56px;
}
.section-deco {
    flex: 1;
    max-width: 120px;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(146,64,14,.6));
}
.section-deco:last-child { transform: scaleX(-1); }
.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.4rem, 4vw, 2rem);
    letter-spacing: .2em;
    color: #fbbf24;
    text-shadow: 0 0 30px rgba(251,191,36,.25), 2px 2px 0 rgba(0,0,0,.8);
    white-space: nowrap;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
}
@media (min-width: 768px) { .features-grid { grid-template-columns: repeat(3,1fr); } }

.feat-card {
    position: relative;
    padding: 36px 28px;
    background:
        linear-gradient(160deg, rgba(41,37,36,.85) 0%, rgba(22,18,15,.95) 100%);
    border: 1px solid rgba(146,64,14,.3);
    text-align: center;
    overflow: hidden;
    transition: transform .35s cubic-bezier(.2,.8,.3,1), border-color .35s, box-shadow .35s;
    animation: cardReveal .6s ease both;
    animation-delay: calc(var(--delay, 0) * 1ms);
}
@keyframes cardReveal {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}
.feat-card:hover {
    transform: translateY(-6px);
}
.feat-card:hover .feat-glow { opacity: 1; }

/* Glow blobs */
.feat-glow {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity .4s;
    pointer-events: none;
}
.feat-glow.amber { background: radial-gradient(ellipse at 50% 0%, rgba(180,83,9,.15) 0%, transparent 70%); }
.feat-glow.gold  { background: radial-gradient(ellipse at 50% 0%, rgba(217,119,6,.15) 0%, transparent 70%); }
.feat-glow.red   { background: radial-gradient(ellipse at 50% 0%, rgba(185,28,28,.18) 0%, transparent 70%); }

.feat-card:hover { border-color: rgba(180,83,9,.55); box-shadow: 0 12px 40px rgba(0,0,0,.5); }
.feat-card[data-delay="0"]:hover  { border-color: rgba(180,83,9,.6); }
.feat-card[data-delay="200"]:hover { border-color: rgba(185,28,28,.5); }

/* Feature corners */
.feat-corner {
    position: absolute;
    width: 12px; height: 12px;
    border-style: solid;
    opacity: 0;
    transition: opacity .35s;
}
.feat-card:hover .feat-corner { opacity: 1; }
.feat-corner.tl { top: 10px; left: 10px; border-width: 2px 0 0 2px; }
.feat-corner.br { bottom: 10px; right: 10px; border-width: 0 2px 2px 0; }
.feat-corner.amber { border-color: rgba(251,191,36,.5); }
.feat-corner.gold  { border-color: rgba(251,191,36,.5); }
.feat-corner.red   { border-color: rgba(220,38,38,.5); }

.feat-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 68px; height: 68px;
    border-radius: 50%;
    margin: 0 auto 20px;
    border: 2px solid;
    transition: transform .3s, box-shadow .3s;
    position: relative;
    z-index: 1;
}
.feat-card:hover .feat-icon { transform: scale(1.1); }
.feat-icon.amber {
    background: radial-gradient(circle at 35% 35%, #92400e, #451a03);
    border-color: #b45309;
    box-shadow: 0 4px 16px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,255,255,.08);
}
.feat-card:hover .feat-icon.amber { box-shadow: 0 6px 24px rgba(0,0,0,.5), 0 0 20px rgba(180,83,9,.3); }
.feat-icon.gold {
    background: radial-gradient(circle at 35% 35%, #78350f, #451a03);
    border-color: #d97706;
    box-shadow: 0 4px 16px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,255,255,.08);
}
.feat-card:hover .feat-icon.gold { box-shadow: 0 6px 24px rgba(0,0,0,.5), 0 0 20px rgba(217,119,6,.3); }
.feat-icon.red {
    background: radial-gradient(circle at 35% 35%, #7f1d1d, #450a0a);
    border-color: #b91c1c;
    box-shadow: 0 4px 16px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,255,255,.08);
}
.feat-card:hover .feat-icon.red { box-shadow: 0 6px 24px rgba(0,0,0,.5), 0 0 20px rgba(185,28,28,.4); }

.feat-title {
    font-family: var(--font-display);
    font-size: 1.05rem;
    letter-spacing: .18em;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}
.feat-title.amber { color: #fbbf24; text-shadow: 0 0 16px rgba(251,191,36,.2); }
.feat-title.gold  { color: #fcd34d; text-shadow: 0 0 16px rgba(252,211,77,.2); }
.feat-title.red   { color: #f87171; text-shadow: 0 0 16px rgba(248,113,113,.2); }

.feat-rule {
    width: 40px; height: 2px;
    margin: 0 auto 16px;
    border-radius: 1px;
}
.feat-rule.amber { background: linear-gradient(to right, transparent, #b45309, transparent); }
.feat-rule.gold  { background: linear-gradient(to right, transparent, #d97706, transparent); }
.feat-rule.red   { background: linear-gradient(to right, transparent, #b91c1c, transparent); }

.feat-desc {
    font-family: var(--font-body);
    font-size: .82rem;
    color: rgba(244,228,188,.6);
    line-height: 1.65;
    position: relative;
    z-index: 1;
}

/* ═══════════════════════════════════════════════
   SALOON / STEAM CTA
═══════════════════════════════════════════════ */
.saloon-section {
    background: linear-gradient(to bottom, var(--stone-950), #0a0806);
    position: relative;
}
.saloon-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(to right, #78350f, #b45309, #d97706, #b45309, #78350f);
    box-shadow: 0 0 20px rgba(217,119,6,.4);
}

.saloon-card {
    position: relative;
    background:
        linear-gradient(160deg, rgba(120,53,15,.12) 0%, transparent 50%),
        linear-gradient(to bottom, rgba(41,37,36,.85), rgba(12,10,9,.97));
    border: 3px solid #78350f;
    box-shadow:
        0 0 60px rgba(180,83,9,.2),
        0 30px 60px rgba(0,0,0,.7),
        inset 0 0 40px rgba(0,0,0,.3),
        inset 0 1px 0 rgba(251,191,36,.06);
    overflow: hidden;
}
.saloon-top-rule, .saloon-bottom-rule {
    position: absolute;
    left: 0; right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(251,191,36,.35), transparent);
    z-index: 1;
}
.saloon-top-rule { top: 0; }
.saloon-bottom-rule { bottom: 0; }

.saloon-woodgrain {
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        90deg,
        transparent, transparent 38px,
        rgba(120,53,15,.06) 38px, rgba(120,53,15,.06) 40px
    );
    pointer-events: none;
}

.saloon-icon-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 16px;
}
.saloon-icon {
    filter: drop-shadow(0 0 12px rgba(180,83,9,.5));
    animation: saloonPulse 3.5s ease-in-out infinite;
}
@keyframes saloonPulse {
    0%, 100% { opacity: .7; filter: drop-shadow(0 0 8px rgba(180,83,9,.4)); }
    50%       { opacity: 1;  filter: drop-shadow(0 0 18px rgba(180,83,9,.7)); }
}

.saloon-title {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 5vw, 2.2rem);
    letter-spacing: .2em;
    color: #fbbf24;
    text-shadow: 3px 3px 0 rgba(0,0,0,.9), 0 0 30px rgba(251,191,36,.2);
    margin-bottom: 16px;
}
.saloon-rule {
    width: 120px; height: 1px;
    background: linear-gradient(to right, transparent, #b45309, transparent);
    margin: 0 auto 24px;
}
.saloon-quote {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1rem;
    color: rgba(244,228,188,.65);
    line-height: 1.7;
    margin-bottom: 36px;
}

.steam-cta-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: .85rem;
    letter-spacing: .14em;
    color: white;
    text-decoration: none;
    background: linear-gradient(135deg, #1b2838, #16202d);
    border: 2px solid rgba(102,192,244,.5);
    padding: 14px 36px;
    overflow: hidden;
    box-shadow:
        0 0 24px rgba(102,192,244,.12),
        0 8px 24px rgba(0,0,0,.5),
        inset 0 1px 0 rgba(255,255,255,.05);
    transition: all .3s cubic-bezier(.2,.8,.3,1);
}
.steam-cta-btn:hover {
    border-color: #66c0f4;
    background: linear-gradient(135deg, #2a475e, #1b2838);
    box-shadow:
        0 0 40px rgba(102,192,244,.25),
        0 12px 32px rgba(0,0,0,.5),
        inset 0 1px 0 rgba(102,192,244,.1);
    transform: translateY(-2px);
}
.steam-cta-shine {
    position: absolute;
    top: 0; left: -100%; width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(102,192,244,.08), transparent);
    transition: left .6s ease;
}
.steam-cta-btn:hover .steam-cta-shine { left: 100%; }

/* ═══════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════ */
.fof-footer {
    background: linear-gradient(to bottom, #0a0806, #000);
    position: relative;
}
.footer-rule {
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(to right, transparent, #451a03 20%, #78350f 50%, #451a03 80%, transparent);
}
.footer-rule::before {
    content: '';
    position: absolute;
    top: -1px; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, #92400e, transparent);
    filter: blur(2px);
}

.footer-ornament {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}
.footer-text {
    font-family: var(--font-body);
    font-size: .65rem;
    letter-spacing: .22em;
    color: rgba(146,64,14,.55);
    margin-bottom: 6px;
}
.footer-sub {
    font-family: var(--font-body);
    font-size: .55rem;
    letter-spacing: .18em;
    color: rgba(120,53,15,.3);
    margin-top: 6px;
}

/* ═══════════════════════════════════════════════
   GUN SMOKE CLICK EFFECT
═══════════════════════════════════════════════ */
@keyframes smokeExpand {
    0%   { transform: scale(0) translateY(0); opacity: .9; }
    40%  { transform: scale(3) translateY(-10px); opacity: .6; }
    100% { transform: scale(6) translateY(-30px); opacity: 0; }
}
.gun-smoke {
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(220,200,160,.75) 0%, rgba(180,160,100,.3) 40%, transparent 70%);
    animation: smokeExpand .55s ease-out forwards;
}

/* ═══════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════ */
@media (max-width: 480px) {
    .poster-inner { padding: 24px 28px 22px; }
}


/* ═══════════════════════════════════════════════
   GUIDES SECTION
═══════════════════════════════════════════════ */
.guides-section {
    background:
        linear-gradient(to bottom,
            var(--stone-950) 0%,
            rgba(28,25,23,.98) 20%,
            rgba(22,18,15,.98) 80%,
            var(--stone-950) 100%);
    position: relative;
}
.guides-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%2392400e' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.guides-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
}
@media (min-width: 768px) { .guides-grid { grid-template-columns: repeat(2,1fr); } }

.guide-card {
    position: relative;
    padding: 36px 28px;
    background:
        linear-gradient(160deg, rgba(41,37,36,.85) 0%, rgba(22,18,15,.95) 100%);
    border: 1px solid rgba(146,64,14,.3);
    text-align: center;
    overflow: hidden;
    transition: transform .35s cubic-bezier(.2,.8,.3,1), border-color .35s, box-shadow .35s;
    animation: cardReveal .6s ease both;
    animation-delay: calc(var(--delay, 0) * 1ms);
}
.guide-card:hover {
    transform: translateY(-6px);
    border-color: rgba(180,83,9,.55);
    box-shadow: 0 12px 40px rgba(0,0,0,.5);
}
.guide-card:hover .guide-glow { opacity: 1; }

/* Glow blob */
.guide-glow {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity .4s;
    pointer-events: none;
    background: radial-gradient(ellipse at 50% 0%, rgba(180,83,9,.15) 0%, transparent 70%);
}

.guide-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.guide-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 68px;
    height: 68px;
    border-radius: 50%;
    border: 2px solid #b45309;
    background: radial-gradient(circle at 35% 35%, #92400e, #451a03);
    box-shadow: 0 4px 16px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,255,255,.08);
    transition: transform .3s, box-shadow .3s;
}
.guide-card:hover .guide-icon {
    transform: scale(1.1);
    box-shadow: 0 6px 24px rgba(0,0,0,.5), 0 0 20px rgba(180,83,9,.3);
}

.guide-title {
    font-family: var(--font-display);
    font-size: 1.05rem;
    letter-spacing: .18em;
    color: #fbbf24;
    text-shadow: 0 0 16px rgba(251,191,36,.2);
    position: relative;
    z-index: 1;
}

.guide-rule {
    width: 40px;
    height: 2px;
    margin: 0 auto 16px;
    border-radius: 1px;
    background: linear-gradient(to right, transparent, #b45309, transparent);
    position: relative;
    z-index: 1;
}

.guide-desc {
    font-family: var(--font-body);
    font-size: .82rem;
    color: rgba(244,228,188,.6);
    line-height: 1.65;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.guide-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-display);
    font-size: .8rem;
    letter-spacing: .1em;
    color: #fbbf24;
    text-decoration: none;
    padding: 10px 20px;
    border: 1px solid rgba(251,191,36,.3);
    background: rgba(120,53,15,.15);
    border-radius: 2px;
    transition: all .25s;
    position: relative;
    z-index: 1;
}
.guide-link:hover {
    color: #fef3c7;
    border-color: #fbbf24;
    background: rgba(120,53,15,.35);
    box-shadow: 0 0 16px rgba(251,191,36,.2);
    transform: translateY(-2px);
}