/* ==========================================================================
   Kronel Beer — site styles
   Built on Bootstrap 5.3. This file holds brand tokens, Bootstrap overrides
   and the custom components (hero slider, beer cards, pillars, moments).
   ========================================================================== */

/* 1. Tokens & Bootstrap overrides
   ========================================================================== */
:root {
  --kr-navy: #162061;
  --kr-navy-deep: #0B1033;
  --kr-night: #070A22;
  --kr-red: #9E1B22;
  --kr-red-deep: #4C090E;
  --kr-gold: #E2B45C;
  --kr-gold-soft: #F4DFAE;
  --kr-gold-dark: #9A6B1E;
  --kr-cream: #F5EDDC;
  --kr-ink: #11163F;
  --kr-muted: rgba(245, 237, 220, .7);

  /* Cinzel/Manrope for Latin; the next families cover Cyrillic and Arabic (translations) */
  --kr-serif: "Cinzel", "Playfair Display", "Amiri", "Times New Roman", serif;
  --kr-sans: "Manrope", "Noto Sans Arabic", system-ui, sans-serif;
  --kr-ease: cubic-bezier(.22, .8, .3, 1);

  --bs-body-font-family: var(--kr-sans);
  --bs-body-font-size: 1.0625rem;
  --bs-body-line-height: 1.65;
  --bs-body-color: var(--kr-cream);
  --bs-body-bg: var(--kr-navy-deep);
  --bs-link-color-rgb: 244, 223, 174;
  --bs-link-hover-color-rgb: 226, 180, 92;
}

body {
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; }

:focus-visible {
  outline: 2px solid var(--kr-gold);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 1100;
  padding: .5rem 1rem;
  background: var(--kr-gold);
  color: var(--kr-ink);
}

/* 2. Typography helpers
   ========================================================================== */
.eyebrow {
  margin-bottom: 1rem;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--kr-gold);
}

.section-title {
  margin-bottom: 1.75rem;
  font-family: var(--kr-serif);
  font-weight: 700;
  font-size: clamp(2.375rem, 5.4vw, 5rem);
  line-height: 1.04;
}

.section-title em {
  font-style: normal;
  color: var(--kr-gold);
}

.lead-text {
  max-width: 56ch;
  font-size: clamp(1.0625rem, 1.4vw, 1.3rem);
  line-height: 1.65;
  color: var(--kr-muted);
}

/* 3. Navbar
   ========================================================================== */
.site-nav {
  padding-block: 1rem;
  transition: background-color .5s var(--kr-ease), padding .5s var(--kr-ease);
}

.site-nav.is-solid,
.site-nav:has(.navbar-collapse.show),
.site-nav:has(.navbar-collapse.collapsing) {
  padding-block: .5rem;
  background-color: rgba(7, 10, 34, .85);
  -webkit-backdrop-filter: blur(14px); /* Safari < 18 */
  backdrop-filter: blur(14px);
}

.site-nav__logo {
  width: auto;
  height: 64px;
  transition: height .5s var(--kr-ease);
}

.site-nav.is-solid .site-nav__logo { height: 46px; }

.site-nav .nav-link {
  position: relative;
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--kr-cream);
}

.site-nav .nav-link::after {
  content: "";
  position: absolute;
  left: var(--bs-navbar-nav-link-padding-x, 0);
  right: var(--bs-navbar-nav-link-padding-x, 0);
  bottom: .25rem;
  height: 1px;
  background: var(--kr-gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .45s var(--kr-ease);
}

.site-nav .nav-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* 4. Hero slider
   Everything inside a slide is drawn on a 1440 × 900 design frame.
   --u (one design pixel) is set by js/main.js.
   ========================================================================== */
.hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 560px;
  overflow: hidden;
  user-select: none;
  touch-action: pan-y;
}

.hero__stage { position: absolute; inset: 0; }

.hero-slide {
  position: absolute;
  inset: 0;
  overflow: hidden;
  visibility: hidden;
}

.hero-slide.is-active { visibility: visible; z-index: 2; }

