/* ============================================================
   Nercia Rewards — Standalone CSS
   Dark luxury × rank-color system × glassmorphism
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700;900&family=Noto+Sans+JP:wght@400;700;900&family=Orbitron:wght@600;700;900&display=swap');

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

:root {
  --bg:        #060608;
  --bg2:       #0d0d12;
  --surface:   rgba(255,255,255,0.04);
  --border:    rgba(255,255,255,0.08);
  --gold:      #f5c842;
  --gold2:     #ffd36a;
  --gold-glow: rgba(245,200,66,0.35);
  --text:      #e8e8f0;
  --muted:     rgba(232,232,240,0.55);
  --font-body: 'Inter','Noto Sans JP', sans-serif;
  --font-head: 'Orbitron', 'Inter', sans-serif;
  /* rank colors */
  --sss: #d400ff;
  --s:   #f5c842;
  --a:   #c0c8d8;
  --b:   #cd8b3c;
  --c:   #43e7ff;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }

/* ── Scrollbar ─────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg2); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 3px; }

/* ── Particle canvas ──────────────────────────────── */
#particles-canvas {
  position: fixed; inset: 0; z-index: 0;
  pointer-events: none; opacity: .45;
}

/* ── NAV ───────────────────────────────────────────── */
.rw-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5vw;
  height: 64px;
  background: rgba(6,6,8,0.75);
  backdrop-filter: blur(18px) saturate(180%);
  border-bottom: 1px solid var(--border);
}
.rw-nav-logo {
  display: flex; align-items: center; gap: 10px;
}
.rw-nav-logo img { width: 36px; height: 36px; border-radius: 8px; }
.rw-nav-logo span {
  font-family: var(--font-head);
  font-size: .85rem; font-weight: 700;
  letter-spacing: .12em;
  background: linear-gradient(90deg, var(--gold), #fff8d4);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.rw-nav-links { display: flex; gap: 28px; }
.rw-nav-links a {
  font-size: .82rem; font-weight: 600; letter-spacing: .06em;
  color: var(--muted); transition: color .2s;
}
.rw-nav-links a:hover { color: var(--gold); }
.rw-nav-cta {
  padding: 8px 20px;
  background: linear-gradient(135deg, var(--gold) 0%, #e8a800 100%);
  color: #000 !important;
  border-radius: 8px; font-weight: 700; font-size: .82rem;
  transition: opacity .2s, transform .2s;
}
.rw-nav-cta:hover { opacity: .88; transform: translateY(-1px); }

/* ── HERO ──────────────────────────────────────────── */
.rw-hero {
  position: relative; z-index: 1;
  min-height: 100vh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  padding: 120px 20px 80px;
  overflow: hidden;
}
.rw-hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 50% 40%, rgba(180,90,0,.18) 0%, transparent 70%),
    radial-gradient(ellipse 50% 50% at 80% 80%, rgba(100,0,200,.12) 0%, transparent 60%);
}
.rw-hero-eyebrow {
  font-size: .72rem; font-weight: 700; letter-spacing: .25em;
  color: var(--gold); text-transform: uppercase;
  padding: 6px 18px;
  border: 1px solid rgba(245,200,66,.35);
  border-radius: 20px;
  background: rgba(245,200,66,.06);
  display: inline-block; margin-bottom: 24px;
}
.rw-hero h1 {
  font-family: var(--font-head);
  font-size: clamp(2.8rem, 8vw, 6rem);
  font-weight: 900; line-height: 1.05;
  letter-spacing: -.02em;
  margin-bottom: 20px;
}
.rw-hero h1 .line1 { color: #fff; }
.rw-hero h1 .line2 {
  background: linear-gradient(90deg, var(--gold) 0%, #ff9500 50%, var(--gold2) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 30px rgba(245,200,66,.5));
}
.rw-hero-sub {
  font-size: clamp(.95rem,2.5vw,1.2rem);
  color: var(--muted); max-width: 560px; margin: 0 auto 40px;
}
.rw-hero-badges {
  display: flex; gap: 12px; flex-wrap: wrap; justify-content: center;
  margin-bottom: 50px;
}
.rw-badge-pill {
  padding: 7px 18px;
  border-radius: 30px; font-size: .78rem; font-weight: 700; letter-spacing: .06em;
  border: 1px solid; backdrop-filter: blur(10px);
}
.rw-badge-pill.infinity {
  border-color: rgba(67,231,255,.4);
  color: var(--c); background: rgba(67,231,255,.07);
}
.rw-badge-pill.lot {
  border-color: rgba(245,200,66,.4);
  color: var(--gold); background: rgba(245,200,66,.07);
}
.rw-badge-pill.discord {
  border-color: rgba(88,101,242,.5);
  color: #7289da; background: rgba(88,101,242,.08);
}

/* Hero prize showcase */
.rw-hero-showcase {
  display: flex; gap: 16px; flex-wrap: wrap; justify-content: center;
}
.rw-showcase-card {
  width: 110px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 14px; padding: 14px 10px;
  text-align: center;
  animation: floatY 5s ease-in-out infinite;
  transition: transform .3s, border-color .3s;
}
.rw-showcase-card:hover {
  transform: translateY(-6px) !important;
  border-color: rgba(245,200,66,.5);
}
.rw-showcase-card:nth-child(2) { animation-delay: 1s; }
.rw-showcase-card:nth-child(3) { animation-delay: 2s; }
.rw-showcase-card:nth-child(4) { animation-delay: 3s; }
.rw-showcase-card:nth-child(5) { animation-delay: 4s; }
.rw-showcase-card .icon { font-size: 2.4rem; margin-bottom: 8px; }
.rw-showcase-card img {
  width: 100%; height: 64px; border-radius: 8px;
  object-fit: cover; margin: 0 auto 12px;
  border: 1px solid rgba(255,255,255,0.1);
}
.rw-showcase-card .label {
  font-size: .68rem; font-weight: 700; color: var(--muted);
  letter-spacing: .04em; line-height: 1.3;
}
@keyframes floatY {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}

/* scroll arrow */
.rw-scroll-arrow {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  font-size: 1.5rem; color: var(--gold); opacity: .6;
  animation: bobDown 1.8s ease-in-out infinite;
}
@keyframes bobDown {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(8px); }
}

/* ── TICKER ────────────────────────────────────────── */
.rw-ticker {
  position: relative; z-index: 1;
  background: linear-gradient(90deg, #1a0f00, #0d0818, #1a0f00);
  border-top: 1px solid rgba(245,200,66,.15);
  border-bottom: 1px solid rgba(245,200,66,.15);
  overflow: hidden; padding: 12px 0;
}
.rw-ticker-track {
  display: flex; gap: 0; width: max-content;
  animation: ticker 30s linear infinite;
}
.rw-ticker-track span {
  padding: 0 40px;
  font-size: .78rem; font-weight: 600; letter-spacing: .08em;
  color: rgba(245,200,66,.8); white-space: nowrap;
}
.rw-ticker-track span::after {
  content: '·'; margin-left: 40px; color: rgba(245,200,66,.3);
}
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── SECTION WRAPPER ──────────────────────────────── */
.rw-section {
  position: relative; z-index: 1;
  padding: 80px 5vw;
  max-width: 1280px; margin: 0 auto;
}
.rw-section-head {
  text-align: center; margin-bottom: 60px;
}
.rw-section-eyebrow {
  font-size: .7rem; font-weight: 700; letter-spacing: .25em;
  color: var(--gold); text-transform: uppercase; margin-bottom: 14px;
}
.rw-section-title {
  font-family: var(--font-head);
  font-size: clamp(1.8rem,4vw,3rem);
  font-weight: 900; letter-spacing: -.01em; line-height: 1.1;
  margin-bottom: 14px;
}
.rw-section-title .g {
  background: linear-gradient(90deg, var(--gold), var(--gold2));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.rw-section-sub { color: var(--muted); font-size: .95rem; }

/* ── STEPS ─────────────────────────────────────────── */
.rw-steps {
  display: grid; grid-template-columns: repeat(auto-fit,minmax(260px,1fr));
  gap: 24px;
}
.rw-step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px; padding: 32px 28px;
  position: relative; overflow: hidden;
  transition: transform .3s, border-color .3s;
}
.rw-step:hover { transform: translateY(-4px); border-color: rgba(245,200,66,.3); }
.rw-step::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0; transition: opacity .3s;
}
.rw-step:hover::before { opacity: 1; }
.rw-step-num {
  font-family: var(--font-head);
  font-size: 3rem; font-weight: 900; line-height: 1;
  background: linear-gradient(135deg, var(--gold), rgba(245,200,66,.2));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  margin-bottom: 16px;
}
.rw-step h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 10px; }
.rw-step p  { color: var(--muted); font-size: .88rem; line-height: 1.7; }
.rw-step-note {
  text-align: center; margin-top: 32px;
  font-size: .82rem; color: #ff8080;
  padding: 14px 20px;
  background: rgba(255,80,80,.06);
  border: 1px solid rgba(255,80,80,.2);
  border-radius: 10px;
}

/* ── RANK TABS ─────────────────────────────────────── */
.rw-rank-tabs {
  display: flex; gap: 10px; flex-wrap: wrap; justify-content: center;
  margin-bottom: 50px;
}
.rw-rank-tab {
  padding: 10px 28px; border-radius: 40px;
  font-family: var(--font-head); font-size: .82rem; font-weight: 700;
  letter-spacing: .1em; cursor: pointer;
  border: 2px solid transparent;
  background: var(--surface);
  transition: all .25s;
}
.rw-rank-tab[data-rank="SSS"] { color: var(--sss); border-color: rgba(212,0,255,.3); }
.rw-rank-tab[data-rank="S"]   { color: var(--s);   border-color: rgba(245,200,66,.3); }
.rw-rank-tab[data-rank="A"]   { color: var(--a);   border-color: rgba(192,200,216,.3); }
.rw-rank-tab[data-rank="B"]   { color: var(--b);   border-color: rgba(205,139,60,.3); }
.rw-rank-tab[data-rank="C"]   { color: var(--c);   border-color: rgba(67,231,255,.3); }
.rw-rank-tab.active,
.rw-rank-tab:hover {
  background: var(--rank-clr, var(--gold));
  color: #000 !important; border-color: transparent;
}
.rw-rank-tab[data-rank="SSS"] { --rank-clr: var(--sss); }
.rw-rank-tab[data-rank="S"]   { --rank-clr: var(--s);   }
.rw-rank-tab[data-rank="A"]   { --rank-clr: var(--a);   }
.rw-rank-tab[data-rank="B"]   { --rank-clr: var(--b);   }
.rw-rank-tab[data-rank="C"]   { --rank-clr: var(--c);   }

/* ── RANK PANEL ────────────────────────────────────── */
.rw-rank-panel { 
  display: block; 
  margin-bottom: 80px; 
}
.rw-rank-panel:last-of-type {
  margin-bottom: 0;
}


.rw-rank-header {
  display: flex; align-items: center; gap: 20px;
  margin-bottom: 32px; padding: 24px 28px;
  border-radius: 18px;
  background: var(--surface);
  border: 1px solid var(--rh-border, var(--border));
  position: relative; overflow: hidden;
}
.rw-rank-header::before {
  content: '';
  position: absolute; top: 0; left: 0; bottom: 0; width: 4px;
  background: var(--rh-color, var(--gold));
}
.rw-rank-badge-big {
  font-family: var(--font-head);
  font-size: 2.8rem; font-weight: 900; line-height: 1;
  color: var(--rh-color, var(--gold));
  filter: drop-shadow(0 0 16px currentColor);
  min-width: 80px; text-align: center;
}
.rw-rank-info h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 4px; }
.rw-rank-info p  { font-size: .82rem; color: var(--muted); }
.rw-rank-icon { margin-left: auto; font-size: 2.8rem; opacity: .4; }

