/* ============================================================================
   ELITE STAR ACCESS — Luxury theme
   Dark/light mode + metallic pricing cards + glassmorphism
   ========================================================================== */

:root {
  --accent: #c9a962;
  --accent-soft: rgba(201, 169, 98, 0.14);
  --accent-glow: rgba(201, 169, 98, 0.35);
  --accent-dark: #8a6d3b;

  --bg: #08080a;
  --bg-2: #0e0e12;
  --surface: #15151b;
  --surface-2: #1c1c23;
  --text: #f2efe9;
  --muted: #a6a096;
  --border: #2a2a32;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.55);

  --silver-1: #f4f4f6;
  --silver-2: #c9c9d2;
  --silver-3: #8e8e9a;

  --radius: 16px;
  --transition: 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="light"] {
  --bg: #f6f4ef;
  --bg-2: #ffffff;
  --surface: #ffffff;
  --surface-2: #f3f0e9;
  --text: #1c1914;
  --muted: #6d675d;
  --border: #e4ded1;
  --shadow: 0 18px 40px rgba(80, 65, 40, 0.12);
  --silver-1: #ffffff;
  --silver-2: #d6d3cb;
  --silver-3: #9c988e;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Segoe UI", "Helvetica Neue", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  transition: background var(--transition), color var(--transition);
}

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

::selection { background: var(--accent); color: #140f06; }

/* Scrollbar */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg-2); }
::-webkit-scrollbar-thumb { background: var(--silver-3); border-radius: 8px; }

/* ---------------------------------------------------------------------------
   Layout helpers
   ------------------------------------------------------------------------- */
.container { width: min(1240px, 92%); margin-inline: auto; }
.section { padding: 96px 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-eyebrow {
  display: inline-block; font-size: 12px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--accent); font-weight: 600; margin-bottom: 12px;
}
.section-title { font-size: clamp(28px, 4vw, 42px); font-weight: 700; margin: 0 0 16px; line-height: 1.15; }
.section-title .gold { color: var(--accent); }
.section-sub { color: var(--muted); font-size: 17px; margin: 0; }

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1024px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.muted { color: var(--muted); }
.gold { color: var(--accent); }
.center { text-align: center; }
.mt-2 { margin-top: 32px; }

/* ---------------------------------------------------------------------------
   Buttons
   ------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 28px; border-radius: 12px; border: 1px solid transparent;
  font-weight: 600; font-size: 15px; cursor: pointer; text-decoration: none;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), border-color var(--transition), color var(--transition);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn-gold {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  color: #140f06; box-shadow: 0 10px 26px var(--accent-glow);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 16px 34px var(--accent-glow); filter: brightness(1.05); }

.btn-outline {
  background: transparent; color: var(--text);
  border: 1px solid var(--silver-3);
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }

.btn-dark {
  background: var(--surface-2); color: var(--text); border: 1px solid var(--border);
}
.btn-dark:hover { border-color: var(--accent); }

.btn-sm { padding: 9px 18px; font-size: 13px; border-radius: 9px; }
.btn-block { width: 100%; }
.btn-danger { background: rgba(220, 70, 70, 0.12); color: #e06666; border-color: rgba(220,70,70,.4); }
.btn-danger:hover { background: rgba(220, 70, 70, 0.2); }
.btn[disabled] { opacity: 0.5; cursor: not-allowed; transform: none !important; }

/* ---------------------------------------------------------------------------
   Header / Navbar
   ------------------------------------------------------------------------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: var(--bg);
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
}
.navbar { display: flex; align-items: center; justify-content: space-between; height: 74px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; letter-spacing: 0.5px; font-size: 17px; }
.brand .logo { width: 40px; height: 40px; }
.brand .brand-name b { color: var(--accent); }

.nav-links { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  padding: 9px 15px; border-radius: 10px; font-size: 14.5px; font-weight: 500; color: var(--muted);
  transition: color var(--transition), background var(--transition);
}
.nav-links a:hover, .nav-links a.active { color: var(--text); background: var(--surface-2); }

.nav-actions { display: flex; align-items: center; gap: 10px; }

.theme-toggle {
  width: 42px; height: 42px; border-radius: 11px; border: 1px solid var(--border);
  background: var(--surface); color: var(--text); cursor: pointer; font-size: 18px;
  display: inline-flex; align-items: center; justify-content: center; transition: var(--transition);
}
.theme-toggle:hover { border-color: var(--accent); color: var(--accent); }

.nav-burger { display: none; background: none; border: 1px solid var(--border); color: var(--text); font-size: 20px; border-radius: 10px; width: 42px; height: 42px; cursor: pointer; }

@media (max-width: 960px) {
  .nav-burger { display: inline-flex; align-items: center; justify-content: center; }
  .navbar { position: relative; }
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch;
    background: var(--bg-2);
    border-bottom: 1px solid var(--border);
    border-left: 1px solid var(--border);
    border-right: 1px solid var(--border);
    box-shadow: var(--shadow);
    padding: 12px 16px 16px;
    z-index: 90;
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px 16px; }
  .nav-actions .btn-login-text { display: none; }
}

/* ---------------------------------------------------------------------------
   Hero
   ------------------------------------------------------------------------- */
