/* ══════════════════════════════════════════
   RESET & TOKENS
══════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* ─ Palette (dark mode) ────────────────────────────── */
  --areia:      #D3C7AD;   /* sand — borders, subtle details   */
  --areia-l:    #EDE5D6;   /* light cream — primary text       */
  --bg-dark:    #16110C;   /* very dark warm black — page bg   */
  --card-bg:    rgba(26,20,13,.82);  /* card dark glass              */
  --azul:       #28374A;   /* deep navy — retained             */
  --terra:      #9A5546;   /* burnt sienna — brighter on dark  */
  --verde:      #9B9080;   /* muted warm grey text              */

  --bg:     var(--bg-dark);
  --text:   var(--areia-l);  /* light text on dark bg */
  --muted:  var(--verde);
  --accent: var(--terra);
  --border: rgba(211,199,173,.14);

  --fd: 'Bebas Neue', sans-serif;
  --fc: 'Barlow Condensed', sans-serif;
  --fs: 'Outfit', sans-serif;

  --ease: cubic-bezier(.16,1,.3,1);
  --dur: .85s;
}

html { font-size: 16px; }

body {
  font-family: var(--fs);
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: hidden;
}

/* ══════════════════════════════════════════
   CANVAS
══════════════════════════════════════════ */
#bgCanvas {
  position: fixed; inset: 0;
  width: 100%; height: 100%;
  z-index: 0; pointer-events: none;
}

/* ══════════════════════════════════════════
   LIGHT ORBS
══════════════════════════════════════════ */
.orb {
  position: fixed; border-radius: 50%;
  filter: blur(72px);
  pointer-events: none; z-index: 0;
}
.orb-1 {
  width: 460px; height: 460px;
  background: radial-gradient(circle, rgba(154,85,70,.22) 0%, transparent 70%);
  top: -120px; right: -90px;
  animation: orbF 18s ease-in-out infinite alternate;
}
.orb-2 {
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(40,55,74,.28) 0%, transparent 70%);
  bottom: -60px; left: -70px;
  animation: orbF 22s ease-in-out infinite alternate-reverse;
}
.orb-3 {
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(211,199,173,.12) 0%, transparent 70%);
  top: 40%; left: 52%;
  animation: orbF 26s ease-in-out infinite alternate;
}
@keyframes orbF {
  from { transform: translate(0,0) scale(1); }
  to   { transform: translate(28px,-34px) scale(1.06); }
}

/* ══════════════════════════════════════════
   FLOATING OBJECTS
══════════════════════════════════════════ */
.float-scene {
  position: fixed; inset: 0;
  pointer-events: none; z-index: 1;
  overflow: hidden;
}
.fobj {
  position: absolute;
  filter: drop-shadow(0 6px 20px rgba(40,55,74,.05));
  will-change: transform;
}

/* positions + sizes */
.fobj-1  { width:110px; top:3%;   right:4%;   animation: f1 18s ease-in-out infinite; }
.fobj-2  { width: 64px; top:28%;  right:1%;   animation: f2 22s ease-in-out infinite; }
.fobj-3  { width: 80px; top:5%;   left:4%;    animation: f3 20s ease-in-out infinite; }
.fobj-4  { width: 60px; bottom:16%; left:2%;  animation: f4 26s ease-in-out infinite; }
.fobj-5  { width: 48px; bottom:5%; right:12%; animation: f5 19s ease-in-out infinite; }
.fobj-6  { width: 38px; top:20%;  left:18%;   animation: f6 15s ease-in-out infinite; }
.fobj-7  { width: 32px; top:58%;  right:18%;  animation: f7 17s ease-in-out infinite; }
.fobj-8  { width:100px; bottom:3%; left:20%;  animation: f8 21s ease-in-out infinite; }
.fobj-9  { width: 46px; top:48%;  left:.5%;   animation: f9 28s ease-in-out infinite; }
.fobj-10 { width: 36px; top:12%;  right:26%;  animation: f10 14s ease-in-out infinite; }

