/* Fonts are stored in fonts/ (no connection to Google needed) */
@font-face {
  font-family: "Fredoka";
  src: url("fonts/fredoka.woff2") format("woff2");
  font-weight: 300 700;
  font-display: swap;
}
@font-face {
  font-family: "Nunito";
  src: url("fonts/nunito.woff2") format("woff2");
  font-weight: 200 1000;
  font-display: swap;
}

:root {
  --cream: #fdf7f1;      /* same as the logo background */
  --white: #fffdfb;
  --blush: #ffe8ee;
  --mat: #ffd9e2;        /* pink Go mat, like in the logo */
  --mat-line: #f3b3c4;
  --grid-line: rgba(255, 255, 255, 0.55);
  --pink: #f48aa7;
  --pink-strong: #cc3d6e;
  --pink-dark: #a92d58;
  --peach: #ffeadf;
  --lilac: #f1e7fb;
  --mint: #e2f4ea;
  --ink: #393643;        /* the stone colour in the logo */
  --text: #3b2f38;
  --muted: #7b6872;
  --radius: 26px;
  --shadow: 0 12px 30px rgba(204, 61, 110, 0.13);
}

* { box-sizing: border-box; }

[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Nunito", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--cream);
}

h1, h2, h3, .logo, .footer-logo {
  font-family: "Fredoka", "Nunito", sans-serif;
  font-weight: 600;
  line-height: 1.15;
  color: var(--ink);
}

a { color: inherit; }

