/* Tea Time Spins — shared styles */
:root {
  --ink: #0f2b25;          /* deep tea-garden green */
  --ink-2: #143a31;
  --ink-3: #1d4a3f;
  --line: rgba(247, 240, 227, .12);
  --cream: #f7f0e3;
  --paper: #fffaf1;
  --muted: #b9c9c2;
  --tea: #c4562f;          /* terracotta */
  --tea-dark: #a1431f;
  --brass: #e3ab3e;
  --brass-soft: #f4d48b;
  --mint: #8fd0b8;
  --text-dark: #1d2a26;
  --radius: 18px;
  --wrap: 1120px;
  --display: "Fraunces", Georgia, serif;
  --body: "Manrope", "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--ink);
  color: var(--cream);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }

/* ---------- Advertorial notice ---------- */
.notice {
  background: var(--paper);
  color: #4a524f;
  font-size: 11.5px;
  line-height: 1.5;
  border-bottom: 3px solid var(--tea);
}
.notice .wrap { display: flex; gap: 12px; align-items: flex-start; padding-top: 10px; padding-bottom: 10px; max-width: 1400px; }
.notice .age {
  flex: 0 0 auto;
  width: 26px; height: 26px; border-radius: 50%;
  border: 2px solid var(--tea); color: var(--tea);
  font-weight: 800; font-size: 10px;
  display: grid; place-items: center;
}
.notice a { color: var(--tea-dark); font-weight: 700; }

.sponsored {
  text-align: center;
  font-size: 12px;
  color: var(--muted);
  padding: 14px 0 0;
  letter-spacing: .02em;
}
.sponsored span { opacity: .5; margin: 0 8px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 60% 70% at 85% 30%, rgba(196, 86, 47, .32), transparent 70%),
    radial-gradient(ellipse 50% 60% at 5% 90%, rgba(143, 208, 184, .12), transparent 70%),
    linear-gradient(180deg, var(--ink) 0%, #12342c 100%);
  padding-bottom: 56px;
}
.hero::before {               /* subtle gingham texture, a nod to the tea table */
  content: ""; position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(0deg, rgba(247,240,227,.025) 0 22px, transparent 22px 44px),
    repeating-linear-gradient(90deg, rgba(247,240,227,.025) 0 22px, transparent 22px 44px);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 32px;
  align-items: center;
  padding-top: 40px;
}
.brand-mark { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; margin-bottom: 26px; }
.brand-mark svg { width: 44px; height: 44px; }
.brand-mark b { font-family: var(--display); font-size: 21px; font-weight: 700; letter-spacing: -.01em; }
.brand-mark b em { font-style: italic; color: var(--brass); font-weight: 600; }

.eyebrow {
  display: inline-block;
  font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  color: var(--mint);
  margin-bottom: 12px;
}
h1 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(34px, 5.2vw, 58px);
  line-height: 1.05;
  letter-spacing: -.02em;
  margin-bottom: 20px;
}
h1 em { font-style: italic; color: var(--brass); font-weight: 600; }
.lede { font-size: 18px; color: #dfe7e3; max-width: 560px; margin-bottom: 28px; }
.trust { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; }
.trust li {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 600;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(247, 240, 227, .05);
}
.trust svg { width: 18px; height: 18px; color: var(--brass); flex: 0 0 auto; }
.hero-art svg { display: block; width: 100%; height: auto; max-width: 480px; margin-left: auto; filter: drop-shadow(0 30px 40px rgba(0,0,0,.35)); }

/* ---------- Ranking list ---------- */
.list { position: relative; display: grid; gap: 34px; margin-top: 40px; }
.list-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-top: 44px; }
.list-head h2 { font-family: var(--display); font-size: 26px; font-weight: 600; }
.list-head p { font-size: 13px; color: var(--muted); }

