@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Syne:wght@600;700;800&display=swap");

:root {
  --bg: #050508;
  --bg-soft: #0c0c14;
  --card: rgba(18, 18, 28, 0.85);
  --card-hover: rgba(26, 26, 40, 0.95);
  --border: rgba(255, 255, 255, 0.07);
  --text: #f4f4f8;
  --muted: #8b8ba3;
  --gold: #f5c842;
  --gold-dim: #c9a032;
  --violet: #8b5cf6;
  --violet-bright: #a78bfa;
  --cyan: #22d3ee;
  --success: #34d399;
  --danger: #f87171;
  --gradient: linear-gradient(135deg, #f5c842 0%, #8b5cf6 50%, #22d3ee 100%);
  --gradient-btn: linear-gradient(135deg, #8b5cf6, #6366f1);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
  --radius: 20px;
  --radius-sm: 12px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { min-height: 100%; scroll-behavior: smooth; }

body {
  font-family: "Outfit", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
}

.bg-glow {
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(ellipse 80% 50% at 20% -10%, rgba(139, 92, 246, 0.22), transparent),
    radial-gradient(ellipse 60% 40% at 90% 10%, rgba(245, 200, 66, 0.12), transparent),
    radial-gradient(ellipse 50% 30% at 50% 100%, rgba(34, 211, 238, 0.08), transparent);
}

a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
img { max-width: 100%; display: block; }
.hidden { display: none !important; }

.container { width: min(1240px, calc(100% - 32px)); margin: 0 auto; position: relative; z-index: 1; }
.page-wrap { padding: 28px 0 64px; min-height: 70vh; }

.site-header {
  position: sticky; top: 0; z-index: 100;
  backdrop-filter: blur(20px) saturate(1.4);
  background: rgba(5, 5, 8, 0.82);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 16px 0; flex-wrap: wrap;
}

.logo { display: flex; align-items: center; gap: 14px; }
.logo-mark {
  width: 46px; height: 46px; border-radius: 14px;
  display: grid; place-items: center;
  box-shadow: 0 8px 32px rgba(139, 92, 246, 0.4);
}
.logo-mark[src$=".svg"] {
  width: auto; height: 46px; border-radius: 0; box-shadow: none;
}
.logo-text {
  font-family: "Syne", sans-serif; font-size: 1.15rem; font-weight: 800;
  letter-spacing: 0.06em;
}
.logo-text span { color: var(--gold); }

.nav-links { display: flex; gap: 6px; flex-wrap: wrap; }
.nav-link {
  padding: 10px 16px; border-radius: 999px; color: var(--muted);
  font-weight: 500; font-size: 0.92rem; transition: 0.2s;
  border: 1px solid transparent;
}
.nav-link:hover, .nav-link.active {
  color: var(--text); background: rgba(255,255,255,0.04);
  border-color: var(--border);
}

.header-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }

.wallet-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 16px; border-radius: 999px;
  background: rgba(245, 200, 66, 0.1);
  border: 1px solid rgba(245, 200, 66, 0.25);
  color: var(--gold); font-weight: 700; font-size: 0.88rem;
}

.avatar-sm {
  width: 36px; height: 36px; border-radius: 50%;
  object-fit: cover; border: 2px solid rgba(139, 92, 246, 0.5);
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 20px; border-radius: var(--radius-sm); border: none;
  cursor: pointer; font-weight: 600; font-size: 0.92rem; transition: 0.2s;
}
.btn-primary {
  background: var(--gradient-btn); color: white;
  box-shadow: 0 8px 28px rgba(99, 102, 241, 0.35);
}
.btn-primary:hover { transform: translateY(-2px); filter: brightness(1.08); }
.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-dim));
  color: #050508; font-weight: 700;
}
.btn-ghost {
  background: rgba(255,255,255,0.04); color: var(--text);
  border: 1px solid var(--border);
}
.btn-danger { background: rgba(248,113,113,0.15); color: var(--danger); border: 1px solid rgba(248,113,113,0.3); }
.btn-sm { padding: 8px 14px; font-size: 0.82rem; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

.hero {
  display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 24px;
  margin-bottom: 40px;
}
.hero-main, .hero-side, .card, .panel, .auth-box {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}
.hero-main { padding: 48px 40px; position: relative; overflow: hidden; }
.hero-main::before {
  content: ""; position: absolute; top: -60px; right: -60px;
  width: 240px; height: 240px;
  background: radial-gradient(circle, rgba(139,92,246,0.25), transparent 70%);
  pointer-events: none;
}
.hero-badge {
  display: inline-flex; padding: 8px 16px; border-radius: 999px;
  background: rgba(139, 92, 246, 0.15); border: 1px solid rgba(139, 92, 246, 0.35);
  color: var(--violet-bright); font-size: 0.82rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 20px;
}
.hero-main h1 {
  font-family: "Syne", sans-serif;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1.05; margin-bottom: 18px;
  background: var(--gradient);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-main p { color: var(--muted); font-size: 1.08rem; max-width: 540px; margin-bottom: 28px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-side { padding: 24px; display: grid; gap: 14px; align-content: start; }
.stat-box {
  padding: 18px; border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.03); border: 1px solid var(--border);
}
.stat-label { color: var(--muted); font-size: 0.82rem; margin-bottom: 4px; }
.stat-value { font-family: "Syne", sans-serif; font-size: 1.4rem; font-weight: 700; }

.section-head {
  display: flex; align-items: end; justify-content: space-between;
  gap: 16px; margin-bottom: 24px; flex-wrap: wrap;
}
.section-head h2 {
  font-family: "Syne", sans-serif; font-size: 1.6rem; font-weight: 800;
}
.section-head p { color: var(--muted); margin-top: 4px; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.card {
  padding: 24px; transition: 0.25s; cursor: pointer;
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); box-shadow: var(--shadow);
}
.card:hover {
  transform: translateY(-6px);
  border-color: rgba(139, 92, 246, 0.4);
  background: var(--card-hover);
}
.card-img {
  width: 100%; height: 160px; object-fit: cover;
  border-radius: var(--radius-sm); margin-bottom: 16px;
  background: rgba(255,255,255,0.04);
}
.card-icon {
  width: 52px; height: 52px; border-radius: 16px;
  display: grid; place-items: center; font-size: 1.5rem;
  background: rgba(139, 92, 246, 0.15); margin-bottom: 16px;
}
.card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 0.9rem; }
.price-mmk { color: var(--gold); font-weight: 800; font-size: 1.1rem; margin-top: 10px; }

.panel { padding: 28px; margin-bottom: 20px; }
.panel h3 { font-family: "Syne", sans-serif; margin-bottom: 18px; }

.form-grid { display: grid; gap: 16px; }
.field label { display: block; margin-bottom: 8px; font-weight: 600; font-size: 0.88rem; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 16px; border-radius: var(--radius-sm);
  border: 1px solid var(--border); background: rgba(255,255,255,0.04);
  color: var(--text); transition: 0.2s;
}
.field select option {
  color: #0c0c14;
  background: #ffffff;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: rgba(139, 92, 246, 0.6);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.15);
}

.auth-wrap {
  display: grid; place-items: center; min-height: 60vh;
}
.auth-box { width: min(440px, 100%); padding: 36px; }
.auth-box h2 {
  font-family: "Syne", sans-serif; font-size: 1.8rem; margin-bottom: 8px;
}
.auth-box .sub { color: var(--muted); margin-bottom: 24px; }
.auth-switch { text-align: center; margin-top: 18px; color: var(--muted); font-size: 0.9rem; }
.auth-switch a { color: var(--violet-bright); font-weight: 600; }

.alert {
  padding: 14px 18px; border-radius: var(--radius-sm);
  margin-bottom: 16px; font-size: 0.92rem; border: 1px solid transparent;
}
.alert-error { background: rgba(248,113,113,0.1); border-color: rgba(248,113,113,0.3); color: #fecaca; }
.alert-success { background: rgba(52,211,153,0.1); border-color: rgba(52,211,153,0.3); color: #a7f3d0; }
.alert-warning { background: rgba(245,200,66,0.1); border-color: rgba(245,200,66,0.3); color: #fde68a; }
.alert-info { background: rgba(139,92,246,0.1); border-color: rgba(139,92,246,0.3); color: #ddd6fe; }

.breadcrumb {
  display: flex; gap: 8px; flex-wrap: wrap; color: var(--muted);
  font-size: 0.88rem; margin-bottom: 20px;
}
.breadcrumb a:hover { color: var(--gold); }

.loading { text-align: center; padding: 48px; color: var(--muted); }

.badge {
  display: inline-flex; padding: 4px 10px; border-radius: 999px;
  font-size: 0.72rem; font-weight: 700; text-transform: uppercase;
}
.badge-ok { background: rgba(52,211,153,0.15); color: var(--success); }
.badge-pending { background: rgba(245,200,66,0.15); color: var(--gold); }
.badge-admin { background: rgba(139,92,246,0.2); color: var(--violet-bright); }

.variation-list { display: grid; gap: 10px; }
.variation-item {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 16px; border-radius: var(--radius-sm);
  border: 1px solid var(--border); background: rgba(255,255,255,0.03);
  cursor: pointer; width: 100%; text-align: left; color: var(--text);
}
.variation-item.selected {
  border-color: rgba(245, 200, 66, 0.5);
  background: rgba(245, 200, 66, 0.08);
}

.profile-grid { display: grid; grid-template-columns: 280px 1fr; gap: 24px; }
.profile-sidebar { padding: 24px; text-align: center; }
.profile-avatar {
  width: 120px; height: 120px; border-radius: 50%; object-fit: cover;
  margin: 0 auto 16px; border: 3px solid rgba(139, 92, 246, 0.5);
  background: rgba(255,255,255,0.05);
}
.profile-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.tab-btn {
  padding: 10px 18px; border-radius: 999px; border: 1px solid var(--border);
  background: transparent; color: var(--muted); cursor: pointer; font-weight: 600;
}
.tab-btn.active { background: rgba(139,92,246,0.15); color: var(--violet-bright); border-color: rgba(139,92,246,0.4); }

.chat-layout { display: grid; grid-template-columns: 300px 1fr; gap: 20px; height: 520px; }
.chat-sidebar { overflow-y: auto; padding: 16px; }
.chat-main { display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.chat-messages {
  flex: 1; overflow-y: auto; padding: 20px; display: flex;
  flex-direction: column; gap: 12px;
}
.chat-msg {
  max-width: 75%; padding: 12px 16px; border-radius: 16px;
  font-size: 0.92rem; line-height: 1.5;
}
.chat-msg.user { align-self: flex-end; background: rgba(139,92,246,0.25); border-bottom-right-radius: 4px; }
.chat-msg.admin { align-self: flex-start; background: rgba(245,200,66,0.12); border-bottom-left-radius: 4px; }
.chat-msg.system { align-self: center; background: rgba(255,255,255,0.05); color: var(--muted); font-size: 0.82rem; max-width: 90%; text-align: center; }
.chat-msg.admin-only { border: 1px dashed rgba(248,113,113,0.4); }
.chat-meta { font-size: 0.72rem; color: var(--muted); margin-top: 4px; }
.chat-text { white-space: pre-wrap; word-wrap: break-word; }
.chat-img-wrap { margin-bottom: 8px; }
.chat-img-wrap:last-child { margin-bottom: 0; }
.chat-img {
  max-width: 100%; max-height: 280px; border-radius: 8px; display: block;
  cursor: zoom-in; object-fit: cover;
}
.chat-msg .chat-img-wrap + .chat-text { margin-top: 4px; }
.chat-input-bar {
  display: flex; gap: 10px; padding: 16px; border-top: 1px solid var(--border);
}
.chat-input-bar input { flex: 1; }

.chat-user-item {
  padding: 12px; border-radius: var(--radius-sm); cursor: pointer;
  border: 1px solid transparent; margin-bottom: 8px; transition: 0.2s;
}
.chat-user-item:hover, .chat-user-item.active {
  background: rgba(139,92,246,0.1); border-color: rgba(139,92,246,0.3);
}

.admin-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin-bottom: 28px; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
.admin-table th, .admin-table td {
  padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--border);
}
.admin-table th { color: var(--muted); font-weight: 600; font-size: 0.78rem; text-transform: uppercase; }

.footer {
  border-top: 1px solid var(--border); padding: 28px 0 40px;
  color: var(--muted); font-size: 0.88rem; position: relative; z-index: 1;
}
.footer-inner { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

.img-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.img-gallery .card-img,
.img-gallery img {
  width: 100%;
  max-height: 180px;
  object-fit: cover;
  border-radius: var(--radius-sm);
}
.grid .img-gallery .card-img {
  width: calc(50% - 4px);
  flex: 1 1 calc(50% - 4px);
  max-height: 140px;
}

/* ── Marquee (scrolling text banner) ── */
.marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: linear-gradient(90deg, rgba(245, 200, 66, 0.20), rgba(139, 92, 246, 0.20), rgba(34, 211, 238, 0.20));
  border: 1px solid rgba(245, 200, 66, 0.30);
  border-radius: var(--radius-sm);
  padding: 8px 0;
  margin: 0 0 22px;
  height: 38px;
  display: flex;
  align-items: center;
  white-space: nowrap;
}
.marquee-track {
  display: inline-flex;
  align-items: center;
  gap: 50px;
  padding-left: 50px;
  animation: marquee-scroll 45s linear infinite;
  will-change: transform;
}
.marquee-track > span {
  font-weight: 500;
  font-size: 0.82rem;
  color: var(--text);
  letter-spacing: 0.2px;
  display: inline-block;
  white-space: nowrap;
}
.marquee.social-marquee {
  background: linear-gradient(90deg, rgba(245, 200, 66, 0.28), rgba(139, 92, 246, 0.28), rgba(34, 211, 238, 0.28));
  border-color: rgba(245, 200, 66, 0.45);
}
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.marquee:hover .marquee-track { animation-play-state: paused; }

/* ── Search bar ── */
.search-bar {
  position: relative;
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0 14px;
  margin-bottom: 18px;
  transition: border-color 0.15s ease;
}
.search-bar:focus-within { border-color: var(--violet); box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.18); }
.search-bar .search-icon { color: var(--muted); margin-right: 8px; font-size: 1rem; }
.search-bar input {
  flex: 1;
  background: transparent;
  border: 0;
  outline: 0;
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
  padding: 12px 0;
}
.search-bar input::placeholder { color: var(--muted); }

/* ── Popular games cards ── */
#popularGames {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
}
.popular-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 18px 14px;
  text-decoration: none;
  color: var(--text);
  transition: transform 0.15s ease, border-color 0.15s ease;
  overflow: hidden;
}
.popular-card:hover { transform: translateY(-2px); border-color: var(--violet); }
.popular-icon {
  width: 72px; height: 72px; border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  font-size: 2.2rem;
  margin-bottom: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}
.popular-img {
  width: 72px; height: 72px; border-radius: 18px;
  object-fit: cover;
  margin-bottom: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}
.popular-info { display: flex; flex-direction: column; gap: 4px; }
.popular-name { font-weight: 600; font-size: 0.95rem; line-height: 1.2; }
.popular-sub { color: var(--muted); font-size: 0.78rem; }
.popular-tag {
  position: absolute; top: 10px; right: 10px;
  font-size: 0.68rem; padding: 3px 8px; border-radius: 999px;
  background: linear-gradient(135deg, var(--gold), var(--violet));
  color: #0c0c14; font-weight: 600;
}
.popular-tag-view { background: rgba(255, 255, 255, 0.06); color: var(--muted); }

/* ── Platform chips ── */
.platform-chips {
  display: flex; flex-wrap: wrap; gap: 8px;
}
.platform-chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text);
  cursor: pointer;
  font-family: inherit; font-size: 0.88rem;
  transition: all 0.15s ease;
}
.platform-chip:hover { border-color: var(--violet); }
.platform-chip.active {
  background: linear-gradient(135deg, var(--violet), #6366f1);
  border-color: var(--violet);
  color: #fff;
}
.chip-icon { font-size: 1.05rem; }
.chip-count {
  font-size: 0.72rem;
  background: rgba(255, 255, 255, 0.1);
  padding: 1px 8px;
  border-radius: 999px;
}
.platform-chip.active .chip-count { background: rgba(0, 0, 0, 0.25); }

/* ── Social service cards ── */
.soc-group { margin-bottom: 28px; }
.soc-group-title { margin-bottom: 14px; font-size: 1.1rem; color: var(--gold); }
.soc-card { text-align: left; padding: 16px; }
.soc-card-head {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 10px; padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}
.soc-platform-icon { font-size: 1.4rem; }
.soc-platform-name { font-size: 0.85rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.5px; }
.soc-card h3 { font-size: 0.95rem; line-height: 1.35; margin-bottom: 10px; min-height: 2.7em; }
.soc-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.soc-meta .badge { font-size: 0.7rem; padding: 3px 8px; }
.soc-price {
  display: flex; align-items: baseline; gap: 8px; margin-bottom: 12px;
}
.soc-price-mmk { font-size: 1.2rem; font-weight: 700; color: var(--gold); }
.soc-price-usd { font-size: 0.78rem; color: var(--muted); }
.soc-card .soc-buy { width: 100%; }

/* ── Modal ── */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex; align-items: center; justify-content: center;
  z-index: 9999;
  padding: 16px;
  backdrop-filter: blur(6px);
}
.modal {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  width: 100%; max-width: 480px;
  box-shadow: var(--shadow);
}
.modal h3 { margin-bottom: 8px; }
.soc-order-summary {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px;
  font-size: 0.9rem;
  display: flex; flex-direction: column; gap: 6px;
}

