/* ---------- Theme tokens: day (cream & espresso) / night (roasted dark & amber) ---------- */
:root {
  --bg: #f7f1e8;
  --bg-2: #efe6d8;
  --surface: #fffaf3;
  --surface-2: #f3eadc;
  --line: #e4d7c4;
  --text: #1f1813;
  --muted: #7b6a5a;
  --accent: #b9561a;
  --accent-2: #dd8a2e;
  --on-accent: #fff8ef;
  --tint: rgba(185, 86, 26, .1);
  --glass: rgba(247, 241, 232, .82);
  --shadow: 0 12px 34px rgba(73, 45, 20, .12);
  --shadow-lg: 0 24px 50px rgba(73, 45, 20, .2);
  --radius: 20px;
  --font: "Readex Pro", system-ui, sans-serif;
  --font-brand: "Archivo Black", "Readex Pro", sans-serif;
  --tabbar-h: 0px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}
html[lang="bn"] { --font: "Hind Siliguri", "Readex Pro", system-ui, sans-serif; }
:root[data-theme="dark"] {
  --bg: #110d0a;
  --bg-2: #18120e;
  --surface: #1c1612;
  --surface-2: #261e18;
  --line: #352a22;
  --text: #f4ece2;
  --muted: #a8988a;
  --accent: #f0a04b;
  --accent-2: #ffc27a;
  --on-accent: #1c1007;
  --tint: rgba(240, 160, 75, .13);
  --glass: rgba(17, 13, 10, .82);
  --shadow: 0 12px 34px rgba(0, 0, 0, .45);
  --shadow-lg: 0 24px 50px rgba(0, 0, 0, .6);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 140px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.65;
  overflow-x: clip;
  padding-bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom));
  transition: background-color .4s, color .4s;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
.wrap { width: min(1180px, 100%); margin-inline: auto; padding-inline: 16px; }
.skip { position: fixed; top: 8px; inset-inline-start: 16px; z-index: 100; background: var(--accent); color: var(--on-accent); padding: 8px 14px; border-radius: 10px; transform: translateY(-200%); }
.skip:focus { transform: none; }
:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 2px; }

/* ---------- Buttons ---------- */
.btn {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px; border-radius: 999px; border: 1px solid var(--accent);
  background: var(--accent); color: var(--on-accent); font-weight: 600; cursor: pointer;
  transition: transform .15s, background .2s, box-shadow .2s;
}
.btn svg { width: 19px; fill: currentColor; flex: none; }
.btn:hover { background: var(--accent-2); border-color: var(--accent-2); transform: translateY(-1px); }
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .7s;
}
.btn:hover::after { transform: translateX(120%); }
.btn--outline { background: transparent; color: var(--text); border-color: var(--line); }
.btn--outline:hover { background: var(--tint); border-color: var(--accent); }
.btn--glass { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.35); color: #fff; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.btn--glass:hover { background: rgba(255,255,255,.2); border-color: #fff; }
.btn-ghost {
  background: transparent; border: 1px solid var(--line); color: var(--muted);
  border-radius: 999px; padding: 7px 14px; cursor: pointer; font-size: .85rem;
}
.btn-ghost:hover { color: var(--text); border-color: var(--accent); }

