:root {
  --bg: #0f0702;
  --bg-soft: #160b03;
  --panel: rgba(26, 13, 5, 0.88);
  --panel-2: rgba(35, 18, 6, 0.82);
  --text: #fff6e7;
  --muted: #b8a58f;
  --line: rgba(255, 186, 56, 0.15);
  --gold: #ffb126;
  --gold-2: #ffd166;
  --green: #22c55e;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.42);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 15% 12%, rgba(255, 162, 0, 0.11), transparent 30%),
    radial-gradient(circle at 86% 18%, rgba(255, 196, 96, 0.08), transparent 28%),
    linear-gradient(180deg, #120802 0%, #0c0501 54%, #090401 100%);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.014) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.014) 1px, transparent 1px);
  background-size: 28px 28px;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,.78), transparent 88%);
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.78), transparent 88%);
}

a { color: inherit; }
svg { display: block; }

.ambient {
  position: fixed;
  width: 32rem;
  height: 32rem;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .16;
  pointer-events: none;
}
.ambient-one { top: -12rem; left: -12rem; background: #f59e0b; }
.ambient-two { right: -14rem; bottom: -15rem; background: #7c2d12; }
.noise {
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: .022;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 140 140' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.78' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.9'/%3E%3C/svg%3E");
}

.page-shell {
  width: min(1180px, calc(100% - 28px));
  margin: 0 auto;
  padding: 22px 0 46px;
}

.hero-card,
.content-card {
  position: relative;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(36,18,6,.95), rgba(18,9,3,.94));
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
  overflow: hidden;
}
.hero-card { border-radius: var(--radius-xl); }
.hero-media {
  position: relative;
  min-height: 390px;
  background: #1a0e05;
  overflow: hidden;
}
.hero-image {
  width: 100%;
  height: 100%;
  min-height: 390px;
  object-fit: cover;
  object-position: center;
  display: block;
  transform: scale(1.015);
}
.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8,4,1,.03) 0%, rgba(8,4,1,.03) 42%, rgba(8,4,1,.84) 100%),
    linear-gradient(90deg, rgba(8,4,1,.08), transparent 55%);
}
.official-badge,
.hero-chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(12,8,4,.66);
  backdrop-filter: blur(12px);
  color: #fff3d6;
}
.official-badge {
  top: 18px;
  left: 18px;
  gap: 8px;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.hero-chip {
  bottom: 16px;
  padding: 7px 9px;
  border-radius: 999px;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #e9d4b2;
}
.hero-chip-left { left: 16px; }
.hero-chip-right { right: 16px; }
.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(34,197,94,.13), 0 0 18px rgba(34,197,94,.65);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(.88); opacity: .72; }
}

