/* =============================================================
   Takya — الصفحة الرئيسية
   نفس روح "بيننا واحد" (عتمة + خط Estedad) بهوية لونية مختلفة،
   حتى يبان واضح إنها نفس العائلة بدون ما تكون نفس اللعبة بالضبط.
   ============================================================= */

:root {
  --bg-void: #0e1420;
  --bg-panel: #161f30;
  --bg-panel-raised: #1e2a40;
  --line: #2a3650;
  --ink: #eef1f6;
  --ink-muted: #93a0b8;
  --ink-faint: #6c7a92;
  --accent: #3ddbc4;
  --accent-soft: #7be9d9;
  --crimson: #c8483d;
  --crimson-soft: #de6b5f;
  --success: #6fae9d;

  --font-display: "Estedad", "Arial Black", sans-serif;
  --font-body: "Estedad", "Tahoma", "Segoe UI", sans-serif;

  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg-void);
  color: var(--ink);
  min-height: 100%;
}

body {
  direction: rtl;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; }
button:disabled { cursor: not-allowed; opacity: 0.5; }

.page {
  max-width: 720px;
  margin: 0 auto;
  padding: calc(32px + var(--safe-top)) 20px calc(40px + var(--safe-bottom));
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.hero {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.wordmark {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 3.4rem;
  letter-spacing: 0.02em;
  color: var(--accent-soft);
}

.tagline {
  margin: 0;
  color: var(--ink-muted);
  font-size: 1rem;
}

/* -------------------------------------------------------------
   بطاقات الألعاب — شكل بطاقة طولي (portrait)، شبكة أعمدة
   ------------------------------------------------------------- */
.games-grid {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.game-card-v {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 36px 24px 28px;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.game-card-v[hidden] { display: none; }
/* مخفية عن الناس — تظهر لصاحب الموقع بس، باهتة بإطار متقطع */
.game-card-v.owner-hidden { opacity: 0.55; border-style: dashed; }

@media (hover: hover) {
  .game-card-v:hover { border-color: var(--card-accent); transform: translateY(-3px); }
  /* التأثير على البطاقة كلها ينلغي لما الماوس فوق الاستفهام أو زر
     "ابدأ اللعب" تحديدًا — كل وحدة فيهم لها تأثير هوفر خاص فيها بس. */
  .game-card-v:has(.info-btn:hover),
  .game-card-v:has(.play-btn:hover) { border-color: var(--line); transform: none; }
}

/* الاستفهام يطلع خارج زاوية البطاقة (نص جوا نص برا) وشفاف تقريبًا —
   مو عنصر تحكّم رئيسي بالبطاقة، بس معلومة إضافية اختيارية. */
.info-btn {
  position: absolute; top: -12px; right: -12px; z-index: 2;
  width: 30px; height: 30px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  color: var(--ink-faint); opacity: 0.75;
  font-weight: 800; font-size: 0.9rem; line-height: 1;
  transition: opacity 0.15s ease, transform 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
/* أيقونة الاستفهام — ماسك عشان تاخذ لون الزر (وتتلون مع الهوفر) */
.info-btn .q-icon {
  width: 14px; height: 14px; display: block;
  background-color: currentColor;
  -webkit-mask: url("./assets/question-mark.png") center / contain no-repeat;
  mask: url("./assets/question-mark.png") center / contain no-repeat;
}
.info-btn:hover { opacity: 1; color: var(--card-accent); border-color: var(--card-accent); transform: scale(1.08); }
.info-btn:active { transform: scale(0.96); }

.game-icon {
  /* صندوق ثابت لكل اللوقوات: اللوقو المربع ياخذ الارتفاع كامل، والعريض
     (بيننا واحد) ياخذ العرض — نفس الثقل البصري ونفس ارتفاع البطاقة */
  width: 170px;
  height: 104px;
  object-fit: contain;
  margin-top: 4px;
}

.game-icon.emoji {
  width: auto;
  height: auto;
  font-size: 4rem;
  line-height: 1;
}

.game-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.7rem;
  margin: 4px 0 0;
}

.game-meta {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: center;
}

/* كل بطاقة لها لون هوية خاص فيها (--card-accent، محدد inline بكل
   بطاقة بـindex.html) — يميّز شخصية كل لعبة بصريًا حتى قبل ما تجرّبها.
   الشارات صغيرة عمدًا — اسم اللعبة هو العنصر الأبرز بالبطاقة. */
.badge {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--card-accent);
  background: var(--card-tint);
  border: 1px solid var(--card-accent);
  border-radius: 100px;
  padding: 4px 12px;
}

.badge.badge-trial {
  color: #fff;
  background: #166534;
  border-color: #166534;
}

.play-btn {
  display: block;
  margin-top: 10px;
  width: 100%;
  max-width: 280px;
  background: var(--card-accent);
  color: #0a1118;
  font-weight: 800;
  font-size: 1rem;
  padding: 13px 18px;
  border-radius: 100px;
  white-space: nowrap;
  transition: transform 0.12s ease, box-shadow 0.12s ease, filter 0.12s ease;
}
@media (hover: hover) {
  .play-btn:hover { transform: translateY(-2px); filter: brightness(1.08); box-shadow: 0 10px 22px -10px var(--card-accent); }
}
.play-btn:active { transform: translateY(0) scale(0.97); }

.site-footer { margin-top: auto; }

/* التذييل المشترك (shared/footer.js): روابط السياسات + التواصل + الحقوق */
.tk-footer {
  border-top: 1px solid var(--line); padding: 22px 4px 8px; margin-top: 18px;
  display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center;
}
.tk-footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 20px; }
.tk-footer-links a { color: var(--ink-muted); text-decoration: none; font-size: 0.85rem; font-weight: 700; }
.tk-footer-links a:hover, .tk-footer-links a.on { color: var(--ink); }
.tk-footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 18px; color: var(--ink-faint); font-size: 0.78rem; }
.tk-footer-social { display: inline-flex; gap: 12px; }
.tk-footer-social a { color: var(--ink-muted); display: inline-flex; }
.tk-footer-social a:hover { color: var(--ink); }

/* -------------------------------------------------------------
   زر القائمة (أعلى يسار) + القائمة المنسدلة من اليسار
   ------------------------------------------------------------- */
.menu-btn {
  position: fixed; top: calc(14px + var(--safe-top)); left: 14px; z-index: 60;
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-panel); border: 1px solid var(--line); color: var(--ink-muted);
  transition: color 0.12s ease, border-color 0.12s ease, transform 0.12s ease;
}
.menu-btn svg { width: 20px; height: 20px; }
@media (hover: hover) { .menu-btn:hover { color: var(--accent-soft); border-color: var(--accent); transform: translateY(-2px); } }
.menu-btn:active { transform: translateY(0) scale(0.94); }

