:root {
  --color-primary: #c11233;
  --color-primary-dark: #8f0e26;
  --color-secondary: #0d5c4a;
  --color-accent: #f5c26b;
  --color-background: #f8f5f2;
  --color-surface: #ffffff;
  --color-text: #2c2a29;
  --color-muted: #6b6462;
  --shadow-soft: 0 12px 30px rgba(0, 0, 0, 0.08);
  --shadow-elevated: 0 18px 40px rgba(193, 18, 51, 0.18);
  --promotion-bar-height: 48px;
}

@media (max-width: 900px) {
  :root {
    --promotion-bar-height: 56px;
  }
}

@media (max-width: 600px) {
  :root {
    --promotion-bar-height: 68px;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Noto Sans TC", "Inter", "Helvetica Neue", "Arial", sans-serif;
  background: var(--color-background);
  color: var(--color-text);
  line-height: 1.7;
}

img {
  max-width: 100%;
  display: block;
  object-fit: cover;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1200px, 94%);
  margin: 0 auto;
}

@media (max-width: 768px) {
  .container {
    width: min(1200px, 90%);
  }
}

@media (max-width: 520px) {
  .container {
    width: min(1200px, 88%);
  }
}

/* Top Bar */
.promotion-bar {
  background: linear-gradient(90deg, rgba(193, 18, 51, 0.88), rgba(13, 92, 74, 0.88));
  color: #fff;
  font-size: 0.9rem;
  position: sticky;
  top: 0;
  z-index: 1100;
  padding: 10px 0;
  box-shadow: 0 10px 20px rgba(193, 18, 51, 0.2);
  display: flex;
  align-items: center;
  min-height: var(--promotion-bar-height);
  transition: transform 0.28s ease, opacity 0.28s ease;
}

.promotion-bar__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.promotion-bar__note {
  opacity: 0.85;
  font-weight: 600;
  letter-spacing: 0.02em;
  font-size: 0.78rem;
  text-decoration: none;
  color: #fff;
  transition: opacity 0.3s ease;
}

.promotion-bar__note:hover {
  opacity: 1;
}

.top-bar {
  position: sticky;
  top: var(--promotion-bar-height);
  z-index: 1050;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.96) 0%,
    rgba(248, 237, 237, 0.96) 45%,
    rgba(255, 255, 255, 0.96) 100%
  );
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  transition: box-shadow 0.3s ease, background-color 0.3s ease;
}

.promotion-bar.is-hidden {
  transform: translateY(-100%);
  opacity: 0;
}

.top-bar--condensed {
  top: 0;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.14);
}

.top-bar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
}

.top-bar__brand {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.top-bar__logo-image {
  width: 46px;
  max-width: 18vw;
}

.top-bar__logo {
  font-weight: 900;
  font-size: 1.1rem;
  color: var(--color-primary);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.top-bar__tagline {
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--color-muted);
}

.top-bar__nav {
  display: flex;
  gap: 20px;
  align-items: center;
  font-size: 0.95rem;
  font-weight: 500;
}

.top-bar__nav a {
  padding: 8px 10px;
  border-radius: 999px;
  transition: all 0.3s ease;
}

.top-bar__nav a:hover {
  color: var(--color-primary);
}

.top-bar__nav .nav-cta {
  background: var(--color-primary);
  color: #fff;
  padding: 9px 18px;
  box-shadow: var(--shadow-soft);
}

.top-bar__nav .nav-cta:hover {
  background: var(--color-primary-dark);
  color: #fff;
}

.language-switcher {
  display: flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: 1px solid rgba(193, 18, 51, 0.25);
  padding: 6px 12px;
  border-radius: 20px;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-primary);
  transition: all 0.3s ease;
  font-family: inherit;
  margin-left: 12px;
}

.language-switcher:hover {
  background: rgba(193, 18, 51, 0.1);
  border-color: var(--color-primary);
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(193, 18, 51, 0.15);
}

.language-switcher__icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--color-primary);
  transition: transform 0.3s ease;
}

