/* =========================================================
   9KClub Guide — Orange/Gold Themed Stylesheet
   ========================================================= */

:root{
  --bg:#140a02;
  --bg-alt:#1a0f05;
  --surface:#231408;
  --surface-2:#2b190a;
  --text:#fff5e6;
  --text-dim:#d9b88a;
  --text-faint:#a88760;
  --border:#3d2512;
  --border-hi:#5a3818;
  --gold:#ffd166;
  --gold-hi:#ffe299;
  --gold-deep:#e6a832;
  --orange:#ff8c1a;
  --orange-hi:#ffa848;
  --orange-deep:#e06f00;
  --accent:#ff8c1a;
  --accent-hi:#ffb14d;
  --accent-2:#ffd166;
  --ok:#5fd88a;
  --warn:#ffc857;
  --radius:8px;
  --radius-lg:12px;
  --maxw:1160px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "Inter", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
}

*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{
  margin:0;padding:0;
  font-family:var(--font);
  background:
    radial-gradient(1200px 600px at 50% -10%, rgba(255,140,26,.10), transparent 60%),
    radial-gradient(900px 400px at 100% 20%, rgba(255,209,102,.06), transparent 60%),
    var(--bg);
  color:var(--text);
  line-height:1.7;
  font-size:16px;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
  min-height:100vh;
}
img{max-width:100%;height:auto;display:block}
a{color:var(--gold);text-decoration:none}
a:hover{text-decoration:underline}
h1,h2,h3,h4{line-height:1.25;margin:0 0 .5em;color:#fff;font-weight:700;letter-spacing:-.02em}
p{margin:0 0 1.1em}

.container{width:100%;max-width:var(--maxw);margin:0 auto;padding:0 24px}

.visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
.skip-link{position:absolute;left:-1000px;top:0;background:#fff;color:#000;padding:10px 14px;z-index:1000}
.skip-link:focus{left:0}

/* ---------- HEADER ---------- */
.site-header{
  position:sticky;top:0;z-index:100;
  background:rgba(20,10,2,.88);
  backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);
  border-bottom:1px solid var(--border);
}
.header-inner{display:flex;align-items:center;justify-content:space-between;height:68px;gap:16px}
.brand{display:flex;align-items:center;gap:12px;color:#fff;font-weight:700;font-size:1rem}
.brand:hover{text-decoration:none}
.brand-logo{
  display:inline-flex;align-items:center;justify-content:center;
  width:40px;height:40px;border-radius:10px;
  background:linear-gradient(135deg, var(--orange), var(--gold));
  padding:2px;
  box-shadow:0 4px 14px rgba(255,140,26,.35);
  overflow:hidden;
  flex-shrink:0;
}
.brand-logo img{width:100%;height:100%;object-fit:contain;border-radius:8px;display:block}
.brand-text{font-size:1.05rem;letter-spacing:-.02em;display:flex;flex-direction:column;line-height:1.1}
.brand-text strong{font-weight:800;color:#fff}
.brand-text span{font-size:.7rem;font-weight:600;color:var(--gold);letter-spacing:.08em;text-transform:uppercase;opacity:.85}
.primary-nav ul{display:none;list-style:none;margin:0;padding:0;gap:4px}
.primary-nav a{display:block;padding:8px 12px;border-radius:6px;color:var(--text);font-weight:500;font-size:.9rem;transition:all .15s ease}
.primary-nav a:hover{background:var(--surface);color:var(--gold);text-decoration:none}
.primary-nav a[aria-current="page"]{background:var(--surface-2);color:var(--gold)}
.nav-toggle{
  display:inline-flex;flex-direction:column;justify-content:center;gap:5px;
  width:40px;height:40px;border:1px solid var(--border);
  background:transparent;border-radius:8px;cursor:pointer;padding:0 10px;
}
.nav-toggle .bar{display:block;height:2px;background:var(--text);border-radius:2px}
.primary-nav.open ul{
  display:flex;flex-direction:column;
  position:absolute;left:24px;right:24px;top:68px;
  background:var(--surface);border:1px solid var(--border-hi);
  border-radius:var(--radius-lg);padding:8px;
  box-shadow:0 12px 32px rgba(0,0,0,.6);
}
@media(min-width:960px){
  .nav-toggle{display:none}
  .primary-nav ul{
    display:flex !important;flex-direction:row !important;
    position:static !important;background:transparent !important;
    border:none !important;box-shadow:none !important;padding:0 !important;
  }
}

/* ---------- BREADCRUMBS ---------- */
.breadcrumbs{padding:20px 0 0;font-size:.82rem;color:var(--text-faint)}
.breadcrumbs ol{list-style:none;display:flex;flex-wrap:wrap;gap:6px;margin:0;padding:0 24px;max-width:var(--maxw);margin:0 auto}
.breadcrumbs a{color:var(--text-faint)}
.breadcrumbs a:hover{color:var(--gold)}
.breadcrumbs [aria-current]{color:var(--text-dim)}
.breadcrumbs .sep{margin:0 2px;opacity:.5}

/* ---------- BUTTONS ---------- */
.btn-primary,.btn-outline{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  padding:12px 24px;border-radius:8px;
  font-weight:700;font-size:.94rem;
  transition:all .15s ease;
  text-decoration:none;white-space:nowrap;
  cursor:pointer;
  letter-spacing:.01em;
}
.btn-primary{
  background:linear-gradient(135deg, var(--orange), var(--gold));
  color:#1a0f05;
  border:1px solid var(--orange);
  box-shadow:0 6px 18px rgba(255,140,26,.35);
}
.btn-primary:hover{
  transform:translateY(-1px);
  box-shadow:0 10px 26px rgba(255,140,26,.5);
  text-decoration:none;
  color:#1a0f05;
}
.btn-outline{
  background:transparent;color:var(--gold);border:1px solid var(--gold-deep);
}
.btn-outline:hover{background:rgba(255,209,102,.10);border-color:var(--gold);text-decoration:none;color:var(--gold-hi)}
.btn-block{display:flex;width:100%;text-align:center}

/* ---------- HERO ---------- */
.editorial-hero{
  padding:80px 0 64px;
  border-bottom:1px solid var(--border);
  position:relative;
  overflow:hidden;
}
.editorial-hero::before{
  content:"";
  position:absolute;
  top:-250px;left:50%;transform:translateX(-50%);
  width:1000px;height:600px;
  background:radial-gradient(ellipse at center, rgba(255,140,26,.18), transparent 60%);
  pointer-events:none;
}
.editorial-hero::after{
  content:"";
  position:absolute;
  bottom:-200px;right:-100px;
  width:600px;height:400px;
  background:radial-gradient(ellipse at center, rgba(255,209,102,.10), transparent 60%);
  pointer-events:none;
}
.editorial-hero .container{position:relative;z-index:1;max-width:820px}
.hero-tag{
  display:inline-flex;align-items:center;gap:8px;
  padding:6px 14px;border-radius:999px;
  background:linear-gradient(135deg, rgba(255,140,26,.15), rgba(255,209,102,.10));
  border:1px solid rgba(255,209,102,.35);
  color:var(--gold);
  font-size:.72rem;font-weight:700;
  letter-spacing:.10em;text-transform:uppercase;
  margin-bottom:24px;
}
.hero-tag::before{
  content:"";width:6px;height:6px;border-radius:50%;
  background:var(--ok);box-shadow:0 0 0 3px rgba(95,216,138,.20);
}
.hero-title{
  font-size:2rem;font-weight:800;line-height:1.15;
  letter-spacing:-.03em;margin:0 0 20px;color:#fff;
}
.hero-title .gold{color:var(--gold)}
@media(min-width:768px){.hero-title{font-size:2.85rem}}
.hero-subtitle{font-size:1.08rem;color:var(--text-dim);line-height:1.7;margin:0 0 32px}
.hero-buttons{display:flex;flex-wrap:wrap;gap:12px;margin-bottom:32px}
.hero-disclaimer{
  font-size:.85rem;color:var(--text-faint);
  padding:14px 18px;
  background:var(--surface);border:1px solid var(--border);
  border-left:3px solid var(--orange);
  border-radius:6px;margin:0;line-height:1.6;
}

/* ---------- SECTIONS ---------- */
.editorial-section{padding:72px 0}
.editorial-section-alt{background:var(--bg-alt);border-top:1px solid var(--border);border-bottom:1px solid var(--border)}
.section-header{max-width:720px;margin-bottom:40px}
.section-label{
  display:inline-block;color:var(--gold);
  font-size:.75rem;font-weight:700;
  letter-spacing:.14em;text-transform:uppercase;
  margin-bottom:12px;
}
.section-title{
  font-size:1.65rem;font-weight:800;letter-spacing:-.02em;
  margin:0 0 12px;color:#fff;
}
@media(min-width:768px){.section-title{font-size:2rem}}
.section-desc{color:var(--text-dim);font-size:1rem;margin:0;line-height:1.7}

/* ---------- GRIDS ---------- */
.grid-2,.grid-3,.grid-4,.grid-images{
  display:grid;gap:20px;grid-template-columns:1fr;
}
@media(min-width:640px){
  .grid-2{grid-template-columns:repeat(2,1fr)}
  .grid-3{grid-template-columns:repeat(2,1fr)}
  .grid-4{grid-template-columns:repeat(2,1fr)}
  .grid-images{grid-template-columns:repeat(2,1fr)}
}
@media(min-width:1000px){
  .grid-3{grid-template-columns:repeat(3,1fr)}
  .grid-4{grid-template-columns:repeat(4,1fr)}
  .grid-images{grid-template-columns:repeat(4,1fr)}
}

/* ---------- FEATURE CARDS ---------- */
.feature-card{
  display:flex;flex-direction:column;
  background:var(--surface);border:1px solid var(--border);
  border-radius:var(--radius-lg);padding:24px 22px;
  transition:border-color .2s ease, transform .2s ease, box-shadow .2s ease;
  position:relative;
  overflow:hidden;
}
.feature-card::before{
  content:"";position:absolute;top:0;left:0;right:0;height:3px;
  background:linear-gradient(90deg, var(--orange), var(--gold));
  opacity:0;transition:opacity .25s ease;
}
.feature-card:hover{border-color:var(--border-hi);transform:translateY(-3px);box-shadow:0 12px 30px rgba(0,0,0,.35)}
.feature-card:hover::before{opacity:1}
.feature-number{
  font-family:var(--mono);font-size:.85rem;font-weight:700;
  color:var(--gold);margin-bottom:12px;letter-spacing:.05em;
}
.feature-title{font-size:1.05rem;font-weight:700;color:#fff;margin:0 0 8px}
.feature-text{color:var(--text-dim);font-size:.9rem;line-height:1.6;margin:0 0 16px;flex-grow:1}
.feature-link{color:var(--gold);font-weight:700;font-size:.88rem;display:inline-flex;align-items:center;gap:4px}
.feature-link::after{content:" →"}

/* ---------- IMAGE CARDS ---------- */
.image-card{
  display:flex;flex-direction:column;
  background:var(--surface);border:1px solid var(--border);
  border-radius:var(--radius-lg);overflow:hidden;color:inherit;
  transition:border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.image-card:hover{border-color:var(--border-hi);transform:translateY(-3px);text-decoration:none;box-shadow:0 12px 30px rgba(0,0,0,.4)}
.image-card-media{position:relative;aspect-ratio:16/10;overflow:hidden;background:#000;border-bottom:1px solid var(--border)}
.image-card-media img{position:absolute;top:0;left:0;width:100%;height:100%;object-fit:cover;transition:transform .5s ease}
.image-card:hover .image-card-media img{transform:scale(1.04)}
.image-card-body{padding:18px 18px 20px;display:flex;flex-direction:column;gap:6px}
.image-card-title{font-size:1rem;font-weight:700;color:#fff;margin:0;line-height:1.35}
.image-card-text{color:var(--text-dim);font-size:.86rem;line-height:1.55;margin:0}
.image-card-link{color:var(--gold);font-weight:700;font-size:.84rem;margin-top:4px}
.image-card-link::after{content:" →"}

/* ---------- ACTION CARDS ---------- */
.action-card{
  display:flex;flex-direction:column;
  background:var(--surface);border:1px solid var(--border);
  border-radius:var(--radius-lg);padding:28px 26px;gap:14px;
  transition:border-color .2s ease, box-shadow .2s ease;
}
.action-card:hover{border-color:var(--border-hi);box-shadow:0 12px 30px rgba(0,0,0,.35)}
.action-icon{
  width:48px;height:48px;border-radius:10px;
  display:flex;align-items:center;justify-content:center;
  background:linear-gradient(135deg, rgba(255,140,26,.18), rgba(255,209,102,.12));
  border:1px solid rgba(255,209,102,.35);
  color:var(--gold);flex-shrink:0;
}
.action-title{font-size:1.15rem;font-weight:700;color:#fff;margin:0;letter-spacing:-.015em}
.action-text{color:var(--text-dim);font-size:.94rem;line-height:1.65;margin:0 0 4px;flex-grow:1}

/* ---------- TEXT PANELS ---------- */
.text-panel{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);padding:26px 24px}
.text-panel p{color:var(--text-dim);line-height:1.75;margin:0 0 1em}
.text-panel p:last-child{margin-bottom:0}
.text-panel a{color:var(--gold);font-weight:600}
.text-panel a:hover{color:var(--gold-hi)}

/* ---------- VALUE CARDS ---------- */
.value-card{
  background:var(--surface);border:1px solid var(--border);
  border-radius:var(--radius-lg);padding:24px 22px;
  transition:border-color .2s ease, transform .2s ease;
}
.value-card:hover{border-color:var(--border-hi);transform:translateY(-2px)}
.value-icon{
  width:42px;height:42px;border-radius:10px;
  display:flex;align-items:center;justify-content:center;
  background:linear-gradient(135deg, rgba(255,140,26,.18), rgba(255,209,102,.12));
  border:1px solid rgba(255,209,102,.35);
  color:var(--gold);margin-bottom:16px;
}
.value-title{font-size:1rem;font-weight:700;color:#fff;margin:0 0 8px;letter-spacing:-.015em}
.value-text{color:var(--text-dim);font-size:.88rem;line-height:1.65;margin:0}

/* ---------- FLOW CARDS ---------- */
.flow-card{
  position:relative;background:var(--surface);border:1px solid var(--border);
  border-radius:var(--radius-lg);padding:26px 22px 24px;
  transition:border-color .2s ease, transform .2s ease;
}
.flow-card:hover{border-color:var(--border-hi);transform:translateY(-2px)}
.flow-number{
  display:block;font-family:var(--mono);font-size:1.75rem;font-weight:800;
  background:linear-gradient(135deg, var(--orange), var(--gold));
  -webkit-background-clip:text;background-clip:text;
  color:transparent;
  letter-spacing:-.02em;line-height:1;margin-bottom:14px;
}
.flow-title{font-size:.98rem;font-weight:700;color:#fff;margin:0 0 8px}
.flow-text{color:var(--text-dim);font-size:.88rem;line-height:1.65;margin:0}

/* ---------- INFO CARDS ---------- */
.info-card{
  background:var(--surface);border:1px solid var(--border);
  border-radius:var(--radius-lg);padding:24px 22px;
  transition:border-color .2s ease;
  display:flex;flex-direction:column;
}
.info-card:hover{border-color:var(--border-hi)}
.info-title{font-size:1rem;font-weight:700;color:#fff;margin:0 0 10px;letter-spacing:-.015em}
.info-text{color:var(--text-dim);font-size:.9rem;line-height:1.7;margin:0 0 14px;flex-grow:1}
.info-link{color:var(--gold);font-weight:700;font-size:.86rem}
.info-link::after{content:" →"}

/* ---------- FAQ ---------- */
.faq-list{max-width:840px}
.faq-item{
  background:var(--surface);border:1px solid var(--border);
  border-radius:var(--radius);margin-bottom:10px;overflow:hidden;
  transition:border-color .2s ease;
}
.faq-item:hover,.faq-item[open]{border-color:var(--border-hi)}
.faq-question{
  padding:18px 22px;cursor:pointer;font-weight:700;font-size:.98rem;color:#fff;
  list-style:none;position:relative;padding-right:52px;line-height:1.5;
}
.faq-question::-webkit-details-marker{display:none}
.faq-question::after{
  content:"+";position:absolute;right:22px;top:50%;transform:translateY(-50%);
  font-size:1.4rem;font-weight:300;color:var(--gold);transition:transform .2s ease;
}
.faq-item[open] .faq-question::after{content:"−"}
.faq-answer{padding:0 22px 22px;color:var(--text-dim);font-size:.94rem;line-height:1.7}
.faq-more{margin-top:20px}
.link-arrow{color:var(--gold);font-weight:700;font-size:.92rem}
.link-arrow::after{content:" →"}

/* ---------- CALLOUT ---------- */
.callout{
  padding:20px 24px;background:rgba(255,200,87,.08);
  border:1px solid rgba(255,200,87,.30);border-left:3px solid var(--warn);
  border-radius:var(--radius);color:#ffd98a;font-size:.94rem;line-height:1.7;max-width:900px;
}
.callout strong{color:#fff}
.callout a{color:var(--gold-hi);text-decoration:underline}

/* ---------- NEWSLETTER ---------- */
.newsletter-box{
  background:linear-gradient(135deg, var(--surface), var(--surface-2));
  border:1px solid var(--border-hi);
  border-radius:var(--radius-lg);padding:40px 32px;max-width:720px;margin:0 auto;text-align:center;
  position:relative;
  overflow:hidden;
}
.newsletter-box::before{
  content:"";position:absolute;inset:0;
  background:radial-gradient(400px 200px at 50% 0%, rgba(255,140,26,.10), transparent 70%);
  pointer-events:none;
}
.newsletter-box > *{position:relative;z-index:1}
.newsletter-title{font-size:1.5rem;font-weight:800;color:#fff;margin:0 0 12px;letter-spacing:-.02em}
.newsletter-text{color:var(--text-dim);font-size:.96rem;margin:0 0 24px;line-height:1.65}
.newsletter-input-group{display:flex;flex-wrap:wrap;gap:8px;max-width:440px;margin:0 auto 14px}
.newsletter-input{
  flex:1;min-width:200px;padding:12px 16px;border-radius:8px;
  border:1px solid var(--border-hi);background:var(--bg);
  color:var(--text);font:inherit;font-size:.94rem;
}
.newsletter-input:focus{outline:none;border-color:var(--orange);box-shadow:0 0 0 3px rgba(255,140,26,.20)}
.newsletter-hint{color:var(--text-faint);font-size:.82rem;margin:0;line-height:1.6}
.newsletter-hint a{color:var(--gold)}

/* ---------- FORMS ---------- */
.form{display:grid;gap:14px}
.form-row{display:grid;gap:6px}
.form label{font-weight:600;font-size:.9rem;color:var(--text)}
.form input[type=email],
.form input[type=text],
.form input[type=password],
.form textarea{
  width:100%;padding:12px 14px;border-radius:8px;
  border:1px solid var(--border-hi);background:var(--bg);
  color:var(--text);font:inherit;font-size:.94rem;
}
.form input:focus,.form textarea:focus{
  outline:none;border-color:var(--orange);box-shadow:0 0 0 3px rgba(255,140,26,.20);
}
.form textarea{min-height:140px;resize:vertical}
.form-hint{font-size:.82rem;color:var(--text-faint)}
.form-status{padding:12px 16px;border-radius:8px;font-size:.92rem}
.form-status.ok{background:rgba(95,216,138,.12);border:1px solid rgba(95,216,138,.35);color:#a8f0cf}
.form-status.err{background:rgba(255,107,107,.12);border:1px solid rgba(255,107,107,.35);color:#ffb8b8}

.hp-field{position:absolute;left:-9999px;top:auto;width:1px;height:1px;overflow:hidden}

/* ---------- FOOTER ---------- */
.site-footer{
  margin-top:0;border-top:1px solid var(--border);
  background:var(--bg-alt);padding:56px 0 24px;
}
.footer-grid{display:grid;gap:32px;grid-template-columns:1fr;margin-bottom:40px}
@media(min-width:700px){.footer-grid{grid-template-columns:1.4fr 2fr}}
.footer-brand .brand{color:#fff;margin-bottom:14px}
.footer-note{color:var(--text-dim);font-size:.88rem;max-width:44ch;line-height:1.7}
.footer-nav ul{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:1fr 1fr;gap:8px 24px}
@media(min-width:700px){.footer-nav ul{grid-template-columns:1fr 1fr 1fr}}
.footer-nav a{color:var(--text-dim);font-size:.88rem;transition:color .15s ease}
.footer-nav a:hover{color:var(--gold)}
.footer-bottom{
  border-top:1px solid var(--border);padding-top:20px;
  color:var(--text-faint);font-size:.8rem;
  display:flex;justify-content:space-between;flex-wrap:wrap;gap:8px;
}

/* Utility */
.text-muted{color:var(--text-dim)}
.mt-0{margin-top:0}
.mt-1{margin-top:.6em}
.mt-2{margin-top:1.2em}
.mt-3{margin-top:2em}

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

/* =========================================================
   TABLE (for guide pages)
   ========================================================= */
.table-wrap{
  overflow-x:auto;
  border:1px solid var(--border);
  border-radius:var(--radius-lg);
  background:var(--surface);
  margin-top:8px;
}
.table-wrap table{
  width:100%;
  border-collapse:collapse;
  font-size:.94rem;
}
.table-wrap th,
.table-wrap td{
  padding:14px 18px;
  text-align:left;
  border-bottom:1px solid var(--border);
  vertical-align:top;
}
.table-wrap th{
  background:var(--surface-2);
  font-weight:700;
  color:var(--gold);
  font-size:.8rem;
  text-transform:uppercase;
  letter-spacing:.06em;
}
.table-wrap td{color:var(--text-dim);line-height:1.6}
.table-wrap tr:last-child td{border-bottom:none}
.table-wrap tr:hover td{background:rgba(255,140,26,.04)}