.offer-wrap { position: relative; }
.offer {
  position: relative;
  display: grid;
  grid-template-columns: 290px 1fr 1fr 230px;
  align-items: stretch;
  background: var(--paper);
  color: var(--text-dark);
  border-radius: var(--radius);
  border: 2px solid transparent;
  box-shadow: 0 14px 34px rgba(0, 0, 0, .28);
  transition: transform .2s ease, box-shadow .2s ease;
}
.offer:hover { transform: translateY(-3px); box-shadow: 0 20px 40px rgba(0, 0, 0, .34); }
.offer.top { border-color: var(--brass); box-shadow: 0 0 0 5px rgba(227, 171, 62, .16), 0 14px 34px rgba(0, 0, 0, .28); }

.ribbon {
  position: absolute; top: -14px; left: 22px; z-index: 2;
  background: var(--tea);
  color: #fff;
  font-size: 11.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 8px;
  box-shadow: 0 6px 14px rgba(161, 67, 31, .35);
}
.offer.top .ribbon { background: linear-gradient(90deg, var(--brass), #d8902a); color: #2b1d05; }

.rank {
  position: absolute; left: -16px; top: 50%; transform: translateY(-50%);
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--ink); color: var(--brass);
  border: 2px solid var(--brass);
  font-family: var(--display); font-weight: 700; font-size: 15px;
  display: grid; place-items: center; z-index: 2;
}

.logo-cell {
  display: grid; place-items: center;
  padding: 26px 26px 22px;
  background:
    radial-gradient(circle at 30% 20%, rgba(227, 171, 62, .14), transparent 60%),
    linear-gradient(145deg, var(--ink-3), #0a1f1a);
  border-radius: calc(var(--radius) - 2px) 0 0 calc(var(--radius) - 2px);
  text-decoration: none;
}
.logo-cell img { width: 100%; max-width: 210px; height: auto; }

.bonus-cell, .score-cell, .cta-cell { display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 22px 16px; }
.bonus-cell .label { font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--tea); margin-bottom: 4px; }
.bonus-cell .amount { font-family: var(--display); font-size: 25px; font-weight: 700; line-height: 1.15; color: var(--ink); }
.bonus-cell .extra { font-size: 15px; font-weight: 700; color: var(--tea-dark); margin-top: 2px; }

.score-cell { border-left: 1px dashed #e4d8c3; border-right: 1px dashed #e4d8c3; }
.stars { color: var(--brass); font-size: 20px; letter-spacing: 2px; line-height: 1; }
.score { font-family: var(--display); font-size: 32px; font-weight: 700; color: var(--ink); line-height: 1.1; margin-top: 6px; }
.score small { font-size: 15px; color: #7b847f; font-weight: 500; }
.score-label { font-size: 12.5px; color: #6c7570; font-weight: 600; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; max-width: 190px;
  padding: 15px 18px;
  background: var(--tea);
  color: #fff;
  font-weight: 800; font-size: 15px; letter-spacing: .06em; text-transform: uppercase;
  text-decoration: none;
  border-radius: 12px;
  box-shadow: 0 6px 0 var(--tea-dark);
  transition: transform .12s ease, box-shadow .12s ease, background .2s ease;
}
.btn:hover { background: #d4643b; }
.btn:active { transform: translateY(4px); box-shadow: 0 2px 0 var(--tea-dark); }
.btn svg { width: 16px; height: 16px; }
.cta-cell .visit { margin-top: 12px; font-size: 12.5px; color: #6c7570; text-decoration: underline; text-underline-offset: 3px; }

.tc {
  font-size: 11.5px; line-height: 1.55;
  color: #a7b8b1;
  text-align: center;
  max-width: 920px;
  margin: 10px auto 0;
  padding: 0 8px;
}

/* ---------- Content ---------- */
.content { background: var(--ink-2); padding: 64px 0 56px; border-top: 1px solid var(--line); }
.content .wrap { max-width: 900px; }
.content h2 { font-family: var(--display); font-size: clamp(26px, 3.4vw, 34px); font-weight: 600; line-height: 1.2; margin-bottom: 18px; letter-spacing: -.01em; }
.content h3 { font-family: var(--display); font-size: 21px; font-weight: 600; margin: 34px 0 8px; color: var(--brass-soft); display: flex; align-items: center; gap: 12px; }
.content h3 .num { font-family: var(--body); font-size: 12px; font-weight: 800; color: var(--ink); background: var(--mint); border-radius: 999px; padding: 2px 9px; }
.content p { color: #d6e0dc; margin-bottom: 14px; }
.content p a, .page a { color: var(--brass-soft); }

.callout {
  margin-top: 40px;
  padding: 22px 24px;
  border-radius: var(--radius);
  background: rgba(196, 86, 47, .12);
  border: 1px solid rgba(196, 86, 47, .45);
}
.callout strong { color: #fff; }
.callout p { margin: 0; }

/* ---------- Footer pages ---------- */
.page-top { padding: 28px 0 0; }
.back { font-size: 14px; font-weight: 700; color: var(--muted); text-decoration: none; }
.back:hover { color: var(--cream); }
.page { padding: 26px 0 64px; }
.page .wrap { max-width: 860px; }
.page h1 { font-size: clamp(32px, 4.6vw, 46px); margin: 12px 0 6px; }
.page .updated { color: var(--muted); font-size: 14px; margin-bottom: 30px; }
.page h2 { font-family: var(--display); font-size: 22px; font-weight: 600; color: var(--brass-soft); margin: 30px 0 8px; }
.page p, .page li { color: #d6e0dc; margin-bottom: 12px; }
.page ul { padding-left: 20px; margin-bottom: 12px; }
.help-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 16px 0 8px; }
.help-card { display: block; padding: 16px 18px; border-radius: 14px; border: 1px solid var(--line); background: rgba(247,240,227,.04); text-decoration: none; }
.help-card:hover { border-color: var(--brass); }
.help-card b { display: block; color: var(--cream); }
.help-card span { font-size: 14px; color: var(--muted); }

/* ---------- Footer ---------- */
footer { background: #0a1f1a; border-top: 3px solid var(--tea); padding: 48px 0 26px; font-size: 14px; }
.foot-top { display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap; }
.badges { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: flex-end; }
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  height: 38px; padding: 0 12px;
  border: 1px solid rgba(247, 240, 227, .28);
  border-radius: 9px;
  font-size: 12.5px; font-weight: 800; letter-spacing: .03em;
  color: var(--cream); text-decoration: none;
  transition: border-color .2s ease;
}
.badge:hover { border-color: var(--brass); }
.badge.age { width: 38px; padding: 0; justify-content: center; border-radius: 50%; border: 2px solid var(--cream); font-size: 12px; }
.badge svg { width: 16px; height: 16px; color: var(--mint); }
.badge-ssl { height: 30px; width: auto; opacity: .9; }
.legal { margin-top: 34px; color: #8fa49c; font-size: 13px; line-height: 1.75; }
.legal p + p { margin-top: 10px; }
.foot-bottom { margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: #8fa49c; font-size: 13.5px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 6px 20px; list-style: none; }
.foot-links a { color: #c3d1cb; text-decoration: none; }
.foot-links a:hover { color: var(--brass); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .offer { grid-template-columns: 230px 1fr 1fr 200px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { order: -1; }
  .hero-art svg { max-width: 320px; margin: 0 auto; }
}
@media (max-width: 760px) {
  .offer { grid-template-columns: 1fr 1fr; }
  .logo-cell { grid-column: 1 / -1; border-radius: calc(var(--radius) - 2px) calc(var(--radius) - 2px) 0 0; padding: 30px 26px 22px; }
  .score-cell { border-left: 1px dashed #e4d8c3; border-right: 0; }
  .cta-cell { grid-column: 1 / -1; padding-top: 0; }
  .btn { max-width: none; }
  .rank { display: none; }
  .hero-art { order: 0; }
  .ribbon { left: 14px; }
  .help-grid { grid-template-columns: 1fr; }
  .badges { justify-content: flex-start; }
  .lede { font-size: 16.5px; }
  .hero-art svg { max-width: 220px; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