.hero-slide--premium {
  background: radial-gradient(60% 70% at 50% 46%, #2A3696 0%, var(--kr-navy) 45%, #0A0F38 100%);
}

.hero-slide--legendary {
  background: radial-gradient(60% 70% at 50% 46%, #C42A2E 0%, var(--kr-red) 42%, #3F070B 100%);
}

.hero-slide__frame {
  position: absolute;
  left: calc(50% - 720 * var(--u));
  top: calc(50% - 450 * var(--u) + var(--frame-shift, 0px));
  width: calc(1440 * var(--u));
  height: calc(900 * var(--u));
}

.hero-slide__layer { position: absolute; inset: 0; will-change: transform; }

.hero-slide__word {
  position: absolute;
  left: 0;
  right: 0;
  margin: 0;
  font-family: var(--kr-serif);
  font-weight: 800;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap;
  color: transparent;
  background: linear-gradient(180deg, #FBEFCF 0%, #E9C77E 55%, #B9832F 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.hero-slide__glow {
  position: absolute;
  left: calc(380 * var(--u));
  top: calc(120 * var(--u));
  width: calc(680 * var(--u));
  height: calc(680 * var(--u));
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 214, 140, .3), transparent);
}

.hero-slide__floor {
  position: absolute;
  top: calc(772 * var(--u));
  height: calc(34 * var(--u));
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(0, 0, 0, .55), transparent);
}

.hero-slide__product {
  position: absolute;
  height: auto;
  max-width: none;
  clip-path: inset(0 0 2.4% 0);
}

/* Product placement per slide (design px: product centred on x 720, base on y 790) */
.hero-slide--premium .hero-slide__product {
  left: calc(623.4 * var(--u));
  top: calc(70 * var(--u));
  width: calc(193.2 * var(--u));
}
.hero-slide--premium .hero-slide__floor {
  left: calc(536.5 * var(--u));
  width: calc(367 * var(--u));
}
.hero-slide--legendary .hero-slide__product {
  left: calc(591.7 * var(--u));
  top: calc(170 * var(--u));
  width: calc(256.5 * var(--u));
}
.hero-slide--legendary .hero-slide__floor {
  left: calc(476.3 * var(--u));
  width: calc(487.4 * var(--u));
}

/* Golden beer bubbles (generated by js/main.js) */
.bubble { position: absolute; border-radius: 50%; }

.bubble i {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 30%,
    rgba(255, 250, 232, .95) 0 6%,
    rgba(255, 214, 128, .6) 15%,
    rgba(232, 168, 60, .32) 40%,
    rgba(214, 146, 40, .16) 62%,
    rgba(255, 206, 110, .7) 69%,
    transparent 73%);
  box-shadow: 0 0 calc(24 * var(--u)) rgba(240, 180, 80, .18);
  animation: bubble-bob var(--bob-duration, 4s) ease-in-out var(--bob-delay, 0s) infinite alternate;
}

.hero-slide__layer--blur .bubble i {
  opacity: .75;
  filter: blur(calc(10 * var(--u)));
}

@keyframes bubble-bob {
  from { transform: translateY(calc(-8 * var(--u))); }
  to   { transform: translateY(calc(8 * var(--u))); }
}

/* Hero overlay UI */
.hero__ui {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10;
  padding-bottom: clamp(1.375rem, 4.2vh, 2.5rem);
}

.hero__title {
  margin: 0;
  font-family: var(--kr-serif);
  font-weight: 700;
  font-size: clamp(1.625rem, 2.4vw, 2.25rem);
  line-height: 1.1;
  color: #fff;
}

.hero__brand {
  display: block;
  margin-bottom: .625rem;
  font-family: var(--kr-sans);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--kr-gold);
}

.hero__product {
  margin: .5rem 0 0;
  font-size: .875rem;
  letter-spacing: .05em;
  color: var(--kr-muted);
  transition: opacity .45s var(--kr-ease), transform .45s var(--kr-ease);
}

