/* ============================================================
   RAYON ONLINE — Landing sections
   ============================================================ */

/* ---------- HERO ---------- */
.hero { position: relative; padding: 70px 0 90px; overflow: hidden; }
.hero-grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center;
}
.hero-title {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(46px, 8vw, 104px); line-height: 0.92; letter-spacing: -0.03em;
  margin: 20px 0 0;
}
.hero-title .line2 { color: var(--brand); -webkit-text-stroke: 0; }
.hero-sub { color: var(--text-2); font-size: clamp(16px, 1.5vw, 20px); max-width: 46ch; margin: 24px 0 0; }
.hero-cta { display: flex; gap: 14px; margin-top: 36px; flex-wrap: wrap; align-items: center; }
.hero-online { display: inline-flex; align-items: center; gap: 10px; padding: 11px 16px; border-radius: 14px; background: rgba(255,255,255,0.04); border: 1px solid var(--line-2); }
.hero-online b { font-family: var(--font-display); font-weight: 800; font-size: 18px; color: var(--text); line-height: 1; }
.hero-online > span:last-child { font-size: 11.5px; color: var(--muted); font-weight: 600; line-height: 1.12; }
.hero-meta { display: flex; align-items: center; gap: 26px; margin-top: 34px; flex-wrap: wrap; }
.hero-meta .m { display: flex; flex-direction: column; }
.hero-meta .m b { font-family: var(--font-display); font-weight: 800; font-size: 26px; line-height: 1; }
.hero-meta .m span { font-size: 13px; color: var(--muted); font-weight: 600; margin-top: 6px; }
.hero-meta .sep { width: 1px; height: 38px; background: var(--line-2); }

/* hero visual */
.hero-visual { position: relative; }
.hero-art {
  position: relative; border-radius: var(--r-xl); overflow: hidden;
  border: 1px solid var(--line-2); box-shadow: var(--shadow-2);
  aspect-ratio: 4/5;
}
.hero-art image-slot { width: 100%; height: 100%; }
.hero-art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-glow { position: absolute; inset: -14% -10% -10%; z-index: -1; filter: blur(40px); opacity: .55;
  background: radial-gradient(60% 60% at 70% 30%, var(--brand-glow), transparent 70%); }
.hero-badge {
  position: absolute; left: -22px; bottom: 40px; z-index: 3;
  display: flex; align-items: center; gap: 12px;
  background: rgba(11,15,27,0.82); backdrop-filter: blur(12px);
  border: 1px solid var(--line-2); border-radius: 16px; padding: 12px 16px; box-shadow: var(--shadow-2);
}
.hero-badge .ring { width: 38px; height: 38px; border-radius: 12px; background: var(--brand); color: var(--brand-ink); display: flex; align-items: center; justify-content: center; }
.hero-badge .ring svg { width: 20px; height: 20px; }
.hero-badge b { font-family: var(--font-display); font-weight: 700; font-size: 16px; display: block; line-height: 1.1; }
.hero-badge span { font-size: 12px; color: var(--muted); font-weight: 600; }
.hero-badge.tr { left: auto; right: -18px; top: 28px; bottom: auto; }

.hero-tags { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 24px; }

/* floating watermark R */
.hero-wm { position: absolute; right: -6%; top: 50%; transform: translateY(-50%); width: 60%; max-width: 720px; opacity: 0.035; z-index: 0; pointer-events: none; }