/* rank-specific header styles */
[data-panel="SSS"] .rw-rank-header { --rh-color: var(--sss); --rh-border: rgba(212,0,255,.25); }
[data-panel="S"]   .rw-rank-header { --rh-color: var(--s);   --rh-border: rgba(245,200,66,.25); }
[data-panel="A"]   .rw-rank-header { --rh-color: var(--a);   --rh-border: rgba(192,200,216,.2); }
[data-panel="B"]   .rw-rank-header { --rh-color: var(--b);   --rh-border: rgba(205,139,60,.25); }
[data-panel="C"]   .rw-rank-header { --rh-color: var(--c);   --rh-border: rgba(67,231,255,.25); }

/* ── ITEMS GRID ────────────────────────────────────── */
.rw-items-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px,1fr));
  gap: 20px;
}
.rw-item-card {
  background: var(--surface);
  border: 1px solid var(--ic-border, rgba(255,255,255,.08));
  border-radius: 18px; padding: 0;
  overflow: hidden; position: relative;
  display: flex; flex-direction: column;
  transition: transform .3s, border-color .3s, box-shadow .3s;
}
.rw-item-card:hover {
  transform: translateY(-6px);
  border-color: var(--ic-hover, rgba(245,200,66,.5));
  box-shadow: 0 16px 40px rgba(0,0,0,.4), 0 0 0 1px var(--ic-hover, rgba(245,200,66,.2));
}
.rw-item-card::after {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--ic-line, rgba(245,200,66,.5)), transparent);
  opacity: 0; transition: opacity .3s;
}
.rw-item-card:hover::after { opacity: 1; }

