/* Tomibee coming-soon page styles */
:root {
  /* Brand palette (Tomibee marka taslağı) */
  --honey: #FFC857;
  --amber: #A86F00;
  --sky: #E3F4FB;
  --ink: #2B2A4C;
  /* Derived */
  --night: #17162B;
  --night-2: #201F3A;
  --text: var(--sky);
  --text-muted: rgba(227, 244, 251, 0.72);
  --text-faint: rgba(227, 244, 251, 0.45);
  --line: rgba(227, 244, 251, 0.12);
  --honey-glow: rgba(255, 200, 87, 0.45);

  --font-display: "Baloo 2", system-ui, sans-serif;
  --font-body: "Quicksand", system-ui, sans-serif;

  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
  --gutter: clamp(16px, 4vw, 48px);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; overflow-x: clip; }
body {
  min-height: 100dvh;
  background:
    radial-gradient(120% 80% at 50% 35%, var(--ink) 0%, var(--night-2) 45%, var(--night) 100%);
  background-color: var(--night);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--honey); outline-offset: 4px; border-radius: 8px; }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--honey); color: var(--ink); padding: 10px 16px; border-radius: 10px;
  font-weight: 700; text-decoration: none; transition: top .2s var(--ease-out);
}
.skip:focus { top: 16px; }

/* ---------- Atmosphere ---------- */
.fx { position: fixed; inset: 0; pointer-events: none; }
.fx--hex {
  z-index: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='97' viewBox='0 0 56 97'%3E%3Cpath d='M28 0 L56 16 L56 48.5 L28 64.5 L0 48.5 L0 16 Z M28 64.5 L28 97' fill='none' stroke='%23FFC857' stroke-width='1'/%3E%3C/svg%3E");
  background-size: 56px 97px;
  opacity: .05;
}
.fx--spot {
  z-index: 1;
  background-image: inherit;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='97' viewBox='0 0 56 97'%3E%3Cpath d='M28 0 L56 16 L56 48.5 L28 64.5 L0 48.5 L0 16 Z M28 64.5 L28 97' fill='none' stroke='%23FFC857' stroke-width='1.2'/%3E%3C/svg%3E");
  background-size: 56px 97px;
  opacity: .5;
  --mx: 50%; --my: 40%;
  -webkit-mask-image: radial-gradient(260px circle at var(--mx) var(--my), #000 0%, rgba(0,0,0,.35) 40%, transparent 72%);
          mask-image: radial-gradient(260px circle at var(--mx) var(--my), #000 0%, rgba(0,0,0,.35) 40%, transparent 72%);
}
.fx--glow {
  z-index: 1;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 40%), rgba(255, 200, 87, .10), transparent 70%);
}
.fx--vignette {
  z-index: 2;
  background: radial-gradient(ellipse at center, transparent 45%, rgba(10, 9, 24, .75) 100%);
}
#pollen { position: fixed; inset: 0; z-index: 2; pointer-events: none; width: 100%; height: 100%; }

.trail { position: fixed; inset: 0; z-index: 3; pointer-events: none; width: 100%; height: 100%; }
.trail path.dots { fill: none; stroke: var(--honey); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 0 14; opacity: .55; }
.trail mask path { fill: none; stroke: #fff; stroke-width: 10; stroke-linecap: round; }
.trail .bz {
  font-family: var(--font-display); font-weight: 800; font-size: 20px; fill: var(--honey);
  opacity: 0; letter-spacing: .02em;
}

/* ---------- Layout ---------- */
.page { position: relative; z-index: 5; min-height: 100dvh; display: flex; flex-direction: column; }

header.top {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px var(--gutter);
}
.code {
  font-family: var(--font-body); font-weight: 700; font-size: 12px; letter-spacing: .22em;
  text-transform: uppercase; color: var(--text-faint);
  display: inline-flex; align-items: center; gap: 10px;
}
.code .pulse {
  width: 8px; height: 8px; border-radius: 50%; background: var(--honey);
  box-shadow: 0 0 0 0 var(--honey-glow); animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255,200,87,.55); }
  70% { box-shadow: 0 0 0 12px rgba(255,200,87,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,200,87,0); }
}