@keyframes f1  { 0%{transform:translate(0,0) rotate(-5deg) scale(1)} 30%{transform:translate(-10px,20px) rotate(2deg) scale(1.03)} 65%{transform:translate(8px,30px) rotate(-4deg) scale(.97)} 100%{transform:translate(0,0) rotate(-5deg) scale(1)} }
@keyframes f2  { 0%{transform:translate(0,0) rotate(8deg)} 40%{transform:translate(-16px,-20px) rotate(-6deg) scale(1.05)} 80%{transform:translate(10px,14px) rotate(10deg) scale(.95)} 100%{transform:translate(0,0) rotate(8deg)} }
@keyframes f3  { 0%{transform:rotate(0deg) scale(1)} 25%{transform:rotate(90deg) scale(1.04) translate(10px,18px)} 50%{transform:rotate(180deg) scale(.96)} 75%{transform:rotate(270deg) scale(1.02)} 100%{transform:rotate(360deg) scale(1)} }
@keyframes f4  { 0%{transform:translate(0,0) rotate(-10deg)} 50%{transform:translate(18px,-26px) rotate(10deg)} 100%{transform:translate(0,0) rotate(-10deg)} }
@keyframes f5  { 0%{transform:translate(0,0) rotate(14deg) scale(1)} 45%{transform:translate(-14px,-18px) rotate(-4deg) scale(1.07)} 100%{transform:translate(0,0) rotate(14deg) scale(1)} }
@keyframes f6  { 0%{transform:scale(1) rotate(0deg)} 50%{transform:scale(1.1) rotate(20deg) translate(8px,-12px)} 100%{transform:scale(1) rotate(0deg)} }
@keyframes f7  { 0%{transform:translate(0,0) rotate(45deg)} 33%{transform:translate(-12px,10px) rotate(72deg)} 66%{transform:translate(10px,-8px) rotate(18deg)} 100%{transform:translate(0,0) rotate(45deg)} }
@keyframes f8  { 0%{transform:translate(0,0) rotate(-3deg)} 33%{transform:translate(-9px,-16px) rotate(3deg)} 66%{transform:translate(12px,-6px) rotate(-4deg)} 100%{transform:translate(0,0) rotate(-3deg)} }
@keyframes f9  { 0%{transform:translate(0,0) rotate(0deg) scale(1)} 30%{transform:translate(14px,-18px) rotate(30deg) scale(1.05)} 60%{transform:translate(-6px,-28px) rotate(60deg) scale(.94)} 100%{transform:translate(0,0) rotate(0deg) scale(1)} }
@keyframes f10 { 0%{transform:scale(1)} 50%{transform:scale(1.14) translate(-6px,14px)} 100%{transform:scale(1)} }

/* ══════════════════════════════════════════
   GRAIN
══════════════════════════════════════════ */
.grain {
  position: fixed; inset: 0; z-index: 2;
  pointer-events: none; opacity: .03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px;
  animation: grainA .45s steps(2) infinite;
}
@keyframes grainA {
  0%  { transform:translate(0,0); }
  25% { transform:translate(-2px,1px); }
  50% { transform:translate(2px,-1px); }
  75% { transform:translate(-1px,2px); }
  100%{ transform:translate(1px,-2px); }
}

/* ══════════════════════════════════════════
   STAGE — centers the card
══════════════════════════════════════════ */
.stage {
  position: relative; z-index: 3;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 20px;
}

/* ══════════════════════════════════════════
   CARD — the centered rectangle
══════════════════════════════════════════ */
.card {
  width: 100%;
  max-width: 680px;
  background: var(--card-bg);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(211,199,173,.12);
  border-radius: 24px;
  box-shadow:
    0 1px 0 rgba(255,255,255,.04) inset,
    0 40px 100px rgba(0,0,0,.55),
    0 4px 30px rgba(0,0,0,.3);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* ── LOGO AREA ── */
.logo-area {
  padding: 28px 36px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-bottom: 1px solid var(--border);
  opacity: 0;
  animation: fadeDown var(--dur) var(--ease) .2s forwards;
}
.logo-img {
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: 54px;
  object-fit: contain;
  object-position: center;
  /* Source is black-on-white → invert to white-on-transparent for dark bg */
  filter: invert(1) brightness(1.1);
  display: block;
}

/* ── HEADLINE BLOCK ── */
.headline-block {
  padding: 28px 36px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  opacity: 0;
  animation: fadeUp var(--dur) var(--ease) .35s forwards;
}

.eyebrow-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--fc);
  font-size: .6rem;
  font-weight: 500;
  letter-spacing: .26em;
  color: var(--muted);
}
.ebrow-dot {
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--terra);
  animation: blink 2s ease-in-out infinite;
}
.ebrow-label { text-transform: uppercase; }
@keyframes blink { 0%,100%{opacity:1;} 50%{opacity:.2;} }

