/* common.css - shared NEXON design system, nav, footer, utilities */

/* =========================================================
     This page reuses the entire NEXON design system from the
     homepage — same tokens, same components — and adds only
     what's specific to the apps page.
     ========================================================= */

  :root {
    --lime: #bfd63f;
    --teal: #054462;
    --slate: #6d87aa;
    --black: #010101;
    --white: #ffffff;
    --bg: #ffffff;
    --bg-soft: #f4f7fb;
    --border: rgba(5, 68, 98, 0.12);
    --border-strong: rgba(5, 68, 98, 0.25);
    --ink: #010101;
    --ink-soft: #2a3b4d;
    --ink-mute: #6d87aa;
    --shadow-soft: 0 18px 40px -22px rgba(5, 68, 98, 0.25);
    --shadow-lime: 0 14px 32px -14px rgba(191, 214, 63, 0.55);
    --radius: 16px;
    --ease: cubic-bezier(.2, .8, .2, 1);
  }

* { box-sizing: border-box; margin: 0; padding: 0; }

*:focus, *:active { outline: none !important; -webkit-tap-highlight-color: transparent; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Bricolage Grotesque', system-ui, sans-serif;
    background: var(--bg);
    color: var(--ink);
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }

body::before {
    content: "";
    position: fixed; inset: 0;
    background:
      radial-gradient(900px 500px at 80% -10%, rgba(191, 214, 63, 0.18), transparent 60%),
      radial-gradient(700px 500px at -10% 100%, rgba(5, 68, 98, 0.10), transparent 60%);
    z-index: -1;
    pointer-events: none;
  }

img, video { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; transition: color .25s var(--ease); }

a:hover { color: var(--teal); }

ul { list-style: none; }

button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
  }

.heading, h1, h2, h3 {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.1;
    color: var(--ink);
  }

.eyebrow {
    display: block;
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--teal);
    margin-bottom: 18px;
  }

/* BUTTONS — enter from left, exit to right */
  .btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 15px;
    transition: color .35s var(--ease), transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
    white-space: nowrap;
    overflow: hidden;
    z-index: 1;
    isolation: isolate;
  }

.btn span, .btn i { position: relative; z-index: 2; }

.btn::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    transform: translateX(-101%);
    transition: transform .45s var(--ease);
    z-index: 1;
  }

.btn:hover::before { transform: translateX(0); }

.btn.leaving::before { transform: translateX(101%); }

.btn.resetting::before { transform: translateX(-101%); transition: none; }

.btn-primary {
    background: var(--lime);
    color: var(--black);
    box-shadow: var(--shadow-lime);
  }

.btn-primary::before { background: var(--teal); }

.btn-primary:hover {
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 18px 36px -14px rgba(5, 68, 98, 0.45);
  }

.btn-outline {
    background: transparent;
    color: var(--ink);
    border: 1px solid var(--border-strong);
  }

.btn-outline::before { background: var(--teal); }

.btn-outline:hover {
    color: var(--white);
    border-color: var(--teal);
    transform: translateY(-2px);
  }

/* NAVBAR */
  .site-nav {
    position: fixed; top: 0; left: 0; right: 0;
    z-index: 100;
    padding: 18px 0;
    transition: all .4s var(--ease);
  }

.site-nav.scrolled {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(18px) saturate(140%);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
    box-shadow: 0 1px 0 rgba(5, 68, 98, 0.08);
    padding: 12px 0;
  }

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
  }

.nav-logo img { width: 88px; height: auto; border-radius: 10px; }

.nav-menu { display: flex; align-items: center; gap: 4px; }

.nav-link {
    padding: 10px 14px;
    font-size: 14px;
    font-weight: 500;
    color: var(--ink-soft);
    border-radius: 8px;
    transition: color .25s var(--ease);
  }

.nav-link:hover { color: var(--teal); }

.nav-link.active { color: var(--teal); font-weight: 600; }

.has-children { position: relative; }

.dropdown {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    min-width: 220px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all .3s var(--ease);
    box-shadow: 0 20px 50px -10px rgba(5, 68, 98, 0.18);
  }

.has-children:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }

.dropdown li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 14px;
    color: var(--ink-soft);
  }
.dropdown li a i { color: var(--teal); font-size: 13px; width: 18px; text-align: center; }
.dropdown li a:hover { background: rgba(191, 214, 63, 0.18); color: var(--teal); }
.dropdown li a.is-active { background: var(--teal); color: var(--white); }
.dropdown li a.is-active i { color: var(--lime); }

/* Nav trigger (dropdown opener button) - looks like a nav-link */
.nav-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
  background: transparent;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-family: inherit;
  transition: color .25s var(--ease);
}
.nav-trigger i { font-size: 10px; transition: transform .25s var(--ease); color: var(--ink-mute); }
.nav-trigger:hover, .nav-item.active .nav-trigger { color: var(--teal); }
.nav-item.active .nav-trigger { font-weight: 600; }
.has-children:hover .nav-trigger i,
.has-children.is-open .nav-trigger i { transform: rotate(180deg); color: var(--teal); }