.language-switcher:hover .language-switcher__icon {
  transform: rotate(15deg);
}

.language-switcher__text {
  font-weight: 600;
  white-space: nowrap;
}

.top-bar__toggle {
  display: none;
  background: transparent;
  border: none;
  padding: 8px;
  cursor: pointer;
  border-radius: 12px;
  transition: background 0.3s ease;
}

.top-bar__toggle span {
  display: block;
  width: 22px;
  height: 2.5px;
  background: #4b4b4b;
  border-radius: 4px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.top-bar__toggle span + span {
  margin-top: 5px;
}

.top-bar__toggle--active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.top-bar__toggle--active span:nth-child(2) {
  opacity: 0;
}

.top-bar__toggle--active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.top-bar--scrolled {
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.98) 0%,
    rgba(250, 232, 232, 0.98) 45%,
    rgba(255, 255, 255, 0.98) 100%
  );
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.02em;
  transition: all 0.3s ease;
}

.btn--primary {
  background: linear-gradient(135deg, #c11233, #e52b4e);
  color: #fff;
  box-shadow: var(--shadow-elevated);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 42px rgba(193, 18, 51, 0.25);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.85);
  color: var(--color-primary);
  border: 1px solid rgba(193, 18, 51, 0.2);
}

.btn--ghost:hover {
  background: #fff;
  border-color: var(--color-primary);
}

/* Hero */
.hero {
  position: relative;
  aspect-ratio: 16 / 9;
  width: 100%;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #000;
}

.hero__image {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: transform 6s ease, filter 0.8s ease;
  filter: brightness(1.1);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    130deg,
    rgba(17, 43, 42, 0.26) 0%,
    rgba(193, 18, 51, 0.22) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  z-index: 0;
}

.hero:hover .hero__image img {
  transform: scale(1.08);
  filter: brightness(1.15);
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 630px;
  color: #fff;
}

.hero__eyebrow {
  font-size: 0.95rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  opacity: 0.85;
  margin-bottom: 16px;
}

.hero h1 {
  font-size: clamp(2.5rem, 4vw, 3.6rem);
  line-height: 1.15;
  margin-bottom: 18px;
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}

.hero__subtitle {
  font-size: 1.05rem;
  margin-bottom: 28px;
  opacity: 0.9;
}

.hero__cta-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.hero__benefits {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  font-weight: 500;
  opacity: 0.92;
}

.hero__benefits li::before {
  content: "★";
  margin-right: 8px;
  color: var(--color-accent);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

@media (max-width: 768px) {
  .hero {
    aspect-ratio: 1 / 1;
  }
}

@supports not (aspect-ratio: 1 / 1) {
  .hero {
    height: 0;
    padding-top: 56.25%;
  }

  .hero__image,
  .hero__overlay {
    position: absolute;
    inset: 0;
  }

  @media (max-width: 768px) {
    .hero {
      padding-top: 100%;
    }
  }
}

.section--intro {
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.95), rgba(248, 245, 242, 0.95));
  padding: 60px 0 90px;
}

.section--intro__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 40px;
  align-items: start;
}

@media (max-width: 1200px) {
  .section--intro__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 360px);
  }
}

.intro__content h1 {
  margin-top: 0;
}

.intro__card {
  background: linear-gradient(160deg, rgba(193, 18, 51, 0.12), rgba(13, 92, 74, 0.12));
  border-radius: 22px;
  padding: 32px 34px;
  border: 1px solid rgba(193, 18, 51, 0.18);
  box-shadow: var(--shadow-soft);
  color: var(--color-secondary);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.intro__card h3 {
  margin-top: 0;
  margin-bottom: 12px;
}

.intro__card p {
  margin-bottom: 14px;
  color: var(--color-secondary);
}

.intro__card:hover {
  transform: translateY(-8px);
  box-shadow: 0 26px 48px rgba(13, 92, 74, 0.18);
}

.intro__deadline {
  font-weight: 700;
  color: var(--color-primary);
}

/* Sections */
.section {
  padding: 90px 0;
}

.section h2 {
  font-size: clamp(2rem, 3vw, 2.6rem);
  margin-bottom: 20px;
  color: var(--color-text);
}

.section__lead {
  font-size: 1.05rem;
  color: var(--color-muted);
  margin-bottom: 32px;
}

.section__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 48px;
  align-items: center;
}