/* ─── THE BIG HEADLINE ─── */
.headline {
  font-family: var(--fd);
  font-size: clamp(3.8rem, 11.5vw, 8.5rem);
  line-height: .88;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: var(--text);
  overflow: hidden;
  width: 100%;
}

/* Y   A   P   I   M + AŞAMASINDA — her iki satır flex space-between */
.hl-spaced {
  display: flex;
  justify-content: space-between;
  width: 100%;
  opacity: 0;
  transform: translateY(105%);
  animation: lineUp 1s var(--ease) calc(.5s + var(--d)) forwards;
}
.hl-alt { color: var(--terra); }

@keyframes lineUp {
  to { opacity:1; transform:translateY(0); }
}

.sub {
  font-family: var(--fs);
  font-size: .82rem;
  font-weight: 300;
  line-height: 1.72;
  color: var(--muted);
  opacity: 0;
  animation: fadeUp var(--dur) var(--ease) 1.1s forwards;
}

/* ── COUNTDOWN ── */
.countdown {
  padding: 16px 36px;
  display: flex;
  align-items: flex-end;
  gap: 8px;
  border-top: 1px solid var(--border);
  opacity: 0;
  animation: fadeUp var(--dur) var(--ease) .55s forwards;
}
.cu {
  display: flex; flex-direction: column; align-items: center;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(211,199,173,.14);
  border-radius: 10px;
  padding: 10px 14px 8px;
  flex: 1;
  transition: transform .3s var(--ease), box-shadow .3s;
}
.cu:hover { transform:translateY(-3px); box-shadow:0 8px 24px rgba(0,0,0,.3); }
.cn {
  font-family: var(--fd);
  font-size: 2.6rem;
  line-height: 1;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}
.cl {
  font-family: var(--fc);
  font-size: .5rem;
  font-weight: 500;
  letter-spacing: .18em;
  color: var(--muted);
  margin-top: 3px;
  text-transform: uppercase;
}
.csep {
  font-family: var(--fd);
  font-size: 2rem;
  color: var(--areia);
  margin-bottom: 10px;
  animation: blink 1.2s ease-in-out infinite;
  flex-shrink: 0;
}

.digit-flip { animation: dFlip .35s var(--ease); }
@keyframes dFlip { from{transform:translateY(-6px);opacity:0;} to{transform:translateY(0);opacity:1;} }

/* ── MARQUEE ── */
.mq-wrap {
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 8px 0;
  opacity: 0;
  animation: fadeIn .7s ease 1.3s forwards;
}
.mq-inner {
  display: flex;
  white-space: nowrap;
  font-family: var(--fc);
  font-weight: 600;
  font-size: .62rem;
  letter-spacing: .3em;
  color: var(--verde);
  text-transform: uppercase;
  animation: mq 26s linear infinite;
}
@keyframes mq { from{transform:translateX(0);} to{transform:translateX(-33.333%);} }