.hero {
  position: relative; overflow: hidden; padding: 140px 0 160px;
  background:
    radial-gradient(800px 520px at 82% -12%, rgba(236, 72, 153, 0.30), transparent 60%),
    radial-gradient(720px 500px at 18% -4%, rgba(99, 102, 241, 0.30), transparent 55%),
    radial-gradient(900px 620px at 60% 120%, rgba(34, 211, 238, 0.20), transparent 60%),
    radial-gradient(700px 520px at 2% 100%, rgba(245, 158, 11, 0.22), transparent 60%),
    linear-gradient(180deg, var(--bg-2), var(--bg));
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 48px 48px;
}
.hero-inner { position: relative; max-width: 900px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px;
  background: var(--accent-soft); color: var(--accent); border: 1px solid var(--accent-glow);
  font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; font-weight: 600; margin-bottom: 28px;
}
.hero h1 { font-size: clamp(40px, 7vw, 74px); line-height: 1.02; margin: 0 0 20px; letter-spacing: -1px; font-weight: 800; }
.hero h1 .gold { color: var(--accent); }
.hero-tagline { font-size: clamp(20px, 3vw, 28px); color: var(--silver-2); font-weight: 500; margin: 0 0 18px; font-style: italic; }
.hero p { color: var(--muted); font-size: 18px; max-width: 640px; margin: 0 0 36px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ---------------------------------------------------------------------------
   Cards & glassmorphism
   ------------------------------------------------------------------------- */
.card, .glass-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.glass-card {
  background: color-mix(in srgb, var(--surface) 70%, transparent);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.card:hover, .glass-card:hover { transform: translateY(-6px); border-color: var(--accent); box-shadow: var(--shadow); }

/* Metallic pricing card */
.metallic-card {
  position: relative; overflow: hidden; border-radius: 20px; padding: 2px;
  background: linear-gradient(145deg, var(--silver-1), var(--silver-3) 40%, var(--silver-2) 60%, var(--silver-3));
}
.metallic-card::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(115deg, transparent 20%, rgba(255,255,255,0.5) 45%, transparent 60%);
  transform: translateX(-100%); transition: transform 0.9s ease;
}
.metallic-card:hover::before { transform: translateX(100%); }
.metallic-card-inner {
  position: relative; border-radius: 18px; padding: 32px; height: 100%;
  background: linear-gradient(160deg, var(--surface-2), var(--surface));
  border: 1px solid rgba(255,255,255,0.06);
}
.metallic-card .price { font-size: 42px; font-weight: 800; color: var(--accent); line-height: 1; }
.metallic-card .price small { font-size: 16px; color: var(--muted); font-weight: 500; }
.metallic-card .plan-name { font-size: 20px; font-weight: 700; margin: 16px 0 6px; }
.metallic-card .plan-tag { display: inline-block; font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--silver-2); background: var(--accent-soft); padding: 4px 10px; border-radius: 999px; margin-bottom: 16px; }
.metallic-card ul { list-style: none; margin: 0 0 24px; padding: 0; }
.metallic-card ul li { padding: 8px 0 8px 28px; position: relative; color: var(--muted); font-size: 14.5px; border-bottom: 1px dashed var(--border); }
.metallic-card ul li:last-child { border-bottom: 0; }
.metallic-card ul li::before { content: "✓"; position: absolute; left: 0; top: 8px; color: var(--accent); font-weight: 700; }
.metallic-card.featured { box-shadow: 0 0 0 1px var(--accent), 0 20px 50px var(--accent-glow); }
.metallic-card.featured .plan-tag { background: var(--accent); color: #140f06; }

/* ---------------------------------------------------------------------------
   Celebrity cards
   ------------------------------------------------------------------------- */
.celebrity-card { overflow: hidden; padding: 0; }
.celebrity-card .media { position: relative; aspect-ratio: 3/4; overflow: hidden; background: var(--surface-2); }
.celebrity-card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.celebrity-card:hover .media img { transform: scale(1.06); }
.celebrity-card .media .overlay { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.75)); }
.celebrity-card .featured-badge { position: absolute; top: 14px; left: 14px; background: var(--accent); color: #140f06; font-size: 11px; font-weight: 700; letter-spacing: 1px; padding: 5px 10px; border-radius: 999px; text-transform: uppercase; }
.celebrity-card .body { padding: 20px 22px 24px; }
.celebrity-card .cat { color: var(--accent); font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; font-weight: 600; }
.celebrity-card h3 { margin: 6px 0 4px; font-size: 20px; }
.celebrity-card .country { color: var(--muted); font-size: 14px; }
.celebrity-card .prices { display: flex; gap: 14px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--border); font-size: 13px; color: var(--muted); }
.celebrity-card .prices b { color: var(--accent); }