.hero-copy { padding: 24px; }
.eyebrow,
.section-kicker,
.section-label {
  color: var(--gold);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.hero-copy h1,
.section-head h2 { font-family: Montserrat, Inter, sans-serif; }
.hero-copy h1 {
  margin: 7px 0 9px;
  font-size: clamp(32px, 8vw, 54px);
  line-height: .95;
  letter-spacing: -.04em;
  background: linear-gradient(180deg, #fff9ea 0%, #ffc95e 70%, #ef9d16 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 8px 24px rgba(245,158,11,.12));
}
.hero-copy > p {
  max-width: 640px;
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
  font-size: 14px;
}
.hero-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 22px;
}
.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 14px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
  transition: transform .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button:active { transform: translateY(0) scale(.99); }
.button-svg { width: 18px; height: 18px; fill: currentColor; }
.button-svg.line-icon { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.button-primary {
  color: #241200;
  background: linear-gradient(135deg, #ffd574, #f59e0b 72%);
  box-shadow: 0 12px 28px rgba(245,158,11,.25), inset 0 1px 0 rgba(255,255,255,.55);
}
.button-primary:hover { box-shadow: 0 16px 36px rgba(245,158,11,.34), inset 0 1px 0 rgba(255,255,255,.55); }
.button-secondary {
  border: 1px solid rgba(255,183,58,.19);
  background: rgba(255,255,255,.035);
  color: #f7e7c9;
}
.button-secondary:hover { border-color: rgba(255,183,58,.38); background: rgba(255,177,38,.06); }
.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-top: 18px;
  color: #a9967e;
  font-size: 10px;
  font-weight: 600;
}
.trust-row b { color: #7ee2a1; }

.content-card {
  margin-top: 16px;
  padding: 22px;
  border-radius: var(--radius-xl);
}
.premium-orbit {
  position: absolute;
  border-radius: 50%;
  filter: blur(50px);
  pointer-events: none;
  opacity: .13;
}
.orbit-one { width: 280px; height: 280px; background: #f59e0b; top: -140px; right: -80px; }
.orbit-two { width: 240px; height: 240px; background: #7c3aed; bottom: 120px; left: -160px; opacity: .07; }
.section-head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.section-head h2 {
  margin: 5px 0 0;
  font-size: clamp(22px, 5vw, 30px);
  letter-spacing: -.035em;
  line-height: 1.1;
}
.section-subtitle {
  margin: 7px 0 0;
  color: #8f7d68;
  font-size: 11px;
  line-height: 1.55;
}
.live-pill {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(34,197,94,.2);
  background: rgba(34,197,94,.06);
  color: #bdf7ce;
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}
.live-pill .status-dot { width: 7px; height: 7px; }
.premium-strip {
  position: relative;
  z-index: 1;
  margin-top: 15px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 7px 10px;
  border: 1px solid rgba(255,191,73,.12);
  background: linear-gradient(90deg, rgba(255,177,38,.06), rgba(255,255,255,.025), rgba(255,177,38,.045));
  border-radius: 14px;
  color: #d7c3a4;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  overflow: hidden;
}
.premium-strip::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 35%, rgba(255,255,255,.055) 48%, transparent 61%);
  transform: translateX(-120%);
  animation: stripShine 5.2s ease-in-out infinite;
  pointer-events: none;
}
@keyframes stripShine {
  0%,55% { transform: translateX(-120%); }
  80%,100% { transform: translateX(120%); }
}
.premium-strip span { display: inline-flex; align-items: center; gap: 5px; }
.premium-strip svg { width: 13px; height: 13px; fill: none; stroke: #ffc75a; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.premium-strip i { width: 2px; height: 2px; border-radius: 50%; background: rgba(255,205,119,.5); }

.link-section { position: relative; z-index: 1; margin-top: 26px; }
.section-label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 11px;
}
.section-label::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(255,177,38,.34), transparent);
}
.link-grid,
.admin-grid,
.social-grid { display: grid; gap: 10px; }

.link-card,
.admin-card,
.social-card {
  position: relative;
  display: flex;
  align-items: center;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,.075);
  background:
    linear-gradient(180deg, rgba(255,255,255,.032), rgba(255,255,255,.018)),
    rgba(30,14,6,.62);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.025), 0 8px 26px rgba(0,0,0,.10);
  overflow: hidden;
  isolation: isolate;
  transition: transform .22s ease, border-color .22s ease, background .22s ease, box-shadow .22s ease;
}
.link-card::after,
.admin-card::after,
.social-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(118deg, transparent 28%, rgba(255,255,255,.055) 48%, transparent 66%);
  transform: translateX(-120%);
  transition: transform .7s ease;
  pointer-events: none;
}
.link-card:hover,
.admin-card:hover,
.social-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255,190,74,.26);
  background: rgba(255,177,38,.052);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05), 0 15px 34px rgba(0,0,0,.22);
}
.link-card:hover::after,
.admin-card:hover::after,
.social-card:hover::after { transform: translateX(120%); }
.link-card {
  min-height: 84px;
  gap: 13px;
  padding: 14px;
  border-radius: 18px;
  --tone: #f59e0b;
}
.link-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: linear-gradient(180deg, color-mix(in srgb, var(--tone) 95%, white 5%), color-mix(in srgb, var(--tone) 60%, black 40%));
  box-shadow: 0 0 24px color-mix(in srgb, var(--tone) 36%, transparent);
}
.card-glow {
  position: absolute;
  width: 125px;
  height: 125px;
  right: -48px;
  bottom: -70px;
  z-index: -1;
  border-radius: 50%;
  background: var(--tone);
  filter: blur(42px);
  opacity: .09;
  transition: opacity .22s ease, transform .22s ease;
}
.link-card:hover .card-glow { opacity: .16; transform: scale(1.12); }
.tone-blue { --tone: #3b82f6; }
.tone-gold { --tone: #f59e0b; }
.tone-purple { --tone: #a855f7; }

.link-icon,
.admin-avatar,
.social-mark {
  flex: none;
  display: grid;
  place-items: center;
}
.link-icon {
  width: 46px;
  height: 46px;
  border-radius: 15px;
  color: color-mix(in srgb, var(--tone) 68%, white 32%);
  background: linear-gradient(145deg, color-mix(in srgb, var(--tone) 18%, #1a1009), rgba(12,8,5,.8));
  border: 1px solid color-mix(in srgb, var(--tone) 30%, transparent);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 8px 18px rgba(0,0,0,.2), 0 0 22px color-mix(in srgb, var(--tone) 10%, transparent);
}
.link-icon svg,
.admin-avatar svg,
.social-mark svg,
.arrow-bubble svg,
.security-icon svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.link-copy,
.admin-copy { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.title-row { display: flex; align-items: center; gap: 7px; min-width: 0; flex-wrap: wrap; }
.link-copy strong,
.admin-copy strong,
.social-card strong { color: #fff5df; font-size: 12px; }
.link-copy small,
.admin-copy small,
.social-card small { color: #917f6d; font-size: 10px; line-height: 1.45; }
.mini-badge {
  display: inline-flex;
  align-items: center;
  min-height: 19px;
  padding: 0 7px;
  border-radius: 999px;
  color: color-mix(in srgb, var(--tone) 62%, white 38%);
  background: color-mix(in srgb, var(--tone) 9%, transparent);
  border: 1px solid color-mix(in srgb, var(--tone) 18%, transparent);
  font-size: 7px;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.arrow-bubble {
  flex: none;
  width: 34px;
  height: 34px;
  margin-left: auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #aa9273;
  background: rgba(255,255,255,.025);
  border: 1px solid rgba(255,255,255,.055);
  transition: transform .2s ease, color .2s ease, background .2s ease, border-color .2s ease;
}
.arrow-bubble svg { width: 15px; height: 15px; }
.link-card:hover .arrow-bubble,
.social-card:hover .arrow-bubble {
  transform: translate(2px,-2px);
  color: var(--gold-2);
  background: rgba(255,177,38,.08);
  border-color: rgba(255,177,38,.16);
}

.admin-card {
  min-height: 70px;
  gap: 11px;
  padding: 11px 12px;
  border-radius: 16px;
}
.admin-avatar {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  color: #bdf7ce;
  background: linear-gradient(145deg, rgba(34,197,94,.19), rgba(15,52,28,.15));
  border: 1px solid rgba(34,197,94,.22);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05), 0 8px 18px rgba(0,0,0,.17);
}
.admin-avatar svg { width: 20px; height: 20px; }
.verified-dot {
  width: 16px;
  height: 16px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: #238b4b;
  color: white;
  font-size: 9px;
  font-weight: 900;
  box-shadow: 0 0 0 3px rgba(34,197,94,.07);
}
.chat-pill {
  margin-left: auto;
  padding: 5px 8px;
  border-radius: 999px;
  color: #bdf7ce;
  background: rgba(34,197,94,.12);
  border: 1px solid rgba(34,197,94,.19);
  font-size: 9px;
  font-weight: 800;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}

.social-grid { grid-template-columns: 1fr; }
.social-card {
  min-height: 66px;
  gap: 11px;
  padding: 10px 12px;
  border-radius: 15px;
  --social-tone: #f59e0b;
}
.social-card > span:nth-child(2) { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.social-card small { font-size: 8px; letter-spacing: .1em; }
.social-mark {
  width: 40px;
  height: 40px;
  border-radius: 13px;
  color: color-mix(in srgb, var(--social-tone) 70%, white 30%);
  background: linear-gradient(145deg, color-mix(in srgb, var(--social-tone) 15%, #170d07), rgba(18,10,5,.72));
  border: 1px solid color-mix(in srgb, var(--social-tone) 24%, transparent);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.045), 0 7px 16px rgba(0,0,0,.14);
}
.social-mark svg { width: 19px; height: 19px; }
.social-mark .fill-dot { fill: currentColor; stroke: none; }
.social-tiktok { --social-tone: #69f1e5; }
.social-instagram { --social-tone: #ff6ca8; }
.social-web { --social-tone: #f9b83e; }
.arrow-bubble.small { width: 31px; height: 31px; }
.arrow-bubble.small svg { width: 14px; height: 14px; }

.security-box {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  margin-top: 28px;
  padding: 16px;
  border-radius: 18px;
  border: 1px solid rgba(245,158,11,.26);
  background:
    radial-gradient(circle at 0 0, rgba(245,158,11,.11), transparent 36%),
    linear-gradient(135deg, rgba(245,158,11,.07), rgba(120,53,15,.035)),
    rgba(255,255,255,.02);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.035), 0 12px 28px rgba(0,0,0,.12);
}
.security-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #ffd27c;
  background: rgba(245,158,11,.10);
  border: 1px solid rgba(245,158,11,.20);
}
.security-icon svg { width: 21px; height: 21px; }
.security-box strong { display: block; margin: 1px 0 4px; color: #ffe3aa; font-size: 11px; }
.security-box p { margin: 0; color: #a18c73; font-size: 9px; line-height: 1.65; }
.footer {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 7px;
  padding: 24px 0 2px;
  color: #6f604f;
  font-size: 8px;
  letter-spacing: .04em;
}
.footer-dot { color: #b27a26; }
.floating-wa {
  position: fixed;
  right: 18px;
  bottom: calc(18px + env(safe-area-inset-bottom));
  z-index: 20;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: white;
  background: linear-gradient(145deg, #31db6c, #159447);
  border: 1px solid rgba(255,255,255,.22);
  box-shadow: 0 12px 28px rgba(10,95,43,.36), inset 0 1px 0 rgba(255,255,255,.28);
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
}
.floating-wa:hover { transform: translateY(-3px) scale(1.04); box-shadow: 0 16px 34px rgba(10,95,43,.44), inset 0 1px 0 rgba(255,255,255,.28); }
.floating-wa svg { width: 24px; height: 24px; fill: currentColor; }
.toast {
  position: fixed;
  left: 50%;
  bottom: calc(22px + env(safe-area-inset-bottom));
  z-index: 30;
  max-width: calc(100% - 110px);
  transform: translate(-50%, 18px);
  opacity: 0;
  pointer-events: none;
  padding: 9px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(17,9,4,.92);
  backdrop-filter: blur(12px);
  color: #ead6ba;
  font-size: 10px;
  font-weight: 700;
  box-shadow: 0 12px 30px rgba(0,0,0,.3);
  transition: opacity .2s ease, transform .2s ease;
}
.toast.show { opacity: 1; transform: translate(-50%,0); }

@media (min-width: 620px) {
  .page-shell { width: min(1180px, calc(100% - 40px)); padding-top: 30px; }
  .hero-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 520px; }
  .social-grid, .admin-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .link-grid-main { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .featured-card { grid-column: 1 / -1; }
  .content-card { padding: 26px; }
}

@media (min-width: 960px) {
  .page-shell {
    display: grid;
    grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
    gap: 18px;
    align-items: start;
    padding: 34px 0 58px;
  }
  .hero-card { position: sticky; top: 24px; min-height: calc(100vh - 48px); }
  .hero-media { min-height: 480px; }
  .hero-image { min-height: 480px; }
  .hero-copy { padding: 30px; }
  .hero-copy h1 { font-size: clamp(42px, 4vw, 62px); }
  .content-card { margin-top: 0; padding: 28px; min-height: calc(100vh - 68px); }
  .section-head h2 { font-size: 31px; }
  .section-subtitle { font-size: 11px; max-width: 470px; }
  .premium-strip { justify-content: flex-start; padding: 11px 14px; }
  .link-section { margin-top: 28px; }
  .link-card { min-height: 88px; }
  .featured-card { min-height: 94px; }
  .link-icon { width: 48px; height: 48px; border-radius: 16px; }
  .link-copy strong, .admin-copy strong, .social-card strong { font-size: 12.5px; }
  .link-copy small, .admin-copy small, .social-card small { font-size: 10px; }
  .floating-wa { right: 28px; bottom: 28px; }
}

@media (min-width: 1220px) {
  .page-shell { gap: 22px; }
  .hero-copy { padding: 34px; }
  .content-card { padding: 32px; }
}

@media (max-width: 420px) {
  .page-shell { width: min(100% - 20px, 1180px); padding-top: 10px; }
  .hero-card, .content-card { border-radius: 22px; }
  .hero-media, .hero-image { min-height: 330px; }
  .hero-copy { padding: 20px; }
  .content-card { padding: 18px; }
  .section-head { gap: 10px; }
  .section-head h2 { font-size: 21px; }
  .section-subtitle { display: none; }
  .live-pill { padding: 7px 8px; font-size: 8px; }
  .link-card { min-height: 78px; padding: 12px; }
  .link-icon { width: 42px; height: 42px; border-radius: 13px; }
  .link-icon svg { width: 19px; height: 19px; }
  .mini-badge { display: none; }
  .arrow-bubble { width: 31px; height: 31px; }
  .premium-strip { font-size: 7px; gap: 6px 8px; }
  .premium-strip i { display: none; }
  .hero-chip-right { display: none; }
  .floating-wa { width: 48px; height: 48px; right: 14px; bottom: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}