.lang {
  display: inline-flex; padding: 4px; gap: 2px; border-radius: 999px;
  background: rgba(227, 244, 251, .06); border: 1px solid var(--line);
  backdrop-filter: blur(8px);
}
.lang a {
  display: inline-grid; place-items: center; text-decoration: none;
  min-width: 44px; min-height: 36px; padding: 0 10px; border: 0; border-radius: 999px;
  background: transparent; cursor: pointer; font-weight: 700; font-size: 13px; letter-spacing: .08em;
  color: var(--text-muted); transition: background .2s var(--ease-out), color .2s var(--ease-out);
  touch-action: manipulation;
}
.lang a:hover { color: var(--text); background: rgba(227, 244, 251, .08); }
.lang a[aria-current="page"] { background: var(--honey); color: var(--ink); }

main { flex: 1; display: flex; flex-direction: column; align-items: center; padding: 0 var(--gutter); }

.hero {
  flex: 1; width: 100%; max-width: 1200px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: clamp(32px, 8vh, 96px) 0 clamp(24px, 6vh, 64px);
  position: relative;
}

.eyebrow {
  font-weight: 600; font-size: clamp(14px, 1.6vw, 17px); color: var(--text-muted);
  letter-spacing: .04em; margin: 0 0 clamp(8px, 2vh, 20px);
  display: inline-flex; align-items: center; gap: 12px;
}
.eyebrow::before, .eyebrow::after {
  content: ""; width: 28px; height: 1px; background: linear-gradient(90deg, transparent, var(--honey));
}
.eyebrow::after { transform: scaleX(-1); }
.typing::after {
  content: "▍"; color: var(--honey); margin-left: 2px; animation: caret 1s steps(2) infinite;
}
@keyframes caret { 50% { opacity: 0; } }

/* ---------- Wordmark: honey-filled letters ---------- */
.mark-wrap { position: relative; display: inline-block; }
.mark {
  position: relative; display: inline-flex; margin: 0; cursor: pointer;
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(68px, 17vw, 230px); line-height: 1; letter-spacing: -0.02em;
  user-select: none; -webkit-tap-highlight-color: transparent;
  padding: .08em .1em 0;
  border-radius: 24px;
}
.mark .l {
  position: relative; display: inline-block;
  transition: transform .5s var(--ease-spring);
  transition-delay: calc(var(--i) * 35ms);
}
/* Opaque fill + shadow ring = clean outline (text-stroke shows overlapping glyph contours) */
.mark .l .o {
  --ow: 2px; --oc: rgba(255, 200, 87, .42);
  color: #262543;
  text-shadow:
    var(--ow) 0 0 var(--oc), calc(var(--ow) * -1) 0 0 var(--oc),
    0 var(--ow) 0 var(--oc), 0 calc(var(--ow) * -1) 0 var(--oc),
    1.4px 1.4px 0 var(--oc), -1.4px 1.4px 0 var(--oc),
    1.4px -1.4px 0 var(--oc), -1.4px -1.4px 0 var(--oc),
    0 0 28px rgba(255, 200, 87, .12);
}
.mark .l .h {
  position: absolute; inset: 0;
  color: transparent;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='800' viewBox='0 0 200 800' preserveAspectRatio='none'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%23FFE29A'/%3E%3Cstop offset='.06' stop-color='%23FFC857'/%3E%3Cstop offset='.55' stop-color='%23F0AE2E'/%3E%3Cstop offset='1' stop-color='%23A86F00'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M0 22 C 25 4, 75 4, 100 22 S 175 40, 200 22 V800 H0 Z' fill='url(%23g)'/%3E%3Cpath d='M0 26 C 25 8, 75 8, 100 26 S 175 44, 200 26' fill='none' stroke='%23FFF3CF' stroke-width='5' opacity='.85'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
  background-size: .62em 4.6em;
  background-position-x: 0;
  background-position-y: var(--lvl, .55em);
  -webkit-background-clip: text; background-clip: text;
  animation: wave var(--wd, 3.2s) linear infinite;
  transition: background-position-y 1.1s var(--ease-out), filter .6s var(--ease-out);
  transition-delay: calc(var(--i) * 70ms);
}
@keyframes wave { to { background-position-x: .62em; } }