.section__copy p {
  color: var(--color-muted);
  margin-bottom: 16px;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 30px;
}

.stat-card {
  background: var(--color-surface);
  border-radius: 18px;
  padding: 22px 26px;
  box-shadow: var(--shadow-soft);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card__value {
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-primary);
  display: block;
}

.stat-card__label {
  font-size: 0.9rem;
  color: var(--color-muted);
}

.stat-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 36px rgba(193, 18, 51, 0.18);
}

.section__media {
  display: grid;
  gap: 20px;
  position: relative;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.media-card {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-elevated);
  background: #000;
  transform: translateY(0);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.media-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 40px rgba(0, 0, 0, 0.26);
}

.media-card--offset {
  transform: translateY(-18px);
}

.media-card--offset:hover {
  transform: translateY(-24px);
}

.media-card--compact img {
  object-position: center;
}
.intro__countdown {
  margin-top: 20px;
  padding: 18px 20px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(193, 18, 51, 0.18);
  box-shadow: var(--shadow-soft);
  display: grid;
  gap: 12px;
}

.countdown__label {
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.countdown__items {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.countdown__item {
  background: linear-gradient(160deg, rgba(193, 18, 51, 0.08), rgba(13, 92, 74, 0.08));
  border-radius: 14px;
  padding: 12px 10px;
  text-align: center;
}

.countdown__number {
  display: block;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--color-secondary);
}

.countdown__unit {
  font-size: 0.78rem;
  color: var(--color-muted);
  letter-spacing: 0.05em;
}

.intro__countdown--expired {
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.12);
}

.intro__countdown--expired .countdown__label {
  color: var(--color-muted);
}

.intro__countdown--expired .countdown__number {
  color: var(--color-muted);
}

/* Legal / Privacy */
.section--legal {
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.95), rgba(245, 237, 237, 0.95));
  padding-top: 70px;
  padding-bottom: 90px;
}

.privacy-main {
  background: var(--color-background);
}

.legal__header {
  margin-bottom: 40px;
}

.legal__content {
  display: grid;
  gap: 28px;
}

.legal__section {
  background: var(--color-surface);
  border-radius: 20px;
  padding: 26px 28px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(193, 18, 51, 0.12);
}

.legal__section h2 {
  margin-top: 0;
  font-size: 1.4rem;
  color: var(--color-primary);
}

.legal__section p,
.legal__section li {
  color: var(--color-muted);
}

.legal__list {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 10px;
}

.legal__section a {
  color: var(--color-primary);
  font-weight: 600;
}

/* Steps */
.section--steps {
  background: linear-gradient(135deg, rgba(12, 51, 42, 0.07), rgba(193, 18, 51, 0.07));
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.step-card {
  background: var(--color-surface);
  padding: 32px 28px;
  border-radius: 24px;
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(193, 18, 51, 0.12);
  pointer-events: none;
}

.step-card__number {
  font-size: 2rem;
  font-weight: 900;
  color: rgba(193, 18, 51, 0.18);
  position: absolute;
  top: 26px;
  right: 26px;
  z-index: 2;
  pointer-events: none;
}

.step-card h3 {
  margin-top: 0;
  margin-bottom: 14px;
  font-size: 1.3rem;
  padding-right: 60px;
  position: relative;
  z-index: 1;
}

.step-card p {
  color: var(--color-muted);
}

.step-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 26px 56px rgba(193, 18, 51, 0.18);
}

/* Prizes */
.section--prizes {
  background: var(--color-surface);
}