.avatar-placeholder, .cover-placeholder {
  background: linear-gradient(140deg, var(--surface-2), var(--bg-2));
  display: flex; align-items: center; justify-content: center; color: var(--silver-3);
}

/* ---------------------------------------------------------------------------
   Forms
   ------------------------------------------------------------------------- */
.form-group { margin-bottom: 20px; }
.label { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 8px; color: var(--text); }
.input, select.input, textarea.input {
  width: 100%; padding: 13px 16px; border-radius: 11px;
  background: var(--surface-2); border: 1px solid var(--border); color: var(--text);
  font-size: 15px; font-family: inherit; transition: border-color var(--transition), box-shadow var(--transition);
}
.input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
textarea.input { resize: vertical; min-height: 120px; }
.input::placeholder { color: var(--silver-3); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------------------
   Badges
   ------------------------------------------------------------------------- */
.badge { display: inline-block; padding: 4px 12px; border-radius: 999px; font-size: 12px; font-weight: 600; }
.badge-active, .badge-confirmed, .badge-completed { background: rgba(47,158,107,.15); color: #67c23a; }
.badge-pending, .badge-under-review { background: rgba(230,162,60,.15); color: #e6a23c; }
.badge-cancelled, .badge-failed, .badge-inactive { background: rgba(245,108,108,.15); color: #f56c6c; }
.badge-info, .badge-processing { background: rgba(64,158,255,.15); color: #409eff; }
.badge-muted { background: var(--surface-2); color: var(--muted); }

/* ---------------------------------------------------------------------------
   Tables
   ------------------------------------------------------------------------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
table.table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 640px; }
.table th, .table td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--border); }
.table th { font-size: 12px; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); background: var(--surface-2); }
.table tr:last-child td { border-bottom: 0; }
.table tr:hover td { background: var(--surface-2); }

/* ---------------------------------------------------------------------------
   Footer
   ------------------------------------------------------------------------- */
.footer { background: var(--bg-2); border-top: 1px solid var(--border); padding: 64px 0 32px; margin-top: 60px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.footer h4 { margin: 0 0 16px; font-size: 15px; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer ul li { margin-bottom: 10px; }
.footer ul a { color: var(--muted); font-size: 14px; transition: color var(--transition); }
.footer ul a:hover { color: var(--accent); }
.footer .brand-desc { color: var(--muted); font-size: 14px; max-width: 320px; }
.footer-bottom { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; color: var(--muted); font-size: 13px; }

/* ---------------------------------------------------------------------------
   Alerts / messages
   ------------------------------------------------------------------------- */
.alert { padding: 14px 18px; border-radius: 12px; margin-bottom: 20px; font-size: 14.5px; border: 1px solid; }
.alert-success { background: rgba(47,158,107,.12); border-color: rgba(47,158,107,.4); color: #67c23a; }
.alert-error { background: rgba(245,108,108,.12); border-color: rgba(245,108,108,.4); color: #f56c6c; }
.alert-info { background: rgba(64,158,255,.12); border-color: rgba(64,158,255,.4); color: #409eff; }

/* ---------------------------------------------------------------------------
   Animations
   ------------------------------------------------------------------------- */
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
.reveal { animation: fadeUp 0.7s ease both; }
.reveal.d1 { animation-delay: 0.1s; } .reveal.d2 { animation-delay: 0.2s; }
.reveal.d3 { animation-delay: 0.3s; } .reveal.d4 { animation-delay: 0.4s; }

@keyframes shimmer { 0% { background-position: -400px 0; } 100% { background-position: 400px 0; } }

/* ---------------------------------------------------------------------------
   Profile / pricing page
   ------------------------------------------------------------------------- */
.cover-hero { position: relative; height: 340px; background: var(--surface-2); overflow: hidden; }
.cover-hero img { width: 100%; height: 100%; object-fit: cover; }
.cover-hero .cover-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, var(--bg)); }
.profile-head { display: flex; gap: 28px; align-items: flex-end; margin-top: -90px; position: relative; z-index: 2; flex-wrap: wrap; }
.profile-avatar { width: 180px; height: 180px; border-radius: 20px; overflow: hidden; border: 3px solid var(--accent); box-shadow: var(--shadow); background: var(--surface-2); }
.profile-avatar img { width: 100%; height: 100%; object-fit: cover; }

.media-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.media-grid .media-item { border-radius: 14px; overflow: hidden; aspect-ratio: 16/10; background: var(--surface-2); border: 1px solid var(--border); }
.media-grid .media-item img, .media-grid .media-item video, .media-grid .media-item iframe { width: 100%; height: 100%; object-fit: cover; border: 0; }

/* Auth card */
.auth-card { max-width: 460px; margin: 40px auto; }
.auth-card h2 { text-align: center; margin: 0 0 6px; }
.auth-card .auth-sub { text-align: center; color: var(--muted); margin: 0 0 28px; font-size: 14px; }

/* Step indicator */
.steps { display: flex; gap: 8px; justify-content: center; margin-bottom: 32px; }
.step { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.step .dot { width: 30px; height: 30px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--border); font-weight: 700; }
.step.active .dot { background: var(--accent); color: #140f06; border-color: var(--accent); }
.step.done .dot { background: var(--surface-2); color: var(--accent); border-color: var(--accent); }

/* Payment method tiles */
.pay-option { display: flex; align-items: flex-start; gap: 14px; padding: 18px; border: 1px solid var(--border); border-radius: 14px; cursor: pointer; transition: var(--transition); }
.pay-option:hover { border-color: var(--accent); }
.pay-option.selected { border-color: var(--accent); background: var(--accent-soft); }
.pay-option .pay-icon { font-size: 26px; }
.pay-option .pay-name { font-weight: 700; }

/* Dashboard stat tiles */
.stat-tile { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; }
.stat-tile .stat-value { font-size: 30px; font-weight: 800; color: var(--accent); }
.stat-tile .stat-label { color: var(--muted); font-size: 13px; }

/* ---------------------------------------------------------------------------
   Colorful accents
   ------------------------------------------------------------------------- */
.gradient-text {
  background: linear-gradient(120deg, #f59e0b 0%, #ec4899 35%, #a855f7 70%, #22d3ee 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.plan-tag.tag-gold { background: linear-gradient(135deg, #f59e0b, #b45309); color: #fff; }
.plan-tag.tag-platinum { background: linear-gradient(135deg, #e2e8f0, #94a3b8); color: #1f2937; }
.plan-tag.tag-diamond { background: linear-gradient(135deg, #22d3ee, #6366f1); color: #fff; }

.plan-glow-gold { box-shadow: 0 0 44px rgba(245, 158, 11, 0.28), var(--shadow); }
.plan-glow-platinum { box-shadow: 0 0 44px rgba(148, 163, 184, 0.28), var(--shadow); }
.plan-glow-diamond { box-shadow: 0 0 44px rgba(34, 211, 238, 0.28), var(--shadow); }

.service-icon {
  width: 66px; height: 66px; border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  font-size: 30px; margin-bottom: 16px;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.20), rgba(236, 72, 153, 0.20), rgba(99, 102, 241, 0.20));
  border: 1px solid rgba(236, 72, 153, 0.25);
}

.celebrity-card .media { box-shadow: inset 0 0 0 1px rgba(255,255,255,0.04); }
.celebrity-card:hover { border-color: var(--accent); box-shadow: 0 14px 40px rgba(236, 72, 153, 0.18); }

/* Hero background image layer */
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0.5; pointer-events: none;
}

/* Framed images */
.about-img, .gallery-img {
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border); box-shadow: var(--shadow);
}
.about-img img { width: 100%; display: block; }
.gallery-img { position: relative; aspect-ratio: 16 / 9; }
.gallery-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery-img::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,0.35));
}
.gallery-img .gallery-caption {
  position: absolute; left: 18px; bottom: 14px; z-index: 2;
  color: #fff; font-weight: 700; font-size: 15px; letter-spacing: 0.5px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.7);
}

/* ---------------------------------------------------------------------------
   Media gallery lightbox / slideshow
   ------------------------------------------------------------------------- */
.media-item-link { position: relative; cursor: pointer; }
.media-item-link img,
.media-item-link video { transition: transform var(--transition); }
.media-item-link:hover img,
.media-item-link:hover video { transform: scale(1.06); }

.media-play {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,0.25); transition: background var(--transition);
}
.media-play::after {
  content: "▶"; width: 56px; height: 56px; display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,0.6); color: #fff; border-radius: 50%; font-size: 20px;
  border: 2px solid rgba(255,255,255,0.75); box-shadow: 0 8px 24px rgba(0,0,0,0.45);
}
.media-item-link:hover .media-play { background: rgba(0,0,0,0.08); }

.lightbox {
  position: fixed; inset: 0; z-index: 1000; display: none;
  align-items: center; justify-content: center; padding: 32px;
  background: rgba(5,5,8,0.93); backdrop-filter: blur(6px);
}
.lightbox.open { display: flex; }

.lightbox-stage { position: relative; width: min(1100px, 100%); }
.lightbox-media { display: flex; align-items: center; justify-content: center; }
.lightbox-media img,
.lightbox-media video {
  max-width: 100%; max-height: 78vh; border-radius: 12px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.6); background: #000;
}
.lightbox-media iframe {
  width: min(1100px, 100%); aspect-ratio: 16 / 9; border: 0; border-radius: 12px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.6); background: #000;
}

.lightbox-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--border);
  background: rgba(20,20,26,0.75); color: #fff; font-size: 24px; line-height: 1;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background var(--transition), border-color var(--transition), color var(--transition);
  z-index: 2;
}
.lightbox-btn:hover { background: var(--accent); border-color: var(--accent); color: #140f06; }
.lightbox-prev { left: -26px; }
.lightbox-next { right: -26px; }

.lightbox-close {
  position: absolute; top: -20px; right: -20px; width: 46px; height: 46px;
  border-radius: 50%; border: 1px solid var(--border); background: rgba(20,20,26,0.85);
  color: #fff; font-size: 22px; line-height: 1; cursor: pointer; z-index: 3;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--transition), border-color var(--transition);
}
.lightbox-close:hover { background: #e06666; border-color: #e06666; }

.lightbox-count {
  position: absolute; top: -34px; left: 2px; color: #cfc9be;
  font-size: 13px; letter-spacing: 1px;
}
.lightbox-caption { text-align: center; margin-top: 16px; color: #fff; font-size: 15px; min-height: 24px; }

@media (max-width: 900px) {
  .lightbox { padding: 16px; }
  .lightbox-prev { left: 4px; }
  .lightbox-next { right: 4px; }
  .lightbox-close { top: 4px; right: 4px; }
}

/* ---------------------------------------------------------------------------
   Testimonials carousel
   ------------------------------------------------------------------------- */
.t-carousel { position: relative; max-width: 780px; margin: 0 auto; }
.t-viewport { overflow: hidden; }
.t-track { display: flex; transition: transform 0.5s ease; }
.t-slide { flex: 0 0 100%; padding: 0 4px; box-sizing: border-box; }
.t-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 36px 32px; text-align: center; box-shadow: var(--shadow);
}
.t-stars { color: var(--accent); font-size: 18px; letter-spacing: 3px; margin-bottom: 14px; }
.t-quote { font-size: 17px; line-height: 1.7; margin: 0 0 24px; }
.t-author { display: flex; align-items: center; justify-content: center; gap: 12px; }
.t-avatar {
  width: 52px; height: 52px; border-radius: 50%; object-fit: cover;
  border: 2px solid var(--accent); background: var(--surface-2); flex-shrink: 0;
}
.t-avatar-placeholder {
  display: flex; align-items: center; justify-content: center;
  color: var(--accent); font-weight: 700; font-size: 20px;
}
.t-name { font-weight: 700; }
.t-role { color: var(--muted); font-size: 13px; }

.t-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--border);
  background: var(--surface-2); color: var(--text); font-size: 24px; line-height: 1;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background var(--transition), border-color var(--transition), color var(--transition);
}
.t-arrow:hover { background: var(--accent); border-color: var(--accent); color: #140f06; }
.t-prev { left: -58px; }
.t-next { right: -58px; }

.t-dots { display: flex; justify-content: center; gap: 8px; margin-top: 22px; }
.t-dot {
  width: 10px; height: 10px; border-radius: 50%; background: var(--border);
  border: 0; cursor: pointer; padding: 0; transition: background var(--transition);
}
.t-dot.active { background: var(--accent); }

@media (max-width: 960px) {
  .t-prev { left: 0; }
  .t-next { right: 0; }
}


