@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700;900&family=Inter:wght@300;400;500;600&display=swap');

:root {
  --bg:       #ffffff;
  --surface:  #f7f7f7;
  --surface2: #f0f0f0;
  --border:   #e0e0e0;
  --accent:   #cc0000;
  --accent2:  #ff3322;
  --text:     #1a1a1a;
  --muted:    #5a5a5a;
  --heading:  #0a0a0a;
  --radius:   10px;
  --max-w:    1100px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.7;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-family: 'Playfair Display', Georgia, serif; color: var(--heading); line-height: 1.25; }
img { max-width: 100%; height: auto; }
ul { list-style: none; }
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }

/* ── HEADER ───────────────────────────────────────── */
header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 8px rgba(0,0,0,0.07);
}
.header-inner {
  max-width: var(--max-w); margin: 0 auto; padding: 0 28px;
  display: flex; align-items: center; justify-content: space-between;
  height: 62px;
  gap: 24px;
}
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none !important; }
.logo img.logo-img { height: 38px; width: auto; }
.logo-mark {
  font-family: 'Playfair Display', serif;
  font-size: 21px; font-weight: 900; color: var(--heading); letter-spacing: -0.5px;
}
.logo-mark span { color: var(--accent); }

nav { display: flex; align-items: center; gap: 0; }
nav ul { display: flex; gap: 4px; align-items: center; }
nav ul li a {
  font-size: 13.5px; color: var(--muted); font-weight: 500;
  padding: 6px 12px; border-radius: 8px;
  transition: background .15s, color .15s;
  text-decoration: none !important; display: block;
}
nav ul li a:hover, nav ul li a.active {
  color: var(--text); background: var(--surface2);
  text-decoration: none;
}
nav ul li a.active { color: var(--accent); }
.nav-toggle { display: none; background: none; border: none; color: var(--text); cursor: pointer; font-size: 22px; }