.container {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Full-width sections with straight edges */
main > section:not(.hero) {
  position: relative;
  padding: 80px 0 88px;
}
main > section h2 {
  font-size: clamp(2rem, 5vw, 2.7rem);
  margin: 0 0 8px;
}
.lead { font-size: 1.15rem; max-width: 62ch; }

/* ---------- Go stones ---------- */
.stone {
  display: inline-block;
  width: 1em;
  height: 1em;
  border-radius: 50%;
  flex-shrink: 0;
}
.stone-black { background: radial-gradient(circle at 34% 28%, #6b6575, var(--ink) 55%); }
.stone-white {
  background: radial-gradient(circle at 34% 28%, #fff, #f6ecee 70%);
  box-shadow: inset 0 0 0 1px rgba(169, 45, 88, 0.15);
}

/* ---------- Pride flag ---------- */
/* Go stone with the rainbow pride flag */
.stone-pride {
  position: relative;
  background: linear-gradient(#e40303 0 16.67%, #ff8c00 0 33.33%, #ffed00 0 50%,
                              #008026 0 66.67%, #24408e 0 83.33%, #732982 0);
}
.stone-pride::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 28%, rgba(255, 255, 255, 0.55), transparent 45%);
  box-shadow: inset 0 -3px 5px rgba(57, 54, 67, 0.25);
}

/* ---------- Top bar ---------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 20px;
  background: rgba(253, 247, 241, 0.9);
  backdrop-filter: blur(10px);
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.4rem;
  text-decoration: none;
}
.logo img { border-radius: 50%; }

nav { display: flex; align-items: center; gap: 20px; }

.lang-switch {
  display: flex;
  border-radius: 999px;
  padding: 3px;
  background: var(--blush);
}
.lang-switch button {
  border: 0;
  background: none;
  font: inherit;
  font-size: 0.85rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 999px;
  color: var(--pink-dark);
  cursor: pointer;
}
.lang-switch button[aria-pressed="true"] { background: var(--pink-strong); color: #fff; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  max-width: 1160px;
  margin: 0 auto;
  padding: 24px 20px 100px;
  align-items: center;
  overflow-x: clip; /* the glow below is wider than the screen; no sideways scrolling */
}
.hero::before {
  /* soft pink glow behind everything */
  content: "";
  position: absolute;
  inset: -80px -20vw 0;
  z-index: -1;
  background:
    radial-gradient(40% 50% at 15% 30%, #ffe0e8, transparent 70%),
    radial-gradient(35% 45% at 85% 60%, #ffe6dc, transparent 70%);
}
.hero-text { text-align: center; }
.eyebrow {
  margin: 0 0 4px;
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--pink-strong);
}
.eyebrow-lang { display: block; }
@media (max-width: 359px) {
  .eyebrow { font-size: 0.78rem; letter-spacing: 0.04em; }
}
.hero h1 {
  margin: 0;
  font-size: clamp(2.8rem, 10vw, 4.9rem);
  font-weight: 700;
  letter-spacing: -0.01em;
}
.hero h1 .asterisk { color: var(--pink); }
.tagline {
  font-size: 1.25rem;
  color: var(--muted);
  margin: 10px auto 0;
  max-width: 26ch;
}

.hero-photo {
  position: relative;
  margin: 0 auto;
  max-width: 620px;
  padding: 12px 12px 34px;
  background: var(--white);
  border-radius: 18px;
  box-shadow: var(--shadow);
  transform: rotate(1.5deg);
}
.hero-photo img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
}

@media (min-width: 900px) {
  .hero {
    grid-template-columns: 0.85fr 1.15fr;
    gap: 56px;
    padding: 48px 32px 120px;
  }
  .hero-text { text-align: left; }
  .tagline { margin-left: 0; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 11px 22px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.95rem;
  text-decoration: none;
  text-align: center;
  transition: background 0.15s, transform 0.15s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--pink-strong); color: #fff; box-shadow: 0 6px 14px rgba(204, 61, 110, 0.28); }
.btn-primary:hover { background: var(--pink-dark); }
.btn-ghost { background: var(--blush); color: var(--pink-dark); }
.btn-ghost:hover { background: #ffd9e3; }
.btn-light { background: #fff; color: var(--pink-dark); }

/* ---------- Dates (pink Go mat) ---------- */
.dates {
  overflow: hidden;
  background-color: var(--mat);
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 44px 44px;
  background-position: 50% 0;
}
main > section.dates { padding-top: 120px; }
.dates .container { position: relative; z-index: 1; }

/* Stones sit on the grid lines: --x counts lines from the centre, --y from the top */
.board-stones { position: absolute; inset: 0; pointer-events: none; }
.board-stones .stone {
  position: absolute;
  width: 36px;
  height: 36px;
  left: calc(50% - 22px + var(--x) * 44px);
  top: calc(var(--y) * 44px);
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 4px 3px rgba(169, 45, 88, 0.25));
}

.event-list { display: grid; gap: 18px; margin-top: 24px; }

.event-card {
  display: flex;
  gap: 20px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}
.event-card.is-next { box-shadow: 0 0 0 3px var(--pink), var(--shadow); }

.event-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 80px;
  height: 94px;
  border-radius: 20px;
  background: var(--pink-strong);
  color: #fff;
  text-transform: uppercase;
}
.event-weekday, .event-month { font-size: 0.75rem; font-weight: 800; letter-spacing: 0.08em; }
.event-day { font-family: "Fredoka", sans-serif; font-size: 2.2rem; font-weight: 600; line-height: 1; }

.event-body { flex: 1; min-width: 0; }
.event-body h3 { margin: 0 0 4px; font-size: 1.5rem; }
.event-meta { margin: 0; color: var(--muted); }
.badge {
  display: inline-block;
  margin-bottom: 6px;
  padding: 2px 12px;
  border-radius: 999px;
  background: var(--blush);
  color: var(--pink-strong);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.event-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }

.email-signup {
  margin: 0;
  padding: 14px 20px;
  border-radius: var(--radius);
  background: rgba(255, 253, 251, 0.8);
  color: var(--text);
  font-weight: 700;
  text-align: center;
}
.email-link { font-weight: 800; color: var(--pink-strong); overflow-wrap: anywhere; }
.footer .email-link { color: #fff; }

.event-empty {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}
.event-empty p { margin: 0; }

.date-box {
  margin-top: 20px;
  background: rgba(255, 253, 251, 0.8);
  border-radius: var(--radius);
  padding: 22px;
}
.date-box h3 { margin: 0 0 10px; font-size: 1.3rem; }
.date-list { list-style: none; margin: 0; padding: 0; }
.date-list li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 16px;
  padding: 10px 0;
  border-top: 1.5px dashed var(--mat-line);
}
.date-list li:first-child { border-top: 0; }
.list-date { font-weight: 800; color: var(--ink); min-width: 13em; }
.list-details { flex: 1; color: var(--muted); }
.list-links { display: flex; gap: 16px; flex-wrap: wrap; }
.date-list a { font-weight: 800; color: var(--pink-strong); text-decoration: none; }
.date-list a:hover { text-decoration: underline; }

/* ---------- Location ---------- */
.location { background: var(--peach); }
.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 24px;
}
.map-preview {
  min-height: 280px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--white);
}
.map-preview iframe { width: 100%; height: 100%; min-height: 280px; border: 0; display: block; }
.location-card {
  display: flex;
  gap: 24px;
  align-items: flex-start;

  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  height: 100%;
}
.pin {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--blush);
}
.pin svg { width: 30px; height: 40px; fill: var(--pink-strong); }
.location-body h3 { margin: 0; font-size: 1.45rem; }
.address { margin: 2px 0 10px; font-weight: 800; color: var(--pink-strong); }
.location-body p:not(.address) { margin: 0 0 6px; color: var(--muted); }
.location-body .btn { margin-top: 12px; }