/* ── STORES ── */
.stores-wrap {
  padding: 18px 36px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  opacity: 0;
  animation: fadeUp var(--dur) var(--ease) .75s forwards;
}
.stores-title {
  font-family: var(--fc);
  font-size: .56rem;
  font-weight: 600;
  letter-spacing: .28em;
  color: var(--muted);
  text-align: center;
}
.stores {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.sc {
  text-decoration: none;
  color: var(--text);
  opacity: 0;
  transform: translateY(12px);
  animation: cardIn .6s var(--ease) calc(.9s + var(--ci, 0) * .07s) forwards;
}
@keyframes cardIn { to{opacity:1;transform:translateY(0);} }

.sc:nth-child(1) { --ci:0; }
.sc:nth-child(2) { --ci:1; }
.sc:nth-child(3) { --ci:2; }
.sc:nth-child(4) { --ci:3; }

.sc-inner {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(211,199,173,.12);
  border-radius: 12px;
  position: relative; overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s, border-color .35s, background .35s;
}
.sc-inner::before {
  content:''; position:absolute; inset:0;
  background:linear-gradient(135deg,rgba(154,85,70,.12) 0%,transparent 55%);
  opacity:0; transition:opacity .35s;
}
.sc:hover .sc-inner {
  transform:translateY(-4px);
  box-shadow:0 12px 32px rgba(0,0,0,.4);
  border-color:rgba(154,85,70,.35);
  background:rgba(255,255,255,.09);
}
.sc:hover .sc-inner::before { opacity:1; }

.sc-ico {
  width:26px; height:26px;
  color:var(--terra); flex-shrink:0;
  transition:transform .35s var(--ease),color .25s;
}
.sc:hover .sc-ico { transform:scale(1.12) rotate(-6deg); color:var(--azul); }

.sc-name {
  font-family: var(--fc);
  font-weight: 600;
  font-size: .82rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  flex: 1;
}

.sc-arr {
  width:14px; height:14px;
  color:var(--areia); flex-shrink:0;
  transition:transform .35s var(--ease),color .25s;
}
.sc:hover .sc-arr { transform:translate(3px,-3px); color:var(--terra); }

/* ── CARD FOOTER ── */
.card-foot {
  padding: 14px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border);
  opacity: 0;
  animation: fadeIn .7s ease 1.8s forwards;
}
.cf-copy {
  font-size: .6rem;
  font-weight: 300;
  color: var(--muted);
  letter-spacing: .04em;
}
.cf-tag {
  font-family: var(--fc);
  font-weight: 700;
  font-size: .7rem;
  letter-spacing: .26em;
  color: var(--terra);
}

/* ══════════════════════════════════════════
   SHARED ANIMS
══════════════════════════════════════════ */
@keyframes fadeDown { from{opacity:0;transform:translateY(-14px);} to{opacity:1;transform:translateY(0);} }
@keyframes fadeUp   { from{opacity:0;transform:translateY(16px);} to{opacity:1;transform:translateY(0);} }
@keyframes fadeIn   { to{opacity:1;} }

/* ══════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════ */

/* Tablet */
@media (max-width: 720px) {
  .card { border-radius: 18px; }
  .headline-block,
  .logo-area,
  .stores-wrap { padding-left: 24px; padding-right: 24px; }
  .countdown { padding: 14px 24px; }
  .card-foot { padding: 12px 24px; }
  .headline { font-size: clamp(3.2rem, 13vw, 6.5rem); }
  .logo-img { max-height: 44px; }
  .cn { font-size: 2rem; }
  .cu { padding: 8px 10px 6px; }
  .csep { font-size: 1.6rem; margin-bottom: 8px; }
}

/* Mobile */
@media (max-width: 480px) {
  .stage { padding: 16px 12px; }
  .card { border-radius: 16px; }
  .headline-block,
  .logo-area,
  .stores-wrap { padding-left: 18px; padding-right: 18px; }
  .countdown { padding: 12px 18px; gap: 5px; }
  .card-foot { padding: 10px 18px; }
  .headline { font-size: clamp(2.8rem, 16vw, 5rem); }
  .hl-solid { letter-spacing: .09em; }
  .logo-img { max-height: 38px; }
  .cl { font-size: .42rem; letter-spacing: .1em; }
  .cn { font-size: 1.8rem; }
  .cu { padding: 7px 8px 5px; }
  .csep { font-size: 1.4rem; margin-bottom: 6px; }
  .stores { gap: 6px; }
  .sc-inner { padding: 9px 10px; }
  .br-desk { display: none; }
  .fobj-1, .fobj-2, .fobj-3, .fobj-9 { opacity: .6; }
}