.side-menu-overlay {
  position: fixed; inset: 0; background: rgba(4, 9, 15, 0.6); z-index: 80;
  animation: takya-fade 0.15s ease both;
}
.side-menu {
  position: fixed; top: 0; bottom: 0; left: 0; z-index: 81;
  width: min(78vw, 300px);
  background: var(--bg-panel); border-left: 1px solid var(--line);
  padding: calc(18px + var(--safe-top)) 18px 18px;
  display: flex; flex-direction: column; gap: 16px;
  animation: takya-slide-in 0.18s ease both;
}
.side-menu-item {
  display: block; padding: 12px 14px; border-radius: 12px;
  background: var(--bg-panel-raised); border: 1px solid var(--line);
  font-weight: 700; font-size: 1rem;
  transition: border-color 0.12s ease, color 0.12s ease, transform 0.12s ease;
}
@media (hover: hover) { .side-menu-item:hover { border-color: var(--accent); color: var(--accent-soft); transform: translateX(-3px); } }
.side-menu-item:active { transform: scale(0.98); }

@keyframes takya-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes takya-slide-in { from { transform: translateX(-100%); } to { transform: translateX(0); } }

/* -------------------------------------------------------------
   شريط الحساب (أعلى يمين) + نوافذ الدخول — نفس مكوّنات بقية تكية
   ------------------------------------------------------------- */