/* ---------- Top bar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 40;
  background: var(--glass); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3);
  border-bottom: 1px solid transparent; padding-top: env(safe-area-inset-top);
  transition: background .4s, box-shadow .3s, border-color .3s;
}
.topbar.scrolled { box-shadow: var(--shadow); border-color: var(--line); }
.topbar__in { display: flex; align-items: center; gap: 20px; height: 66px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand__mark {
  width: 46px; height: 46px; border-radius: 50%; background: #fff; display: grid; place-items: center;
  box-shadow: 0 0 0 1px var(--line); transition: transform .5s cubic-bezier(.3,1.6,.5,1);
}
.brand__mark img { width: 36px; height: auto; }
.brand:hover .brand__mark { transform: rotate(-10deg) scale(1.08); }
.brand__name { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name b { font-family: var(--font-brand); font-weight: 400; font-size: 1.25rem; letter-spacing: .01em; }
.brand__name small { color: var(--muted); font-size: .76rem; }
.nav { display: flex; gap: 24px; margin-inline-start: auto; }
.nav a { color: var(--muted); font-weight: 500; position: relative; transition: color .2s; }
.nav a::after { content: ""; position: absolute; inset-inline: 0; bottom: -6px; height: 2px; border-radius: 2px; background: var(--accent); transform: scaleX(0); transition: transform .3s var(--ease); }
.nav a:hover, .nav a.active { color: var(--text); }
.nav a.active::after { transform: scaleX(1); }
.topbar__actions { display: flex; gap: 8px; align-items: center; }
.icon-btn {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  border: 1px solid var(--line); background: var(--surface); transition: background .2s, border-color .2s, transform .3s;
}
.icon-btn svg { width: 18px; fill: var(--text); }
.icon-btn:hover { border-color: var(--accent); background: var(--tint); }
.theme-btn .i-sun { display: none; }
[data-theme="dark"] .theme-btn .i-sun { display: block; }
[data-theme="dark"] .theme-btn .i-moon { display: none; }
.theme-btn:active { transform: rotate(60deg) scale(.9); }
.lang {
  min-width: 44px; height: 40px; border-radius: 999px; cursor: pointer; padding: 0 12px;
  border: 1px solid var(--accent); background: transparent; color: var(--accent); font-weight: 700;
}
.lang { display: inline-flex; align-items: center; gap: 6px; }
.lang svg { width: 16px; fill: currentColor; flex: none; }
.lang:hover, .lang[aria-expanded="true"] { background: var(--tint); }
.langsel { position: relative; }
.langmenu {
  position: absolute; top: calc(100% + 10px); inset-inline-end: 0; z-index: 60; min-width: 170px;
  margin: 0; padding: 6px; list-style: none; background: var(--surface); border: 1px solid var(--line);
  border-radius: 16px; box-shadow: var(--shadow-lg); animation: sheetIn .2s var(--ease);
}
.langmenu button {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%;
  padding: 10px 14px; border: 0; border-radius: 10px; background: none; cursor: pointer; font-weight: 500; text-align: start;
}
.langmenu button:hover, .langmenu button:focus-visible { background: var(--surface-2); outline: none; }
.langmenu button[aria-checked="true"] { color: var(--accent); font-weight: 700; }
.langmenu button[aria-checked="true"]::after { content: "✓"; }
.langmenu [lang="bn"] { font-family: "Hind Siliguri", sans-serif; }

/* ---------- Hero (always dark photography) ---------- */
.hero { position: relative; min-height: min(90vh, 780px); display: grid; align-items: center; overflow: hidden; color: #fff; background: #0d0a08; }
.hero__bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 50% 40%, rgba(13,10,8,.35), rgba(13,10,8,.85) 75%),
    url("../assets/img/hero.webp") center/cover no-repeat;
  animation: kenburns 28s ease-in-out infinite alternate;
}
html[dir="rtl"] .hero__bg { transform: scaleX(-1); }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 160px; background: linear-gradient(transparent, var(--bg)); pointer-events: none; }
@keyframes kenburns { from { scale: 1.03; } to { scale: 1.15; translate: -1.5% -1%; } }
.hero__in { position: relative; z-index: 1; padding-block: 90px 120px; max-width: 780px; margin-inline: auto; text-align: center; }
.hero__logo { width: min(240px, 46vw); height: auto; margin: 0 auto 22px; filter: drop-shadow(0 10px 30px rgba(0,0,0,.6)); }
.hero__title { font-size: clamp(2.4rem, 7.5vw, 4.8rem); line-height: 1.1; margin: 0 0 16px; font-weight: 700; }
.hero__title {
  background: linear-gradient(100deg, #fff 0%, #fff 40%, #ffc27a 50%, #fff 60%, #fff 100%);
  background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__lead { color: rgba(255,255,255,.82); font-size: clamp(1rem, 2.4vw, 1.2rem); margin: 0 auto 30px; max-width: 600px; font-weight: 300; }
.hero__cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero__cta--start { justify-content: flex-start; margin-top: 22px; }
.hero__in > * { animation: rise .9s var(--ease) backwards; }
.hero__in > :nth-child(1) { animation-delay: .1s; }
.hero__in > :nth-child(2) { animation-delay: .3s; }
.hero__in > :nth-child(3) { animation: rise .9s var(--ease) .45s backwards, shine 7s ease-in-out 1.8s infinite; }
.hero__in > :nth-child(4) { animation-delay: .6s; }
.hero__in > :nth-child(5) { animation-delay: .8s; }
@keyframes shine { 0%, 60% { background-position: 100% 0; } 100% { background-position: -50% 0; } }
.hero .btn:not(.btn--glass) { animation: glow 3s ease-in-out 2s infinite; }
@keyframes glow { 0%, 100% { box-shadow: 0 0 0 0 rgba(240,160,75,0); } 50% { box-shadow: 0 0 30px 2px rgba(240,160,75,.5); } }
.hero .btn:not(.btn--glass) { background: #e08a35; border-color: #e08a35; color: #1c1007; }
.hero .btn:not(.btn--glass):hover { background: #ffb062; border-color: #ffb062; }

/* Coffee steam rising */
.steam { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.steam span {
  position: absolute; bottom: -20%; width: 34vmax; height: 34vmax; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 236, 214, .12), rgba(255, 236, 214, .04) 45%, transparent 70%);
  filter: blur(26px); opacity: 0; animation: steam 20s linear infinite;
}
.steam span:nth-child(1) { left: 5%; }
.steam span:nth-child(2) { left: 35%; animation-delay: 5s; animation-duration: 24s; }
.steam span:nth-child(3) { left: 62%; animation-delay: 10s; }
.steam span:nth-child(4) { left: 80%; animation-delay: 15s; animation-duration: 26s; }
@keyframes steam {
  0% { transform: translate3d(0,0,0) scale(.6); opacity: 0; }
  15% { opacity: 1; } 70% { opacity: .6; }
  100% { transform: translate3d(-6vw,-115vh,0) scale(1.5) rotate(140deg); opacity: 0; }
}

/* Open pill + pulsing dot */
.open-pill {
  display: inline-flex; align-items: center; gap: 8px; margin: 0 0 16px;
  padding: 6px 14px; border-radius: 999px; font-size: .85rem; font-weight: 600;
  background: rgba(46, 204, 113, .14); border: 1px solid rgba(46, 204, 113, .4); color: #8ef0b6;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: #2ecc71; position: relative; flex: none; display: inline-block; }
.dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: inherit; animation: ping 1.8s cubic-bezier(0,0,.2,1) infinite; }
.dot--red { background: #ff3b3b; }
@keyframes ping { 75%, 100% { transform: scale(2.8); opacity: 0; } }

/* ---------- Stats ---------- */
.stats {
  position: relative; z-index: 2; margin-top: -64px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg);
  padding: 0;
}
.wrap.stats { width: min(1148px, calc(100% - 32px)); }
.stat { background: var(--surface); padding: 20px 16px; text-align: center; display: flex; flex-direction: column; gap: 2px; transition: background .3s; }
a.stat:hover { background: var(--surface-2); }
.stat b { font-size: clamp(1.4rem, 3.4vw, 2rem); font-weight: 700; color: var(--accent); line-height: 1.2; font-family: var(--font); }
.stat b i { font-style: normal; font-size: .7em; margin-inline-start: 2px; color: #f5b301; }
.stat span { color: var(--muted); font-size: .85rem; }
.stat__ico { width: 1.15em; height: 1.2em; fill: var(--accent); vertical-align: middle; }

/* ---------- Category tiles ---------- */
.tiles { display: grid; grid-template-columns: repeat(8, 1fr); gap: 12px; padding-top: 40px; }
.tile { position: relative; border-radius: 18px; overflow: hidden; aspect-ratio: 3 / 4; box-shadow: var(--shadow); cursor: pointer; border: 0; padding: 0; background: var(--surface-2); transition: transform .25s ease-out, box-shadow .3s; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(12,8,5,.88)); }
.tile span { position: absolute; inset-inline: 10px; bottom: 10px; z-index: 1; color: #fff; font-weight: 600; font-size: .92rem; line-height: 1.3; text-align: start; }
.tile span small { display: block; font-weight: 400; opacity: .75; font-size: .75rem; }
.tile:hover img { transform: scale(1.08); }
.tile:hover { box-shadow: var(--shadow-lg); }

/* ---------- Sections ---------- */
.section-head { text-align: center; margin-bottom: 28px; }
.kicker { color: var(--accent); font-weight: 600; letter-spacing: .08em; margin: 0 0 4px; font-size: .9rem; }
html:not([lang="ar"]):not([lang="bn"]) .kicker { text-transform: uppercase; letter-spacing: .16em; font-size: .8rem; }
html[lang="ar"] .kicker, html[lang="bn"] .kicker { letter-spacing: 0; }
.section-head h2, .matches h2 { font-size: clamp(1.9rem, 4.6vw, 2.8rem); margin: 0; font-weight: 700; line-height: 1.2; }
.section-head h2::after { content: ""; display: block; width: 48px; height: 3px; background: linear-gradient(90deg, var(--accent), var(--accent-2)); margin: 12px auto 0; border-radius: 3px; transition: width .8s .3s; }
.section-head.reveal:not(.in) h2::after { width: 0; }
.section-head p:not(.kicker) { color: var(--muted); margin: 10px 0 0; }
.menu, .visit, .contact { padding-block: 80px 24px; }

/* ---------- Menu ---------- */
.menu__bar {
  position: sticky; top: calc(66px + env(safe-area-inset-top)); z-index: 30;
  background: var(--glass); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  padding-block: 12px 6px; border-bottom: 1px solid var(--line); transition: background .4s;
}
.search {
  display: flex; align-items: center; gap: 10px; background: var(--surface);
  border: 1px solid var(--line); border-radius: 999px; padding: 0 18px; height: 48px; transition: border-color .2s, box-shadow .2s;
}
.search svg { width: 20px; fill: var(--muted); flex: none; }
.search input { flex: 1; background: none; border: 0; outline: 0; min-width: 0; font-size: 1rem; }
.search:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px var(--tint); }
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 12px 0 6px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none; border: 1px solid var(--line); background: var(--surface); color: var(--muted);
  padding: 7px 16px; border-radius: 999px; cursor: pointer; font-weight: 500; white-space: nowrap;
  transition: background .25s, color .25s, border-color .25s, transform .15s;
}
.chip:hover { color: var(--text); border-color: var(--accent); }
.chip[aria-selected="true"] { background: var(--accent); border-color: var(--accent); color: var(--on-accent); font-weight: 600; }
.chip:active { transform: scale(.94); }
.chip small { opacity: .7; margin-inline-start: 5px; font-size: .78em; }

.menu__list { padding-top: 12px; }
.cat-block { padding-top: 30px; }
.cat-head {
  position: relative; display: flex; align-items: flex-end; height: 150px; margin-bottom: 14px;
  border-radius: var(--radius); overflow: hidden; color: #fff; box-shadow: var(--shadow);
}
.cat-head img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cat-head::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(12,8,5,.85), rgba(12,8,5,.15)); }
html[dir="rtl"] .cat-head::after { background: linear-gradient(270deg, rgba(12,8,5,.85), rgba(12,8,5,.15)); }
.cat-head div { position: relative; z-index: 1; padding: 18px 22px; }
.cat-head h3 { margin: 0; font-size: 1.6rem; line-height: 1.2; font-weight: 700; }
.cat-head p { margin: 2px 0 0; opacity: .8; font-size: .88rem; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: 10px; }
.item {
  display: flex; align-items: center; gap: 12px; padding: 14px 16px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.item:hover { border-color: color-mix(in srgb, var(--accent) 55%, var(--line)); transform: translateY(-2px); box-shadow: var(--shadow); }
.item__main { flex: 1; min-width: 0; }
.item__name { font-weight: 600; font-size: 1.02rem; display: block; line-height: 1.35; }
.item__alt { display: block; color: var(--muted); font-size: .8rem; margin-top: 1px; }
.item__side { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; flex: none; }
.price { color: var(--accent); font-weight: 700; white-space: nowrap; font-size: 1.12rem; line-height: 1.1; }
.price small { font-weight: 400; font-size: .68em; margin-inline-start: 3px; color: var(--muted); }
.cal { color: var(--muted); font-size: .74rem; white-space: nowrap; display: inline-flex; align-items: center; gap: 3px; }
.cal svg { width: 11px; fill: currentColor; opacity: .8; }
.empty { text-align: center; color: var(--muted); padding: 40px 0; }
mark { background: var(--tint); color: var(--accent); border-radius: 3px; padding-inline: 1px; }
.kcal-note {
  display: flex; gap: 12px; align-items: flex-start; margin-top: 30px; padding: 14px 18px;
  border-radius: 16px; background: var(--surface-2); color: var(--muted); font-size: .88rem;
}
.kcal-note svg { width: 20px; fill: var(--accent); flex: none; margin-top: 2px; }
.kcal-note p { margin: 0; }

/* ---------- Match nights ---------- */
.matches { padding-block: 90px 30px; }
.matches__in {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 44px; align-items: center;
}
.matches__img { position: relative; border-radius: 26px; overflow: hidden; box-shadow: var(--shadow-lg); transform: rotate(-1.5deg); transition: transform .5s var(--ease); }
html[dir="rtl"] .matches__img { transform: rotate(1.5deg); }
.matches__img:hover { transform: none !important; }
.matches__img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.live {
  position: absolute; top: 16px; inset-inline-start: 16px; display: inline-flex; align-items: center; gap: 8px;
  background: rgba(0,0,0,.65); color: #fff; padding: 6px 12px; border-radius: 999px; font-size: .78rem; font-weight: 700; letter-spacing: .12em;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.matches__body > p:not(.kicker) { color: var(--muted); font-size: 1.05rem; margin: 14px 0 0; }
.ticks { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: center; font-weight: 500; }
.ticks li::before {
  content: "✓"; width: 26px; height: 26px; border-radius: 50%; flex: none; display: grid; place-items: center;
  background: var(--tint); color: var(--accent); font-size: .8rem; font-weight: 700;
}

/* ---------- Visit ---------- */
.visit__grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 16px; }
.visit__card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; gap: 18px; }
.visit__row { display: flex; gap: 14px; align-items: flex-start; }
.visit__row > svg { width: 44px; height: 44px; padding: 11px; border-radius: 14px; background: var(--tint); fill: var(--accent); flex: none; }
.visit__row b { display: block; font-weight: 600; }
.visit__row p { margin: 2px 0 0; color: var(--muted); }
.visit__row a { color: var(--accent); font-weight: 600; }
.visit__card .hero__cta--start { margin-top: auto; }
.hours { display: flex; align-items: center; gap: 8px; color: #23a05a !important; font-weight: 500; }
[data-theme="dark"] .hours { color: #7ee2a8 !important; }
.visit__map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); min-height: 340px; background: var(--surface-2); }
.visit__map iframe { width: 100%; height: 100%; min-height: 340px; border: 0; display: block; }
[data-theme="dark"] .visit__map iframe { filter: invert(.9) hue-rotate(180deg) saturate(.7) brightness(.95); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.contact-card {
  display: flex; align-items: center; gap: 14px; padding: 18px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line); transition: border-color .2s, transform .2s, box-shadow .2s;
}
.contact-card:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: var(--shadow); }
.contact-card svg { width: 44px; height: 44px; padding: 11px; border-radius: 14px; background: var(--tint); fill: var(--accent); flex: none; }
.contact-card span { display: flex; flex-direction: column; min-width: 0; }
.contact-card small { color: var(--muted); overflow-wrap: anywhere; }
html[dir="rtl"] .contact-card small[dir="ltr"] { text-align: end; }
button.contact-card { width: 100%; text-align: start; cursor: pointer; font: inherit; color: inherit; }