/* ── Region picker ── */
.region-picker-panel {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 18px;
  margin-bottom: 20px;
}
.region-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.region-pick {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text);
  text-decoration: none;
  font-size: 0.88rem;
  transition: all 0.15s ease;
}
.region-pick:hover {
  border-color: var(--violet);
  background: rgba(139, 92, 246, 0.12);
}
.region-flag {
  font-size: 1.2rem;
  line-height: 1;
  display: inline-block;
}
.region-name {
  font-weight: 500;
}

@media (max-width: 768px) {
  .hero, .profile-grid, .chat-layout, .grid-2 { grid-template-columns: 1fr; }
  .chat-layout { height: auto; min-height: 480px; }
}

/* ── Region Check page ── */
.rc-page { max-width: 1100px; margin: 0 auto; padding: 8px 0 40px; }

.rc-hero {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  padding: 36px 32px;
  background:
    radial-gradient(circle at 15% 20%, rgba(139,92,246,0.25), transparent 55%),
    radial-gradient(circle at 85% 80%, rgba(59,130,246,0.22), transparent 55%),
    linear-gradient(135deg, rgba(139,92,246,0.12), rgba(59,130,246,0.10));
  border: 1px solid rgba(139,92,246,0.25);
  margin-bottom: 24px;
}
.rc-hero::before {
  content: "";
  position: absolute; inset: 0;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'><circle cx='30' cy='30' r='1' fill='%23ffffff' fill-opacity='0.05'/></svg>");
  background-size: 30px 30px;
  pointer-events: none;
}
.rc-hero-content { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; }
.rc-hero h1 {
  font-family: "Syne", sans-serif;
  font-size: 2.2rem;
  background: linear-gradient(90deg, #fff 0%, #c4b5fd 60%, #93c5fd 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin: 12px 0 8px;
}
.rc-hero p { color: var(--muted); max-width: 560px; line-height: 1.55; margin: 0; }
.rc-hero-icon {
  width: 110px; height: 110px;
  border-radius: 24px;
  background: linear-gradient(135deg, #7e5bef, #3b82f6);
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem;
  box-shadow: 0 10px 30px rgba(124,58,237,0.4);
}
.rc-hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(139,92,246,0.15);
  border: 1px solid rgba(139,92,246,0.3);
  color: #ddd6fe;
  font-size: 0.78rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.04em;
}

.rc-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 24px;
  align-items: start;
}