/* rank-specific card tints */
[data-panel="SSS"] .rw-item-card { --ic-border: rgba(212,0,255,.2); --ic-hover: rgba(212,0,255,.5); --ic-line: var(--sss); background: linear-gradient(160deg, rgba(212,0,255,.07) 0%, rgba(0,0,0,0) 50%); }
[data-panel="S"]   .rw-item-card { --ic-border: rgba(245,200,66,.18); --ic-hover: rgba(245,200,66,.5); --ic-line: var(--gold); }
[data-panel="A"]   .rw-item-card { --ic-border: rgba(192,200,216,.18); --ic-hover: rgba(192,200,216,.5); --ic-line: var(--a); }
[data-panel="B"]   .rw-item-card { --ic-border: rgba(205,139,60,.18); --ic-hover: rgba(205,139,60,.5); --ic-line: var(--b); }
[data-panel="C"]   .rw-item-card { --ic-border: rgba(67,231,255,.18); --ic-hover: rgba(67,231,255,.5); --ic-line: var(--c); }

.rw-item-img-wrap {
  position: relative; width: 100%; padding-top: 62%;
  overflow: hidden;
}
.rw-item-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s;
}
.rw-item-card:hover .rw-item-img { transform: scale(1.06); }
.rw-item-img-icon {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 5rem;
  background: rgba(0,0,0,.25);
}
.rw-item-lot-badge {
  position: absolute; top: 12px; right: 12px;
  font-family: var(--font-head); font-size: .75rem; font-weight: 700;
  padding: 5px 12px; border-radius: 20px;
  background: rgba(0,0,0,.65); backdrop-filter: blur(8px);
  border: 1px solid; letter-spacing: .06em;
}
[data-panel="SSS"] .rw-item-lot-badge { color: var(--sss); border-color: rgba(212,0,255,.5); }
[data-panel="S"]   .rw-item-lot-badge { color: var(--gold); border-color: rgba(245,200,66,.5); }
[data-panel="A"]   .rw-item-lot-badge { color: var(--a);    border-color: rgba(192,200,216,.4); }
[data-panel="B"]   .rw-item-lot-badge { color: var(--b);    border-color: rgba(205,139,60,.5); }
[data-panel="C"]   .rw-item-lot-badge { color: var(--c);    border-color: rgba(67,231,255,.5); }