.hero__product strong { font-weight: 600; color: #fff; }
.hero__product.is-changing { opacity: 0; transform: translateY(8px); }

.hero__tabs {
  position: relative;
  display: flex;
  justify-content: center;
  gap: 2.75rem;
  padding-bottom: .625rem;
}

.hero__tab {
  padding: .625rem 0;
  border: 0;
  background: none;
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: #fff;
  opacity: .6;
  transition: opacity .3s;
}

.hero__tab:hover,
.hero__tab[aria-selected="true"] { opacity: 1; }

.hero__tab-bar {
  position: absolute;
  left: 0;
  bottom: .375rem;
  height: 2px;
  border-radius: 2px;
  background: var(--kr-gold);
  transition: transform .6s cubic-bezier(.65, 0, .35, 1), width .6s cubic-bezier(.65, 0, .35, 1);
}

.hero__arrow {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(245, 237, 220, .28);
  border-radius: 50%;
  background: none;
  transition: background-color .3s, border-color .3s;
}

.hero__arrow:hover {
  border-color: var(--kr-gold);
  background-color: rgba(245, 237, 220, .1);
}

.hero__arrow svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: #fff;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Entrance of the hero UI */
.rise {
  opacity: 0;
  translate: 0 14px;
  transition: opacity 1s var(--kr-ease) .45s, translate 1s var(--kr-ease) .45s;
}
.rise--2 { transition-delay: .55s; }
.rise--3 { transition-delay: .65s; }
.is-ready .rise { opacity: 1; translate: 0 0; }

/* 5. Sections
   ========================================================================== */
.section { padding-block: clamp(6rem, 14vh, 10rem); }
.section--navy { background: var(--kr-navy-deep); }
.section--night { background: var(--kr-night); }
.section--cream { background: var(--kr-cream); color: var(--kr-ink); }
.section--cream .eyebrow { color: var(--kr-gold-dark); }

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1s var(--kr-ease), transform 1s var(--kr-ease);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* Story */
.story-figure {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 4px;
}

.story-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 28% 50%;
}

.story-figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(7, 10, 34, .7));
}

.story-figure figcaption {
  position: absolute;
  left: 1.25rem;
  bottom: 1.125rem;
  z-index: 1;
  font-size: .75rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--kr-gold-soft);
}

/* Beer cards */
.beer-card {
  position: relative;
  height: 100%;
  min-height: 640px;
  padding: clamp(1.75rem, 3.4vw, 3.25rem);
  overflow: hidden;
  border-radius: 6px;
}