/* CTA-PRIMARY (navbar) */
  .cta-primary { margin-left: 8px; }

.cta-primary a {
    position: relative;
    display: inline-block;
    padding: 11px 22px;
    background: var(--lime);
    color: var(--black) !important;
    border-radius: 999px;
    font-weight: 700;
    font-size: 14px;
    overflow: hidden;
    isolation: isolate;
    transition: color .35s var(--ease), transform .25s var(--ease);
  }

.cta-primary a::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--teal);
    transform: translateX(-101%);
    transition: transform .45s var(--ease);
    z-index: -1;
  }

.cta-primary a:hover { color: var(--white) !important; transform: translateY(-2px); }

.cta-primary a:hover::before { transform: translateX(0); }

.cta-primary a.leaving::before { transform: translateX(101%); }

.cta-primary a.resetting::before { transform: translateX(-101%); transition: none; }

/* Burger */
  .burger {
    display: none;
    width: 36px; height: 36px;
    background: transparent;
    border: none;
    align-items: center; justify-content: center;
    flex-direction: column;
    gap: 5px;
    padding: 0;
  }

.burger span {
    display: block; width: 22px; height: 2px;
    background: var(--ink);
    border-radius: 2px;
    transition: all .3s var(--ease);
  }

/* When the menu is open, hide the burger entirely so the in-panel close (X) is the only X visible */
.burger.open { display: none !important; }

.mobile-menu {
    position: fixed;
    top: 0; right: -100%;
    width: min(360px, 90vw);
    height: 100vh;
    background: var(--white);
    box-shadow: -10px 0 40px rgba(5, 68, 98, 0.12);
    padding: 70px 24px 30px;
    z-index: 120;
    transition: right .5s var(--ease), transform .25s var(--ease);
    overflow-y: auto;
    overscroll-behavior: contain;
    display: flex;
    flex-direction: column;
    touch-action: pan-y;
  }

.mobile-menu.open { right: 0; }

/* While the user is actively swiping, disable the slide-in transition so the panel tracks the finger */
.mobile-menu.is-swiping { transition: none; }

/* Backdrop shown behind the open menu — tap it to close, sits below the menu but above the nav */
.mobile-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(5, 68, 98, 0.35);
  opacity: 0;
  visibility: hidden;
  z-index: 115;
  transition: opacity .35s var(--ease), visibility .35s var(--ease);
}
.mobile-backdrop.open { opacity: 1; visibility: visible; }

.mobile-close {
  position: absolute;
  top: 18px; right: 18px;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--ink);
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.mobile-close:hover {
  background: var(--teal);
  color: var(--white);
  border-color: var(--teal);
  transform: rotate(90deg);
}

.mobile-section {
  display: flex;
  flex-direction: column;
  margin-bottom: 18px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.mobile-section:last-of-type { border-bottom: none; }
.mobile-section-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--ink-mute);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.mobile-menu a {
    display: block;
    padding: 11px 0;
    font-size: 16px;
    font-weight: 500;
    color: var(--ink-soft);
  }
.mobile-menu a:hover { color: var(--teal); padding-left: 6px; }

.mobile-lang {
  display: flex;
  gap: 8px;
  margin-top: 4px;
  border-top: none;
  padding: 4px 0 0;
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.16em;
  font-size: 12px;
  text-transform: uppercase;
}
.mobile-lang a {
  flex: 1;
  text-align: center;
  padding: 10px 0;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-weight: 700;
  color: var(--ink-soft);
}
.mobile-lang a.is-active { background: var(--teal); color: var(--white); border-color: var(--teal); }
.mobile-lang a:hover { color: var(--teal); border-color: var(--teal); padding-left: 0; }
.mobile-lang a.is-active:hover { color: var(--white); }

.mobile-cta {
  margin-top: auto;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px !important;
  background: var(--lime);
  color: var(--black) !important;
  border-radius: 999px;
  font-weight: 700 !important;
  font-size: 15px !important;
  text-align: center;
  border: none !important;
  box-shadow: var(--shadow-lime);
}
.mobile-cta:hover { color: var(--black) !important; padding-left: 22px !important; }

/* Smart navbar (auto hide/show on scroll) */
.site-nav {
  transition: top .35s var(--ease), transform .35s var(--ease), background .4s var(--ease), padding .4s var(--ease);
}
.site-nav.nav-hidden {
  transform: translateY(-110%);
}

/* SECTIONS */
  section { position: relative; padding: 110px 0; }

section.tight { padding: 70px 0; }

.section-title h2.heading {
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    margin-bottom: 14px;
  }

.section-title p { color: var(--ink-soft); font-size: 17px; max-width: 620px; margin: 0 auto; }

/* SECTION REVEAL */
  .reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .8s var(--ease), transform .8s var(--ease);
  }

.reveal.in { opacity: 1; transform: none; }