.rc-form-card {
  padding: 28px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
}
.rc-form-card h3 {
  font-family: "Syne", sans-serif;
  font-size: 1.2rem; margin-bottom: 6px;
  display: flex; align-items: center; gap: 10px;
}
.rc-form-card .sub { color: var(--muted); font-size: 0.9rem; margin-bottom: 22px; }

.rc-input-wrap {
  position: relative;
}
.rc-input-wrap .rc-input-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.05rem;
  color: var(--muted);
  pointer-events: none;
}
.rc-input-wrap input {
  padding-left: 42px !important;
}
.rc-hint {
  font-size: 0.78rem; color: var(--muted); margin-top: 6px;
  display: flex; align-items: center; gap: 6px;
}

.rc-steps {
  display: grid; gap: 12px;
  margin-top: 18px;
}
.rc-step {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
}
.rc-step-num {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, #7e5bef, #3b82f6);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem; font-weight: 700; flex-shrink: 0;
}
.rc-step b { font-size: 0.9rem; }
.rc-step p { color: var(--muted); font-size: 0.82rem; margin: 2px 0 0; }

.rc-side-info {
  padding: 24px;
  border-radius: 16px;
  border: 1px solid rgba(245,200,66,0.2);
  background: linear-gradient(180deg, rgba(245,200,66,0.06), rgba(255,255,255,0.01));
}
.rc-side-info h4 {
  font-family: "Syne", sans-serif;
  font-size: 1rem; margin-bottom: 12px;
  display: flex; align-items: center; gap: 8px;
}
.rc-side-info p { color: var(--muted); font-size: 0.85rem; line-height: 1.55; }

