/* =====================================================================
   EuroThrills Hero widget
   Mirrors /design/EuroThrills Hero.html — scoped under .et-scope .et-hero
   ===================================================================== */

.et-scope .et-hero {
  position: relative;
  height: 100svh;
  min-height: 720px;
  overflow: hidden;
  isolation: isolate;
  color: #fff;
  background: #0b0f0d;
}

.et-scope .et-hero-bg {
  position: absolute; inset: 0;
  z-index: -2;
  background-size: cover;
  background-position: center 38%;
  transform-origin: 50% 45%;
}
.et-scope .et-hero.is-animated .et-hero-bg {
  animation: etHeroZoom 30s ease-in-out infinite alternate;
}
@keyframes etHeroZoom {
  0%   { transform: scale(1.05); }
  100% { transform: scale(1.16); }
}
.et-scope .et-hero::before {
  content: "";
  position: absolute; inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(11,15,13,0.55) 0%, rgba(11,15,13,0.05) 22%, rgba(11,15,13,0) 42%),
    linear-gradient(0deg,   rgba(11,15,13,0.92) 0%, rgba(11,15,13,0.45) 30%, rgba(11,15,13,0) 62%),
    linear-gradient(90deg,  rgba(126,45,23,0.14) 0%, rgba(11,15,13,0) 55%);
  pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
  .et-scope .et-hero.is-animated .et-hero-bg { animation: none; }
}

.et-scope .et-hero-wrap {
  position: relative;
  height: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 26px 40px 30px;
  display: flex;
  flex-direction: column;
}

