/* DatingShip – shared styles for www and all country sites
   Colours come from the DatingShip logo and YouTube channel. */
:root {
  --bg: #0F0F14;
  --surface: #1C1B26;
  --surface-2: #23222E;
  --line: #2A2936;
  --line-2: #3A3948;
  --text: #F2F1F6;
  --text-2: #B9B7C6;
  --text-3: #9C9AAB;
  --navy: #38344D;      /* logo circle */
  --red: #E5221A;       /* logo heart / YouTube red */
  --red-text: #FF6B63;  /* red that is readable on dark */
  --radius: 16px;
  --max: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Poppins, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: var(--red-text); }
a:hover { color: #FF8C86; }
h1, h2, h3 { line-height: 1.15; margin: 0; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 50; background: #fff; color: #000; padding: 10px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid #FFD27A; outline-offset: 3px; }

/* ---------- Header (translucent, sits on top of the hero) ---------- */
.site-header {
  position: absolute; top: 0; left: 0; right: 0; z-index: 20;
  background: rgba(15, 15, 20, 0.55);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.site-header .wrap { display: flex; align-items: center; gap: 12px 28px; padding-top: 12px; padding-bottom: 12px; }
.brand { display: flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; font-size: 22px; font-weight: 700; }
.brand:hover { color: #fff; }
.logo { border-radius: 50%; border: 2px solid #fff; width: 52px; height: 52px; }
.main-nav { display: flex; gap: 4px 22px; font-size: 15px; font-weight: 500; flex-grow: 1; }
.main-nav a { color: #E4E2EC; text-decoration: none; padding: 8px 0; }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: #fff; }
.main-nav a[aria-current="page"] { border-bottom: 2px solid #fff; }
.header-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }

/* Country picker – shows initials only */
.geo { position: relative; }
.geo summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; gap: 6px;
  min-height: 44px; padding: 0 12px; border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.25); background: rgba(28, 27, 38, 0.7);
  font-size: 14px; font-weight: 600; color: #fff;
}
.geo summary::-webkit-details-marker { display: none; }
.geo summary svg { flex-shrink: 0; }
.geo ul {
  position: absolute; right: 0; top: calc(100% + 6px); margin: 0; padding: 6px; list-style: none;
  background: var(--surface); border: 1px solid var(--line-2); border-radius: 10px; min-width: 110px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
}
.geo li a { display: block; padding: 10px 12px; border-radius: 6px; color: var(--text); text-decoration: none; font-size: 14px; font-weight: 600; }
.geo li a:hover { background: var(--surface-2); }
.geo li a[aria-current="true"] { color: var(--red-text); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 12px 24px; border-radius: 999px;
  font-family: inherit; font-size: 16px; font-weight: 600; line-height: 1.2;
  text-decoration: none; border: 0; cursor: pointer;
}
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: #C81E17; color: #fff; }
.btn-white { background: #fff; color: var(--bg); }
.btn-white:hover { background: #E4E2EC; color: var(--bg); }
.btn-ghost { background: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, 0.35); padding: 11px 18px; font-size: 15px; font-weight: 500; }
.btn-ghost:hover { color: #fff; border-color: #fff; }

/* ---------- Hero ---------- */
.hero-img { width: 100%; height: 580px; object-fit: cover; object-position: 50% 55%; }
.hero-body { position: relative; margin-top: -150px; display: flex; flex-wrap: wrap-reverse; align-items: flex-end; gap: 32px 48px; }
.hero-copy { flex: 1 1 420px; display: flex; flex-direction: column; gap: 16px; padding-top: 170px; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--red-text); }
.hero-copy h1 { font-size: 50px; font-weight: 800; line-height: 1.08; }
.lead { margin: 0; font-size: 18px; color: var(--text-2); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 4px; }
.hero-video { flex: 1 1 500px; max-width: 560px; display: flex; flex-direction: column; gap: 10px; }
.hero-video .video { border: 4px solid var(--bg); border-radius: 18px; box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55); }
.hero-video .caption { font-size: 15px; font-weight: 600; }

/* Click-to-play YouTube (nothing loads from YouTube until clicked) */
.video { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 12px; background: var(--surface-2); padding: 0; border: 0; cursor: pointer; color: inherit; text-decoration: none; }
.video img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.video .play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); transition: transform 0.15s; }
.video.play-corner .play { left: 18px; top: 18px; transform: none; }
.video:hover .play { transform: translate(-50%, -50%) scale(1.08); }
.video.play-corner:hover .play { transform: scale(1.08); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- Sections ---------- */
.section { padding-top: 72px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.section h2 { font-size: 26px; font-weight: 700; }
.section .intro { margin: 8px 0 22px; color: var(--text-2); max-width: 720px; }

.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; gap: 10px; }
.card h3 { font-size: 20px; font-weight: 700; }
.card p { margin: 0; font-size: 15px; color: var(--text-2); }
.card .num { width: 40px; height: 40px; border-radius: 50%; background: var(--red); color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center; }

.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 26px; }
.video-card { display: flex; flex-direction: column; gap: 10px; }
.video-card .cat { font-size: 12px; font-weight: 600; color: var(--red-text); text-transform: uppercase; letter-spacing: 0.08em; }
.video-card h3 { font-size: 17px; font-weight: 600; line-height: 1.35; }
.video-card p { margin: 0; font-size: 14px; color: var(--text-3); }
.channel-card { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 14px; aspect-ratio: 16 / 9; padding: 26px; border-radius: 12px; background: var(--surface); border: 1px dashed var(--line-2); }
.channel-card p { margin: 0; color: var(--text-2); }

.panel { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 20px 28px; }
.panel .logo { width: 88px; height: 88px; border-width: 3px; }
.panel .grow { flex: 1 1 360px; }
.panel h2 { font-size: 24px; }
.panel p { margin: 4px 0 0; color: var(--text-2); }

/* Prices (country pages) */
.prices { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.price { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 4px; }
.price.best { border-color: var(--red); }
.price .term { font-size: 14px; font-weight: 600; color: var(--text-2); }
.price .amount { font-size: 30px; font-weight: 800; }
.price .per { font-size: 14px; color: var(--text-3); }
.small { font-size: 14px; color: var(--text-3); }

/* Footer */
.site-footer { padding: 56px 0 40px; }
.site-footer .wrap > div { border-top: 1px solid var(--line); padding-top: 28px; display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; font-size: 14px; color: var(--text-3); }
.site-footer a { color: var(--text-2); }
.site-footer .brand { font-size: 16px; }
.site-footer .logo { width: 32px; height: 32px; border-width: 1.5px; }

/* ---------- Phones and small tablets ---------- */
@media (max-width: 760px) {
  .main-nav { display: none; }
  .brand span { font-size: 19px; }
  .logo { width: 44px; height: 44px; }
  .hero-img { height: 400px; }
  .hero-body { margin-top: -60px; }
  .hero-copy { padding-top: 0; }
  .hero-copy h1 { font-size: 36px; }
  .hero-video { max-width: none; }
  .btn-ghost.login { padding: 10px 14px; }
}
@media (max-width: 420px) {
  .brand span { display: none; }
}