.prize-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.prize-card {
  padding: 34px 28px;
  border-radius: 26px;
  background: linear-gradient(160deg, #fff9f4, #ffeeea);
  border: 1px solid rgba(193, 18, 51, 0.15);
  box-shadow: 0 20px 40px rgba(193, 18, 51, 0.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.prize-card__image {
  overflow: hidden;
  border-radius: 20px;
  margin-bottom: 18px;
  box-shadow: 0 16px 28px rgba(193, 18, 51, 0.18);
}

.prize-card__image img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.prize-card h3 {
  margin-top: 0;
  font-size: 1.35rem;
  color: var(--color-primary);
  margin-bottom: 16px;
}

.prize-card p {
  color: var(--color-muted);
  margin-bottom: 18px;
}

.prize-card ul {
  margin: 0;
  padding-left: 20px;
  color: var(--color-secondary);
  font-weight: 500;
}

.prize-card:hover {
  transform: translateY(-10px) scale(1.01);
  box-shadow: 0 32px 56px rgba(193, 18, 51, 0.22);
}

.prize-card:hover .prize-card__image img {
  transform: scale(1.05);
}

/* Promo */
.section--promo {
  background: linear-gradient(120deg, #103832, #c11233);
  color: #fff;
}

.promo-grid {
  display: grid;
  grid-template-columns: minmax(0, 320px) 1fr;
  gap: 36px;
  align-items: center;
}

.promo-grid__intro h2 {
  color: #fff;
}

.promo-grid__intro p {
  color: rgba(255, 255, 255, 0.8);
}

.promo-grid__cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 18px;
}

.promo-card {
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.promo-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.4) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.promo-card:hover::after {
  opacity: 1;
}

.promo-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 32px 48px rgba(0, 0, 0, 0.28);
}

/* Timeline */
.section--timeline {
  background: var(--color-surface);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.timeline__item {
  padding: 28px;
  border-radius: 22px;
  background: linear-gradient(180deg, #ffffff 0%, #f8edea 100%);
  border: 1px solid rgba(193, 18, 51, 0.12);
  text-align: center;
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline__date {
  display: block;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--color-primary);
  margin-bottom: 12px;
}

.timeline__note {
  margin-top: 24px;
  color: var(--color-muted);
  font-size: 0.9rem;
  text-align: center;
}

.timeline__item:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 52px rgba(193, 18, 51, 0.2);
}

/* Partners */
.section--partners {
  background: linear-gradient(135deg, rgba(193, 18, 51, 0.06), rgba(13, 92, 74, 0.06));
}

.partner-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 16px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.partner-list li {
  background: #fff;
  border-radius: 999px;
  padding: 12px 18px;
  text-align: center;
  font-weight: 600;
  color: var(--color-secondary);
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.partner-list li:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 36px rgba(13, 92, 74, 0.2);
}

/* Gallery */
.section--gallery {
  background: var(--color-surface);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.gallery__item {
  border-radius: 22px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-soft);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery__item figcaption {
  padding: 12px;
  font-weight: 600;
  color: var(--color-secondary);
}

.gallery__item:hover {
  transform: translateY(-8px);
  box-shadow: 0 26px 46px rgba(193, 18, 51, 0.24);
}

/* Register */
.section--register {
  background: linear-gradient(120deg, rgba(13, 92, 74, 0.95), rgba(193, 18, 51, 0.9)),
    url("https://www.99aicreator.com/web/image/8338-0bd85feb/u4523614416_christmas_background_with_santa_claus_breaking_th_2f8a96ac-cb74-442a-b3a9-f86cc2b6f011_2.webp")
      center/cover no-repeat;
  color: #fff;
  position: relative;
}

.section--register::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(8, 25, 20, 0.55);
}

.register-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 48px;
  align-items: start;
}

.register-grid__content ul {
  margin: 0;
  padding-left: 18px;
  color: rgba(255, 255, 255, 0.85);
}

.register-grid__content h2 {
  color: #fff;
  text-shadow: 0 12px 26px rgba(0, 0, 0, 0.35);
}

.register-grid__content p {
  color: rgba(255, 255, 255, 0.88);
}

.register-grid__content a {
  color: #fff;
  font-weight: 600;
}

.register-form {
  padding: 32px;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 22px;
  display: grid;
  gap: 18px;
  color: var(--color-text);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(8px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.register-form label {
  font-weight: 600;
  display: grid;
  gap: 10px;
  font-size: 0.95rem;
}

.register-form input[type="text"],
.register-form input[type="email"],
.register-form input[type="tel"],
.register-form input[type="date"],
.register-form input[type="file"] {
  padding: 14px 14px;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.register-form input[type="text"]:focus,
.register-form input[type="email"]:focus,
.register-form input[type="tel"]:focus,
.register-form input[type="date"]:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(193, 18, 51, 0.2);
}

.register-form .file-upload input[type="file"] {
  padding: 12px;
  background: rgba(241, 241, 241, 0.9);
}

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--color-muted);
}

.checkbox input {
  margin-top: 4px;
}

.checkbox a {
  color: var(--color-primary);
  font-weight: 600;
}

.register-form:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.28);
}