/* ===== Logo / Nav ===== */
.et-scope .et-hero-nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
}
.et-scope .et-hero-brand {
  display: inline-flex; align-items: center; gap: 11px;
  font-weight: 800; letter-spacing: -0.03em; font-size: 22px;
  color: #fff; text-decoration: none;
  text-shadow: 0 2px 18px rgba(0,0,0,0.4);
}
.et-scope .et-hero-brand-img { height: 34px; width: auto; display: block; }
.et-scope .et-hero-brand-mark {
  width: 34px; height: 34px; border-radius: 9px;
  background: linear-gradient(140deg, var(--et-brand, #C24A2C) 0%, var(--et-brand-deep, #7E2D17) 100%);
  display: grid; place-items: center; color: #fff;
  box-shadow: 0 8px 20px -8px rgba(126,45,23,0.7);
}
.et-scope .et-hero-brand-mark svg { width: 19px; height: 19px; }

.et-scope .et-hero-pill {
  display: flex; align-items: center; gap: 4px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.16);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  border-radius: 9999px;
  padding: 6px;
}
.et-scope .et-hero-pill a {
  font-size: 14px; font-weight: 500;
  color: rgba(255,255,255,0.82);
  padding: 9px 18px; border-radius: 9999px;
  text-decoration: none; white-space: nowrap;
  transition: color .15s ease, background .15s ease;
}
.et-scope .et-hero-pill a:hover { color: #fff; }
.et-scope .et-hero-pill a.is-active {
  background: #fff; color: var(--et-ink, #14110E);
  font-weight: 600;
  box-shadow: 0 2px 10px rgba(0,0,0,0.18);
}

.et-scope .et-hero-cta {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 6px 6px 6px 22px;
  border: 1px solid rgba(255,255,255,0.24);
  border-radius: 9999px;
  font-size: 14px; font-weight: 600; color: #fff; text-decoration: none;
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  transition: background .18s ease, border-color .18s ease;
}
.et-scope .et-hero-cta:hover { background: rgba(255,255,255,0.14); border-color: rgba(255,255,255,0.4); }
.et-scope .et-hero-cta-arrow {
  width: 34px; height: 34px; border-radius: 9999px;
  background: var(--et-brand, #C24A2C);
  display: grid; place-items: center;
  transition: transform .2s ease, background .2s ease;
}
.et-scope .et-hero-cta:hover .et-hero-cta-arrow { transform: rotate(45deg); background: var(--et-brand-darker, #A03B22); }
.et-scope .et-hero-cta-arrow svg { width: 16px; height: 16px; }

/* ===== Center headline ===== */
.et-scope .et-hero-center {
  flex: 1;
  display: flex; flex-direction: column;
  align-items: var(--et-hero-align, center);
  justify-content: flex-start;
  text-align: var(--et-hero-text-align, center);
  padding-top: clamp(28px, 6vh, 70px);
}
.et-scope .et-hero-eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  padding: 8px 18px; border-radius: 9999px;
  font-size: 13.5px; font-weight: 500;
  color: rgba(255,255,255,0.94);
  box-shadow: 0 8px 24px -12px rgba(0,0,0,0.5);
}
.et-scope .et-hero-eyebrow .dot {
  width: 7px; height: 7px; border-radius: 9999px;
  background: var(--et-accent, #D89A3F);
  box-shadow: 0 0 0 0 rgba(216,154,63,0.6);
  animation: etHeroPulse 2.4s infinite;
}
@keyframes etHeroPulse {
  0%   { box-shadow: 0 0 0 0   rgba(216,154,63,0.55); }
  70%  { box-shadow: 0 0 0 9px rgba(216,154,63,0); }
  100% { box-shadow: 0 0 0 0   rgba(216,154,63,0); }
}

.et-scope .et-hero-title {
  margin: 22px 0 0;
  font-weight: 700;
  font-size: clamp(48px, 7.4vw, 116px);
  line-height: 0.92;
  letter-spacing: -0.04em;
  text-shadow: 0 6px 40px rgba(0,0,0,0.45);
  max-width: 16ch;
  color: #fff;
}
.et-scope .et-hero-title .line1 { font-weight: 600; }
.et-scope .et-hero-title .strong { font-weight: 800; }
.et-scope .et-hero-title em {
  font-family: var(--display, 'Instrument Serif', serif);
  font-style: italic; font-weight: 400;
  letter-spacing: -0.02em;
  background: linear-gradient(100deg, var(--et-title-em-start, #fff) 0%, #f3d9c7 55%, var(--et-title-em-end, #D89A3F) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ===== Bottom row ===== */
.et-scope .et-hero-foot {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 40px;
}

.et-scope .et-hero-info { max-width: 340px; flex-shrink: 0; padding-bottom: 4px; }
.et-scope .et-hero-info .info-title,
.et-scope .et-hero-info .info-date {
  font-size: 25px; font-weight: 700; letter-spacing: -0.02em;
  line-height: 1.1; text-shadow: 0 2px 16px rgba(0,0,0,0.5);
  color: #fff;
}
.et-scope .et-hero-info .info-date { color: rgba(255,255,255,0.92); margin-top: 2px; }
.et-scope .et-hero-info .joined { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.et-scope .et-hero-info .avatars { display: flex; }
.et-scope .et-hero-info .avatars .av {
  width: 38px; height: 38px; border-radius: 9999px;
  border: 2px solid rgba(255,255,255,0.85);
  margin-left: -12px;
  background-size: cover; background-position: center;
  display: grid; place-items: center;
  font-size: 12px; font-weight: 700; color: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.et-scope .et-hero-info .avatars .av:first-child { margin-left: 0; }
.et-scope .et-hero-info .avatars .av.count {
  background: var(--et-brand, #C24A2C);
  font-size: 11.5px;
}
.et-scope .et-hero-info .joined-label {
  font-size: 13px; font-weight: 600;
  color: rgba(255,255,255,0.9); line-height: 1.25;
}
.et-scope .et-hero-info .joined-label span {
  display: block; font-weight: 400; color: rgba(255,255,255,0.62); font-size: 12px;
}
.et-scope .et-hero-info .info-desc {
  margin-top: 16px;
  font-size: 13.5px; line-height: 1.55;
  color: rgba(255,255,255,0.74);
  max-width: 290px;
  text-shadow: 0 1px 10px rgba(0,0,0,0.4);
}
/* ===== Hero Buttons ===== */
.et-scope .et-hero-btns {
  display: flex; align-items: center; justify-content: center;
  gap: 14px; flex-wrap: wrap;
  margin-top: 36px;
}

.et-scope .et-hero-btn {
  display: inline-flex; align-items: center;
  border-radius: 9999px;
  font-size: 15px; font-weight: 600;
  text-decoration: none;
  transition: background .18s ease, transform .18s ease, border-color .18s ease;
  cursor: pointer;
}
.et-scope .et-hero-btn .elementor-button-content-wrapper {
  display: inline-flex; align-items: center; gap: 10px;
}
.et-scope .et-hero-btn .elementor-button-icon {
  display: grid; place-items: center; flex-shrink: 0;
}
.et-scope .et-hero-btn .elementor-button-icon svg { width: 16px; height: 16px; }

/* Primary — solid red pill with icon badge */
.et-scope .et-hero-btn--primary {
  padding: 10px 10px 10px 26px;
  background: var(--et-brand, #C24A2C);
  color: #fff;
  box-shadow: 0 10px 28px -10px rgba(194,74,44,0.65);
}
.et-scope .et-hero-btn--primary:hover { background: var(--et-brand-darker, #A03B22); transform: translateY(-2px); }
.et-scope .et-hero-btn--primary .elementor-button-icon {
  width: 38px; height: 38px; border-radius: 9999px;
  background: rgba(255,255,255,0.22);
  transition: background .18s ease, transform .2s ease;
}
.et-scope .et-hero-btn--primary:hover .elementor-button-icon { background: rgba(255,255,255,0.32); transform: translateX(3px); }

/* Secondary — glass pill with play icon */
.et-scope .et-hero-btn--secondary {
  padding: 12px 24px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.28);
  color: rgba(255,255,255,0.92);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
}
.et-scope .et-hero-btn--secondary:hover { background: rgba(255,255,255,0.18); border-color: rgba(255,255,255,0.45); color: #fff; }
.et-scope .et-hero-btn--secondary .elementor-button-icon svg { width: 14px; height: 14px; opacity: 0.9; }

/* ---- Carousel ---- */
.et-scope .et-hero-carousel-zone {
  flex: 1; min-width: 0;
  display: flex; flex-direction: column; align-items: flex-end;
}
.et-scope .et-hero-carousel {
  display: flex; gap: 16px; width: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 24px 2px 6px; margin: -24px 0 0;
  scrollbar-width: none; -ms-overflow-style: none;
  cursor: grab;
}
.et-scope .et-hero-carousel::-webkit-scrollbar { display: none; }
.et-scope .et-hero-carousel.dragging { cursor: grabbing; scroll-snap-type: none; }

.et-scope .et-hero-card {
  position: relative; flex-shrink: 0;
  border-radius: 18px; overflow: hidden;
  scroll-snap-align: start;
  background-size: cover; background-position: center;
  box-shadow: 0 22px 50px -22px rgba(0,0,0,0.7);
  transition: transform .3s cubic-bezier(.2,.7,.2,1), box-shadow .3s ease;
  color: #fff;
}
.et-scope .et-hero-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 38%, rgba(0,0,0,0.72) 100%);
  pointer-events: none;
}
.et-scope .et-hero-card.is-active { transform: translateY(-6px); }

.et-scope .et-hero-card.feature {
  width: 320px; height: 280px;
  border: 1px solid rgba(255,255,255,0.14);
}
.et-scope .et-hero-card .card-cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  z-index: 1; padding: 18px 20px;
}
.et-scope .et-hero-card .card-cap-top {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
}
.et-scope .et-hero-card .card-cap-title {
  font-size: 18px; font-weight: 700; letter-spacing: -0.015em;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}
.et-scope .et-hero-card .card-cap-time {
  font-size: 13px; font-weight: 600;
  color: rgba(255,255,255,0.92);
  font-variant-numeric: tabular-nums;
  display: inline-flex; align-items: center; gap: 5px;
}
.et-scope .et-hero-card .card-cap-time svg { width: 13px; height: 13px; opacity: 0.8; }
.et-scope .et-hero-card .card-cap-desc {
  font-size: 12.5px; line-height: 1.45;
  color: rgba(255,255,255,0.78);
  margin-top: 7px; max-width: 250px;
}
.et-scope .et-hero-card .card-grade {
  position: absolute; top: 14px; left: 14px;
  z-index: 1;
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.18);
  padding: 5px 11px; border-radius: 9999px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.03em;
}
.et-scope .et-hero-card .card-grade .g { color: var(--et-accent, #D89A3F); }

.et-scope .et-hero-card.tall { width: 168px; height: 280px; }
.et-scope .et-hero-card.tall .card-cap { padding: 14px 16px; }
.et-scope .et-hero-card.tall .card-cap-title { font-size: 15px; }
.et-scope .et-hero-card.tall .card-loc {
  font-size: 11.5px; color: rgba(255,255,255,0.78);
  margin-top: 3px;
  display: flex; align-items: center; gap: 4px;
}
.et-scope .et-hero-card.tall .card-loc svg { width: 11px; height: 11px; }

.et-scope .et-hero-meter {
  display: flex; align-items: center; gap: 28px;
  margin-top: 22px; width: 100%;
}
.et-scope .et-hero-meter .counter {
  font-family: var(--display, 'Instrument Serif', serif);
  font-style: italic; letter-spacing: -0.01em; line-height: 1;
  display: flex; align-items: baseline; gap: 2px;
  text-shadow: 0 2px 14px rgba(0,0,0,0.5);
  color: #fff;
}
.et-scope .et-hero-meter .counter .cur { font-size: 46px; }
.et-scope .et-hero-meter .counter .tot { font-size: 21px; color: rgba(255,255,255,0.6); }
.et-scope .et-hero-meter .progress {
  flex: 1; height: 2px;
  background: rgba(255,255,255,0.22);
  border-radius: 9999px;
  position: relative; overflow: hidden;
}
.et-scope .et-hero-meter .progress .fill {
  position: absolute; left: 0; top: 0; bottom: 0;
  background: #fff;
  border-radius: 9999px;
  transition: width .4s cubic-bezier(.2,.7,.2,1);
}

/* ===== Responsive ===== */
@media (max-width: 1000px) {
  .et-scope .et-hero-pill { display: none; }
  .et-scope .et-hero-foot { flex-direction: column; align-items: stretch; gap: 26px; }
  .et-scope .et-hero-info { max-width: none; }
  .et-scope .et-hero-carousel-zone { align-items: stretch; }
}
@media (max-width: 600px) {
  .et-scope .et-hero-wrap { padding: 18px 20px 22px; }
  .et-scope .et-hero-meter { gap: 16px; }
}