/* FOOTER (homepage parity) */
  .site-footer {
    position: relative;
    padding: 100px 0 30px;
    background: var(--teal);
    color: var(--white);
    margin-top: 60px;
  }

.site-footer h3 { color: var(--white); }

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 50px;
    margin-bottom: 60px;
  }

.footer-grid h3 { font-size: 16px; margin-bottom: 18px; }

.footer-grid p { color: rgba(255, 255, 255, 0.75); font-size: 14px; line-height: 1.7; margin-bottom: 22px; }

.footer-grid .links li { margin-bottom: 10px; }

.footer-grid .links a { color: rgba(255, 255, 255, 0.75); font-size: 14px; }

.footer-grid .links a:hover { color: var(--lime); }

.footer-contact li { margin-bottom: 12px; }

.footer-contact a {
    display: flex; align-items: center; gap: 12px;
    color: rgba(255, 255, 255, 0.75); font-size: 14px;
  }

.footer-contact a i { color: var(--lime); }

.footer-contact a:hover { color: var(--lime); }

.social-icons { display: flex; gap: 10px; }

.social-icons a {
    width: 40px; height: 40px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    display: flex; align-items: center; justify-content: center;
    color: var(--white);
    transition: all .3s var(--ease);
  }

.social-icons a:hover {
    background: var(--lime);
    color: var(--black);
    transform: translateY(-3px);
  }

.footer-bottom {
    text-align: center;
    padding-top: 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
  }

/* LANGUAGE SWITCHER (header) */
.lang-switch {
  position: relative;
  margin-left: 6px;
}
.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 999px;
  cursor: pointer;
  transition: color .25s var(--ease), border-color .25s var(--ease), background .25s var(--ease);
}
.lang-toggle i { color: var(--teal); font-size: 12px; }
.lang-toggle:hover {
  color: var(--teal);
  border-color: var(--teal);
}
.lang-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 150px;
  list-style: none;
  margin: 0;
  padding: 6px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 18px 36px -16px rgba(5, 68, 98, 0.25);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
  z-index: 50;
}
.lang-switch.is-open .lang-menu,
.lang-switch:hover .lang-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.lang-menu li a {
  display: block;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-soft);
  border-radius: 8px;
}
.lang-menu li a:hover { background: rgba(191, 214, 63, 0.18); color: var(--teal); }
.lang-menu li a.is-active { background: var(--teal); color: var(--white); }

/* PROFIT / GAIN CALCULATOR (shared: seller + index) */
.profit-section { padding-top: 110px; padding-bottom: 110px; }
.profit {
  max-width: 1040px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 30px 60px -28px rgba(5, 68, 98, 0.30);
  position: relative;
}
.profit::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 4px;
  background: linear-gradient(90deg, var(--lime), var(--teal));
}
.profit-head {
  padding: 32px 40px 18px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.profit-head .eyebrow { margin-bottom: 8px; }
.profit-head h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 6px; }
.profit-head p { font-size: 14px; color: var(--ink-soft); max-width: 540px; margin: 0 auto; }
.profit-body { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.profit-controls {
  padding: 36px;
  border-right: 1px solid var(--border);
  background: var(--bg-soft);
}
.profit-control { margin-bottom: 26px; }
.profit-control:last-child { margin-bottom: 0; }
.profit-control-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; }
.profit-control-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--ink-mute);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.profit-control-val { font-size: 22px; font-weight: 800; color: var(--ink); }
.profit-control-val .unit { font-size: 14px; color: var(--teal); font-weight: 600; margin-left: 2px; }
.profit-range {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 6px;
  border-radius: 999px;
  background: var(--border);
  outline: none;
  transition: background .25s var(--ease);
}
.profit-range::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--teal);
  border: 3px solid var(--white);
  box-shadow: 0 4px 12px -2px rgba(5, 68, 98, 0.40);
  cursor: pointer;
  transition: transform .15s var(--ease), background .25s var(--ease);
}
.profit-range::-webkit-slider-thumb:hover { transform: scale(1.12); background: var(--lime); }
.profit-range::-webkit-slider-thumb:active { transform: scale(0.95); }
.profit-range::-moz-range-thumb {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--teal);
  border: 3px solid var(--white);
  box-shadow: 0 4px 12px -2px rgba(5, 68, 98, 0.40);
  cursor: pointer;
}
.profit-range::-moz-range-thumb:hover { background: var(--lime); }
.profit-tickrow {
  display: flex; justify-content: space-between;
  margin-top: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: var(--ink-mute);
  letter-spacing: 0.04em;
}
.profit-pricing-tabs {
  display: flex; gap: 6px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 4px;
  margin-top: 6px;
}
.profit-pricing-tab {
  position: relative;
  flex: 1;
  padding: 8px 12px;
  text-align: center;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-soft);
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: background .25s var(--ease), color .25s var(--ease);
}
.profit-pricing-tab::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--lime);
  transform: translateX(-101%);
  transition: transform .45s var(--ease);
  z-index: -1;
}
.profit-pricing-tab:hover:not(.is-active)::before { transform: translateX(0); }
.profit-pricing-tab.leaving::before { transform: translateX(101%); }
.profit-pricing-tab.resetting::before { transform: translateX(-101%); transition: none; }
.profit-pricing-tab.is-active { background: var(--teal); color: var(--white); }
.profit-pricing-tab:hover:not(.is-active) { background: var(--bg-soft); color: var(--teal); }
.profit-results { padding: 36px; display: flex; flex-direction: column; gap: 18px; }
.profit-headline { text-align: center; margin-bottom: 6px; }
.profit-headline-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--ink-mute);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.profit-headline-num { font-size: 56px; font-weight: 800; color: var(--ink); line-height: 1; letter-spacing: -0.02em; }
.profit-headline-num .euro { font-size: 30px; color: var(--teal); font-weight: 700; vertical-align: super; margin-right: 4px; }
.profit-headline-sub { font-size: 12.5px; color: var(--ink-soft); margin-top: 6px; }
.profit-headline-sub strong { color: var(--teal); }
.profit-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.profit-stat { background: var(--bg-soft); border: 1px solid var(--border); border-radius: 12px; padding: 14px 16px; }
.profit-stat-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: var(--ink-mute);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.profit-stat-val { font-size: 18px; font-weight: 700; color: var(--ink); line-height: 1.1; }
.profit-stat-val .small { font-size: 13px; color: var(--ink-soft); font-weight: 500; }
.profit-stat-val.is-positive { color: var(--teal); }
.profit-cta { margin-top: 4px; width: 100%; justify-content: center; padding: 14px 22px; font-size: 15px; }
.profit-fineprint { font-size: 11px; color: var(--ink-mute); text-align: center; line-height: 1.5; padding: 0 36px 24px; }