.rc-result {
  margin-top: 24px;
  padding: 32px;
  border-radius: 18px;
  background:
    radial-gradient(circle at 0% 0%, rgba(139,92,246,0.18), transparent 60%),
    radial-gradient(circle at 100% 100%, rgba(59,130,246,0.18), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
  border: 1px solid rgba(139,92,246,0.35);
  position: relative;
  overflow: hidden;
}
.rc-result::before {
  content: "";
  position: absolute;
  top: -80px; right: -80px;
  width: 240px; height: 240px;
  background: radial-gradient(circle, rgba(139,92,246,0.25), transparent 70%);
  pointer-events: none;
}
.rc-result-head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 24px; position: relative;
}
.rc-result-head h3 {
  font-family: "Syne", sans-serif;
  font-size: 1.3rem;
  display: flex; align-items: center; gap: 10px;
  margin: 0;
}
.rc-username {
  font-family: "Syne", sans-serif;
  font-size: 2rem;
  font-weight: 700;
  margin: 0 0 4px;
  word-break: break-word;
  background: linear-gradient(90deg, #fff, #c4b5fd);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.rc-username-label {
  font-size: 0.78rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
  margin-bottom: 6px;
}
.rc-region-row {
  display: flex; align-items: center; gap: 12px;
  margin-top: 14px;
  flex-wrap: wrap;
}
.rc-region-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(124,58,237,0.4), rgba(59,130,246,0.4));
  border: 1px solid rgba(255,255,255,0.1);
  font-weight: 700;
  font-size: 1.05rem;
}
.rc-region-flag { font-size: 1.4rem; }
.rc-region-code {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.82rem;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
}
.rc-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  position: relative;
}
.rc-stat {
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
}
.rc-stat-label {
  font-size: 0.74rem; color: var(--muted);
  text-transform: uppercase; letter-spacing: 0.06em;
  font-weight: 700;
}
.rc-stat-value {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 1.05rem; font-weight: 700;
  margin-top: 4px; word-break: break-all;
}
.rc-actions {
  display: flex; gap: 10px; flex-wrap: wrap;
  margin-top: 20px; position: relative;
}

.rc-skeleton {
  display: flex; flex-direction: column; gap: 14px;
  padding: 24px; border-radius: 12px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
}
.rc-skeleton-bar {
  height: 14px;
  border-radius: 6px;
  background: linear-gradient(90deg, rgba(255,255,255,0.06), rgba(255,255,255,0.12), rgba(255,255,255,0.06));
  background-size: 200% 100%;
  animation: rc-shimmer 1.4s linear infinite;
}
@keyframes rc-shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

@media (max-width: 880px) {
  .rc-hero-content { grid-template-columns: 1fr; text-align: left; }
  .rc-hero-icon { width: 80px; height: 80px; font-size: 2.2rem; }
  .rc-layout { grid-template-columns: 1fr; }
  .rc-stats { grid-template-columns: 1fr 1fr; }
}