.beer-card--premium { background: radial-gradient(80% 70% at 25% 50%, #26318A, #121A55 60%, #0B1038); }
.beer-card--legendary { background: radial-gradient(80% 70% at 25% 50%, #B8242A, #861419 60%, var(--kr-red-deep)); }

.beer-card__abv {
  position: absolute;
  top: clamp(1rem, 2vw, 1.75rem);
  right: clamp(1.25rem, 2.4vw, 2.25rem);
  font-family: var(--kr-serif);
  font-weight: 800;
  font-size: clamp(4rem, 7vw, 7.5rem);
  line-height: 1;
  color: rgba(255, 255, 255, .07);
  pointer-events: none;
}

.beer-card__image {
  width: auto;
  max-height: 540px;
  clip-path: inset(0 0 2.4% 0);
  transition: transform .9s var(--kr-ease);
}

.beer-card:hover .beer-card__image { transform: translateY(-8px) rotate(-1.5deg); }

.beer-card__title {
  margin: 0 0 .375rem;
  font-family: var(--kr-serif);
  font-weight: 700;
  font-size: clamp(1.75rem, 2.6vw, 2.5rem);
  line-height: 1.05;
  color: #fff;
}

.beer-card__tagline {
  margin-bottom: 1.125rem;
  font-family: var(--kr-serif);
  font-size: 1.125rem;
  letter-spacing: .04em;
  color: var(--kr-gold-soft);
}

.beer-card__text { font-size: 1rem; color: rgba(255, 255, 255, .8); }

.spec {
  margin: 1.75rem 0 0;
  border-top: 1px solid rgba(255, 255, 255, .18);
}

.spec__item {
  padding: .875rem 1rem .875rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, .18);
}

.spec dt {
  font-size: .6875rem;
  font-weight: 600;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--kr-gold);
}

.spec dd { margin: .125rem 0 0; font-weight: 600; color: #fff; }

/* Quality pillars */
.pillars {
  margin-top: 4rem;
  border-top: 1px solid rgba(17, 22, 63, .16);
}

.pillar { padding: 3rem 2rem 1.5rem 0; }

.pillar__icon {
  width: 72px;
  height: 72px;
  fill: none;
  stroke: var(--kr-gold-dark);
  stroke-width: 1.1;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .6s var(--kr-ease);
}

.pillar:hover .pillar__icon { transform: translateY(-6px); }

.pillar__number {
  display: block;
  margin-top: 3.5rem;
  font-family: var(--kr-serif);
  font-weight: 700;
  font-size: .9375rem;
  letter-spacing: .1em;
  color: var(--kr-gold-dark);
}

.pillar__title {
  max-width: 11ch;
  margin: .625rem 0 .75rem;
  font-family: var(--kr-serif);
  font-weight: 700;
  font-size: clamp(1.5rem, 2vw, 1.875rem);
  line-height: 1.15;
}

.pillar__text { margin: 0; font-size: 1rem; color: rgba(17, 22, 63, .72); }

/* Moments */
.moment {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 88vh;
  overflow: hidden;
}

.moment__image {
  position: absolute;
  inset: -6% 0;
  width: 100%;
  height: 112%;
  object-fit: cover;
  object-position: 30% 60%;
  will-change: transform;
}

.moment::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(7, 10, 34, 0) 30%, rgba(7, 10, 34, .55) 58%, rgba(7, 10, 34, .88) 100%);
}

.moment__container { position: relative; z-index: 2; }
.moment__copy .lead-text { color: rgba(245, 237, 220, .86); }

/* Closing */
.finale {
  background: radial-gradient(70% 80% at 50% 40%, #1C2775 0%, var(--kr-navy-deep) 60%, var(--kr-night) 100%);
}

.finale__logo {
  display: block;
  width: clamp(220px, 24vw, 340px);
  margin: 0 auto;
}

.finale__title {
  margin: 2.75rem 0 1.5rem;
  font-family: var(--kr-serif);
  font-weight: 800;
  font-size: clamp(2.5rem, 7vw, 6.5rem);
  line-height: 1;
  color: transparent;
  background: linear-gradient(180deg, #FBEFCF, #C99441);
  -webkit-background-clip: text;
  background-clip: text;
}

.btn-gold {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  margin-top: 1.5rem;
  padding: 1rem 1.875rem;
  border: 1px solid var(--kr-gold);
  border-radius: 999px;
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--kr-gold-soft);
  transition: background-color .35s, color .35s;
}

.btn-gold:hover { background-color: var(--kr-gold); color: var(--kr-ink); }

.btn-gold svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

/* Footer */
.site-footer {
  padding: 1.75rem 0 2.5rem;
  border-top: 1px solid rgba(245, 237, 220, .12);
  background: var(--kr-night);
  font-size: .8125rem;
  color: rgba(245, 237, 220, .55);
}

/* 6. Responsive (Bootstrap breakpoints)
   ========================================================================== */
@media (min-width: 576px) and (max-width: 991.98px) {
  .pillar:nth-child(odd) { padding-right: 2rem; }
  .pillar:nth-child(even) { padding-left: 2rem; border-left: 1px solid rgba(17, 22, 63, .12); }
  .pillar:nth-child(n + 3) { border-top: 1px solid rgba(17, 22, 63, .12); }
}

@media (min-width: 992px) {
  .pillar + .pillar { padding-left: 2rem; border-left: 1px solid rgba(17, 22, 63, .12); }
}

@media (max-width: 991.98px) {
  .site-nav__logo { height: 50px; }
  .site-nav .navbar-nav { padding-block: 1rem; }
  .story-figure { aspect-ratio: 4 / 3; }
}

@media (max-width: 767.98px) {
  .hero__info { text-align: center; }
  .hero__product { font-size: .8125rem; }
  .hero__tabs { justify-content: flex-start; gap: 1.625rem; }
  .hero__tab { font-size: .75rem; }
  .hero__arrow { width: 46px; height: 46px; }

  .beer-card { min-height: 0; }
  .beer-card__image { max-height: 380px; }

  .moment { flex-direction: column; align-items: stretch; min-height: 0; }
  .moment::before { display: none; }
  .moment__image {
    position: relative;
    inset: auto;
    height: auto;
    aspect-ratio: 4 / 3;
    object-position: 22% 50%;
    transform: none !important;
  }
  .moment__container { padding-block: 2.5rem 4.5rem; background: var(--kr-night); }
}

@media (max-width: 575.98px) {
  .pillar { padding-right: 0; }
  .pillar + .pillar { border-top: 1px solid rgba(17, 22, 63, .12); }
}

/* 7. Reduced motion
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  .bubble i { animation: none; }
  .reveal,
  .rise { opacity: 1; transform: none; translate: none; transition: none; }
  .hero__tab-bar { transition: none; }
}

/* 8. About (lion background)
   ========================================================================== */
.about {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100vh;
  background: var(--kr-navy-deep) url("../assets/about-lion.jpg") 70% center / cover no-repeat;
  isolation: isolate;
}

.about::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(7, 10, 34, .94) 0%, rgba(7, 10, 34, .82) 38%, rgba(7, 10, 34, .25) 62%, rgba(7, 10, 34, 0) 80%),
    linear-gradient(180deg, rgba(7, 10, 34, .5) 0%, transparent 20%, transparent 80%, rgba(7, 10, 34, .6) 100%);
}