.rw-item-body { padding: 20px 22px; flex: 1; display: flex; flex-direction: column; }
.rw-item-title {
  font-size: 1rem; font-weight: 700; margin-bottom: 8px; line-height: 1.35;
}
.rw-item-desc {
  font-size: .8rem; color: var(--muted); line-height: 1.65;
  flex: 1; margin-bottom: 16px;
  padding: 10px 12px;
  background: rgba(0,0,0,.2);
  border-left: 2px solid var(--ic-line, rgba(245,200,66,.3));
  border-radius: 0 8px 8px 0;
}
.rw-item-footer {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px;
}
.rw-item-lot-num {
  font-family: var(--font-head); font-size: 1.3rem; font-weight: 900;
}
[data-panel="SSS"] .rw-item-lot-num { color: var(--sss); text-shadow: 0 0 20px rgba(212,0,255,.4); }
[data-panel="S"]   .rw-item-lot-num { color: var(--gold); text-shadow: 0 0 20px rgba(245,200,66,.4); }
[data-panel="A"]   .rw-item-lot-num { color: var(--a); }
[data-panel="B"]   .rw-item-lot-num { color: var(--b); }
[data-panel="C"]   .rw-item-lot-num { color: var(--c); }

.rw-claim-btn {
  padding: 9px 20px; border-radius: 10px;
  font-size: .78rem; font-weight: 700; letter-spacing: .06em;
  border: 1px solid;
  cursor: pointer; transition: all .2s;
  white-space: nowrap;
}
[data-panel="SSS"] .rw-claim-btn { color: var(--sss); border-color: rgba(212,0,255,.5); }
[data-panel="S"]   .rw-claim-btn { color: var(--gold); border-color: rgba(245,200,66,.5); }
[data-panel="A"]   .rw-claim-btn { color: var(--a);    border-color: rgba(192,200,216,.4); }
[data-panel="B"]   .rw-claim-btn { color: var(--b);    border-color: rgba(205,139,60,.5); }
[data-panel="C"]   .rw-claim-btn { color: var(--c);    border-color: rgba(67,231,255,.5); }
.rw-claim-btn:hover {
  background: currentColor; color: #000 !important;
  box-shadow: 0 4px 14px rgba(0,0,0,.3);
  transform: translateY(-1px);
}

