/* GiftGuard Premium Landing Styles (YouTube embed) */
:root {
  --logo-radius: 16px;
  --bg: #0b1220;
  --surface: rgba(255,255,255,0.04);
  --panel: rgba(255,255,255,0.06);
  --line: rgba(255,255,255,0.10);
  --text: #e8f0fb;
  --muted: #9db0c5;
  --brand: #10b5ff;
  --brand-2: #7dd3fc;
  --ok: #22c55e;
}

* { box-sizing: border-box; }
html, body {
  margin: 0; padding: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(1200px 600px at 10% -10%, #0f1b33 20%, transparent 60%),
    radial-gradient(1200px 600px at 110% 10%, #0a2540 15%, transparent 55%),
    linear-gradient(180deg, #0b1220 0%, #0b1220 100%);
  max-width: 100%;
  overflow-x: hidden;
}
img, svg, video { max-width: 100%; height: auto; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

header {
  position: sticky; top: 0; z-index: 20;
  backdrop-filter: blur(8px) saturate(140%);
  background: rgba(11, 18, 32, 0.62);
  border-bottom: 1px solid var(--line);
}
.nav { display:flex; align-items:center; justify-content:space-between; padding: 16px 0; gap: 16px; flex-wrap: wrap; }
.brand { display:flex; align-items:center; gap: 14px; }
.brand img { height: 60px; width:auto; }
.nav a {
  color: var(--muted); text-decoration: none; margin: 0 10px; font-weight: 600;
  transition: color .15s ease;
}
.nav a:hover { color: var(--text); }
.nav .cta {
  color: #06121f; background: linear-gradient(180deg, var(--brand-2), var(--brand));
  padding: 10px 14px; border-radius: 12px;
}

.hero { padding: 80px 0 56px; border-bottom: 1px solid var(--line); position: relative; }
.hero .grid { display:grid; grid-template-columns: 1.2fr 1fr; gap: 36px; align-items: center; }
.badge {
  display:inline-flex; align-items:center; gap:8px;
  font-size:12px; color:#06121f; font-weight:700;
  background: linear-gradient(180deg, var(--brand-2), var(--brand));
  padding: 6px 10px; border-radius: 999px; border:0;
}
.h1 { font-size: clamp(2rem, 4vw + 1rem, 56px); line-height: 1.05; margin: 16px 0; letter-spacing: -0.02em; font-weight: 900; }
.h-sub { color: var(--muted); font-size: clamp(1rem, 1vw + .75rem, 18px); margin: 0 0 22px; }

.btns { display:flex; gap: 12px; flex-wrap: wrap; }
.btn {
  display:inline-block; border-radius: 12px; padding: 12px 16px;
  border: 1px solid #12324a; background: #0c1626; color: var(--text);
  text-decoration: none; font-weight: 700; transition: all .15s ease; min-height: 44px;
}
.btn:hover { transform: translateY(-1px); border-color: #225b85; }
.btn.primary { background: linear-gradient(180deg, var(--brand-2), var(--brand)); color: #06121f; border: 0; }

.kpis { display:grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin-top: 24px; }
.kpi { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 16px; text-align: center; }
.kpi b { font-size: 24px; }

.section { padding: 72px 0; border-bottom: 1px solid var(--line); }
h2 { font-size: 32px; margin: 0 0 10px; letter-spacing:-0.01em }
p.lead { color: var(--muted); margin: 0 0 18px; }

.panel { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 20px; }
.grid3 { display:grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 16px; }
.card h3 { margin: 0 0 6px; }

.price { font-size: 40px; font-weight: 900; margin: 8px 0; }
.badge-ghost { display:inline-block; border: 1px solid var(--line); padding: 4px 8px; border-radius: 999px; color: var(--muted); font-size: 12px; }

ul.clean { list-style: none; padding: 0; margin: 0; }
ul.clean li { padding-left: 20px; position: relative; margin: 10px 0; color: var(--muted); }
ul.clean li:before { content: "✓"; position: absolute; left: 0; color: var(--ok); }

footer { padding: 36px 0; color: var(--muted); }
footer a { color: var(--muted); text-decoration: none; margin-right: 12px; }
.center { text-align:center; }

.logo-wrap{border-radius:var(--logo-radius);}
.home-link{display:inline-flex;text-decoration:none;color:inherit}

header .brand .logo-wrap{
  display:inline-flex;align-items:center;justify-content:center;
  background: rgba(255,255,255,.98);
  padding: 8px 14px;
  border-radius: var(--logo-radius, 16px) !important;
  box-shadow: 0 2px 10px rgba(0,0,0,.18);
  overflow:hidden;
}
header .brand img{height:48px;width:auto;display:block}

/* Promo video section */
.promo {
  overflow: hidden;
  max-height: 999px;
  transition: max-height .45s ease, opacity .35s ease, padding .35s ease, margin .35s ease;
}

.promo.folded {
  max-height: 0;
  opacity: 0;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  pointer-events: none;
}

.video-shell {
  position: relative;
  width: 100%;
  max-width: 960px;
  margin-top: 12px;
  aspect-ratio: 16/9;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
  background: #000;
}

/* Ensure the injected iframe fills the box */
#yt-player, .video-shell iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.promo-actions { margin-top: 12px; }

#muteBtn.btn {
  border-radius: 12px;
  padding: 10px 14px;
  border: 1px solid #12324a;
  background: #0c1626;
  color: var(--text);
  font-weight: 700;
  cursor: pointer;
}
#muteBtn.btn:hover { transform: translateY(-1px); border-color: #225b85; }
/* ============== Mobile optimisations ============== */
@media (max-width: 860px){
  .container { padding: 0 16px; }
  header .brand img { height: 42px; }
  /* if you don't have a burger yet, hide secondary links */
  header nav a:not(.cta) { display: none; }
  .nav { gap: 8px; }
}

@media (max-width: 760px){
  .hero { padding: 56px 0 36px; }
  .hero .grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
  .kpis { display:grid; grid-template-columns: 1fr; gap: 12px; }
  .grid3 { display:grid; grid-template-columns: 1fr; gap: 12px; }
  .h1 { font-size: clamp(1.75rem, 6vw, 2.25rem); }
  p.lead { font-size: 0.95rem; }
  .btn { padding: 10px 14px; border-radius: 10px; }
  .video-shell { max-width: 100%; border-radius: 12px; }
  .promo { padding-top: 36px; padding-bottom: 24px; }
}

/* keep tooltip sensible on touch devices */
@media (pointer: coarse){
  .tooltip-bubble { display: none !important; }
}

/* GG mobile tweaks */
@media (max-width:480px){.container{padding:0 16px}header .nav{flex-wrap:wrap;row-gap:8px}}