@media (max-width: 768px) {
  .profit-body { grid-template-columns: 1fr; }
  .profit-controls { border-right: none; border-bottom: 1px solid var(--border); }
  .profit-head { padding: 26px 22px 14px; }
  .profit-controls, .profit-results { padding: 24px 22px; }
  .profit-fineprint { padding: 0 22px 22px; }
  .profit-headline-num { font-size: 44px; }
  .profit-headline-num .euro { font-size: 26px; }
}

/* SCREENSHOT CAROUSEL (shared: panel + seller) */
.carousel {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
}
.carousel-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 12px 4px 28px;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-slide {
  flex: 0 0 calc(100% - 32px);
  max-width: 720px;
  margin: 0;
  scroll-snap-align: center;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 24px 50px -28px rgba(5, 68, 98, 0.30);
  display: flex;
  flex-direction: column;
}
.carousel-slide img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  background: var(--bg-soft);
  display: block;
}
.carousel-slide figcaption {
  padding: 16px 22px;
  font-size: 14px;
  color: var(--ink-soft);
  border-top: 1px solid var(--border);
  background: var(--bg-soft);
}
.carousel-slide figcaption strong { color: var(--teal); font-weight: 700; }

.carousel-arrow {
  position: absolute;
  top: calc(50% - 24px);
  transform: translateY(-50%);
  z-index: 5;
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--ink);
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .2s var(--ease);
  box-shadow: 0 12px 24px -8px rgba(5, 68, 98, 0.30);
}
.carousel-arrow:hover {
  background: var(--teal);
  color: var(--white);
  border-color: var(--teal);
}
.carousel-arrow:active { transform: translateY(-50%) scale(0.94); }
.carousel-prev { left: -10px; }
.carousel-next { right: -10px; }

.carousel-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 6px;
}
.carousel-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--border-strong);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background .25s var(--ease), transform .25s var(--ease);
}
.carousel-dot.is-active {
  background: var(--teal);
  transform: scale(1.2);
}

@media (max-width: 720px) {
  .carousel-arrow { width: 38px; height: 38px; font-size: 13px; }
  .carousel-prev { left: 6px; }
  .carousel-next { right: 6px; }
  .carousel-slide { flex-basis: calc(100% - 32px); }
}