/* ---------- STATS STRIP ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.stat { background: var(--bg-2); padding: 30px 28px; }
.stat b { font-family: var(--font-display); font-weight: 800; font-size: clamp(28px, 3vw, 40px); display: block; line-height: 1; }
.stat span { color: var(--text-2); font-size: 14px; font-weight: 600; margin-top: 10px; display: block; }
.stat b .u { color: var(--brand); }

/* ---------- FEATURES ---------- */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feat {
  padding: 30px; min-height: 230px; display: flex; flex-direction: column;
  transition: transform .25s ease, border-color .25s, box-shadow .3s;
}
.feat:hover { transform: translateY(-5px); border-color: rgba(246,180,30,0.35); box-shadow: var(--shadow-2); }
.feat .ic {
  width: 54px; height: 54px; border-radius: 14px; display: flex; align-items: center; justify-content: center;
  background: rgba(246,180,30,0.12); color: var(--brand); margin-bottom: 22px; border: 1px solid rgba(246,180,30,0.22);
}
.feat .ic svg { width: 27px; height: 27px; }
.feat h3 { font-family: var(--font-display); font-weight: 700; font-size: 21px; margin: 0 0 10px; }
.feat p { color: var(--text-2); font-size: 15px; margin: 0; }
.feat--wide { grid-column: span 2; flex-direction: row; align-items: stretch; gap: 28px; padding: 0; overflow: hidden; }
.feat--wide .feat-txt { padding: 34px; display: flex; flex-direction: column; justify-content: center; flex: 1; }
.feat--wide .feat-media { flex: 1; min-width: 0; position: relative; }
.feat--wide .feat-media image-slot { width: 100%; height: 100%; }
.feat--wide .feat-media img { width: 100%; height: 100%; object-fit: cover; display: block; position: absolute; inset: 0; }
.feat .tag { margin-top: auto; padding-top: 18px; font-size: 13px; font-weight: 700; color: var(--brand); letter-spacing: 0.04em; }

/* ---------- SERVERS (card grid) ---------- */
.bar { height: 8px; border-radius: 99px; background: rgba(255,255,255,0.08); overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--brand-deep), var(--brand-2)); transform-origin: left center; }
.bar i.hot { background: linear-gradient(90deg, #ff8a3d, #ff5e5e); }
.reveal.in .bar i { animation: growBar 1.1s cubic-bezier(.2,.8,.2,1) both; }
@keyframes growBar { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.srv-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.srv-card {
  padding: 26px 28px; position: relative; overflow: hidden;
  transition: transform .25s, box-shadow .3s, border-color .25s;
}
.srv-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-2); border-color: rgba(246,180,30,0.35); }
.srv-card::after { content: ""; position: absolute; right: -40px; top: -40px; width: 150px; height: 150px; border-radius: 50%; background: radial-gradient(circle, var(--brand-glow), transparent 70%); opacity: .5; pointer-events: none; }
.srv-head { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; position: relative; }
.srv-num { width: 50px; height: 50px; border-radius: 14px; background: rgba(246,180,30,0.12); border: 1px solid rgba(246,180,30,0.25); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 800; font-size: 20px; color: var(--brand); flex: none; }
.srv-head .nm { flex: 1; min-width: 0; }
.srv-head .nm b { font-family: var(--font-display); font-weight: 700; font-size: 20px; display: block; line-height: 1.1; }

.srv-stats { display: flex; align-items: baseline; gap: 8px; margin-bottom: 12px; position: relative; }
.srv-stats .online { font-family: var(--font-display); font-weight: 800; font-size: 30px; line-height: 1; color: var(--text); }
.srv-stats .cap { font-family: var(--font-display); font-weight: 700; font-size: 18px; color: var(--muted); }
.srv-stats .lbl { margin-left: auto; font-size: 13px; color: var(--muted); font-weight: 600; display: flex; align-items: center; gap: 7px; }

/* ---------- DONATE TEASER ---------- */
.don-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.don {
  padding: 30px; display: flex; flex-direction: column; position: relative;
  transition: transform .25s, box-shadow .3s, border-color .25s;
}
.don:hover { transform: translateY(-6px); box-shadow: var(--shadow-2); }
.don.pop { border-color: rgba(246,180,30,0.45); background: linear-gradient(180deg, rgba(246,180,30,0.10), var(--bg-2) 60%); }
.don .crown { position: absolute; top: 20px; right: 20px; font-size: 11px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--brand-ink); background: var(--brand); padding: 6px 12px; border-radius: 999px; }
.don h3 { font-family: var(--font-display); font-weight: 800; font-size: 22px; margin: 6px 0 4px; }
.don .price { font-family: var(--font-display); font-weight: 800; font-size: 40px; margin: 14px 0 4px; }
.don .price small { font-size: 17px; color: var(--muted); font-weight: 600; }
.don ul { list-style: none; padding: 0; margin: 20px 0 26px; display: flex; flex-direction: column; gap: 12px; }
.don li { display: flex; gap: 11px; font-size: 15px; color: var(--text-2); }
.don li svg { width: 19px; height: 19px; color: var(--brand); flex: none; margin-top: 2px; }
.don .btn { width: 100%; }