/* FAQ */
.faq {
  display: grid;
  gap: 16px;
  margin-top: 30px;
}

.faq details {
  background: var(--color-surface);
  border-radius: 18px;
  border: 1px solid rgba(13, 92, 74, 0.16);
  padding: 18px 22px;
  box-shadow: var(--shadow-soft);
  transition: border-color 0.3s ease;
}

.faq details[open] {
  border-color: var(--color-primary);
}

.faq summary {
  font-weight: 700;
  cursor: pointer;
  color: var(--color-secondary);
}

.faq p {
  margin-top: 12px;
  color: var(--color-muted);
}

/* Toast */
.toast {
  position: fixed;
  bottom: 32px;
  right: 32px;
  background: rgba(0, 0, 0, 0.88);
  color: #fff;
  padding: 16px 22px;
  border-radius: 14px;
  font-weight: 600;
  font-size: 0.95rem;
  transform: translateY(30px);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.35s ease, opacity 0.35s ease;
  max-width: 320px;
  box-shadow: 0 18px 32px rgba(0, 0, 0, 0.35);
  z-index: 2000;
}

.toast--visible {
  transform: translateY(0);
  opacity: 1;
}

/* Footer */
.footer {
  background: #101817;
  color: rgba(255, 255, 255, 0.82);
  padding: 60px 0 30px;
}

.footer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 36px;
}

.footer h3 {
  margin-top: 0;
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 14px;
}

.footer__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
  font-size: 0.92rem;
}

.footer a {
  color: var(--color-accent);
}

.footer__legal {
  margin-top: 40px;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  display: grid;
  gap: 6px;
}

/* Floating Buttons */
.floating-buttons {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: grid;
  gap: 12px;
  z-index: 1400;
}

.floating-button {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  border: none;
  cursor: pointer;
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.2);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.floating-button span {
  pointer-events: none;
}

.floating-button img {
  width: 26px;
  height: 26px;
  pointer-events: none;
}

.floating-button:hover {
  transform: translateY(-6px) scale(1.05);
  box-shadow: 0 26px 48px rgba(0, 0, 0, 0.28);
}

.footer__social {
  display: flex;
  gap: 16px;
  align-items: center;
}

.footer__social a {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}

.footer__social a:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.28);
}