.mark:hover .l .h, .mark:focus-visible .l .h, .mark.is-lit .l .h {
  background-position-y: -.2em;
  filter: drop-shadow(0 0 18px rgba(255, 200, 87, .55));
}
.mark:hover .l, .mark:focus-visible .l, .mark.is-lit .l { transform: translateY(-.04em); }
.mark:hover .l:nth-child(even), .mark:focus-visible .l:nth-child(even), .mark.is-lit .l:nth-child(even) { transform: translateY(.02em); }
.mark .accent .o { --oc: rgba(255, 200, 87, .62); }

/* Coming-soon stamp revealed on hover */
.stamp {
  position: absolute; left: 50%; top: 100%;
  transform: translate(-50%, -30%) rotate(-4deg) scale(.6);
  opacity: 0; pointer-events: none;
  font-family: var(--font-display); font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  font-size: clamp(14px, 2vw, 22px); color: var(--ink);
  background: var(--honey); padding: .3em 1em .2em; border-radius: 12px;
  box-shadow: 0 10px 40px rgba(255, 200, 87, .35), inset 0 -3px 0 rgba(168, 111, 0, .45);
  transition: opacity .3s var(--ease-out), transform .55s var(--ease-spring);
  white-space: nowrap;
}
.mark-wrap:hover .stamp, .mark:focus-visible ~ .stamp, .mark.is-lit ~ .stamp {
  opacity: 1; transform: translate(-50%, -10%) rotate(-4deg) scale(1);
}

/* Orbiting circular text */
.orbit {
  position: absolute; right: -2%; top: -18%;
  width: clamp(92px, 13vw, 150px); aspect-ratio: 1;
  pointer-events: none;
}
.orbit svg { width: 100%; height: 100%; animation: spin 18s linear infinite; overflow: visible; }
.orbit text {
  font-family: var(--font-body); font-weight: 700; font-size: 10.5px; letter-spacing: .18em;
  fill: var(--honey); text-transform: uppercase;
}
.orbit .core {
  position: absolute; inset: 34%; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #FFE29A, var(--honey) 45%, var(--amber));
  box-shadow: 0 0 30px var(--honey-glow);
  animation: breathe 3.6s ease-in-out infinite;
}
.mark-wrap:hover .orbit svg { animation-duration: 6s; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes breathe { 50% { transform: scale(.82); box-shadow: 0 0 12px var(--honey-glow); } }

.tagline {
  margin: clamp(40px, 7vh, 72px) 0 0;
  font-size: clamp(17px, 2.1vw, 22px); font-weight: 500; color: var(--text-muted);
  max-width: 34ch;
}
.tagline b { color: var(--text); font-weight: 700; }

.subline { margin: 10px 0 0; font-size: 15px; font-weight: 600; letter-spacing: .04em; color: var(--text-faint); max-width: 40ch; }

/* Hover-flip pill: Yakında <-> Coming soon */
.flip {
  margin-top: 28px; position: relative; display: inline-grid; place-items: center;
  min-height: 52px; padding: 0 28px; border-radius: 999px; cursor: default;
  border: 1px solid rgba(255, 200, 87, .45);
  background: linear-gradient(180deg, rgba(255,200,87,.12), rgba(255,200,87,.04));
  perspective: 600px; overflow: hidden;
  font-family: var(--font-display); font-weight: 700; font-size: 18px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--honey);
  transition: border-color .25s var(--ease-out), box-shadow .25s var(--ease-out);
}
.flip span {
  grid-area: 1 / 1; display: inline-flex; align-items: center; gap: 10px;
  transition: transform .45s var(--ease-out), opacity .3s var(--ease-out);
  backface-visibility: hidden;
}
.flip .back { transform: translateY(110%) rotateX(-70deg); opacity: 0; color: var(--sky); }
.flip:hover, .flip:focus-visible, .flip.is-on { border-color: var(--honey); box-shadow: 0 0 36px rgba(255,200,87,.25); }
.flip:hover .front, .flip:focus-visible .front, .flip.is-on .front { transform: translateY(-110%) rotateX(70deg); opacity: 0; }
.flip:hover .back, .flip:focus-visible .back, .flip.is-on .back { transform: none; opacity: 1; }
.flip svg { width: 18px; height: 18px; flex: none; }