/* Scrollbar */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--areia); border-radius: 2px; }

/* ══════════════════════════════════════════
   CONTACT SECTION
══════════════════════════════════════════ */
.contact-wrap {
  padding: 14px 28px 18px;
  border-top: 1px solid var(--border);
  margin-top: 2px;
}

.contact-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.ct-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: rgba(211,199,173,.05);
  border: 1px solid var(--border);
  border-radius: 50px;
  text-decoration: none;
  color: var(--muted);
  font-family: var(--fc);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .06em;
  transition: background .3s, border-color .3s, color .3s, transform .2s var(--ease);
  position: relative;
  overflow: hidden;
}
.ct-chip:hover {
  background: rgba(154,85,70,.1);
  border-color: rgba(154,85,70,.35);
  color: var(--areia-l);
  transform: translateY(-2px);
}
.ct-ico {
  width: 16px; height: 16px;
  flex-shrink: 0;
  opacity: .7;
  transition: opacity .3s;
}
.ct-chip:hover .ct-ico { opacity: 1; }

.ct-text { position: relative; }

/* ── Effect: TYPEWRITER ── */
.ct-effect-typewriter .ct-phone-inner {
  overflow: hidden;
  white-space: nowrap;
  border-right: 1.5px solid var(--accent);
  animation: ctType var(--ct-dur, 2.4s) steps(var(--ct-steps, 16), end) infinite,
             ctBlink .75s step-end infinite;
}
@keyframes ctType {
  0%   { width: 0 }
  60%  { width: 100% }
  90%  { width: 100% }
  100% { width: 0 }
}
@keyframes ctBlink {
  0%,100% { border-color: var(--accent) }
  50%     { border-color: transparent }
}

/* ── Effect: BLINK (soft pulse) ── */
.ct-effect-blink .ct-phone-inner {
  animation: ctPulse var(--ct-dur, 2s) ease-in-out infinite;
}
@keyframes ctPulse {
  0%,100% { opacity: 1 }
  50%     { opacity: .25 }
}

/* ── Effect: SLIDE (reveal loop) ── */
.ct-effect-slide .ct-phone-inner {
  display: inline-block;
  animation: ctSlide var(--ct-dur, 1.8s) var(--ease) infinite;
}
@keyframes ctSlide {
  0%   { opacity: 0; transform: translateY(8px) }
  20%  { opacity: 1; transform: translateY(0) }
  75%  { opacity: 1; transform: translateY(0) }
  100% { opacity: 0; transform: translateY(-8px) }
}

/* ── Effect: NONE ── */
.ct-effect-none .ct-phone-inner { animation: none; }

@media (max-width: 480px) {
  .contact-wrap { padding: 12px 18px 16px; }
  .ct-chip { font-size: .66rem; padding: 9px 14px; }
}

/* ══════════════════════════════════════════
   MUSIC BUTTON (EQUALIZER)
══════════════════════════════════════════ */
.music-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--card-bg);
  border: 1px solid var(--border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 99;
  transition: transform .3s, border-color .3s, background .3s;
}
.music-btn:hover {
  transform: scale(1.05);
  border-color: rgba(154,85,70,.5);
  background: rgba(26,20,13,.95);
}
.music-btn .bars {
  display: flex;
  gap: 3px;
  height: 14px;
  align-items: flex-end;
}
.music-btn .bar {
  width: 3px;
  height: 4px; /* paused state */
  background: var(--areia);
  border-radius: 1px;
  transition: transform .2s, height .2s, background .3s;
}
.music-btn.playing .bar {
  animation: eqPlay .8s ease-in-out infinite alternate;
  background: var(--accent);
}
.music-btn.playing .bar:nth-child(2) { animation-delay: -0.2s; }
.music-btn.playing .bar:nth-child(3) { animation-delay: -0.4s; }
.music-btn.playing .bar:nth-child(4) { animation-delay: -0.6s; }

@keyframes eqPlay {
  0% { height: 4px; }
  100% { height: 14px; }
}
@media (max-width: 480px) {
  .music-btn { bottom: 16px; right: 16px; width: 40px; height: 40px; }
}