.account-bar { position: fixed; top: calc(14px + var(--safe-top)); right: 14px; z-index: 60; display: flex; align-items: center; gap: 8px; }
.account-cluster { position: relative; display: flex; align-items: center; gap: 8px; }

.account-btn {
  display: flex; align-items: center; gap: 8px; background: var(--bg-panel);
  border: 1px solid var(--line); color: var(--ink); border-radius: 100px; padding: 9px 16px;
  font-size: 0.88rem; font-weight: 700;
  transition: border-color 0.12s ease, color 0.12s ease, transform 0.12s ease;
}
.account-btn.login { color: var(--accent-soft); border-color: rgba(61,219,196,0.4); }
@media (hover: hover) { .account-btn:hover { border-color: var(--accent); color: var(--accent-soft); transform: translateY(-2px); } }
.account-btn:active { transform: translateY(0) scale(0.96); }
.account-btn .avatar-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--success); flex: 0 0 auto; }

/* غير مشترك: زر رمادي محايد. مشترك فعليًا: شارة خضراء ثابتة (مو زر). */
.subscribe-btn {
  background: var(--bg-panel-raised); color: var(--ink-muted);
  border: 1px solid var(--line); border-radius: 100px; padding: 9px 18px; font-size: 0.88rem; font-weight: 800;
  transition: transform 0.12s ease, box-shadow 0.12s ease, border-color 0.12s ease, color 0.12s ease;
}
@media (hover: hover) { .subscribe-btn:hover { transform: translateY(-2px); border-color: var(--ink-muted); color: var(--ink); } }
.subscribe-btn:active { transform: translateY(0) scale(0.96); }

.subscribe-pill {
  display: inline-flex; align-items: center; border-radius: 100px; padding: 9px 18px;
  font-size: 0.88rem; font-weight: 800;
}
button.subscribe-pill { cursor: pointer; font-family: inherit; }
.subscribe-pill.active { color: var(--success); background: rgba(111,174,157,0.14); border: 1px solid rgba(111,174,157,0.4); }

.account-menu {
  position: absolute; top: calc(100% + 8px); right: 0; z-index: 61;
  background: var(--bg-panel); border: 1px solid var(--line); border-radius: 16px; padding: 8px;
  min-width: 180px;
}
.account-menu .who-email { color: var(--ink-faint); font-size: 0.76rem; padding: 6px 10px 8px; border-bottom: 1px solid var(--line); margin-bottom: 6px; word-break: break-all; }
.account-menu-item {
  width: 100%; text-align: right; background: none; border: none; color: var(--crimson-soft);
  font-weight: 700; font-size: 0.92rem; padding: 10px; border-radius: 10px; transition: background 0.12s ease;
}
.account-menu-item:hover { background: var(--bg-panel-raised); }