/* ---------- Clue cells ---------- */
.clues {
  width: 100%; max-width: 1080px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
  padding: 8px 0 clamp(48px, 9vh, 96px);
}
.clues h2 {
  grid-column: 1 / -1; margin: 0 0 8px; text-align: center;
  font-size: 12px; font-weight: 700; letter-spacing: .3em; text-transform: uppercase; color: var(--text-faint);
}
.cell {
  position: relative; overflow: hidden; text-align: left;
  min-height: 196px; padding: 24px 24px 60px; border-radius: 24px;
  border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(227,244,251,.06), rgba(227,244,251,.015));
  cursor: pointer; outline-offset: 4px;
  transition: border-color .3s var(--ease-out), transform .3s var(--ease-out), background .3s var(--ease-out);
  -webkit-tap-highlight-color: transparent;
}
.cell::before { /* honeycomb corner */
  content: ""; position: absolute; right: -30px; top: -30px; width: 140px; height: 140px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='48.5' viewBox='0 0 56 97'%3E%3Cpath d='M28 0 L56 16 L56 48.5 L28 64.5 L0 48.5 L0 16 Z M28 64.5 L28 97' fill='none' stroke='%23FFC857' stroke-width='2'/%3E%3C/svg%3E");
  background-size: 28px 48.5px; opacity: .14;
  -webkit-mask-image: radial-gradient(circle at 70% 30%, #000, transparent 70%);
          mask-image: radial-gradient(circle at 70% 30%, #000, transparent 70%);
  transition: opacity .3s var(--ease-out);
}
.cell .num {
  font-family: var(--font-display); font-weight: 800; font-size: 15px; color: var(--honey);
  letter-spacing: .1em;
}
.cell h3 {
  margin: 10px 0 8px; font-family: var(--font-display); font-weight: 700; font-size: 24px; line-height: 1.2;
  color: var(--text);
}
.cell p {
  margin: 0; font-size: 15.5px; color: var(--text-muted); line-height: 1.55;
  filter: blur(5px); opacity: .7;
  transition: filter .5s var(--ease-out), opacity .5s var(--ease-out);
}
.cell .veil {
  position: absolute; left: 24px; bottom: 20px;
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--text-faint);
  transition: opacity .3s var(--ease-out), transform .3s var(--ease-out);
}
.cell .veil svg { width: 14px; height: 14px; }
.cell .soon {
  position: absolute; right: 18px; bottom: 16px;
  font-family: var(--font-display); font-weight: 800; font-size: 14px; letter-spacing: .14em; text-transform: uppercase;
  background: var(--honey); color: var(--ink); padding: 6px 14px 4px; border-radius: 999px;
  opacity: 0; transform: translateY(12px) scale(.9);
  transition: opacity .3s var(--ease-out), transform .45s var(--ease-spring);
}
.cell .scan {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, transparent 0%, rgba(255,200,87,.16) 48%, rgba(255,200,87,.0) 52%, transparent 100%);
  transform: translateY(-100%); opacity: 0;
}
.cell:hover, .cell:focus-visible, .cell.is-open {
  border-color: rgba(255, 200, 87, .5); transform: translateY(-4px);
  background: linear-gradient(160deg, rgba(255,200,87,.10), rgba(227,244,251,.02));
}
.cell:hover::before, .cell:focus-visible::before, .cell.is-open::before { opacity: .35; }
.cell:hover p, .cell:focus-visible p, .cell.is-open p { filter: blur(0); opacity: 1; }
.cell:hover .veil, .cell:focus-visible .veil, .cell.is-open .veil { opacity: 0; transform: translateY(8px); }
.cell:hover .soon, .cell:focus-visible .soon, .cell.is-open .soon { opacity: 1; transform: none; }
.cell:hover .scan, .cell:focus-visible .scan, .cell.is-open .scan { animation: scan .9s var(--ease-out) 1; }
@keyframes scan { 0% { transform: translateY(-100%); opacity: 1; } 100% { transform: translateY(100%); opacity: 0; } }