/* ── HERO ─────────────────────────────────────────── */
.hero {
  position: relative; overflow: hidden;
  padding: 64px 24px; text-align: left;
  background: #0d0d0d;
}
.hero::before {
  content: '';
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 60% 80% at 0% 50%, rgba(204,0,0,.15) 0%, transparent 65%),
    radial-gradient(ellipse 40% 40% at 100% 0%, rgba(204,0,0,.07) 0%, transparent 55%);
}
/* ── split layout ── */
.hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
  align-items: center;
}
.hero-content { position: relative; }
.hero-video { position: relative; }
.hero-video .yt-embed-wrap {
  max-width: 100%; margin: 0;
  box-shadow: 0 16px 48px rgba(0,0,0,.6);
  border: 1px solid rgba(255,255,255,.08);
}
.hero-tag {
  display: inline-block;
  background: rgba(204,0,0,.08); border: 1px solid rgba(204,0,0,.22);
  color: var(--accent); font-size: 11px; font-weight: 600;
  letter-spacing: 2px; text-transform: uppercase;
  padding: 6px 18px; border-radius: 100px; margin-bottom: 26px;
}
.hero .hero-tag {
  background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.2);
  color: rgba(255,255,255,.85);
}
.hero h1 {
  font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 900; margin-bottom: 18px;
  color: #ffffff;
}
.hero h1 em { font-style: normal; color: var(--accent); }
.hero p {
  font-size: clamp(.95rem, 1.6vw, 1.08rem); color: rgba(255,255,255,.65);
  max-width: 100%; margin: 0 0 36px;
}
.btn-group { display: flex; gap: 14px; justify-content: flex-start; flex-wrap: wrap; }
.btn {
  padding: 13px 28px; border-radius: var(--radius);
  font-size: 15px; font-weight: 600; cursor: pointer;
  transition: all .2s; text-decoration: none !important;
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-primary { background: var(--accent); color: #ffffff; }
.btn-primary:hover { background: #aa0000; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(204,0,0,.35); }
.hero .btn-outline { border: 1.5px solid rgba(255,255,255,.3); color: rgba(255,255,255,.85); background: transparent; }
.hero .btn-outline:hover { border-color: #fff; color: #fff; }
.btn-outline { border: 1.5px solid var(--border); color: var(--text); background: #fff; }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }

/* ── SECTIONS ─────────────────────────────────────── */
.section { padding: 56px 24px; }
.section-alt { background: var(--surface); }
.section-inner { max-width: var(--max-w); margin: 0 auto; }
.section-title { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 12px; color: var(--heading); }
.section-sub { color: var(--muted); margin-bottom: 40px; max-width: 560px; }

/* ── CARDS ────────────────────────────────────────── */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.card {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px; transition: border-color .2s, transform .2s, box-shadow .2s;
}
.card:hover { border-color: rgba(204,0,0,.3); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(204,0,0,.08); }
.card-icon { font-size: 26px; margin-bottom: 12px; }
.card h3 { font-size: 1.02rem; margin-bottom: 8px; color: var(--heading); }
.card p { font-size: .9rem; color: var(--muted); line-height: 1.65; }
.card-accent { border-top: 3px solid var(--accent); }

/* ── STEPS ────────────────────────────────────────── */
.steps { display: flex; flex-direction: column; gap: 0; }
.step {
  display: flex; gap: 20px; align-items: flex-start;
  padding: 20px 0; border-bottom: 1px solid var(--border);
}
.step:last-child { border-bottom: none; }
.step-num {
  flex-shrink: 0; width: 38px; height: 38px; border-radius: 50%;
  background: rgba(204,0,0,.09); border: 1.5px solid rgba(204,0,0,.25);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', serif; font-weight: 700; color: var(--accent); font-size: 1rem;
}
.step-body h3 { font-size: .95rem; margin-bottom: 4px; color: var(--heading); }
.step-body p { font-size: .88rem; color: var(--muted); }

/* ── BADGE LIST ───────────────────────────────────── */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: #fff; border: 1.5px solid var(--border);
  border-radius: 100px; padding: 5px 14px;
  font-size: 13px; color: var(--muted);
  transition: border-color .2s, color .2s;
}
.badge:hover { border-color: var(--accent); color: var(--accent); }
.badge-list { display: flex; flex-wrap: wrap; gap: 10px; }

/* ── NOTICE ───────────────────────────────────────── */
.notice {
  background: rgba(204,0,0,.05); border: 1px solid rgba(204,0,0,.2);
  border-radius: var(--radius); padding: 18px 24px;
  color: #880000; font-size: .9rem;
  display: flex; align-items: flex-start; gap: 12px;
}
.notice-icon { font-size: 20px; flex-shrink: 0; }
.notice strong { color: var(--accent); }

/* ── YOUTUBE EMBED ────────────────────────────────── */
.yt-embed-wrap {
  position: relative; border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 16 / 9; max-width: 860px; margin: 0 auto;
  box-shadow: 0 16px 48px rgba(204,0,0,.18);
}
.yt-embed-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ── LEGAL PAGES ──────────────────────────────────── */
.legal-header { padding: 56px 24px 32px; border-bottom: 1px solid var(--border); background: var(--surface); }
.legal-header .container { max-width: 760px; }
.legal-header h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.legal-header .subtitle { color: var(--muted); margin-top: 10px; font-size: .95rem; }
.last-updated { color: var(--muted); font-size: .82rem; margin-top: 6px; }

.legal-content { padding: 44px 24px 80px; }
.legal-content .container { max-width: 760px; }
.legal-content h2 {
  font-size: 1.25rem; margin: 36px 0 12px;
  padding-bottom: 10px; border-bottom: 1px solid var(--border);
}
.legal-content h3 { font-size: 1rem; margin: 24px 0 8px; color: var(--accent); font-family: 'Inter', sans-serif; font-weight: 600; }
.legal-content p { color: var(--muted); margin-bottom: 14px; font-size: .94rem; }
.legal-content ul { padding-left: 20px; list-style: disc; margin-bottom: 14px; }
.legal-content ul li { color: var(--muted); margin-bottom: 7px; font-size: .94rem; }
.legal-content a { color: var(--accent); }
.legal-content .toc { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 24px; margin-bottom: 32px; }
.legal-content .toc h3 { color: var(--heading); margin-top: 0; font-size: .9rem; font-family: 'Inter', sans-serif; font-weight: 600; letter-spacing: .5px; text-transform: uppercase; }
.legal-content .toc ul { list-style: none; padding-left: 0; }
.legal-content .toc li { margin-bottom: 5px; }
.legal-content .toc a { font-size: .88rem; color: var(--muted); }
.legal-content .toc a:hover { color: var(--accent); }
.contact-box {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px; margin-top: 40px;
}
.contact-box h3 { font-family: 'Inter', sans-serif; color: var(--heading); font-weight: 600; font-size: .95rem; margin-bottom: 8px; }
.contact-box p { margin-bottom: 6px; font-size: .9rem; }

/* ── FOOTER ───────────────────────────────────────── */
footer {
  background: #0a0a0a;
  border-top: 3px solid var(--accent);
  padding: 48px 24px 28px;
  color: #ccc;
}
.footer-inner { max-width: var(--max-w); margin: 0 auto; }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr;
  gap: 40px; margin-bottom: 40px;
}
.footer-brand img { height: 34px; width: auto; margin-bottom: 12px; filter: brightness(0) invert(1); }
.footer-brand p { color: #888; font-size: .85rem; margin-top: 12px; max-width: 300px; line-height: 1.6; }
.footer-col h4 {
  font-family: 'Inter', sans-serif; font-size: .75rem; font-weight: 600;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: #888; margin-bottom: 16px;
}
.footer-col li { margin-bottom: 2px; }
.footer-col a { font-size: .88rem; color: #888; transition: color .2s; display: block; padding: 3px 0; }
.footer-col a:hover { color: #fff; text-decoration: none; }
.footer-bottom {
  border-top: 1px solid #222; padding-top: 24px;
  display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 16px;
}
.footer-bottom-left p { font-size: .8rem; color: #666; }
.footer-bottom-left a { color: #666; }
.footer-bottom-left .disclaimer {
  margin-top: 8px; font-size: .75rem; color: #555; opacity: .85;
  max-width: 560px; line-height: 1.5;
}
.footer-legal-links { display: flex; gap: 16px; flex-wrap: wrap; }
.footer-legal-links a { font-size: .8rem; color: #666; }
.footer-legal-links a:hover { color: #fff; text-decoration: none; }

/* ── RESPONSIVE ───────────────────────────────────── */
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  nav ul { display: none; }
  .nav-toggle { display: block; }
  .hero { padding: 48px 24px; text-align: center; }
  .hero-split { grid-template-columns: 1fr; gap: 32px; }
  .hero-video { order: -1; }
  .btn-group { justify-content: center; }
  .section { padding: 44px 24px; }
}
@media (max-width: 480px) {
  .btn-group { flex-direction: column; align-items: stretch; }
  .btn { justify-content: center; }
  .footer-bottom { flex-direction: column; }
}

/* ── NAV MOBILE OPEN ──────────────────────────────── */
@media (max-width: 768px) {
  nav ul.open,
  #main-nav.open ul { display: flex; flex-direction: column; position: absolute; top: 66px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--border); padding: 16px 24px; gap: 14px; box-shadow: 0 4px 16px rgba(0,0,0,.07); }
}

/* ── COOKIE BANNER ──────────────────────────────────── */
.cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0;
  z-index: 1100;
  background: #111;
  border-top: 2px solid var(--accent);
  padding: 14px 24px;
  box-shadow: 0 -4px 24px rgba(0,0,0,.35);
  transform: translateY(0);
  transition: transform .3s ease;
}
.cookie-banner.hidden { transform: translateY(110%); }
.cookie-inner {
  max-width: var(--max-w); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
}
.cookie-banner p { color: #ccc; font-size: .88rem; margin: 0; }
.cookie-banner a { color: var(--accent); }
.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-btn {
  padding: 8px 18px; border-radius: var(--radius);
  font-size: .85rem; font-weight: 600; cursor: pointer;
  text-decoration: none !important;
  border: none;
}
.cookie-accept { background: var(--accent); color: #fff; }
.cookie-accept:hover { background: #aa0000; }
.cookie-learn { background: transparent; color: #aaa; border: 1px solid #444; }
.cookie-learn:hover { color: #fff; border-color: #888; }

/* push mobile bottom bar up above cookie banner */
@media (max-width: 640px) {
  .cookie-banner { padding-bottom: 80px; }
}

/* ── NAV SOCIAL ICONS ───────────────────────────────── */
.nav-social {
  display: flex; align-items: center; gap: 2px;
  margin-left: 20px;
  padding-left: 20px;
  border-left: 1.5px solid var(--border);
}
.nav-social-btn {
  display: flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 50%;
  color: #aaa;
  text-decoration: none !important;
  transition: color .15s, transform .15s;
  flex-shrink: 0;
}
.nav-social-btn:hover { color: var(--text); transform: scale(1.18); }
.nav-social-btn.nav-yt:hover { color: #ff0000; }
.nav-social-btn.nav-wa:hover { color: #25D366; }
.nav-social-btn.nav-tg:hover { color: #229ED9; }
.nav-social-btn.nav-x:hover  { color: #000; }

@media (max-width: 860px) { .nav-social { display: none; } }

/* ── CHANNEL GRID ───────────────────────────────────── */
.channel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 8px;
}

.channel-card {
  border-radius: var(--radius);
  padding: 26px 22px 22px;
  display: flex; flex-direction: column; gap: 10px;
  border: 1.5px solid var(--border);
  background: #fff;
  transition: transform .2s, box-shadow .2s, border-color .2s;
  text-decoration: none !important;
  color: inherit;
}
.channel-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(0,0,0,.09);
}

/* live card — accent border + subtle glow */
.channel-live {
  border-color: var(--accent);
  border-width: 2px;
  box-shadow: 0 0 0 3px rgba(204,0,0,.07);
}
.channel-live:hover {
  box-shadow: 0 8px 28px rgba(204,0,0,.18);
  border-color: var(--accent);
}

/* coming soon — muted */
.channel-soon {
  border-style: dashed;
  background: var(--surface);
  cursor: default;
}
.channel-soon:hover {
  transform: none;
  box-shadow: none;
  border-color: #ccc;
}

/* status pill */
.channel-status {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 10.5px; font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--muted);
}
.channel-live .channel-status { color: #0a7c3e; }

/* animated live dot */
.status-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #0a7c3e;
  display: inline-block;
  animation: live-pulse 1.8s ease-in-out infinite;
}
@keyframes live-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(10,124,62,.5); }
  50%       { box-shadow: 0 0 0 6px rgba(10,124,62,0); }
}

.channel-icon {
  font-size: 32px; line-height: 1;
}
.channel-card h3 {
  font-size: 1.05rem; color: var(--heading); margin: 0;
}
.channel-soon h3 { color: var(--muted); }

.channel-card p {
  font-size: .88rem; color: var(--muted); line-height: 1.6; flex: 1;
}

.channel-cta {
  display: inline-block;
  font-size: .82rem; font-weight: 600;
  margin-top: 4px;
}
.channel-live .channel-cta  { color: var(--accent); }
.channel-soon .channel-cta  { color: #aaa; }

@media (max-width: 640px) {
  .channel-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .channel-card { padding: 18px 14px 16px; }
  .channel-icon { font-size: 26px; }
  .channel-card h3 { font-size: .93rem; }
}
@media (max-width: 400px) {
  .channel-grid { grid-template-columns: 1fr; }
}

/* ── FAQ ────────────────────────────────────────────── */
.faq-list { display: flex; flex-direction: column; gap: 10px; max-width: 760px; }
.faq-item {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  transition: border-color .2s;
}
.faq-item[open] { border-color: rgba(204,0,0,.3); }
.faq-item summary {
  padding: 18px 22px;
  font-family: 'Inter', sans-serif; font-weight: 600; font-size: .97rem;
  color: var(--heading); cursor: pointer;
  list-style: none;
  display: flex; justify-content: space-between; align-items: center;
  gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+'; font-size: 1.3rem; color: var(--accent);
  flex-shrink: 0; transition: transform .2s;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p {
  padding: 0 22px 18px;
  font-size: .92rem; color: var(--muted); line-height: 1.7;
}

/* ── MOBILE OVERRIDES ───────────────────────────────── */
@media (max-width: 768px) {
  /* hero */
  .hero { padding: 40px 20px 48px; }
  .hero h1 { font-size: clamp(1.75rem, 7vw, 2.4rem); }
  .hero p  { font-size: .95rem; margin-bottom: 28px; }

  /* section spacing */
  .section { padding: 40px 20px; }
  .section-title { font-size: clamp(1.35rem, 5vw, 1.8rem); }
  .section-sub   { font-size: .9rem; }

  /* cards */
  .grid-3, .grid-2 { grid-template-columns: 1fr; gap: 14px; }
  .card { padding: 20px; }

  /* steps */
  .step { padding: 16px 0; gap: 14px; }
  .step-num { width: 34px; height: 34px; font-size: .9rem; }

  /* badge list */
  .badge { font-size: 12px; padding: 5px 11px; }

  /* email form */
  .email-form { flex-direction: column; }
  .email-form input[type="email"],
  .email-form button { width: 100%; min-width: unset; }

  /* footer grid */
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; gap: 10px; }

  /* ad slots — avoid side overflow on small screens */
  .ad-slot { padding: 0 12px; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: clamp(1.55rem, 8vw, 2rem); }
  .btn { padding: 12px 20px; font-size: 14px; }
  .btn-group { flex-direction: column; align-items: stretch; }
  .btn { justify-content: center; }

  /* legal pages */
  .legal-header { padding: 36px 16px 24px; }
  .legal-content { padding: 32px 16px 60px; }
}

/* ── ADSENSE SLOTS ──────────────────────────────────── */
.ad-wrap { padding: 20px 0; background: transparent; }
.ad-slot { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 24px; display: flex; flex-direction: column; align-items: center; }
.ad-slot ins { display: block; }
.ad-label { text-align: center; font-size: .68rem; color: #bbb; letter-spacing: 1.2px; text-transform: uppercase; margin-bottom: 6px; }

/* ── AD PREVIEW MOCKUPS (remove once AdSense is live) ── */
.ad-preview {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: repeating-linear-gradient(
    45deg,
    #f4f4f4,
    #f4f4f4 10px,
    #fafafa 10px,
    #fafafa 20px
  );
  border: 2px dashed #d0d0d0;
  border-radius: var(--radius);
  padding: 0 24px;
  position: relative;
  overflow: hidden;
}
/* shimmer sweep */
.ad-preview::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,.55) 50%, transparent 100%);
  background-size: 200% 100%;
  animation: ad-shimmer 2.4s infinite;
}
@keyframes ad-shimmer {
  0%   { background-position: -200% 0; }
  100% { background-position:  200% 0; }
}

/* leaderboard: wide and short */
.ad-leaderboard {
  max-width: 728px;
  height: 90px;
}
/* rectangle: squarish, centred */
.ad-rectangle {
  max-width: 336px;
  height: 280px;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  gap: 10px;
}

.ad-preview-icon { font-size: 28px; flex-shrink: 0; position: relative; z-index: 1; }
.ad-rectangle .ad-preview-icon { font-size: 40px; }

.ad-preview-copy {
  display: flex; flex-direction: column; gap: 3px;
  position: relative; z-index: 1;
}
.ad-preview-copy strong { font-size: 14px; color: #555; font-family: 'Inter', sans-serif; }
.ad-preview-copy em    { font-size: 11px; color: #999; font-style: normal; }
.ad-mobile-note {
  display: none; /* shown only on mobile via media query */
  color: #cc0000 !important;
}

.ad-preview-badge {
  flex-shrink: 0;
  background: rgba(204,0,0,.08);
  border: 1px solid rgba(204,0,0,.2);
  color: var(--accent);
  font-size: 10px; font-weight: 600;
  letter-spacing: .8px; text-transform: uppercase;
  padding: 4px 10px; border-radius: 100px;
  position: relative; z-index: 1;
}

/* mobile: leaderboard collapses to banner height, show mobile note */
@media (max-width: 640px) {
  .ad-leaderboard { max-width: 320px; height: 50px; padding: 0 14px; }
  .ad-leaderboard .ad-preview-icon { font-size: 18px; }
  .ad-leaderboard .ad-preview-copy strong { font-size: 12px; }
  .ad-leaderboard .ad-preview-copy em:first-of-type { display: none; }
  .ad-mobile-note { display: inline !important; }
  .ad-leaderboard .ad-preview-badge { font-size: 9px; padding: 3px 8px; }

  .ad-rectangle { max-width: 300px; height: 250px; }
}

/* ── COFFEE FLAP ────────────────────────────────────── */
/* Single tab, right edge. Click opens QR modal.        */

.coffee-tab {
  position: fixed;
  right: 0;
  top: 75%;
  transform: translateY(-50%);
  z-index: 999;
  display: block;
  line-height: 0;
}
.coffee-tab-btn {
  display: flex; align-items: center; gap: 0;
  height: 72px; width: 40px;
  border-radius: 12px 0 0 12px;
  background: var(--accent);
  border: none; cursor: pointer;
  box-shadow: -4px 0px 24px rgba(204,0,0,.45), -2px 4px 16px rgba(0,0,0,.3);
  transition: width .32s cubic-bezier(.4,0,.2,1), background .2s, box-shadow .2s;
  overflow: hidden; white-space: nowrap;
  padding: 0;
  color: #fff;
  text-decoration: none !important;
  appearance: none; -webkit-appearance: none;
  outline: none;
}
.coffee-tab-btn:hover {
  width: 158px;
  background: #aa0000;
  box-shadow: -6px 0px 36px rgba(204,0,0,.55);
}
.coffee-tab-icon {
  flex-shrink: 0;
  width: 40px; height: 72px;
  display: flex; align-items: center; justify-content: center;
  padding: 3px 0;
  border-left: 2px solid rgba(255,255,255,.1);
}
.coffee-tab-icon img { width: 34px; height: 62px; object-fit: contain; display: block; }
.coffee-tab-label {
  font-family: 'Inter', sans-serif;
  font-size: 13px; font-weight: 700;
  opacity: 0; transform: translateX(6px);
  transition: opacity .18s .08s, transform .18s .08s;
  padding-right: 14px; line-height: 1.3;
  pointer-events: none;
  white-space: nowrap;
}
.coffee-tab-label span { display: block; font-size: 13px; font-weight: 700; opacity: 1; margin-top: 3px; }
.coffee-tab-btn:hover .coffee-tab-label { opacity: 1; transform: translateX(0); }

/* ── UPI QR MODAL ───────────────────────────────────── */
.upi-modal-overlay {
  display: none;
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(0,0,0,.65);
  backdrop-filter: blur(6px);
  align-items: center; justify-content: center;
}
.upi-modal-overlay.open { display: flex; }
.upi-modal {
  background: #fff;
  border-radius: 20px;
  padding: 36px 32px 28px;
  max-width: 320px; width: 90%;
  text-align: center;
  box-shadow: 0 24px 80px rgba(0,0,0,.3);
  position: relative;
  animation: modal-pop .25s cubic-bezier(.34,1.56,.64,1);
}
@keyframes modal-pop {
  from { transform: scale(.88); opacity: 0; }
  to   { transform: scale(1);   opacity: 1; }
}
.upi-modal-close {
  position: absolute; top: 14px; right: 16px;
  background: none; border: none; cursor: pointer;
  font-size: 20px; color: #aaa; line-height: 1;
  transition: color .15s;
}
.upi-modal-close:hover { color: #333; }
.upi-modal-emoji { font-size: 36px; margin-bottom: 10px; }
.upi-modal h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem; color: #111; margin-bottom: 6px;
}
.upi-modal-msg {
  font-size: .85rem; color: #777; margin-bottom: 20px; line-height: 1.55;
}
.upi-modal-qr {
  width: 180px; height: 180px;
  border-radius: 12px; margin: 0 auto 16px;
  display: block;
  border: 3px solid #f0f0f0;
}
.upi-modal-id {
  font-size: .78rem; color: #aaa; margin-bottom: 18px;
  letter-spacing: .3px;
}
.upi-modal-id strong { color: #555; }
.upi-modal-cta {
  display: block; width: 100%;
  padding: 13px;
  background: #1a1a1a; color: #fff;
  border-radius: 10px;
  font-size: .9rem; font-weight: 600;
  text-decoration: none !important;
  transition: background .2s;
}
.upi-modal-cta:hover { background: #000; }
.upi-modal-note {
  font-size: .72rem; color: #bbb; margin-top: 10px;
}

/* mobile — tab stays, modal fills screen */
@media (max-width: 640px) {
  .upi-modal { max-width: 92vw; padding: 28px 22px 22px; }
  .upi-modal-qr { width: 160px; height: 160px; }
}

/* ── EMAIL SIGNUP ───────────────────────────────────── */
.email-section {
  background: #111;
  padding: 56px 24px;
  text-align: center;
  border-top: 1px solid #1e1e1e;
}
.email-section h2 { color: #fff; font-size: clamp(1.35rem, 2.6vw, 1.9rem); margin-bottom: 10px; }
.email-section p { color: rgba(255,255,255,.5); margin: 0 auto 28px; max-width: 460px; font-size: .93rem; }
.email-form {
  display: flex; gap: 10px; max-width: 440px; margin: 0 auto;
  flex-wrap: wrap; justify-content: center;
}
.email-form input[type="email"] {
  flex: 1; min-width: 200px;
  padding: 12px 16px;
  border-radius: var(--radius);
  border: 1.5px solid rgba(255,255,255,.15);
  background: rgba(255,255,255,.06);
  color: #fff; font-size: .93rem; outline: none;
  transition: border-color .2s;
}
.email-form input[type="email"]::placeholder { color: rgba(255,255,255,.3); }
.email-form input[type="email"]:focus { border-color: var(--accent); }
.email-form button {
  padding: 12px 22px;
  background: var(--accent); color: #fff;
  border: none; border-radius: var(--radius);
  font-size: .93rem; font-weight: 600; cursor: pointer;
  transition: background .2s, transform .15s;
}
.email-form button:hover { background: #aa0000; transform: translateY(-1px); }
.email-note { font-size: .75rem; color: rgba(255,255,255,.25); margin-top: 12px; }
