/* RaccoonCodes 🦝 — Gold & Midnight theme (loads after style.css; overrides tokens + polishes components) */
:root {
  --background: #060812;
  --foreground: #f3f5fb;
  --surface: #0b1024;
  --secondary: #111a3a;
  --border: #1c2750;
  --muted-foreground: #a6b0cc;
  --primary: #ffc21a;
  --primary-strong: #ffd445;
  --primary-foreground: #0a0d1c;
  --brand-navy: #0b1536;
  --brand-ink: #03050d;
  --brand-gold: #ffc21a;
  --brand-gold-deep: #ffd24d;
  --brand-cream: #f3f5fb;
  --brand-blue: #2b5fe0;
  --brand-copper-line: #e5a100;
  --shadow-brand: 0 14px 40px -14px rgb(255 194 26 / .55);
  --gold-grad: linear-gradient(135deg, #fff1a8 0%, #ffc21a 45%, #e59a00 100%);
  --glow: 0 0 0 1px rgb(255 194 26 / .35), 0 18px 50px -18px rgb(255 194 26 / .45);
  color-scheme: dark;
}
html { background: var(--background); }
body { background:
  radial-gradient(900px 500px at 85% -10%, rgb(43 95 224 / .18), transparent 60%),
  radial-gradient(700px 400px at 0% 20%, rgb(255 194 26 / .07), transparent 60%),
  var(--background); background-attachment: fixed; }
::selection { background: var(--primary); color: #0a0d1c; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; }

/* Buttons */
.btn { transition: transform .18s ease, box-shadow .18s ease, background-color .15s, color .15s, border-color .15s; }
.btn-primary { background: var(--gold-grad); color: #0a0d1c; box-shadow: var(--shadow-brand); }
.btn-primary:hover { background: var(--gold-grad); filter: brightness(1.08); transform: translateY(-2px); }
.btn-outline { border-color: rgb(255 194 26 / .45); color: var(--foreground); }
.btn-outline:hover { background: rgb(255 194 26 / .12); border-color: var(--primary); color: var(--primary-strong); }
.btn-navy { background: var(--secondary); border: 1px solid var(--border); color: var(--foreground); }
.btn-navy:hover { background: var(--brand-navy); border-color: var(--primary); }
.hero .btn-outline:hover { color: #0a0d1c; background: var(--primary); }

/* Top bar + header */
.topbar { background: #02030a; border-bottom: 1px solid rgb(255 194 26 / .18); }
.site-header { position: sticky; top: 0; background: rgb(6 8 18 / .82); border-bottom: 1px solid rgb(255 194 26 / .16); -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4); }
.logo-frame { background: #000; border: 1px solid rgb(255 194 26 / .35); box-shadow: 0 0 24px -6px rgb(255 194 26 / .35); transition: box-shadow .2s, transform .2s; }
.logo-frame:hover { box-shadow: 0 0 34px -4px rgb(255 194 26 / .6); transform: translateY(-1px); }
.nav-link { color: color-mix(in oklab, var(--foreground) 78%, transparent); }
.nav-link:hover, .nav-link-active { color: var(--primary); }
.mobile-nav summary:hover, .mobile-nav[open] summary { background: var(--secondary); }
.mobile-nav nav { background: #0a0f22; border-color: rgb(255 194 26 / .3); }
.mobile-nav nav a { border-color: var(--border); }
.mobile-nav nav a:hover { color: var(--primary); }

/* Hero */
.hero { background: var(--brand-ink); }
:root { --hero-overlay: linear-gradient(90deg, rgb(3 5 13 / .97) 0%, rgb(5 8 22 / .9) 38%, rgb(5 8 22 / .45) 76%, rgb(5 8 22 / .15) 100%); }
.hero h1 { color: #fff; text-shadow: 0 2px 30px rgb(0 0 0 / .5); }
.hero h1 span { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.hero-kicker { color: var(--primary); }
.hero-visual { border-left: 1px solid rgb(255 194 26 / .25); box-shadow: inset 0 0 120px rgb(3 5 13 / .6); }
.hero-checks span { background: rgb(255 194 26 / .08); border: 1px solid rgb(255 194 26 / .22); padding: .35rem .8rem; border-radius: 999px; }

/* Sections, cards */
.eyebrow { color: var(--primary); }
.section-title, .servers-heading h2 { color: #fff; }
.experience, .pricing, .servers-directory, .cta, main { background: transparent; }
.cards { border-color: var(--border); background: var(--border); border-radius: 14px; }
.card { background: var(--surface); }
.card:hover { background: #0f1736; box-shadow: inset 0 0 0 1px rgb(255 194 26 / .35); }
.card > .icon { color: var(--primary); filter: drop-shadow(0 0 10px rgb(255 194 26 / .45)); }
.price-card { background: linear-gradient(180deg, #0d1330, #080c1f); border-color: var(--border); border-radius: 16px; }
.price-card:hover { transform: translateY(-6px); box-shadow: var(--glow); border-color: rgb(255 194 26 / .6); }
.price-card.popular { border-color: var(--primary); box-shadow: var(--glow); background: linear-gradient(180deg, #141c40, #0a0f26); }
.badge { background: var(--gold-grad) !important; color: #0a0d1c !important; }
.strip { background: linear-gradient(90deg, #0a1233, #101c4d 50%, #0a1233); border-color: rgb(255 194 26 / .2); }
.stats { background: linear-gradient(135deg, #0a1233, #060a1c 60%, #101c4d); border-block: 1px solid rgb(255 194 26 / .2); }
.stat strong { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cta { border-top: 1px solid rgb(255 194 26 / .2); background: linear-gradient(90deg, rgb(255 194 26 / .08), transparent 60%) !important; }
.faq details, details.faq-item { border-color: var(--border); }
img { border-radius: inherit; }
.poster img { border-color: rgb(255 194 26 / .25); transition: transform .25s, box-shadow .25s; }
.poster:hover img { transform: translateY(-6px) scale(1.02); box-shadow: 0 24px 40px -16px rgb(255 194 26 / .45); }

/* Footer */
.site-footer { background: #02030a; border-top: 1px solid rgb(255 194 26 / .25); }
.footer-logo { background: #000; border: 1px solid rgb(255 194 26 / .3); }
.site-footer a:hover { color: var(--primary); }
.whatsapp-float { box-shadow: 0 10px 30px -6px rgb(37 211 102 / .6); }

/* Inputs / forms / other pages */
input, textarea, select { background: #0a1028; color: var(--foreground); border-color: var(--border); }
input:focus, textarea:focus, select:focus { border-color: var(--primary); outline: 2px solid rgb(255 194 26 / .35); }
.application-card, .ww-card, .contact-method, .contact-support-card, .contact-form-wrap { background: var(--surface); border-color: var(--border); }
.application-card:hover, .ww-card:hover { border-color: rgb(255 194 26 / .5); box-shadow: var(--glow); }

/* ============ SERVERS PAGE (server-list redesign) ============ */
.servers-page-hero { position: relative; isolation: isolate; text-align: center; padding: clamp(3.5rem, 8vw, 6.5rem) 1.25rem clamp(2.5rem, 5vw, 4rem); overflow: hidden; border-bottom: 1px solid rgb(255 194 26 / .2); background: radial-gradient(700px 320px at 50% 0%, rgb(255 194 26 / .16), transparent 70%), linear-gradient(180deg, #0a1233, var(--background)); }
.servers-page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgb(255 194 26 / .05) 1px, transparent 1px), linear-gradient(90deg, rgb(255 194 26 / .05) 1px, transparent 1px); background-size: 46px 46px; mask-image: radial-gradient(ellipse at center, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse at center, #000 20%, transparent 75%); }
.servers-page-hero img { width: min(380px, 70vw); height: auto; margin: 0 auto 1.25rem; filter: drop-shadow(0 12px 40px rgb(255 194 26 / .35)); }
.servers-page-hero h1 { font-family: var(--font-display); font-weight: 900; font-size: clamp(2rem, 5.5vw, 3.75rem); line-height: 1.05; color: #fff; }
.servers-page-hero h1 em { font-style: normal; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.servers-page-hero p { max-width: 40rem; margin: 1.1rem auto 0; color: var(--muted-foreground); font-size: 1.05rem; line-height: 1.7; }
.servers-page-hero .hero-actions { flex-direction: row; flex-wrap: wrap; justify-content: center; }
.servers-page-hero .hero-actions .btn { height: 3.1rem; font-size: .95rem; }
.crumbs { display: flex; justify-content: center; gap: .5rem; margin-bottom: 1.25rem; font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-foreground); }
.crumbs a:hover { color: var(--primary); }

.server-summary { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: .9rem; margin-top: 2rem; }
.server-summary div { padding: 1rem 1.1rem; border: 1px solid var(--border); border-radius: 14px; background: linear-gradient(180deg, #0d1330, #080c1f); text-align: left; }
.server-summary strong { display: block; font-family: var(--font-display); font-size: 1.7rem; font-weight: 900; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1.1; }
.server-summary span { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-foreground); }

.servers-directory { padding-block: clamp(2.5rem, 5vw, 4.5rem); }
.servers-heading { border-bottom-color: rgb(255 194 26 / .2); }
.servers-online { border-left-color: var(--primary); }
.server-toolbar { position: sticky; top: 6.1rem; z-index: 20; padding: .75rem; margin-block: 1.5rem 1.25rem; border: 1px solid var(--border); border-radius: 16px; background: rgb(8 12 30 / .88); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); grid-template-columns: minmax(0, 1fr) auto; }
.server-toolbar label { max-width: none; background: #060a1a; border-color: var(--border); border-radius: 12px; }
.server-toolbar label:focus-within { outline: 0; border-color: var(--primary); box-shadow: 0 0 0 3px rgb(255 194 26 / .25); }
.server-toolbar svg { stroke: var(--primary); }
.server-filters { display: flex; flex-wrap: wrap; gap: .5rem; grid-column: 1 / -1; }
.server-filters button { padding: .45rem .95rem; border: 1px solid var(--border); border-radius: 999px; background: #0a1028; color: var(--muted-foreground); font-size: .78rem; font-weight: 800; letter-spacing: .04em; transition: all .15s; }
.server-filters button:hover { color: var(--primary); border-color: rgb(255 194 26 / .5); }
.server-filters button[aria-pressed="true"] { background: var(--gold-grad); color: #0a0d1c; border-color: transparent; }

.server-list { border: 0 !important; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: .9rem; }
.server-card { position: relative; border: 1px solid var(--border) !important; border-radius: 16px; background: linear-gradient(160deg, #0f1636, #080c1f); padding: 1rem 1.1rem; min-height: 0; overflow: hidden; grid-template-columns: auto minmax(0,1fr) auto; grid-template-areas: "num info type" "stat stat act"; row-gap: .85rem; transition: transform .2s, border-color .2s, box-shadow .2s; }
.server-card::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 3px; background: var(--gold-grad); opacity: .7; }
.server-card:hover, .server-card:focus-within { transform: translateY(-4px); border-color: rgb(255 194 26 / .6) !important; box-shadow: var(--glow); background: linear-gradient(160deg, #141d47, #0a0f26); }
.server-number { grid-area: num; display: grid; place-items: center; width: 2.2rem; height: 2.2rem; border-radius: 10px; background: rgb(255 194 26 / .12); color: var(--primary); font-size: .72rem; }
.server-info { grid-area: info; }
.server-info h3 { color: #fff; font-size: 1.05rem; letter-spacing: .02em; }
.server-info p { color: var(--muted-foreground); }
.server-type { grid-area: type; padding: .25rem .6rem; border-radius: 8px; border: 1px solid rgb(255 194 26 / .45); background: rgb(255 194 26 / .1); color: var(--primary); font-size: .68rem; }
.server-status { grid-area: stat; color: #7ee6a2; }
.server-actions { grid-area: act; justify-self: end; }
.server-contact { width: 2.6rem; height: 2.6rem; border-radius: 12px; background: #0a1028; border-color: var(--border); }
.server-contact.whatsapp { color: #38e07b; } .server-contact.telegram { color: #4db8ff; }
.server-contact.whatsapp:hover, .server-contact.whatsapp:focus-visible { background: #25D366; border-color: #25D366; color: #04210f; }
.server-contact.telegram:hover, .server-contact.telegram:focus-visible { background: #29a9eb; border-color: #29a9eb; color: #031827; }
.server-card--gold .server-info h3, .server-card--gold .server-number { color: var(--primary); }
.server-card--gold { border-color: rgb(255 194 26 / .45) !important; }
.server-empty { border: 1px dashed var(--border); border-radius: 16px; background: var(--surface); }
.server-card:hover { background: linear-gradient(160deg, #141d47, #0a0f26); }

.server-help { margin-top: 3rem; padding: clamp(1.5rem, 4vw, 2.5rem); display: grid; gap: 1rem; border: 1px solid rgb(255 194 26 / .35); border-radius: 20px; background: radial-gradient(500px 200px at 100% 0%, rgb(255 194 26 / .14), transparent 70%), linear-gradient(160deg, #0f1636, #080c1f); }
.server-help h2 { font-family: var(--font-display); font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 800; color: #fff; }
.server-help p { color: var(--muted-foreground); line-height: 1.7; max-width: 46rem; }
.server-help .hero-actions { flex-direction: row; flex-wrap: wrap; margin-top: .5rem; }
.server-help .hero-actions .btn { height: 3rem; font-size: .92rem; }
.seo-faq { margin-top: 3rem; display: grid; gap: .7rem; }
.seo-faq h2 { font-family: var(--font-display); font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 800; color: #fff; margin-bottom: .5rem; }
.seo-faq details { border: 1px solid var(--border); border-radius: 14px; background: var(--surface); padding: 0 1.1rem; }
.seo-faq summary { cursor: pointer; padding: 1rem 0; font-weight: 800; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.seo-faq summary::-webkit-details-marker { display: none; }
.seo-faq summary::after { content: "+"; color: var(--primary); font-size: 1.3rem; line-height: 1; }
.seo-faq details[open] summary::after { content: "–"; }
.seo-faq details[open] { border-color: rgb(255 194 26 / .45); }
.seo-faq details p { padding-bottom: 1.1rem; color: var(--muted-foreground); line-height: 1.7; }

@media (max-width: 639px) {
  .server-toolbar { top: 5.2rem; }
  .server-list { grid-template-columns: 1fr; }
  .server-card { grid-template-columns: auto minmax(0,1fr) auto; }
}
@media (prefers-reduced-motion: reduce) { .server-card, .btn, .price-card, .poster img { transition: none; } }

/* Brand wordmark in header/footer (from the new gold logo) */
.logo-frame { background: #000 !important; padding-inline: .35rem; border-radius: 12px; }
.logo-frame img { height: 100%; width: auto; max-width: 100%; object-fit: contain; border-radius: 0; }
.footer-logo { background: #000 !important; padding-inline: .35rem; }
.footer-logo img { height: 100%; width: auto; object-fit: contain; border-radius: 0; }

/* Blend the black logo background into the hero */
.servers-page-hero img { mix-blend-mode: screen; border-radius: 0; -webkit-mask-image: radial-gradient(ellipse 62% 60% at 50% 50%, #000 62%, transparent 100%); mask-image: radial-gradient(ellipse 62% 60% at 50% 50%, #000 62%, transparent 100%); width: min(520px, 86vw); }

/* keep sticky header working (overflow:hidden on html/body breaks it) */
html, body { overflow-x: clip; }

/* crisper hero accent text */
.hero h1 span { background: none; -webkit-text-fill-color: currentColor; color: var(--primary); text-shadow: 0 0 42px rgb(255 194 26 / .35); }

/* Text that was navy-on-light in the original design */
.section-head h2, .faq summary { color: #fff; }
.faq details { background: var(--surface); border-color: var(--border); }
.faq details[open] { border-color: rgb(255 194 26 / .45); }
.sport-mark { color: var(--primary); border-color: rgb(255 194 26 / .5); background: rgb(255 194 26 / .08); }

/* Fix: inline raccoon icon inherited the full-size screen-image rule */
img.brand-raccoon { width: .85em !important; height: .72em !important; max-width: none; position: static !important; display: inline-block; object-fit: contain !important; border-radius: 0; }

/* compact one-row cards on phones */
@media (max-width: 639px) {
  .server-card { grid-template-columns: auto minmax(0,1fr) auto auto !important; grid-template-areas: "num info type act" !important; row-gap: 0; gap: .6rem; align-items: center; padding: .85rem .9rem; }
  .server-status { display: none !important; }
  .server-type { padding: .2rem .45rem; }
  .server-contact { width: 2.4rem; height: 2.4rem; }
  .server-actions { gap: .35rem; }
}