/* ---------- About ---------- */
.about { background: var(--cream); }
main > section.about { padding-top: 72px; }

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}
.info-card {
  background: var(--white);
  border-radius: var(--radius);
  border-top: 6px solid var(--tint);
  padding: 24px;
  box-shadow: 0 8px 22px rgba(204, 61, 110, 0.12);
}
.tint-pink { --tint: #f8b3c5; }
.tint-peach { --tint: #ffc8ad; }
.tint-lilac { --tint: #d3bcf0; }
.tint-mint { --tint: #a6dcc0; }
.info-card .stone { display: block; font-size: 1.7rem; box-shadow: 0 4px 8px rgba(57, 54, 67, 0.15); }
.info-card h3 { margin: 12px 0 6px; font-size: 1.25rem; }
.info-card p { margin: 0; color: var(--muted); }


/* ---------- What is Go? ---------- */
.go { background: var(--lilac); }

.go-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  margin-top: 32px;
}
.go-step {
  margin: 0;
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 10px 24px rgba(120, 80, 160, 0.1);
}
.go-diagram {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 190px;
  margin-bottom: 16px;
}
.go-diagram svg { display: block; width: 100%; max-width: 190px; height: auto; }
.go-diagram-pair { gap: 8px; }
.go-diagram-pair > div { flex: 1; max-width: 125px; }
.go-arrow { font-size: 1.6rem; font-weight: 800; color: var(--pink); }
.step-num {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--pink-strong);
  color: #fff;
  font-family: "Fredoka", sans-serif;
  font-weight: 600;
}
.go-step h3 { margin: 8px 0 6px; font-size: 1.3rem; }
.go-step p { margin: 0; color: var(--muted); }

.video-block { margin-top: 40px; }
.video-block h3 { font-size: 1.5rem; margin: 0 0 14px; }
.video-frame {
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--ink);
  box-shadow: 0 10px 24px rgba(120, 80, 160, 0.15);
}
.video-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.video-load {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  position: relative;
  background: var(--ink);
  color: #fff;
  font: inherit;
  font-family: "Fredoka", sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  cursor: pointer;
}
.video-load small { font-family: "Nunito", sans-serif; font-weight: 600; font-size: 0.9rem; opacity: 0.9; }
.play-icon {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background: #fff;
  position: relative;
  box-shadow: 0 8px 20px rgba(169, 45, 88, 0.3);
  transition: transform 0.15s;
}
.play-icon::after {
  content: "";
  position: absolute;
  left: 31px;
  top: 24px;
  border-style: solid;
  border-width: 15px 0 15px 24px;
  border-color: transparent transparent transparent var(--pink-strong);
}
.video-load:hover .play-icon { transform: scale(1.08); }

/* ---------- Footer ---------- */
.footer {
  position: relative;
  background: var(--ink);
  color: #f3e3ea;
  padding: 44px 0;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-brand img { border-radius: 50%; border: 3px solid var(--pink); }
.footer p { margin: 0; }
.footer-logo { font-size: 1.6rem; color: #fff; }

/* ---------- Phones ---------- */
@media (max-width: 560px) {
  .event-card { flex-direction: column; gap: 14px; padding: 18px; }
  .event-date { flex-direction: row; gap: 8px; height: auto; padding: 8px 14px; align-self: flex-start; }
  .event-day { font-size: 1.4rem; }
  .event-actions .btn { flex: 1 1 100%; }
  .location-card { flex-direction: column; padding: 22px; }
  .date-list li { flex-direction: column; align-items: flex-start; gap: 0; }
}

/* ---------- Go Girls* Timer ad ---------- */
.timer-ad {
  display: flex;
  gap: 24px;
  align-items: center;
  margin-top: 40px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 10px 24px rgba(120, 80, 160, 0.1);
}
.timer-ad > img:first-child { flex-shrink: 0; border-radius: 24px; box-shadow: var(--shadow); }
.timer-ad-body { flex: 1; }
.ankabuti-logo { flex-shrink: 0; width: 180px; height: auto; border-radius: 20px; }
.timer-ad-eyebrow {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pink-strong);
}
.timer-ad h3 { margin: 2px 0 6px; font-size: 1.5rem; }
.timer-ad-body p:not(.timer-ad-eyebrow) { margin: 0 0 16px; color: var(--muted); max-width: 60ch; }
.timer-ad-actions { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 560px) {
  .timer-ad { flex-direction: column; align-items: flex-start; padding: 22px; }
  .ankabuti-logo { width: 130px; }
}

/* Video preview: the real thumbnail (stored on this site) with a play button */
.video-thumb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.video-load::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(57, 54, 67, 0.25);
  transition: background 0.15s;
}
.video-load:hover::before { background: rgba(57, 54, 67, 0.1); }
.video-load > span { position: relative; text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5); }
.video-load .play-icon { text-shadow: none; }
@media (max-width: 800px) {
  .location-grid { grid-template-columns: 1fr; }
}