.footer__social svg {
  width: 20px;
  height: 20px;
  fill: #fff;
}
.floating-button--whatsapp {
  background: linear-gradient(135deg, #25d366, #128c7e);
}

.floating-button--mail {
  background: linear-gradient(135deg, #fbb034, #ffdd00);
  color: #5b3b00;
  font-size: 1.4rem;
}

.floating-button--top {
  background: linear-gradient(135deg, #c11233, #e52b4e);
  font-size: 1.4rem;
}

.floating-button--hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
}

/* Terms */
.section--terms {
  background: linear-gradient(140deg, rgba(248, 245, 242, 1), rgba(255, 255, 255, 1));
}

.terms__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 18px;
  counter-reset: terms;
}

.terms__list li {
  position: relative;
  padding: 20px 24px 20px 56px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(193, 18, 51, 0.08);
  color: var(--color-muted);
  line-height: 1.75;
}

.terms__list li::before {
  counter-increment: terms;
  content: counter(terms, decimal-leading-zero);
  position: absolute;
  top: 20px;
  left: 20px;
  font-weight: 800;
  color: var(--color-primary);
  font-size: 1.1rem;
}

/* Responsive */
@media (max-width: 1024px) {
  .promotion-bar {
    top: 0;
  }

  .top-bar__nav {
    gap: 12px;
  }

  .section__grid,
  .section--intro__grid,
  .promo-grid,
  .register-grid {
    grid-template-columns: 1fr;
  }

  .section__media {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .media-card--offset {
    transform: translate(0);
  }

  .steps,
  .prize-grid,
  .timeline,
  .gallery,
  .terms__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero {
    min-height: 70vh;
  }

  .hero__benefits {
    flex-direction: column;
    gap: 12px;
  }

  .floating-buttons {
    right: 18px;
    bottom: 18px;
  }
}

@media (max-width: 768px) {
  .top-bar__inner {
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
    position: relative;
    padding-right: 56px;
  }

  .language-switcher {
    margin-left: 0;
    margin-top: 8px;
    padding: 8px 14px;
    font-size: 0.85rem;
    width: 100%;
    justify-content: center;
    border-color: rgba(193, 18, 51, 0.3);
  }
  
  .language-switcher__icon {
    width: 16px;
    height: 16px;
  }

  .top-bar__brand {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
  }

  .top-bar__toggle {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
  }

  .top-bar__toggle:focus-visible {
    outline: 2px solid rgba(193, 18, 51, 0.4);
    outline-offset: 4px;
  }

  .top-bar__nav {
    position: absolute;
    right: 0;
    top: calc(100% + 10px);
    background: rgba(255, 255, 255, 0.98);
    border-radius: 18px;
    border: 1px solid rgba(193, 18, 51, 0.18);
    box-shadow: 0 22px 44px rgba(0, 0, 0, 0.18);
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    width: min(240px, 82vw);
    gap: 10px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.25s ease, transform 0.25s ease;
  }

  .top-bar__nav a {
    width: 100%;
    justify-content: flex-start;
    border: 1px solid rgba(193, 18, 51, 0.14);
    padding: 10px 12px;
    font-size: 0.9rem;
  }

  .top-bar__nav .nav-cta {
    justify-content: center;
    font-weight: 700;
  }

  .top-bar__nav .language-switcher {
    width: 100%;
    justify-content: center;
    margin-left: 0;
    margin-top: 4px;
    border: 1px solid rgba(193, 18, 51, 0.3);
    padding: 10px 14px;
    font-size: 0.9rem;
  }

  .top-bar__nav.top-bar__nav--open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(4px);
  }

  .section {
    padding: 70px 0;
  }

  .steps,
  .prize-grid,
  .timeline,
  .gallery {
    grid-template-columns: 1fr;
  }

  .timeline__item {
    text-align: left;
  }

  .section--intro__grid {
    gap: 28px;
  }

  .intro__card {
    order: -1;
    padding: 24px 26px;
  }

  .section__media {
    grid-template-columns: 1fr;
  }

  .countdown__items {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .legal__content {
    gap: 20px;
  }

  .legal__section {
    padding: 22px 24px;
  }

  .register-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    justify-items: center;
  }

  .register-form {
    width: min(520px, 100%);
    padding: 24px 20px;
  }

  .register-form:hover {
    transform: none;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.24);
  }

  .terms__list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .hero h1 {
    font-size: 2.3rem;
  }

  .hero__cta-group {
    flex-direction: column;
  }

  .stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section h2 {
    font-size: 2rem;
  }

  .countdown__items {
    grid-template-columns: 1fr 1fr;
  }

  .legal__section {
    padding: 20px 20px;
  }

  .terms__list li {
    padding: 18px 20px 18px 52px;
  }

  .floating-button {
    width: 46px;
    height: 46px;
    font-size: 1.05rem;
  }

  .register-form {
    width: 100%;
    padding: 18px 16px;
  }

  .intro__card {
    padding: 22px 20px;
  }
}