.about .container { width: 100%; }
.about__grid { margin-top: 2.5rem; }

.about__title {
  margin-bottom: .625rem;
  padding-top: 1.125rem;
  border-top: 1px solid rgba(226, 180, 92, .4);
  font-family: var(--kr-serif);
  font-weight: 700;
  font-size: 1.25rem;
  color: #fff;
}

.about__text { margin: 0; font-size: .9875rem; color: rgba(245, 237, 220, .78); }

/* 9. Contact
   ========================================================================== */
.contact-card {
  display: flex;
  flex-direction: column;
  gap: .25rem;
  height: 100%;
  padding: 2rem;
  border: 1px solid rgba(226, 180, 92, .3);
  border-radius: 6px;
  text-decoration: none;
  color: var(--kr-cream);
  transition: border-color .35s, background-color .35s, transform .5s var(--kr-ease);
}

.contact-card:hover {
  border-color: var(--kr-gold);
  background-color: rgba(226, 180, 92, .06);
  transform: translateY(-4px);
  color: var(--kr-cream);
}

.contact-card svg {
  width: 32px;
  height: 32px;
  margin-bottom: 1.5rem;
  fill: none;
  stroke: var(--kr-gold);
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-card__label {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--kr-gold);
}

.contact-card__value {
  font-family: var(--kr-sans); /* Cinzel is caps-only, which would misspell the e-mail */
  font-weight: 700;
  font-size: clamp(1.25rem, 2vw, 1.625rem);
  letter-spacing: .01em;
  overflow-wrap: anywhere;
}

/* 10. Nav tools: language switch + music toggle
   ========================================================================== */
.lang-switch {
  display: flex;
  padding: 3px;
  border: 1px solid rgba(245, 237, 220, .25);
  border-radius: 999px;
}

.lang-switch__btn,
.music-toggle,
.hero__tab,
.hero__arrow,
.age-gate button {
  -webkit-appearance: none; /* drop iOS Safari's native button look */
  appearance: none;
  -webkit-tap-highlight-color: transparent;
}

.lang-switch__btn {
  min-width: 36px;
  padding: .3rem .5rem;
  border: 0;
  border-radius: 999px;
  background: none;
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--kr-cream);
  opacity: .7;
  transition: background-color .3s, color .3s, opacity .3s;
}

.lang-switch__btn:hover { opacity: 1; }

.lang-switch__btn[aria-pressed="true"] {
  background: var(--kr-gold);
  color: var(--kr-ink);
  opacity: 1;
}

.music-toggle {
  position: relative;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(245, 237, 220, .25);
  border-radius: 50%;
  background: none;
  color: var(--kr-cream);
  transition: border-color .3s, background-color .3s;
}

.music-toggle:hover { border-color: var(--kr-gold); }
.music-toggle[aria-pressed="true"] { border-color: var(--kr-gold); background: rgba(226, 180, 92, .12); }