/* ---------- Footer ---------- */
.footer { text-align: center; padding: 44px 0 36px; color: var(--muted); font-size: .9rem; border-top: 1px solid var(--line); margin-top: 56px; background: var(--bg-2); transition: background .4s; }
.footer img { margin: 0 auto 16px; width: 150px; height: auto; }
.logo-cream, [data-theme="dark"] .logo-ink { display: none; }
[data-theme="dark"] .logo-cream { display: block; }
.footer p { margin: 4px 0; }
.credit { font-size: .85rem; }
.credit a { color: var(--accent); font-weight: 700; transition: color .2s; }
.credit a:hover { color: var(--text); }

/* ---------- Bottom tab bar (mobile) ---------- */
.tabbar { display: none; }

/* ---------- Dialogs ---------- */
.sheet {
  border: 0; padding: 0; width: min(440px, 100%); max-height: 92vh; border-radius: 24px;
  background: var(--surface); color: var(--text); box-shadow: var(--shadow-lg); overflow: auto;
}
.sheet::backdrop { background: rgba(10,6,3,.65); backdrop-filter: blur(4px); }
.sheet[open] { animation: sheetIn .35s cubic-bezier(.2,.8,.2,1); }
@keyframes sheetIn { from { opacity: 0; transform: translateY(40px) scale(.97); } }
.sheet__close {
  position: absolute; inset-inline-end: 12px; top: 12px; z-index: 1; width: 38px; height: 38px;
  border-radius: 50%; border: 1px solid var(--line); background: var(--surface-2); color: var(--text); cursor: pointer; font-size: 1rem;
}
.share__body { padding: 30px 22px 24px; text-align: center; }
.share__body h3 { margin: 0 0 6px; font-size: 1.4rem; }
.share__body > p { color: var(--muted); margin: 0 0 18px; font-size: .95rem; }
.share__qr {
  width: min(260px, 70vw); margin: 0 auto 14px; padding: 10px; background: #fff; border-radius: 22px;
  box-shadow: 0 0 0 6px var(--tint), 0 18px 40px rgba(0,0,0,.25);
  animation: qrIn .6s cubic-bezier(.2,.8,.2,1) .1s backwards;
}
.share__qr img { width: 100%; height: auto; border-radius: 12px; }
@keyframes qrIn { from { opacity: 0; transform: scale(.85) rotate(-4deg); } }
.share__url {
  display: inline-block; margin-bottom: 18px; padding: 6px 14px; border-radius: 999px; cursor: pointer;
  border: 1px dashed var(--line); background: var(--surface-2); color: var(--accent); font-weight: 600;
}
.share__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.share__actions .btn { padding: 11px 14px; font-size: .9rem; white-space: nowrap; }
.share__actions #nativeShare:not([hidden]) { grid-column: 1 / -1; }
@media (max-width: 360px) { .share__actions { grid-template-columns: 1fr; } }
.btn--wa { background: #25d366; border-color: #25d366; color: #062b14; }
.btn--wa:hover { background: #3ee27b; border-color: #3ee27b; }

.toast {
  position: fixed; inset-inline: 16px; bottom: calc(var(--tabbar-h) + 16px + env(safe-area-inset-bottom));
  margin-inline: auto; max-width: 420px; background: var(--text); color: var(--bg);
  padding: 12px 16px; border-radius: 14px; text-align: center; z-index: 60; box-shadow: var(--shadow-lg);
  animation: sheetIn .3s var(--ease);
}

/* ---------- Progress + reveal ---------- */
.progress {
  position: fixed; top: 0; inset-inline: 0; height: 3px; z-index: 70;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transform: scaleX(0); transform-origin: left; pointer-events: none;
}
html[dir="rtl"] .progress { transform-origin: right; }
.reveal:not(.in) { opacity: 0; }
.reveal.in { animation: rise .75s var(--ease) var(--d, 0ms) backwards; }
@keyframes rise { from { opacity: 0; transform: translate3d(0, 26px, 0) scale(.98); } }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .tiles { grid-template-columns: repeat(4, 1fr); }
  .tile { aspect-ratio: 4 / 3; }
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  :root { --tabbar-h: 64px; }
  html { scroll-padding-top: 150px; }
  .nav { display: none; }
  .topbar__actions { margin-inline-start: auto; }
  .brand__name small { display: none; }
  .stats { grid-template-columns: repeat(2, 1fr); margin-top: -52px; }
  .tiles { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: 0; padding-bottom: 6px; }
  .tiles::-webkit-scrollbar { display: none; }
  .tile { flex: 0 0 132px; aspect-ratio: 3 / 4; scroll-snap-align: start; }
  .matches__in, .visit__grid { grid-template-columns: 1fr; gap: 26px; }
  .contact-grid { grid-template-columns: 1fr; }
  .hero { min-height: 82vh; }
  .hero__in { padding-block: 60px 110px; }
  .cat-head { height: 120px; }
  .tabbar {
    display: grid; grid-template-columns: repeat(5, 1fr);
    position: fixed; inset-inline: 0; bottom: 0; z-index: 50;
    height: calc(var(--tabbar-h) + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom);
    background: var(--glass); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3);
    border-top: 1px solid var(--line);
  }
  .tabbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; color: var(--muted); font-size: .7rem; }
  .tabbar svg { width: 22px; fill: currentColor; transition: transform .25s; }
  .tabbar a.active { color: var(--accent); }
  .tabbar a.active svg { transform: translateY(-2px) scale(1.12); }
  .sheet { margin: auto auto 0; border-radius: 24px 24px 0 0; max-height: 90vh; }
}
@media (max-width: 400px) {
  .topbar__actions { gap: 6px; }
  .icon-btn { width: 36px; height: 36px; }
  .lang { height: 36px; min-width: 36px; padding: 0 9px; font-size: .82rem; }
  .lang svg { display: none; }
  .brand__mark { width: 40px; height: 40px; }
  .brand__name b { font-size: 1.1rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .hero__title { color: #fff; background: none; }
  .steam { display: none; }
}