/* INLINE SEARCH BAR (channels / movies / series) */
.inline-search-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.inline-search {
  flex: 1 1 320px;
  position: relative;
  display: flex;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 0 18px;
  height: 52px;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.inline-search:focus-within {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(5, 68, 98, 0.12);
}
.inline-search i {
  color: var(--ink-mute);
  margin-right: 10px;
  font-size: 14px;
}
.inline-search input {
  flex: 1;
  border: none;
  background: transparent;
  outline: none;
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  padding: 0;
}
.inline-search input::placeholder { color: var(--ink-mute); }

.inline-search-count {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--ink-mute);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.inline-search-count strong {
  color: var(--teal);
  font-size: 16px;
  font-weight: 700;
}

/* FLOATING WHATSAPP */
  .wa-float {
    position: fixed;
    bottom: 24px; right: 24px;
    width: 60px; height: 60px;
    border-radius: 50%;
    background: #25D366;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 12px 32px -6px rgba(37, 211, 102, 0.55);
    z-index: 99;
    transition: transform .3s var(--ease), box-shadow .3s var(--ease);
  }

.wa-float::before {
    content: "";
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    background: rgba(37, 211, 102, 0.35);
    z-index: -1;
    animation: waPulse 2s ease-in-out infinite;
  }

@keyframes waPulse {
    0% { transform: scale(1); opacity: 0.6; }
    100% { transform: scale(1.4); opacity: 0; }
  }

.wa-float:hover {
    transform: scale(1.08);
    color: var(--white);
    box-shadow: 0 14px 40px -6px rgba(37, 211, 102, 0.7);
  }

.nav-logo img { width: 88px; height: 88px; border-radius: 10px; object-fit: cover; }

/* HERO (catalog pages: movies / series / channels) */
  .ch-hero {
    padding-top: 160px;
    padding-bottom: 60px;
    min-height: 50vh;
    display: flex;
    align-items: center;
    text-align: center;
  }

.ch-hero-grid {
    display: block;
    max-width: 880px;
    margin: 0 auto;
  }

.ch-hero h1.heading {
    font-size: clamp(2.4rem, 5.4vw, 4.4rem);
    font-weight: 800;
    margin: 0 auto 22px;
    color: var(--ink);
    max-width: 880px;
  }

.ch-hero h1 .accent { color: var(--teal); }

.ch-hero p {
    font-size: 17px;
    color: var(--ink-soft);
    margin: 0 auto 28px;
    max-width: 640px;
    line-height: 1.65;
  }

.ch-hero .btn { margin: 0 6px; }

.ch-hero-stats {
    display: flex;
    gap: 36px;
    justify-content: center;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    flex-wrap: wrap;
  }

.ch-hero-stat-num {
    display: block;
    font-size: 28px;
    font-weight: 700;
    color: var(--teal);
    line-height: 1;
    margin-bottom: 4px;
  }

.ch-hero-stat-label {
    font-size: 12px;
    color: var(--ink-mute);
    letter-spacing: 0.04em;
  }

.ch-hero-img {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
  }

.ch-hero-img img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    background: var(--bg-soft);
  }

/* TOOLBAR */
  .toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 0 36px;
    flex-wrap: wrap;
  }

.toolbar-left {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
  }

.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: var(--bg-soft);
    border-radius: 999px;
    font-size: 14px;
    font-weight: 500;
    color: var(--ink-soft);
    transition: all .25s var(--ease);
  }

.back-btn:hover {
    background: var(--teal);
    color: var(--white);
    transform: translateX(-3px);
  }

.toolbar-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--ink);
  }

.search-trigger {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    background: var(--bg-soft);
    border-radius: 999px;
    font-size: 14px;
    color: var(--ink-mute);
    cursor: pointer;
    transition: all .25s var(--ease);
    min-width: 240px;
  }

.search-trigger i { color: var(--teal); }

.search-trigger:hover {
    background: var(--white);
    box-shadow: var(--shadow-soft);
    color: var(--ink);
  }

.search-trigger kbd {
    margin-left: auto;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    background: var(--white);
    padding: 2px 6px;
    border-radius: 5px;
    color: var(--ink-mute);
    border: 1px solid var(--border);
  }

/* GROUPS GRID */
  .groups-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }

.group-card {
    position: relative;
    padding: 24px 22px;
    background: var(--bg-soft);
    border-radius: 14px;
    overflow: hidden;
    cursor: pointer;
    transition: transform .35s var(--ease), background .35s var(--ease), box-shadow .35s var(--ease);
    opacity: 0;
    transform: translateY(20px);
    animation: groupCardIn .6s var(--ease) forwards;
    text-align: left;
    display: block;
    border: none;
    width: 100%;
  }

@keyframes groupCardIn {
    to { opacity: 1; transform: translateY(0); }
  }

.group-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 4px; height: 100%;
    background: var(--lime);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform .45s var(--ease);
  }

.group-card:hover {
    transform: translateY(-5px);
    background: var(--white);
    box-shadow: 0 18px 36px -18px rgba(5, 68, 98, 0.35);
  }

.group-card:hover::before { transform: scaleY(1); }

.group-flag {
    display: inline-block;
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.16em;
    color: var(--white);
    background: var(--teal);
    padding: 4px 8px;
    border-radius: 999px;
    margin-bottom: 14px;
  }