/* ---------- Multilingual marquee tape ---------- */
.tape {
  position: relative; width: 100vw; overflow: hidden;
  background: var(--honey); color: var(--ink);
  transform: rotate(-2deg); margin: 0 0 56px;
  box-shadow: 0 12px 40px rgba(255, 200, 87, .18);
  border-top: 2px solid #FFE29A; border-bottom: 2px solid var(--amber);
}
.tape__track {
  display: flex; width: max-content; animation: marquee 32s linear infinite;
}
.tape:hover .tape__track { animation-play-state: paused; }
.tape__group { display: flex; flex: none; }
.tape__item {
  display: inline-flex; align-items: center; gap: 22px; padding: 14px 22px;
  font-family: var(--font-display); font-weight: 800; font-size: clamp(18px, 2.4vw, 26px);
  letter-spacing: .06em; text-transform: uppercase; white-space: nowrap;
  transition: color .2s var(--ease-out);
  opacity: .78;
}
.tape__item.is-current { opacity: 1; }
.tape__item:hover { color: var(--amber); opacity: 1; }
.tape__item svg { width: 18px; height: 20px; flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

footer {
  position: relative; z-index: 5;
  display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; justify-content: space-between;
  padding: 20px var(--gutter) 28px; font-size: 13px; color: var(--text-faint);
  border-top: 1px solid var(--line);
}

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* Entrance */
.reveal { opacity: 0; transform: translateY(16px); animation: rise .9s var(--ease-out) forwards; animation-delay: var(--d, 0s); }
@keyframes rise { to { opacity: 1; transform: none; } }
.mark .l { opacity: 0; animation: drop .9s var(--ease-spring) forwards; animation-delay: calc(.25s + var(--i) * 70ms); }
@keyframes drop { from { opacity: 0; transform: translateY(.25em) scale(.9); filter: blur(8px); } to { opacity: 1; transform: none; filter: none; } }

/* ---------- 404 ---------- */
.nf {
  justify-content: center; text-align: center; gap: 12px; padding-top: 10vh; padding-bottom: 10vh;
}
.nf__code {
  margin: 0; font-family: var(--font-display); font-weight: 800; line-height: 1;
  font-size: clamp(96px, 22vw, 200px); color: transparent;
  background: linear-gradient(180deg, #FFE29A, var(--honey) 50%, var(--amber));
  -webkit-background-clip: text; background-clip: text;
  filter: drop-shadow(0 0 30px rgba(255, 200, 87, .3));
}
.nf__title { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: clamp(24px, 4vw, 36px); }
.nf__text { margin: 0; color: var(--text-muted); max-width: 46ch; }
.nf__back {
  margin-top: 20px; display: inline-grid; place-items: center; min-height: 48px; padding: 0 28px;
  border-radius: 999px; background: var(--honey); color: var(--ink); text-decoration: none;
  font-family: var(--font-display); font-weight: 700; letter-spacing: .04em;
  transition: transform .2s var(--ease-out), box-shadow .2s var(--ease-out);
}
.nf__back:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(255, 200, 87, .3); }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .clues { grid-template-columns: 1fr; max-width: 520px; }
  .cell { min-height: 170px; }
}
@media (max-width: 520px) {
  header.top { flex-direction: column; align-items: stretch; gap: 14px; }
  .code { justify-content: center; }
  .lang { align-self: center; }
  .lang a { min-width: 44px; padding: 0 8px; }
  .orbit { width: 64px; right: -14px; top: -50px; }
  .eyebrow { margin-bottom: 40px; }
  .mark { font-size: 20vw; }
  .mark .l .o { --ow: 1.5px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .tape__track { animation: none; }
  .orbit svg { animation: none; }
}