.music-toggle__icon {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.music-toggle__icon--on,
.music-toggle[aria-pressed="true"] .music-toggle__icon--off { display: none; }
.music-toggle[aria-pressed="true"] .music-toggle__icon--on { display: block; }

/* Tiny equaliser shown while music plays */
.music-toggle__bars {
  position: absolute;
  right: -2px;
  bottom: -2px;
  display: none;
  align-items: flex-end;
  gap: 1.5px;
  height: 10px;
  padding: 2px 3px;
  border-radius: 4px;
  background: var(--kr-gold);
}

.music-toggle[aria-pressed="true"] .music-toggle__bars { display: flex; }

.music-toggle__bars i {
  display: block;
  width: 2px;
  height: 100%;
  background: var(--kr-ink);
  transform-origin: bottom;
  animation: eq 1s ease-in-out infinite alternate;
}

.music-toggle__bars i:nth-child(2) { animation-delay: -.4s; }
.music-toggle__bars i:nth-child(3) { animation-delay: -.7s; }

@keyframes eq {
  from { transform: scaleY(.3); }
  to   { transform: scaleY(1); }
}

/* 11. Google Translate: keep the widget hidden, use our own switcher
   ========================================================================== */
.gt-mount {
  position: absolute;
  left: -9999px;
  top: 0;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

body { top: 0 !important; }

.skiptranslate iframe,
iframe.skiptranslate,
.goog-te-banner-frame,
#goog-gt-tt,
.goog-te-balloon-frame,
.VIpgJd-ZVi9od-ORHb-OEVmcd,
.VIpgJd-ZVi9od-aZ2wEe-wOHMyf { display: none !important; }

.goog-text-highlight { background: none !important; box-shadow: none !important; }

/* Right-to-left reading when the page is translated to Arabic */
.translated-rtl :is(p, h1, h2, h3, dt, dd, figcaption, .contact-card) { direction: rtl; }

/* 12. Age gate
   ========================================================================== */
.age-gate {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background:
    radial-gradient(60% 60% at 50% 40%, rgba(28, 39, 117, .9), rgba(7, 10, 34, .97)),
    var(--kr-night);
}

.age-verified .age-gate { display: none; }
html:not(.age-verified) body { overflow: hidden; }

.age-gate__panel {
  width: min(100%, 480px);
  padding: clamp(2rem, 5vw, 3rem);
  border: 1px solid rgba(226, 180, 92, .35);
  border-radius: 8px;
  background: rgba(11, 16, 51, .85);
  text-align: center;
  animation: gate-in .8s var(--kr-ease) both;
}

.age-gate__logo { width: 150px; margin: 0 auto 1.75rem; }

.age-gate__title {
  margin-bottom: .75rem;
  font-family: var(--kr-serif);
  font-weight: 700;
  font-size: clamp(1.5rem, 4vw, 1.875rem);
  line-height: 1.15;
  color: #fff;
}

.age-gate__text { margin-bottom: 1.75rem; font-size: .9375rem; color: var(--kr-muted); }

.age-gate__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .75rem;
}

.age-gate__actions .btn-gold { margin-top: 0; }

.age-gate__denied {
  margin: 1.5rem 0 0;
  font-size: .9375rem;
  font-weight: 600;
  color: #F2A0A0;
}

.btn-gold { background: none; }
.btn-gold--solid { background: var(--kr-gold); color: var(--kr-ink); }
.btn-gold--solid:hover { background: var(--kr-gold-soft); }

@keyframes gate-in {
  from { opacity: 0; transform: translateY(16px) scale(.98); }
  to   { opacity: 1; transform: none; }
}

/* 13. Responsive additions
   ========================================================================== */
@media (max-width: 991.98px) {
  .about { background-position: 72% center; }
  .about::before {
    background: linear-gradient(180deg, rgba(7, 10, 34, .55) 0%, rgba(7, 10, 34, .88) 45%, rgba(7, 10, 34, .95) 100%);
  }
}

@media (max-width: 575.98px) {
  .lang-switch__btn { min-width: 30px; padding: .25rem .375rem; }
  .music-toggle { width: 36px; height: 36px; }
  .site-nav__logo { height: 42px; }
}

@media (prefers-reduced-motion: reduce) {
  .music-toggle__bars i,
  .age-gate__panel { animation: none; }
}