.group-flag.flag-ES { background: #054462; }

.group-flag.flag-AR { background: #2a9d4f; }

.group-flag.flag-FR { background: #2d4ea0; }

.group-flag.flag-US { background: #b8443c; }

.group-flag.flag-AF { background: #8a5b2e; }

.group-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 8px;
    line-height: 1.25;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-word;
  }

.group-count {
    font-size: 13px;
    color: var(--ink-mute);
    display: flex;
    align-items: center;
    gap: 6px;
  }

.group-count strong {
    color: var(--teal);
    font-weight: 700;
    font-size: 14px;
  }

/* PAGER */
  .pager {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
    margin-top: 50px;
    flex-wrap: wrap;
  }

.pager-info {
    width: 100%;
    text-align: center;
    margin-bottom: 6px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink-mute);
  }

.pager-info strong { color: var(--teal); }

.empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: var(--ink-mute);
  }

.empty-state i {
    font-size: 32px;
    color: var(--ink-mute);
    margin-bottom: 16px;
    display: block;
  }

/* =========================================================
     SEARCH POPUP — compact, max 7 results, refined design
     ========================================================= */
  .modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(1, 1, 1, 0.55);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 200;
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s var(--ease), visibility .3s;
  }

.modal-overlay.open { opacity: 1; visibility: visible; }

.search-popup {
    position: fixed;
    top: 12vh;
    left: 50%;
    transform: translateX(-50%) scale(0.96);
    width: min(560px, 92vw);
    background: var(--white);
    border-radius: 18px;
    box-shadow: 0 30px 70px -10px rgba(5, 68, 98, 0.45);
    z-index: 201;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: all .35s var(--ease);
  }

.search-popup.open {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) scale(1);
  }

.search-input-wrap {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 22px;
    border-bottom: 1px solid var(--border);
  }

.search-input-wrap i {
    color: var(--teal);
    font-size: 18px;
  }

.search-input {
    flex: 1;
    border: none;
    background: transparent;
    font-family: inherit;
    font-size: 17px;
    color: var(--ink);
    outline: none;
  }

.search-input::placeholder { color: var(--ink-mute); }

.search-close {
    width: 30px; height: 30px;
    border-radius: 50%;
    background: var(--bg-soft);
    color: var(--ink-mute);
    display: flex; align-items: center; justify-content: center;
    font-size: 13px;
    transition: all .25s var(--ease);
  }

.search-close:hover { background: var(--teal); color: var(--white); }

/* No internal scroll — only 7 results max so the whole list fits */
  .search-results {
    padding: 6px 0;
  }

.search-result {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 22px;
    cursor: pointer;
    transition: background .15s var(--ease);
    border: none;
    width: 100%;
    text-align: left;
    background: transparent;
  }

.search-result:hover, .search-result.active {
    background: var(--bg-soft);
  }

.search-result-text {
    flex: 1;
    overflow: hidden;
  }

.search-result-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

.search-result-meta {
    font-size: 12px;
    color: var(--ink-mute);
  }

.search-result-type {
    margin-left: auto;
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.12em;
    color: var(--teal);
    background: rgba(5, 68, 98, 0.08);
    padding: 3px 8px;
    border-radius: 999px;
    flex-shrink: 0;
  }

.search-empty {
    text-align: center;
    padding: 36px 20px;
    color: var(--ink-mute);
    font-size: 14px;
  }

.search-foot {
    padding: 10px 22px;
    border-top: 1px solid var(--border);
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.12em;
    color: var(--ink-mute);
    text-transform: uppercase;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
  }

.search-foot kbd {
    background: var(--bg-soft);
    padding: 2px 6px;
    border-radius: 4px;
    border: 1px solid var(--border);
    font-size: 10px;
    margin: 0 3px;
  }

.search-overflow {
    color: var(--teal);
    font-weight: 700;
  }