/* ── CTA SECTION ───────────────────────────────────── */
.rw-cta-section {
  position: relative; z-index: 1;
  text-align: center;
  padding: 80px 5vw 100px;
  background: linear-gradient(180deg, transparent, rgba(20,10,0,.6));
}
.rw-cta-section h2 {
  font-family: var(--font-head);
  font-size: clamp(1.6rem,4vw,2.8rem);
  font-weight: 900; margin-bottom: 16px; line-height: 1.2;
}
.rw-cta-section p { color: var(--muted); margin-bottom: 36px; font-size: 1rem; }
.rw-cta-btn {
  display: inline-block;
  padding: 18px 48px;
  background: linear-gradient(135deg, var(--gold) 0%, #e8a000 100%);
  color: #000; font-weight: 900; font-size: 1.05rem;
  letter-spacing: .05em; border-radius: 14px;
  transition: transform .25s, box-shadow .25s;
  box-shadow: 0 0 40px rgba(245,200,66,.25);
}
.rw-cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 50px rgba(245,200,66,.5);
}

/* ── FOOTER ────────────────────────────────────────── */
.rw-footer {
  position: relative; z-index: 1;
  border-top: 1px solid var(--border);
  padding: 28px 5vw;
  text-align: center;
  font-size: .78rem; color: var(--muted);
}
.rw-footer a { color: rgba(245,200,66,.7); }
.rw-footer a:hover { color: var(--gold); }
.rw-footer-links { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; margin-bottom: 8px; }