.stack { display: flex; flex-direction: column; gap: 14px; }
.stack-sm { display: flex; flex-direction: column; gap: 8px; }
.row-between { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.center { text-align: center; }
.field-label { font-size: 0.85rem; color: var(--ink-muted); }
.hint { color: var(--ink-faint); font-size: 0.82rem; line-height: 1.6; margin: 0; }

.icon-btn {
  flex: 0 0 auto; width: 34px; height: 34px; border-radius: 10px;
  border: 1px solid var(--line); background: var(--bg-panel); color: var(--ink-faint);
  font-size: 0.95rem; line-height: 1; cursor: pointer;
  transition: color 0.12s ease, border-color 0.12s ease, transform 0.12s ease;
}
@media (hover: hover) { .icon-btn:hover { color: var(--crimson-soft); border-color: var(--crimson-soft); transform: scale(1.06); } }
.icon-btn:active { transform: scale(0.94); }

.link-btn { background: none; border: none; color: var(--ink-faint); text-decoration: underline; font-size: 0.85rem; padding: 6px; cursor: pointer; }

input[type="text"], input[type="email"], input[type="password"] {
  width: 100%;
  background: var(--bg-void);
  border: 1.5px solid var(--line);
  color: var(--ink);
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 1.05rem;
  min-height: 52px;
}
input[type="text"]:focus, input[type="email"]:focus, input[type="password"]:focus { border-color: var(--accent); }

.btn {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 1rem;
  border: none;
  border-radius: 100px;
  padding: 15px 26px;
  min-height: 52px;
  cursor: pointer;
  width: 100%;
}
.btn:disabled { opacity: 0.45; cursor: not-allowed; }
.btn.primary { background: linear-gradient(180deg, var(--accent-soft), var(--accent)); color: #04211c; }
.btn.ghost { background: var(--bg-panel-raised); color: var(--ink-muted); border: 1px solid var(--line); }

.error-box {
  background: rgba(200,72,61,0.12);
  border: 1px solid rgba(200,72,61,0.4);
  color: var(--crimson-soft);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 0.9rem;
}

.auth-switch-note { text-align: center; color: var(--ink-faint); font-size: 0.85rem; }
.auth-switch-note button { background: none; border: none; color: var(--accent-soft); font-weight: 700; text-decoration: underline; padding: 0; cursor: pointer; }

.modal-overlay {
  position: fixed; inset: 0; background: rgba(4, 9, 15, 0.72); backdrop-filter: blur(2px);
  display: flex; align-items: flex-end; justify-content: center; padding: 18px; z-index: 90;
  animation: takya-fade 0.2s ease both;
}
.modal-card {
  width: 100%; max-width: 480px; max-height: 82dvh; overflow-y: auto;
  background: var(--bg-panel); border: 1px solid var(--line); border-radius: 22px; padding: 20px;
}
@media (min-width: 640px) { .modal-overlay { align-items: center; } }

.global-toast {
  position: fixed; bottom: calc(20px + var(--safe-bottom)); left: 50%; transform: translateX(-50%);
  background: var(--bg-panel-raised); border: 1px solid var(--line); color: var(--ink);
  padding: 10px 18px; border-radius: 100px; font-size: 0.88rem; z-index: 95;
  animation: takya-fade 0.2s ease both;
}

/* شارة "جديد" — زاوية البطاقة اليسرى فوق (عكس الاستفهام)، تنبض بهدوء */
.new-badge {
  position: absolute; top: -12px; left: -10px; z-index: 2;
  padding: 4px 12px; border-radius: 100px;
  background: var(--card-accent); color: #06240f;
  font-weight: 900; font-size: 0.78rem; line-height: 1.4;
  box-shadow: 0 0 0 0 var(--card-accent);
  animation: new-badge-pulse 1.8s ease-out infinite;
  pointer-events: none;
}
@keyframes new-badge-pulse {
  0% { transform: scale(1); box-shadow: 0 0 0 0 color-mix(in srgb, var(--card-accent) 70%, transparent); }
  50% { transform: scale(1.08); }
  70% { box-shadow: 0 0 0 12px transparent; }
  100% { transform: scale(1); box-shadow: 0 0 0 0 transparent; }
}
@media (prefers-reduced-motion: reduce) { .new-badge { animation: none; } }

/* علامة X موحّدة (shared/icons.js) — بالنص تمامًا داخل أي زر */
.x-ico { display: block; width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 3.4; stroke-linecap: round; flex: 0 0 auto; }
.x-ico.inline { display: inline-block; width: 0.8em; height: 0.8em; vertical-align: -0.08em; }
.icon-btn, .back-x-btn, .kick-btn { display: inline-flex; align-items: center; justify-content: center; padding: 0; line-height: 1; }

/* خلفية متحركة (src/bg-fx.js) — ورا كل شي وما تستقبل ضغطات */
#bg-fx { position: fixed; inset: 0; z-index: 0; pointer-events: none; display: block; }
.page { position: relative; z-index: 1; }

/* إضاءة ملوّنة خفيفة من اليمين واليسار — نفس شكل الإضاءة الأولى (بمقاس
   الشاشة) بس أكبر، وتتكرر كل طول شاشة على امتداد الصفحة. جزء من الصفحة
   نفسها: تنزل وتطلع مع السكرول، مو ثابتة بالشاشة. */
body { position: relative; }
body::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 60vw 85vh at 0 35vh, rgba(61,219,196,0.16), transparent 70%),
    radial-gradient(ellipse 48vw 70vh at 0 85vh, rgba(56,189,248,0.12), transparent 70%),
    radial-gradient(ellipse 60vw 85vh at 100% 30vh, rgba(255,143,192,0.13), transparent 70%),
    radial-gradient(ellipse 48vw 70vh at 100% 85vh, rgba(139,92,246,0.13), transparent 70%),
    radial-gradient(ellipse 60vw 85vh at 0 135vh, rgba(61,219,196,0.16), transparent 70%),
    radial-gradient(ellipse 48vw 70vh at 0 185vh, rgba(56,189,248,0.12), transparent 70%),
    radial-gradient(ellipse 60vw 85vh at 100% 130vh, rgba(255,143,192,0.13), transparent 70%),
    radial-gradient(ellipse 48vw 70vh at 100% 185vh, rgba(139,92,246,0.13), transparent 70%),
    radial-gradient(ellipse 60vw 85vh at 0 235vh, rgba(61,219,196,0.16), transparent 70%),
    radial-gradient(ellipse 48vw 70vh at 0 285vh, rgba(56,189,248,0.12), transparent 70%),
    radial-gradient(ellipse 60vw 85vh at 100% 230vh, rgba(255,143,192,0.13), transparent 70%),
    radial-gradient(ellipse 48vw 70vh at 100% 285vh, rgba(139,92,246,0.13), transparent 70%),
    radial-gradient(ellipse 60vw 85vh at 0 335vh, rgba(61,219,196,0.16), transparent 70%),
    radial-gradient(ellipse 48vw 70vh at 0 385vh, rgba(56,189,248,0.12), transparent 70%),
    radial-gradient(ellipse 60vw 85vh at 100% 330vh, rgba(255,143,192,0.13), transparent 70%),
    radial-gradient(ellipse 48vw 70vh at 100% 385vh, rgba(139,92,246,0.13), transparent 70%),
    radial-gradient(ellipse 60vw 85vh at 0 435vh, rgba(61,219,196,0.16), transparent 70%),
    radial-gradient(ellipse 48vw 70vh at 0 485vh, rgba(56,189,248,0.12), transparent 70%),
    radial-gradient(ellipse 60vw 85vh at 100% 430vh, rgba(255,143,192,0.13), transparent 70%),
    radial-gradient(ellipse 48vw 70vh at 100% 485vh, rgba(139,92,246,0.13), transparent 70%),
    radial-gradient(ellipse 60vw 85vh at 0 535vh, rgba(61,219,196,0.16), transparent 70%),
    radial-gradient(ellipse 48vw 70vh at 0 585vh, rgba(56,189,248,0.12), transparent 70%),
    radial-gradient(ellipse 60vw 85vh at 100% 530vh, rgba(255,143,192,0.13), transparent 70%),
    radial-gradient(ellipse 48vw 70vh at 100% 585vh, rgba(139,92,246,0.13), transparent 70%);
}