/* SKELETONS */
  .skeleton-card {
    height: 124px;
    border-radius: 14px;
    background: linear-gradient(110deg, var(--bg-soft) 8%, #e9eef5 18%, var(--bg-soft) 33%);
    background-size: 200% 100%;
    animation: shim 1.4s linear infinite;
  }

@keyframes shim {
    0% { background-position: 100% 0; }
    100% { background-position: -100% 0; }
  }

/* FOOTER */
  .site-footer {
    position: relative;
    padding: 100px 0 30px;
    background: var(--teal);
    color: var(--white);
    margin-top: 80px;
  }

.footer-grid p { color: rgba(255,255,255,.75); font-size: 14px; line-height: 1.7; margin-bottom: 22px; }

.footer-grid .links a { color: rgba(255,255,255,.75); font-size: 14px; }

.footer-contact a {
    display: flex; align-items: center; gap: 12px;
    color: rgba(255,255,255,.75); font-size: 14px;
  }

.social-icons a {
    width: 40px; height: 40px;
    border-radius: 10px;
    background: rgba(255,255,255,.08);
    display: flex; align-items: center; justify-content: center;
    color: var(--white);
    transition: all .3s var(--ease);
    /* Each social link must have aria-label set in HTML */
  }

.footer-bottom {
    text-align: center;
    padding-top: 28px;
    border-top: 1px solid rgba(255,255,255,.12);
    color: rgba(255,255,255,.6);
    font-size: 13px;
  }

/* WHATSAPP FLOAT */
  .wa-float {
    position: fixed;
    bottom: 24px; right: 24px;
    width: 60px; height: 60px;
    border-radius: 50%;
    background: #25D366;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 12px 32px -6px rgba(37,211,102,.55);
    z-index: 99;
    transition: transform .3s var(--ease), box-shadow .3s var(--ease);
  }

.wa-float::before {
    content: "";
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    background: rgba(37,211,102,.35);
    z-index: -1;
    animation: waPulse 2s ease-in-out infinite;
  }

@keyframes waPulse {
    0% { transform: scale(1); opacity: .6; }
    100% { transform: scale(1.4); opacity: 0; }
  }

.wa-float:hover {
    transform: scale(1.08);
    color: var(--white);
    box-shadow: 0 14px 40px -6px rgba(37,211,102,.7);
  }

/* RESPONSIVE */
  @media (max-width: 1024px) {
    .ch-hero-grid { grid-template-columns: 1fr; gap: 40px; }
    .groups-grid { grid-template-columns: repeat(3, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }

    /* Mobile / tablet nav: hide the full menu, show the burger */
    .nav-menu { display: none; }
    .burger { display: flex; }
    .site-nav { padding: 14px 0; }
    .site-nav.scrolled { padding: 10px 0; }
    .nav-logo img { width: 64px; height: 64px; }
  }

  @media (max-width: 600px) {
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .nav-logo img { width: 56px; height: 56px; }
    .container { padding: 0 18px; }
  }

/* SECTION TITLE */
  .section-title { text-align: center; margin-bottom: 56px; }

.faq-item {
    position: relative;
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    transition: background .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
  }

/* Lime line top — enters from left, exits to right (matches site language) */
  .faq-item::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 3px;
    background: var(--lime);
    transform: translateX(-101%);
    transition: transform .45s var(--ease);
    z-index: 3;
  }

.faq-item:hover::before { transform: translateX(0); }

.faq-item.leaving::before { transform: translateX(101%); }

.faq-item.resetting::before { transform: translateX(-101%); transition: none; }

/* When open, keep the lime line visible */
  .faq-item.is-open::before { transform: translateX(0); }

.faq-item:hover { background: var(--white); border-color: var(--border-strong); }

.faq-item.is-open {
    background: var(--white);
    border-color: var(--teal);
    box-shadow: 0 14px 32px -18px rgba(5, 68, 98, 0.30);
  }

.faq-q {
    width: 100%;
    text-align: left;
    padding: 22px 26px;
    display: flex;
    align-items: center;
    gap: 18px;
    cursor: pointer;
    background: transparent;
  }

.faq-q-icon {
    width: 36px; height: 36px;
    border-radius: 10px;
    background: var(--white);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--teal);
    font-size: 14px;
    flex: 0 0 auto;
    transition: all .3s var(--ease);
  }

.faq-item.is-open .faq-q-icon,
  .faq-item:hover .faq-q-icon {
    background: var(--teal);
    color: var(--lime);
    border-color: var(--teal);
  }

.faq-q-text {
    flex: 1;
    font-size: 16px;
    font-weight: 600;
    color: var(--ink);
    line-height: 1.4;
  }

.faq-q-toggle {
    width: 32px; height: 32px;
    border-radius: 50%;
    background: var(--bg-soft);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ink-soft);
    flex: 0 0 auto;
    transition: all .35s var(--ease);
    font-size: 12px;
  }

.faq-item.is-open .faq-q-toggle {
    background: var(--lime);
    border-color: var(--lime);
    color: var(--black);
    transform: rotate(45deg);
  }

.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height .5s var(--ease);
  }

.faq-a-inner {
    padding: 0 26px 24px 80px;
    color: var(--ink-soft);
    font-size: 15px;
    line-height: 1.7;
  }

.faq-a-inner p { margin-bottom: 12px; }

.faq-a-inner p:last-child { margin-bottom: 0; }

.faq-a-inner a {
    color: var(--teal);
    font-weight: 600;
    border-bottom: 1px solid rgba(5, 68, 98, 0.25);
  }

.faq-a-inner a:hover { border-bottom-color: var(--teal); }

/* TMDB CAROUSEL */
  .tmdb { position: relative; }

.tmdb-rails {
    display: flex;
    flex-direction: column;
    gap: 14px;
  }

.tmdb-track {
    position: relative;
    display: block;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 6px 4px 10px;
    cursor: grab;
    scroll-behavior: smooth;
    scrollbar-width: none;       /* hide scrollbar Firefox */
    -ms-overflow-style: none;    /* hide scrollbar IE/Edge */
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
            mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
  }

.tmdb-track::-webkit-scrollbar { display: none; }

/* hide scrollbar Chrome/Safari */
  .tmdb-track.is-dragging { cursor: grabbing; scroll-behavior: auto; }

.tmdb-track.is-dragging .tmdb-poster { pointer-events: none; }

.tmdb-strip {
    display: flex;
    gap: 14px;
    width: max-content;
    will-change: transform;
    animation-duration: 60s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    animation-play-state: running;
  }

/* Slow down (don't stop) when the user hovers — keeps motion alive,
     but gives them time to read titles */
  .tmdb-track:hover .tmdb-strip {
    animation-duration: 180s;
  }

/* Pause animation while the user is actively dragging or while the
     track is scrolled away from its natural position */
  .tmdb-track.is-paused .tmdb-strip {
    animation-play-state: paused;
  }