/* ── REVEAL ANIMATION ──────────────────────────────── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }



/* ── SIMULATOR ─────────────────────────────────────── */
.rw-simulator-section {
  max-width: 1000px; margin: 0 auto 80px; padding: 0 5vw;
}
.rw-simulator-section h2 {
  font-family: var(--font-head); font-size: 2rem; text-align: center; margin-bottom: 12px;
}
.rw-simulator-section p.sub {
  text-align: center; color: var(--muted); margin-bottom: 40px; font-size: .95rem;
}
.rw-sim-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px;
}
.rw-sim-card {
  background: linear-gradient(145deg, rgba(255,255,255,0.06), rgba(0,0,0,0.4));
  border: 1px solid var(--border); border-radius: 16px; padding: 28px 24px;
  position: relative; overflow: hidden;
}
.rw-sim-card::before {
  content: ''; position: absolute; top: 0; left: 0; width: 4px; height: 100%;
  background: var(--sim-clr, var(--gold));
}
.rw-sim-card[data-type="casual"] { --sim-clr: var(--a); }
.rw-sim-card[data-type="pro"]    { --sim-clr: var(--s); }
.rw-sim-card[data-type="god"]    { --sim-clr: var(--sss); }

.rw-sim-title { font-weight: 700; font-size: 1.1rem; margin-bottom: 6px; }
.rw-sim-desc { font-size: .85rem; color: var(--muted); margin-bottom: 20px; }
.rw-sim-math {
  display: flex; flex-direction: column; gap: 8px; font-family: var(--font-head);
  padding-bottom: 16px; border-bottom: 1px dashed rgba(255,255,255,.1); margin-bottom: 16px;
}
.rw-sim-math span { display: flex; justify-content: space-between; font-size: .9rem; }
.rw-sim-math span strong { color: var(--sim-clr); }
.rw-sim-result {
  font-size: .9rem; font-weight: 700; display: flex; align-items: center; gap: 10px;
}
.rw-sim-result img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; }

/* ── RECENT WINNERS ────────────────────────────────── */
.rw-winners-section {
  max-width: 1000px; margin: 0 auto 100px; padding: 0 5vw;
}
.rw-winners-section h2 {
  font-family: var(--font-head); font-size: 2rem; text-align: center; margin-bottom: 40px;
}
.rw-winners-grid {
  display: flex; gap: 16px; overflow-x: auto; padding-bottom: 20px;
  scroll-snap-type: x mandatory;
}
.rw-winners-grid::-webkit-scrollbar { height: 4px; }
.rw-winners-grid::-webkit-scrollbar-track { background: rgba(255,255,255,.05); }
.rw-winners-grid::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 2px; }

.rw-winner-card {
  min-width: 280px; flex-shrink: 0; scroll-snap-align: start;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 12px; padding: 20px; display: flex; align-items: center; gap: 16px;
}
.rw-winner-icon {
  width: 48px; height: 48px; border-radius: 50%; background: rgba(245,200,66,.1);
  display: flex; align-items: center; justify-content: center; font-size: 1.5rem;
  border: 1px solid rgba(245,200,66,.3);
}
.rw-winner-info h4 { font-size: .95rem; margin-bottom: 4px; }
.rw-winner-info p { font-size: .8rem; color: var(--gold); font-weight: 600; }
.rw-winner-info span { font-size: .75rem; color: var(--muted); }