/* =============================================================
   إضافات تتحكم فيها صفحة الإدارة (src/extras.js)
   ============================================================= */
.site-extras { display: flex; flex-direction: column; gap: 18px; }
.site-extras:empty { display: none; }
.site-announce {
  background: linear-gradient(180deg, rgba(61,219,196,0.14), rgba(61,219,196,0.05));
  border: 1px solid rgba(61,219,196,0.45); color: var(--ink);
  border-radius: 16px; padding: 14px 18px; text-align: center; font-weight: 700; line-height: 1.7;
}
.extra-card {
  background: var(--bg-panel); border: 1px solid var(--line); border-radius: 22px;
  padding: 20px; display: flex; flex-direction: column; gap: 12px;
}
.extra-kicker {
  align-self: center; font-size: 0.75rem; font-weight: 800; color: var(--accent-soft);
  border: 1px solid rgba(61,219,196,0.45); border-radius: 100px; padding: 2px 12px;
}
.extra-title { margin: 0; text-align: center; font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; }
.poll-opt {
  width: 100%; min-height: 48px; border-radius: 14px; border: 1.5px solid var(--line);
  background: var(--bg-panel-raised); color: var(--ink); font-weight: 700; font-size: 0.98rem;
}
.poll-opt:not(:disabled):hover { border-color: var(--accent); color: var(--accent-soft); }
.poll-bar {
  position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between;
  min-height: 46px; padding: 0 14px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--bg-void);
}
.poll-bar.mine { border-color: var(--accent); }
.poll-fill { position: absolute; inset: 0 0 0 auto; background: rgba(61,219,196,0.16); }
.poll-label, .poll-pct { position: relative; font-weight: 700; }
.poll-pct { color: var(--accent-soft); font-family: var(--font-display); }
.win-box {
  text-align: center; font-weight: 800; display: flex; flex-direction: column; gap: 10px;
  background: rgba(61,219,196,0.08); border: 1px dashed rgba(61,219,196,0.5); border-radius: 16px; padding: 14px;
}
.win-code { font-family: var(--font-display); font-size: 1.4rem; letter-spacing: 0.06em; color: var(--accent-soft); direction: ltr; }
.winners { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.winners span { background: var(--bg-panel-raised); border: 1px solid var(--line); border-radius: 100px; padding: 4px 14px; font-weight: 700; }
.play-btn.disabled { opacity: 0.5; pointer-events: none; filter: grayscale(0.6); }

/* لين تتطبّق إعدادات الإدارة (راجع index.html + extras.js) */
.st-pending .hero .wordmark, .st-pending .hero .tagline,
.st-pending .games-grid, .st-pending .site-footer, .st-pending .pricing-section { visibility: hidden; }

/* -------------------------------------------------------------
   الباقات والأسعار بالصفحة الرئيسية (src/extras.js renderPricing)
   ------------------------------------------------------------- */
.pricing-section { margin-top: 44px; text-align: center; }
.pricing-section:empty { display: none; }
.pricing-title { margin: 0; font-family: var(--font-display); font-weight: 900; font-size: 1.9rem; }
.pricing-sub { margin: 6px 0 22px; color: var(--ink-muted); }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
@media (max-width: 440px) { .pricing-grid { grid-template-columns: 1fr; max-width: 320px; margin: 0 auto; } }
.price-card {
  position: relative; background: var(--bg-panel); border: 1px solid var(--line); border-radius: 22px;
  padding: 26px 16px 18px; display: flex; flex-direction: column; align-items: center; gap: 6px;
}
.price-card.featured { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 6%, var(--bg-panel)); }
.price-tag { position: absolute; top: -11px; left: 50%; transform: translateX(-50%); background: #166534; color: #fff; font-size: 0.72rem; font-weight: 800; border-radius: 100px; padding: 3px 12px; white-space: nowrap; }
.price-name { color: var(--ink-muted); font-weight: 800; }
.price-amount { font-family: var(--font-display); font-weight: 900; font-size: 2.1rem; line-height: 1.1; }
.price-amount small { font-size: 0.85rem; color: var(--ink-muted); font-weight: 700; }
.price-note { color: var(--ink-faint); font-size: 0.8rem; min-height: 1.2em; }
.price-btn {
  margin-top: 8px; width: 100%; border-radius: 100px; padding: 10px 0; font-weight: 800; font-size: 0.95rem;
  background: var(--bg-panel-raised); color: var(--ink); border: 1px solid var(--line);
}
.price-card.featured .price-btn { background: linear-gradient(180deg, var(--accent-soft), var(--accent)); color: #04211c; border-color: transparent; }
@media (hover: hover) { .price-btn:hover { filter: brightness(1.08); } }
.pricing-perks { list-style: none; padding: 0; margin: 20px 0 8px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; color: var(--ink-muted); font-size: 0.88rem; }
.pricing-perks li::before { content: "✓ "; color: var(--accent); font-weight: 900; }
.pricing-fine { color: var(--ink-faint); font-size: 0.78rem; margin: 6px 0 0; }
.pricing-fine a { color: var(--ink-muted); }