.tmdb-strip[data-direction="-1"] {
    animation-name: tmdbMarqueeLeft;
  }

.tmdb-strip[data-direction="1"] {
    animation-name: tmdbMarqueeRight;
  }

@keyframes tmdbMarqueeLeft {
    from { transform: translate3d(0, 0, 0); }
    to   { transform: translate3d(-50%, 0, 0); }
  }

@keyframes tmdbMarqueeRight {
    from { transform: translate3d(-50%, 0, 0); }
    to   { transform: translate3d(0, 0, 0); }
  }

.tmdb-poster {
    flex: 0 0 auto;
    width: 150px;
    aspect-ratio: 2 / 3;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    background: var(--bg-soft);
    box-shadow: 0 10px 24px -14px rgba(5, 68, 98, 0.4);
    transition: transform .35s var(--ease), box-shadow .35s var(--ease);
  }

.tmdb-poster:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 32px -14px rgba(5, 68, 98, 0.55);
  }

.tmdb-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
    -webkit-user-drag: none;
  }

.tmdb-title-overlay {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    padding: 30px 12px 12px;
    background: linear-gradient(180deg, transparent 0%, rgba(1, 1, 1, 0.88) 75%);
    color: var(--white);
    font-size: 12px;
    font-weight: 600;
    line-height: 1.3;
    pointer-events: none;
  }

.tmdb-title-overlay .tmdb-flag {
    display: inline-block;
    color: var(--lime);
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.12em;
    margin-right: 5px;
  }

.tmdb-skeleton {
    flex: 0 0 auto;
    width: 150px;
    aspect-ratio: 2 / 3;
    border-radius: 12px;
    background: linear-gradient(110deg, var(--bg-soft) 8%, #e9eef5 18%, var(--bg-soft) 33%);
    background-size: 200% 100%;
    animation: tmdbShimmer 1.4s linear infinite;
  }

@keyframes tmdbShimmer {
    0% { background-position: 100% 0; }
    100% { background-position: -100% 0; }
  }

.tmdb-error {
    text-align: center;
    padding: 40px;
    color: var(--ink-mute);
    font-size: 14px;
    width: 100%;
  }

/* CHANNEL GROUP CARD — lime line enters from left, exits to right */
  .group-card {
    position: relative;
    padding: 24px 22px;
    background: var(--bg-soft);
    border-radius: 14px;
    overflow: hidden;
    cursor: default;
    transition: transform .35s var(--ease), background .35s var(--ease), box-shadow .35s var(--ease);
    opacity: 0;
    transform: translateY(20px);
    animation: groupCardIn .7s var(--ease) forwards;
  }

.group-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--lime);
    transform: translateX(-101%);
    transition: transform .45s var(--ease);
  }

.group-card:hover::before { transform: translateX(0); }

.group-card.leaving::before { transform: translateX(101%); }

.group-card.resetting::before {
    transform: translateX(-101%);
    transition: none;
  }

.group-cta {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: linear-gradient(160deg, var(--lime), #aac538);
    color: var(--black);
    padding: 28px 22px;
    cursor: pointer;
    text-decoration: none;
    border-radius: 14px;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px);
    animation: groupCardIn .7s var(--ease) forwards;
    transition: transform .35s var(--ease), box-shadow .35s var(--ease);
  }

.group-cta:hover {
    transform: translateY(-5px);
    color: var(--black);
    box-shadow: 0 18px 36px -10px rgba(191, 214, 63, 0.7);
  }

.group-cta-icon {
    width: 48px; height: 48px;
    border-radius: 50%;
    background: var(--black);
    color: var(--lime);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    margin-bottom: 14px;
    transition: transform .35s var(--ease);
  }

.group-cta:hover .group-cta-icon {
    transform: rotate(-12deg) scale(1.06);
  }

.group-cta strong {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 4px;
    display: block;
  }

.group-cta span {
    font-size: 13px;
    opacity: 0.75;
  }

.groups-skeleton {
    height: 130px;
    border-radius: 14px;
    background: linear-gradient(110deg, var(--bg-soft) 8%, #e9eef5 18%, var(--bg-soft) 33%);
    background-size: 200% 100%;
    animation: tmdbShimmer 1.4s linear infinite;
  }

.groups-error {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px;
    color: var(--ink-mute);
    font-size: 14px;
  }

/* Movie language flag colors */
  .flag-ES { background: #054462; }

.flag-AR { background: #2a9d4f; }

.flag-FR { background: #2d4ea0; }

.flag-EN { background: #b8443c; }

.flag-DE { background: #393939; }

.flag-IT { background: #2d8b54; }

.flag-PT { background: #4d7a3c; }

.flag-TR { background: #c93a3a; }

.flag-NL { background: #d97706; }

.flag-IN { background: #ea580c; }

.flag-PK { background: #16a34a; }

.flag-AFG { background: #7c5e2e; }

.flag-MU { background: #6d3aa0; }

.flag-OTHER { background: #6d87aa; }