/* ---------- STEPS / FAQ ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.step { padding: 28px; position: relative; }
.step .n { font-family: var(--font-display); font-weight: 900; font-size: 46px; line-height: 1; color: rgba(246,180,30,0.22); }
.step h3 { font-family: var(--font-display); font-weight: 700; font-size: 18px; margin: 16px 0 8px; }
.step p { color: var(--text-2); font-size: 14.5px; margin: 0; }

.faq-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 48px; align-items: start; }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.qa { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: border-color .2s; }
.qa.open { border-color: rgba(246,180,30,0.4); }
.qa-q { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; font-family: var(--font-display); font-weight: 600; font-size: 17px; }
.qa-q .pm { width: 30px; height: 30px; border-radius: 8px; background: var(--surface-2); border: 1px solid var(--line-2); display: flex; align-items: center; justify-content: center; flex: none; transition: transform .25s, background .2s, color .2s; }
.qa.open .qa-q .pm { transform: rotate(45deg); background: var(--brand); color: var(--brand-ink); }
.qa-q .pm svg { width: 16px; height: 16px; }
.qa-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.qa-a p { color: var(--text-2); font-size: 15px; margin: 0; padding: 0 24px 22px; }

/* ---------- BIG CTA ---------- */
.cta-band {
  position: relative; overflow: hidden; border-radius: var(--r-xl);
  background: linear-gradient(120deg, #15110b, #0c0f1a 60%);
  border: 1px solid rgba(246,180,30,0.25);
  padding: 64px 56px; text-align: center;
}
.cta-band::before { content:""; position:absolute; inset:-40% 30% auto -10%; height: 120%; background: radial-gradient(50% 50% at 30% 30%, var(--brand-glow), transparent 70%); filter: blur(30px); }
.cta-band h2 { font-family: var(--font-display); font-weight: 900; font-size: clamp(30px, 4.4vw, 52px); line-height: 1; letter-spacing: -0.02em; margin: 0 0 16px; position: relative; }
.cta-band p { color: var(--text-2); font-size: 18px; max-width: 52ch; margin: 0 auto 32px; position: relative; }
.cta-band .hero-cta { justify-content: center; position: relative; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero { padding: 40px 0 70px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { max-width: 460px; margin: 0 auto; width: 100%; }
  .hero-wm { display: none; }
  .feat-grid { grid-template-columns: repeat(2, 1fr); }
  .feat--wide { grid-column: span 2; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .faq-grid { grid-template-columns: 1fr; gap: 30px; }
  .srv-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .hero { padding: 24px 0 56px; }
  .hero-visual { display: none; }
  .hero-cta { gap: 12px; }
  .hero-cta .store-btn { flex: 1 1 100%; }
  .hero-art { border-radius: var(--r-lg); }
  .hero-badge { left: 12px; bottom: 14px; padding: 10px 13px; }
  .hero-badge.tr { display: none; }
  .feat-grid { grid-template-columns: 1fr; }
  .feat { min-height: 0; padding: 26px; }
  .feat--wide { grid-column: span 1; flex-direction: column; }
  .feat--wide .feat-media { min-height: 200px; order: 2; }
  .feat--wide .feat-txt { padding: 26px; }
  .steps { grid-template-columns: 1fr; }
  .srv-card { padding: 22px 22px; }
  .srv-stats .online { font-size: 26px; }
  .cta-band { padding: 40px 22px; }
  .cta-band .hero-cta { flex-direction: column; }
}