/* ── FAQ & NOTES ───────────────────────────────────── */
.rw-faq-section {
  max-width: 800px; margin: 0 auto 80px; padding: 0 5vw;
}
.rw-faq-section h2 {
  font-family: var(--font-head); font-size: 2rem; text-align: center; margin-bottom: 30px;
}
.rw-faq-item {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 12px; margin-bottom: 12px; overflow: hidden;
  transition: border-color .3s;
}
.rw-faq-item:hover { border-color: rgba(245,200,66,.3); }
.rw-faq-q {
  padding: 20px 24px; font-weight: 700; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
}
.rw-faq-q::after {
  content: '+'; font-size: 1.5rem; color: var(--gold); transition: transform .3s;
}
.rw-faq-item.open .rw-faq-q::after { transform: rotate(45deg); }
.rw-faq-a {
  padding: 0 24px; max-height: 0; overflow: hidden;
  color: var(--muted); font-size: .9rem; line-height: 1.6;
  transition: max-height .3s ease, padding .3s ease;
}
.rw-faq-item.open .rw-faq-a { max-height: 200px; padding: 0 24px 20px; }

.rw-notes-section {
  max-width: 800px; margin: 0 auto 80px; padding: 30px 5vw;
  background: rgba(255,255,255,.02); border-radius: 16px;
  border-left: 3px solid #ff6b6b;
}
.rw-notes-section h3 { font-size: 1.1rem; color: #ff6b6b; margin-bottom: 16px; }
.rw-notes-list { list-style: none; padding: 0; }
.rw-notes-list li {
  position: relative; padding-left: 20px; margin-bottom: 10px;
  font-size: .85rem; color: var(--muted); line-height: 1.5;
}
.rw-notes-list li::before {
  content: '※'; position: absolute; left: 0; color: #ff6b6b;
}

/* ── FAB (Floating Action Button) ──────────────────── */
.rw-fab-container {
  position: fixed; bottom: 30px; right: 30px; z-index: 999;
  display: flex; flex-direction: column; gap: 12px;
  opacity: 0; transform: translateY(20px); pointer-events: none;
  transition: opacity .4s ease, transform .4s ease;
}
.rw-fab-container.visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.rw-fab {
  display: flex; align-items: center; justify-content: center;
  width: 54px; height: 54px; border-radius: 50%;
  background: var(--surface); border: 1px solid var(--border);
  color: var(--text); font-size: 1.2rem; cursor: pointer;
  backdrop-filter: blur(10px); transition: all .3s;
  box-shadow: 0 4px 20px rgba(0,0,0,.5); text-decoration: none;
}
.rw-fab:hover { background: var(--gold); color: #000; border-color: var(--gold); }
.rw-fab-primary {
  width: auto; height: 54px; padding: 0 24px; border-radius: 30px;
  background: linear-gradient(135deg, var(--gold) 0%, #e8a000 100%);
  color: #000; font-weight: 700; font-size: .9rem; gap: 8px; border: none;
}
.rw-fab-primary:hover { box-shadow: 0 6px 25px rgba(245,200,66,.4); transform: translateY(-2px); color: #000;}
@media (max-width: 768px) {
  .rw-fab-container { bottom: 20px; right: 20px; }
  .rw-fab-primary { padding: 0 16px; font-size: .85rem; height: 48px; }
  .rw-fab { width: 48px; height: 48px; }
}

/* ── RESPONSIVE ────────────────────────────────────── */
@media (max-width: 768px) {
  .rw-nav-links { display: none; }
  .rw-rank-tabs { gap: 8px; }
  .rw-rank-tab { padding: 8px 18px; font-size: .75rem; }
  .rw-items-grid { grid-template-columns: 1fr 1fr; }
  .rw-rank-badge-big { font-size: 2rem; min-width: 60px; }
  .rw-hero h1 { font-size: clamp(2rem,10vw,3.5rem); }
}
@media (max-width: 480px) {
  .rw-items-grid { grid-template-columns: 1fr; }
  .rw-hero-showcase { gap: 10px; }
  .rw-showcase-card { width: 90px; }
}
