/* ===== IMPORTS ===== */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Noto+Sans:wght@300;400;500;600;700&family=Noto+Sans+JP:wght@300;400;500;700&family=Noto+Sans+KR:wght@300;400;500;700&family=Noto+Sans+SC:wght@300;400;500;700&family=Noto+Sans+Thai:wght@300;400;500;700&display=swap');

/* ===== CSS VARIABLES ===== */
:root {
  --sky-top: #87CEEB;
  --sky-mid: #B0E2FF;
  --sky-light: #E0F7FF;
  --sky-bottom: #FFFFFF;
  --white: #ffffff;
  --accent-orange: #FF9F1C;
  --accent-orange-light: #FFBF69;
  --accent-orange-dark: #E67E22;
  --accent-gold: #F5A623;
  --accent-yellow: #FFD166;
  --text-dark: #0D3B66;
  --text-medium: #2a3a4a;
  --text-light: #4a5a6a;
  --glass-bg: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(255, 159, 28, 0.3);
  --glass-shadow: rgba(0, 0, 0, 0.05);
  --card-radius: 24px;
  --section-padding: 80px 0;
  --container-width: 1200px;
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== RESET ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Noto Sans KR', 'Noto Sans', 'Noto Sans JP', 'Noto Sans SC', 'Noto Sans Thai', sans-serif;
  color: var(--text-dark);
  overflow-x: hidden;
  background: var(--sky-bottom);
  word-break: keep-all;
  overflow-wrap: break-word;
}

img {
  max-width: 100%;
  height: auto;
  /* Global anti-blur: force GPU compositing so images stay crisp during transforms */
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translateZ(0);
  image-rendering: -webkit-optimize-contrast;
}

/* Anti-blur for any element that transforms on hover */
.benefit-card,
.weekly-item,
.school-item,
.school-logo-card,
.school-logo-card img,
.settle-icon-circle,
.award-item,
.award-logo,
.cta-btn,
.hero-cta,
.lucky-draw-image,
.lucky-draw-image img,
.gift-hero-img,
.gift-image-wrap,
.register-btn,
.hero-feature,
.benefit-card.featured {
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  will-change: transform;
}

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

ul {
  list-style: none;
}

/* ===== CONTAINER ===== */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== GLOBAL BACKGROUND ===== */
.sky-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  background: linear-gradient(180deg,
    #7BDFF2 0%,
    #A2EAFF 20%,
    #C2F2FF 40%,
    #E0F7FF 70%,
    #FFFFFF 100%
  );
}




/* ===== NAVIGATION ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 16px 0;
  transition: var(--transition-smooth);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 2px 30px rgba(0, 0, 0, 0.08);
  padding: 10px 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 40px;
  width: auto;
  transition: var(--transition-smooth);
  filter: brightness(0) invert(1);
}

.navbar.scrolled .logo-img {
  filter: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  color: var(--white);
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition-smooth);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.25);
  position: relative;
}

.navbar.scrolled .nav-links a {
  color: var(--text-dark);
  text-shadow: none;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-orange);
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

/* Language Selector */
.lang-selector {
  position: relative;
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.navbar.scrolled .lang-btn {
  border-color: var(--accent-orange);
  color: var(--text-dark);
  background: rgba(245, 166, 35, 0.1);
}

.lang-btn:hover {
  background: rgba(255, 255, 255, 0.3);
}

.lang-btn svg {
  width: 16px;
  height: 16px;
}

.lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 160px;
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: var(--transition-smooth);
}

.lang-dropdown.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-dropdown button {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 16px;
  border: none;
  background: transparent;
  border-radius: 10px;
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--text-dark);
  transition: background 0.2s;
}

.lang-dropdown button:hover,
.lang-dropdown button.active {
  background: rgba(245, 166, 35, 0.1);
}

.lang-dropdown button .flag {
  font-size: 1.2rem;
}

/* Mobile Menu */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition-smooth);
}

.navbar.scrolled .mobile-menu-btn span {
  background: var(--text-dark);
}

/* ===== HERO SECTION ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
  position: relative;
  perspective: 1200px;
  transform-style: preserve-3d;
  overflow: hidden;
}

/* Video background */
.hero-video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0.45;
}

/* Dark overlay for readability */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg,
    rgba(10, 40, 80, 0.50) 0%,
    rgba(10, 40, 80, 0.30) 40%,
    rgba(10, 40, 80, 0.15) 70%,
    rgba(255, 255, 255, 0.1) 100%
  );
  z-index: 2;
}

.hero-content {
  max-width: 900px;
  z-index: 3;
  position: relative;
}

.hero-badge {
  display: inline-block;
  padding: 8px 24px;
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px);
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 24px;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
}

.hero-logo-wrap {
  margin-bottom: 16px;
}

.hero-logo-img {
  height: 60px;
  width: auto;
  filter: brightness(0) invert(1) drop-shadow(0 4px 20px rgba(0, 0, 0, 0.2));
}

.hero-top-titles {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.hero-top-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 4px;
  text-shadow: 0 4px 15px rgba(100, 180, 255, 0.6);
}

.hero-sub-title {
  font-family: 'Outfit', sans-serif;
  font-size: 2.8rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 4px 15px rgba(100, 180, 255, 0.6);
  letter-spacing: 1px;
}

.hero-main-title {
  font-family: 'Noto Sans KR', sans-serif;
  font-size: clamp(2.2rem, 8vw, 6.5rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 32px;
  text-shadow: 
    0 8px 20px rgba(56, 132, 244, 0.3),
    0 15px 40px rgba(56, 132, 244, 0.2),
    3px 3px 0 #8ad0ff,
    -3px -3px 0 #8ad0ff,
    -3px 3px 0 #8ad0ff,
    3px -3px 0 #8ad0ff;
  letter-spacing: -2px;
  word-break: keep-all;
  overflow-wrap: break-word;
}

.hero-date-box {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  margin-bottom: 40px;
  position: relative;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  border-radius: 20px;
  padding: 28px 40px 24px;
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.12),
    0 0 60px rgba(245, 166, 35, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  overflow: hidden;
}

.hero-date-box::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent 30%,
    rgba(255, 255, 255, 0.06) 50%,
    transparent 70%
  );
  animation: dateShimmer 4s ease-in-out infinite;
  pointer-events: none;
}

@keyframes dateShimmer {
  0% { transform: translateX(-100%) rotate(45deg); }
  100% { transform: translateX(100%) rotate(45deg); }
}

.hero-date-label {
  display: inline-block;
  background: linear-gradient(135deg, var(--accent-orange), #e8a020);
  color: var(--white);
  padding: 8px 24px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 14px;
  box-shadow: 0 4px 15px rgba(245, 166, 35, 0.35);
  position: relative;
  z-index: 1;
}

.hero-date-value {
  background: transparent;
  border: none;
  color: var(--white);
  padding: 0;
  border-radius: 0;
  font-weight: 800;
  font-size: clamp(1rem, 3vw, 1.35rem);
  letter-spacing: 1px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
  position: relative;
  z-index: 1;
  word-break: keep-all;
}

.hero-features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.hero-feature {
  padding: 24px 16px;
  transition: var(--transition-smooth);
}

.hero-feature:hover {
  transform: translateY(-5px);
}

.hero-feature-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-icon-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.15));
}

.hero-feature-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--accent-orange);
}

/* Product images in benefits */
.weekly-product-img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin: 6px auto;
  display: block;
}

.benefit-product-img {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin: 10px auto;
  display: block;
}

.hero-feature p {
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1.3;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.3);
}

.hero-cta-tagline {
  font-size: 1rem;
  font-weight: 700;
  color: #ffe066;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
  margin-bottom: 12px;
  line-height: 1.6;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 40px;
  background: var(--accent-orange);
  color: var(--white);
  border-radius: 50px;
  font-size: clamp(0.8rem, 2.5vw, 1.1rem);
  font-weight: 700;
  transition: var(--transition-smooth);
  box-shadow: 0 8px 30px rgba(245, 166, 35, 0.4);
  max-width: 90vw;
  text-align: center;
  word-break: keep-all;
}

.hero-cta:hover {
  background: var(--accent-orange-dark);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(245, 166, 35, 0.5);
}

.hero-location {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

.hero-location-item {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  color: #1a2a4a;
  font-size: clamp(0.7rem, 2vw, 0.9rem);
  font-weight: 700;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 10px 20px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  max-width: 90vw;
  word-break: keep-all;
}

.hero-location-item svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--accent-orange);
}

/* cloud decoration at bottom of hero */
.hero-clouds {
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  z-index: 2;
}

.hero-clouds svg {
  display: block;
  width: 100%;
}

/* ===== SECTION COMMON ===== */
.section {
  padding: var(--section-padding);
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-badge {
  display: inline-block;
  padding: 6px 20px;
  background: linear-gradient(135deg, var(--accent-orange), var(--accent-orange-light));
  color: var(--white);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.6rem, 5vw, 2.8rem);
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ===== ENHANCED BENEFITS HEADER ===== */
.benefits-header {
  background: linear-gradient(135deg, rgba(245, 166, 35, 0.06), rgba(255, 255, 255, 0.6), rgba(245, 166, 35, 0.06));
  border: 1px solid rgba(245, 166, 35, 0.15);
  border-radius: 24px;
  padding: 48px 40px 40px;
  position: relative;
  overflow: hidden;
}

.benefits-header::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(245, 166, 35, 0.08), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.benefits-header::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -15%;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(245, 166, 35, 0.06), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.benefits-badge {
  background: linear-gradient(135deg, var(--accent-orange), #e8a020, var(--accent-orange-light)) !important;
  font-size: 0.95rem !important;
  padding: 8px 28px !important;
  box-shadow: 0 4px 15px rgba(245, 166, 35, 0.3);
  animation: pulse 2.5s ease-in-out infinite;
}

.benefits-title {
  font-size: clamp(1.8rem, 5.5vw, 3.2rem) !important;
  position: relative;
  z-index: 1;
}

.benefits-title .title-highlight {
  background: linear-gradient(135deg, var(--accent-orange), #d4a017, var(--accent-orange-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
}

.benefits-title .title-highlight::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-orange), var(--accent-orange-light));
  border-radius: 2px;
  opacity: 0.5;
}

.benefits-subtitle {
  font-size: 1.2rem !important;
  color: var(--text-medium) !important;
  position: relative;
  z-index: 1;
}

.benefits-subtitle strong {
  color: var(--accent-orange-dark);
  font-weight: 700;
}

.benefits-header-deco {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
  position: relative;
  z-index: 1;
}

.deco-star {
  color: var(--accent-orange);
  font-size: 1rem;
  animation: sparkle 2s ease-in-out infinite;
}

.deco-star:last-child {
  animation-delay: 1s;
}

.deco-diamond {
  color: var(--accent-orange);
  font-size: 0.8rem;
  animation: pulse 2s ease-in-out infinite;
}

.deco-line {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-orange), transparent);
  border-radius: 1px;
}

/* ===== AOS OVERRIDE: GSAP handles all animations now ===== */
/* AOS JS is not loaded; force all data-aos elements to be visible */
[data-aos] {
  opacity: 1 !important;
  transform: none;
  transition: none;
}
[data-aos].aos-animate {
  opacity: 1 !important;
}
[data-aos="fade-up"],
[data-aos="fade-down"],
[data-aos="fade-left"],
[data-aos="fade-right"],
[data-aos="zoom-in"],
[data-aos="flip-up"] {
  opacity: 1 !important;
  transform: none;
}

/* Stagger delays disabled — GSAP handles stagger */
[data-aos-delay="100"],
[data-aos-delay="200"],
[data-aos-delay="300"],
[data-aos-delay="400"],
[data-aos-delay="500"],
[data-aos-delay="600"],
[data-aos-delay="700"],
[data-aos-delay="800"],
[data-aos-delay="900"] { transition-delay: 0s !important; }

/* ===== 3D CARD TILT ===== */
.card-3d {
  transform-style: preserve-3d;
  perspective: 1000px;
}

.card-3d-inner {
  transition: transform 0.4s ease;
}

/* ===== PARALLAX DEPTH LAYERS ===== */
.parallax-layer {
  transition: transform 0.1s linear;
  will-change: transform;
}

/* ===== KEYFRAME ANIMATIONS ===== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

@keyframes slideInLeft {
  from { opacity: 0; transform: translate3d(-80px, 0, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}

@keyframes slideInRight {
  from { opacity: 0; transform: translate3d(80px, 0, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}

/* ===== BENEFITS SECTION ===== */
.benefits {
  padding: var(--section-padding);
  background: rgba(255,255,255,0.85);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.benefit-card {
  background: var(--white);
  border: 4px solid var(--accent-orange);
  border-radius: 30px;
  padding: 32px;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  position: relative;
  overflow: visible; /* To allow bubble decorations to overflow if needed */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.benefit-card::before {
  display: none;
}

.benefit-card::after {
  display: none;
}

.benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.06);
  background: rgba(255, 255, 255, 0.9);
}

.benefit-card.featured {
  grid-column: 1 / -1;
  background: var(--white);
  border: 4px solid var(--accent-orange);
  box-shadow: 0 15px 45px rgba(255, 159, 28, 0.15);
}

.benefit-card.featured:hover {
  box-shadow: 0 20px 50px rgba(245, 166, 35, 0.12);
}

/* Icon — just the emoji, large and prominent */
.benefit-icon {
  width: auto;
  height: auto;
  background: none;
  border-radius: 0;
  display: block;
  margin-bottom: 12px;
  position: relative;
  box-shadow: none;
  font-size: 2.2rem;
  line-height: 1;
}

.benefit-icon::after {
  display: none;
}

.benefit-icon svg {
  width: 26px;
  height: 26px;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.benefit-card h3 {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.1rem, 3.5vw, 1.5rem);
  font-weight: 800;
  color: var(--accent-orange);
  margin-bottom: 12px;
  letter-spacing: -0.5px;
  text-align: center;
  line-height: 1.3;
}

.benefit-card .condition {
  font-size: clamp(0.75rem, 2.5vw, 0.9rem);
  color: var(--white);
  font-weight: 800;
  margin-bottom: 20px;
  padding: 10px 20px;
  background: var(--accent-orange);
  border-radius: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  letter-spacing: 0.5px;
  width: fit-content;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.4;
}

.benefit-card p, .benefit-card ul {
  color: var(--text-medium);
  font-size: 0.92rem;
  line-height: 1.7;
}

.benefit-card ul {
  padding-left: 0;
}

.benefit-card ul li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 6px;
}

.benefit-card ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 4px;
  width: 18px;
  height: 18px;
  background-color: var(--accent-orange);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.2 4.2L19 7'/%3E%3C/svg%3E");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 12px;
  border-radius: 50%;
}

/* ===== SETTLEMENT SECTION ===== */
.settle-card {
  background: linear-gradient(180deg, #1a3a6a 0%, #2a5298 40%, #4a7cc7 70%, #8ab6e8 90%, #c5ddf0 100%) !important;
  border: none !important;
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: 60px 40px 40px !important;
}

.settle-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='rgba(255,255,255,0.08)' d='M0,256L48,229.3C96,203,192,149,288,149.3C384,149,480,203,576,218.7C672,235,768,213,864,192C960,171,1056,149,1152,154.7C1248,160,1344,192,1392,208L1440,224L1440,320L0,320Z'/%3E%3C/svg%3E") no-repeat bottom center;
  background-size: cover;
  pointer-events: none;
  display: block !important;
}

.settle-number {
  position: absolute;
  top: 10px;
  left: 30px;
  font-family: 'Outfit', sans-serif;
  font-size: 8rem;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.12);
  line-height: 1;
  pointer-events: none;
}

.settle-header-text {
  position: relative;
  z-index: 1;
  margin-bottom: 40px;
}

.settle-sub {
  font-size: 1rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 8px;
}

.settle-card h3 {
  color: white !important;
  font-size: clamp(1.4rem, 4vw, 2rem) !important;
  font-weight: 900 !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  line-height: 1.3;
}

.settle-icons-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px 50px;
  position: relative;
  z-index: 1;
  margin-bottom: 30px;
}

.settle-icon-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  max-width: 140px;
}

.settle-icon-circle {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  border: 2.5px solid rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(4px);
  transition: all 0.3s ease;
}

.settle-icon-circle:hover {
  border-color: white;
  background: rgba(255, 255, 255, 0.15);
  transform: scale(1.08);
}

.settle-icon-circle svg {
  width: 42px;
  height: 42px;
  color: white;
}

.settle-icon-item span {
  font-size: 0.9rem;
  font-weight: 700;
  color: white;
  text-align: center;
  line-height: 1.4;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
}

.settle-disclaimer {
  position: relative;
  z-index: 1;
  font-size: 0.7rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 20px;
  text-align: center;
  word-break: keep-all;
}


/* Ticket/Coupon Style */
.ticket {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--accent-orange);
  color: var(--white);
  padding: 15px 30px;
  border-radius: 12px;
  position: relative;
  font-family: 'Outfit', sans-serif;
  margin: 10px 0;
  box-shadow: 0 8px 20px rgba(255, 159, 28, 0.3);
  text-align: center;
}

.ticket::before, .ticket::after {
  content: '';
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  background: var(--white);
  border-radius: 50%;
}

.ticket::before { left: -8px; }
.ticket::after { right: -8px; }

.ticket-amount {
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1;
}

.ticket-label {
  font-size: 0.8rem;
  font-weight: 700;
  margin-top: 4px;
}

/* Weekly Benefits Sub-grid */
.weekly-benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
  margin-top: 20px;
}

.weekly-item {
  background: rgba(255, 255, 255, 0.85);
  border-radius: 16px;
  padding: 20px 16px;
  text-align: center;
  border: 1px solid rgba(245, 166, 35, 0.12);
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  position: relative;
  overflow: hidden;
}

.weekly-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-orange), var(--accent-orange-light));
  border-radius: 0 0 3px 3px;
}

.weekly-item:hover {
  border-color: var(--accent-orange);
  background: rgba(255, 255, 255, 0.95);
  transform: translateY(-5px);
  box-shadow: 0 12px 32px rgba(245, 166, 35, 0.12);
}

.weekly-item .weeks {
  font-family: 'Outfit', sans-serif;
  font-size: 1.6rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--accent-orange), var(--accent-gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 6px;
}

.weekly-item .gift {
  font-size: 0.82rem;
  color: var(--text-medium);
  line-height: 1.5;
  font-weight: 500;
}

/* ===== SCHOOLS SECTION ===== */
.schools { padding: var(--section-padding); }

.school-category {
  margin-bottom: 56px;
}

.school-category:last-child {
  margin-bottom: 0;
}

.category-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 36px;
  background: linear-gradient(135deg, var(--accent-orange), var(--accent-gold));
  color: var(--white);
  border-radius: 50px;
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  box-shadow: 0 6px 24px rgba(245, 166, 35, 0.25);
  position: relative;
}

.category-label::before {
  content: '';
  width: 8px;
  height: 8px;
  background: white;
  border-radius: 50%;
  opacity: 0.6;
}

.school-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.school-item {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 16px;
  padding: 14px 22px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-dark);
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
  overflow: hidden;
}

.school-item::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-orange), transparent);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.school-item:hover::before {
  transform: scaleX(1);
}

.school-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(100, 140, 180, 0.15);
  border-color: rgba(245, 166, 35, 0.25);
  background: rgba(255, 255, 255, 0.95);
}

.school-item .school-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-orange), var(--accent-gold));
  flex-shrink: 0;
  box-shadow: 0 0 8px rgba(245, 166, 35, 0.4);
}

/* ===== School Logo Grid ===== */
.school-logo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  justify-items: center;
}

.school-logo-card {
  background: var(--white);
  border-radius: 18px;
  padding: 24px 16px 18px;
  height: 180px;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  position: relative;
  overflow: hidden;
}

.school-logo-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(56, 132, 244, 0.04), rgba(245, 166, 35, 0.04));
  opacity: 0;
  transition: opacity 0.4s ease;
}

.school-logo-card:hover {
  transform: perspective(800px) translateY(-8px) translateZ(15px);
  box-shadow: 0 20px 50px rgba(56, 132, 244, 0.12), 0 8px 24px rgba(0, 0, 0, 0.06);
  border-color: rgba(56, 132, 244, 0.15);
}

.school-logo-card:hover::after {
  opacity: 1;
}

.school-logo-card img {
  max-width: 160px;
  max-height: 70px;
  width: auto;
  height: auto;
  object-fit: contain;
  flex-shrink: 0;
  filter: grayscale(0.15);
  transition: filter 0.4s ease, transform 0.4s ease;
  position: relative;
  z-index: 1;
}

.school-logo-name {
  font-family: 'Outfit', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-light);
  text-align: center;
  line-height: 1.35;
  position: relative;
  z-index: 1;
  transition: color 0.4s ease;
  word-break: keep-all;
  overflow-wrap: break-word;
  max-width: 100%;
}

.school-logo-card:hover .school-logo-name {
  color: var(--primary-blue);
}

.school-logo-card:hover img {
  filter: grayscale(0);
  transform: scale(1.05) translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.school-logo-text {
  font-family: 'Outfit', sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: 1px;
  position: relative;
  z-index: 1;
}

/* ===== EVENT INFO SECTION ===== */
/* ===== SCROLL PROGRESS BAR ===== */
.scroll-progress-container {
  position: fixed;
  top: 64px;
  left: 0;
  width: 100%;
  height: 3px;
  background: transparent;
  z-index: 999;
}

.scroll-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent-orange), var(--accent-gold), var(--accent-orange));
  border-radius: 0 2px 2px 0;
  transition: width 0.05s linear;
  box-shadow: 0 0 8px rgba(245, 166, 35, 0.4);
}

/* ===== EVENT INFO SECTION ===== */
.event-info {
  padding: var(--section-padding);
}

.event-details-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 20px;
  padding: 28px 40px;
  margin-bottom: 28px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.event-detail-item {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
  justify-content: center;
}

.event-detail-icon {
  font-size: 1.8rem;
  line-height: 1;
  flex-shrink: 0;
}

.event-detail-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.event-detail-label {
  font-family: 'Outfit', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-orange-dark);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.event-detail-value {
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.4;
}

.event-detail-divider {
  width: 1px;
  height: 40px;
  background: rgba(0, 0, 0, 0.08);
  margin: 0 20px;
  flex-shrink: 0;
}

.event-map-wrap {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.event-map-wrap iframe {
  display: block;
}

/* ===== REGISTRATION SECTION ===== */
.register-section {
  padding: var(--section-padding);
}

.register-form-wrap {
  max-width: 520px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 28px;
  padding: 48px 40px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(100, 140, 180, 0.1);
}

.register-form-wrap::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  height: 5px;
  background: linear-gradient(90deg, var(--accent-orange), var(--accent-gold), var(--accent-orange-light), var(--accent-orange));
  background-size: 200% 100%;
  animation: shimmerBar 3s linear infinite;
  border-radius: 28px 28px 0 0;
}

.register-form-wrap::after {
  content: '';
  position: absolute;
  bottom: -40%;
  right: -15%;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(245, 166, 35, 0.06), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.register-form {
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
  z-index: 1;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: 0.3px;
}

.form-group input,
.form-group select {
  padding: 16px 20px;
  border: 2px solid rgba(200, 210, 220, 0.4);
  border-radius: 14px;
  font-size: 1rem;
  font-family: inherit;
  background: rgba(255, 255, 255, 0.7);
  color: var(--text-dark);
  transition: all 0.3s ease;
  outline: none;
}

.form-group input:focus,
.form-group select:focus {
  border-color: var(--accent-orange);
  box-shadow: 0 0 0 4px rgba(245, 166, 35, 0.08);
  background: rgba(255, 255, 255, 0.95);
}

.form-group input::placeholder {
  color: #b0b8c4;
}

.register-btn {
  padding: 18px 36px;
  background: linear-gradient(135deg, var(--accent-orange), var(--accent-gold));
  color: var(--white);
  border: none;
  border-radius: 16px;
  font-size: 1.1rem;
  font-weight: 800;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  box-shadow: 0 8px 28px rgba(245, 166, 35, 0.3);
  position: relative;
  overflow: hidden;
  letter-spacing: 0.5px;
}

.register-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s ease;
}

.register-btn:hover::before {
  left: 100%;
}

.register-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 40px rgba(245, 166, 35, 0.4);
}

.register-btn:active {
  transform: translateY(0);
}

.register-btn .spinner {
  width: 24px;
  height: 24px;
}

.form-message {
  padding: 16px 20px;
  border-radius: 14px;
  font-size: 0.95rem;
  font-weight: 600;
  text-align: center;
}

.form-message.success {
  background: rgba(46, 204, 113, 0.08);
  color: #27ae60;
  border: 1px solid rgba(46, 204, 113, 0.2);
}

.form-message.error {
  background: rgba(231, 76, 60, 0.08);
  color: #c0392b;
  border: 1px solid rgba(231, 76, 60, 0.2);
}

/* Lucky Draw Section - Sky with Clouds Style */
.lucky-draw-section {
  padding: 0 !important;
}

.lucky-draw-bg {
  background: linear-gradient(180deg, #0a1a3a 0%, #142952 25%, #1e3d6e 45%, #2a5298 65%, #4a7cc7 85%, #6ba3db 100%);
  padding: 80px 0 60px;
  overflow: hidden;
  position: relative;
  text-align: center;
}

/* Cloud effects at the bottom */
.lucky-draw-bg::before {
  content: '';
  position: absolute;
  bottom: -20px;
  left: -10%;
  right: -10%;
  height: 120px;
  background:
    radial-gradient(ellipse 200px 80px at 10% 80%, rgba(255,255,255,0.9), transparent),
    radial-gradient(ellipse 300px 100px at 30% 90%, rgba(255,255,255,0.85), transparent),
    radial-gradient(ellipse 250px 90px at 55% 85%, rgba(255,255,255,0.8), transparent),
    radial-gradient(ellipse 350px 100px at 75% 95%, rgba(255,255,255,0.85), transparent),
    radial-gradient(ellipse 200px 70px at 95% 80%, rgba(255,255,255,0.75), transparent);
  pointer-events: none;
  z-index: 2;
  filter: blur(8px);
}

.lucky-draw-bg::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(0deg, rgba(255,255,255,0.5), transparent);
  pointer-events: none;
  z-index: 3;
}




.lucky-draw-header {
  position: relative;
  z-index: 1;
  margin-bottom: 40px;
}

.lucky-draw-brand {
  font-family: 'Outfit', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: white;
  margin-bottom: 4px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.lucky-draw-sub {
  font-size: 1rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 10px;
}

.lucky-draw-title {
  font-family: 'Outfit', sans-serif;
  font-size: 2.8rem;
  font-weight: 900;
  color: white;
  text-shadow: 0 4px 20px rgba(0,0,0,0.3);
  line-height: 1.2;
}

.lucky-draw-image {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto 30px;
  animation: giftFloat 4s ease-in-out infinite;
}

.lucky-draw-image img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.4));
  transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  will-change: transform;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  transition: transform 0.4s ease;
}

.lucky-draw-image:hover img {
  transform: scale(1.05) translateZ(0);
}

@keyframes giftFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.lucky-draw-disclaimer {
  position: relative;
  z-index: 1;
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.35);
  letter-spacing: 1px;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

@media (max-width: 768px) {

  .lucky-draw-title {
    font-size: 2rem;
  }
  .lucky-draw-brand {
    font-size: 1.5rem;
  }
}

/* ===== CTA SECTION ===== */
.cta-section {
  padding: 80px 0;
  text-align: center;
}

.cta-box {
  background: var(--accent-orange);
  color: var(--white);
  border-radius: 40px;
  padding: 80px 40px;
  text-align: center;
  box-shadow: 0 30px 60px rgba(255, 159, 28, 0.4);
  position: relative;
  overflow: hidden;
}

.cta-box h2 {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.6rem, 5vw, 3rem);
  font-weight: 900;
  color: var(--white);
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.cta-box p {
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.2rem;
  margin-bottom: 40px;
  position: relative;
  z-index: 1;
  font-weight: 500;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 20px 50px;
  background: var(--white);
  color: var(--accent-orange);
  border-radius: 50px;
  font-size: 1.2rem;
  font-weight: 800;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  position: relative;
  z-index: 1;
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.15);
  text-decoration: none;
}

.cta-btn:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

/* ===== FOOTER ===== */
.footer {
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-top: 1px solid rgba(255, 255, 255, 0.6);
  color: var(--text-dark);
  padding: 60px 0 30px;
  position: relative;
  z-index: 10;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-logo-img {
  height: 40px;
  width: auto;
  object-fit: contain;
  align-self: flex-start;
  filter: brightness(0.2); /* Make the logo visible on light background */
}

.footer-brand p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.7;
}

.footer h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--primary-blue);
}

.footer-links a {
  display: block;
  color: var(--text-light);
  font-size: 0.95rem;
  padding: 6px 0;
  transition: color 0.3s, transform 0.3s;
}

.footer-links a:hover {
  color: var(--accent-orange);
  transform: translateX(4px);
}

/* ===== AWARDS SECTION ===== */
.footer-awards {
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  padding: 40px 0;
  margin-bottom: 20px;
}

.footer-awards h4 {
  text-align: center;
  margin-bottom: 30px;
  color: var(--text-dark);
}

.awards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 24px;
  align-items: center;
}

.award-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  transition: all 0.3s ease;
}

.award-item:hover {
  transform: translateY(-5px);
  background: var(--white);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.award-logo {
  height: 48px;
  object-fit: contain;
  filter: grayscale(100%) opacity(0.7);
  transition: all 0.3s;
}

.award-item:hover .award-logo {
  filter: grayscale(0%) opacity(1);
}

.award-item p {
  font-size: 0.8rem;
  color: var(--text-light);
  font-weight: 500;
  line-height: 1.3;
}

.footer-bottom {
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  padding-top: 24px;
  text-align: center;
  color: var(--text-light);
  font-size: 0.85rem;
}

/* ===== GIFT SHOWCASE SECTION ===== */
.gift-showcase {
  padding: 100px 0 120px;
  position: relative;
  overflow: hidden;
  perspective: 1400px;
}

.gift-bg-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 166, 35, 0.18), rgba(245, 166, 35, 0.05) 50%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  animation: glow3DPulse 4s ease-in-out infinite;
  z-index: 0;
}

.gift-bg-glow--2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(107, 179, 217, 0.12), transparent 60%);
  animation-delay: -2s;
}

@keyframes glow3DPulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.7; }
  50% { transform: translate(-50%, -50%) scale(1.15); opacity: 1; }
}

.gift-stage {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.gift-platform {
  display: flex;
  justify-content: center;
  perspective: 1000px;
}

.gift-image-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: float3D 6s ease-in-out infinite;
  transform-style: preserve-3d;
}

.gift-halo {
  position: absolute;
  width: 110%;
  height: 110%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 166, 35, 0.25), rgba(245, 166, 35, 0.08) 40%, transparent 70%);
  filter: blur(30px);
  animation: haloRotate 8s linear infinite;
  z-index: 0;
}

@keyframes haloRotate {
  0% { transform: rotate(0deg) scale(1); }
  50% { transform: rotate(180deg) scale(1.1); }
  100% { transform: rotate(360deg) scale(1); }
}

.gift-hero-img {
  width: 100%;
  max-width: 480px;
  height: auto;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.2)) drop-shadow(0 8px 16px rgba(245, 166, 35, 0.15));
  border-radius: 24px;
  transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  will-change: transform;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  transform: translateZ(0);
}

.gift-image-wrap:hover .gift-hero-img {
  transform: perspective(800px) rotateY(-8deg) rotateX(5deg) scale(1.05) translateZ(30px);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

@keyframes float3D {
  0%, 100% { transform: translateY(0) rotateX(2deg) rotateY(-2deg); }
  25% { transform: translateY(-15px) rotateX(-1deg) rotateY(3deg); }
  50% { transform: translateY(-8px) rotateX(3deg) rotateY(-1deg); }
  75% { transform: translateY(-20px) rotateX(-2deg) rotateY(2deg); }
}

.gift-sparkle {
  position: absolute;
  font-size: 1.5rem;
  z-index: 2;
  animation: sparkleFloat 3s ease-in-out infinite;
  pointer-events: none;
}

.gift-sparkle--1 { top: 5%; left: 10%; animation-delay: 0s; }
.gift-sparkle--2 { top: 15%; right: 5%; animation-delay: 0.7s; }
.gift-sparkle--3 { bottom: 10%; left: 5%; animation-delay: 1.4s; }
.gift-sparkle--4 { bottom: 5%; right: 15%; animation-delay: 2.1s; font-size: 2rem; }

@keyframes sparkleFloat {
  0%, 100% { opacity: 0.3; transform: translateY(0) scale(0.8); }
  50% { opacity: 1; transform: translateY(-12px) scale(1.2); }
}

.gift-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.gift-tag {
  display: inline-flex;
  align-self: flex-start;
  padding: 8px 24px;
  background: linear-gradient(135deg, var(--accent-orange), var(--accent-gold));
  color: var(--white);
  border-radius: 50px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  box-shadow: 0 6px 20px rgba(245, 166, 35, 0.35);
}

.gift-info h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--text-dark);
  line-height: 1.3;
  letter-spacing: -0.5px;
}

.gift-info p {
  font-size: 1.05rem;
  color: var(--text-medium);
  line-height: 1.8;
}

.gift-cta-btn {
  display: inline-flex;
  align-self: flex-start;
  padding: 16px 36px;
  background: linear-gradient(135deg, var(--accent-orange), var(--accent-gold));
  color: var(--white);
  border-radius: 50px;
  font-size: 1.05rem;
  font-weight: 700;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  box-shadow: 0 8px 30px rgba(245, 166, 35, 0.35), 0 0 0 0 rgba(245, 166, 35, 0);
  position: relative;
  overflow: hidden;
}

.gift-cta-btn::before {
  content: '';
  position: absolute;
  top: 0; left: -100%; width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
  transition: left 0.5s ease;
}

.gift-cta-btn:hover::before { left: 100%; }

.gift-cta-btn:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 14px 44px rgba(245, 166, 35, 0.45), 0 0 20px rgba(245, 166, 35, 0.15);
}

/* ===== 3D DEPTH ENHANCEMENTS ===== */

/* Enhanced benefit card 3D */
.benefit-card {
  transform-style: preserve-3d;
  transform: perspective(800px) translateZ(0);
}

.benefit-card:hover {
  transform: perspective(800px) translateY(-10px) translateZ(20px);
  box-shadow:
    0 30px 60px rgba(100, 140, 180, 0.2),
    0 10px 20px rgba(245, 166, 35, 0.1),
    0 0 40px rgba(245, 166, 35, 0.05);
}

/* Enhanced event card 3D */
.event-card {
  transform-style: preserve-3d;
  transform: perspective(800px) translateZ(0);
}

.event-card:hover {
  transform: perspective(800px) translateY(-10px) rotateX(3deg) translateZ(15px);
  box-shadow:
    0 30px 70px rgba(100, 140, 180, 0.22),
    0 0 30px rgba(245, 166, 35, 0.08);
}

/* Enhanced school items 3D */
.school-item {
  transform-style: preserve-3d;
  transform: perspective(600px) translateZ(0);
}

.school-item:hover {
  transform: perspective(600px) translateY(-6px) scale3d(1.04, 1.04, 1) translateZ(10px);
  box-shadow:
    0 20px 45px rgba(100, 140, 180, 0.18),
    0 0 20px rgba(245, 166, 35, 0.06);
}

/* Enhanced CTA 3D */
.cta-box {
  transform-style: preserve-3d;
  animation: ctaGradient 6s ease infinite, ctaFloat 5s ease-in-out infinite;
}

@keyframes ctaFloat {
  0%, 100% { transform: translateY(0) rotateX(0); }
  50% { transform: translateY(-8px) rotateX(1deg); }
}

/* Section headers 3D entrance */
.section-header {
  transform-style: preserve-3d;
}

.section-badge {
  transform: perspective(500px) translateZ(10px);
  transition: all 0.4s ease;
}

/* Hero content 3D depth */
.hero-content {
  transform-style: preserve-3d;
}

.hero-title {
  transform: perspective(1000px) translateZ(40px);
  text-shadow: 
    0 4px 30px rgba(0, 0, 0, 0.3),
    0 2px 10px rgba(0, 0, 0, 0.2),
    0 0 60px rgba(245, 166, 35, 0.15);
}

.hero-feature {
  transform-style: preserve-3d;
  transform: perspective(600px) translateZ(0);
}

.hero-feature:hover {
  background: rgba(255, 255, 255, 0.35);
  transform: perspective(600px) translateY(-8px) rotateX(5deg) translateZ(15px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Floating 3D decoration elements */
.hero::after {
  content: '';
  position: absolute;
  width: 120px;
  height: 120px;
  border: 3px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  top: 20%;
  right: 8%;
  animation: rotateSubtle 12s linear infinite;
  pointer-events: none;
  z-index: 0;
}

.hero::before {
  content: '';
  position: absolute;
  width: 80px;
  height: 80px;
  border: 2px solid rgba(245, 166, 35, 0.15);
  border-radius: 50%;
  bottom: 25%;
  left: 6%;
  animation: rotateSubtle 8s linear infinite reverse;
  pointer-events: none;
  z-index: 0;
}

@keyframes rotateSubtle {
  from { transform: rotate(0deg) translateY(0); }
  25% { transform: rotate(90deg) translateY(-10px); }
  50% { transform: rotate(180deg) translateY(0); }
  75% { transform: rotate(270deg) translateY(10px); }
  to { transform: rotate(360deg) translateY(0); }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero-title { font-size: 3.2rem; }
  .hero-main-title { font-size: 4.5rem; margin-bottom: 24px; }
  .hero-features { grid-template-columns: repeat(2, 1fr); }
  .benefits-grid { grid-template-columns: 1fr; }
  .event-details-row { flex-direction: column; padding: 20px; gap: 16px; }
  .event-detail-divider { width: 80%; height: 1px; margin: 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .section-title { font-size: 2.2rem; }
  .gift-stage { grid-template-columns: 1fr; gap: 40px; }
  .gift-info { text-align: center; align-items: center; }
  .gift-tag { align-self: center; }
  .gift-cta-btn { align-self: center; }
  .school-logo-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .school-logo-card { height: 150px; padding: 18px 14px 14px; }
  .school-logo-card img { max-width: 130px; max-height: 55px; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-links.active {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(245, 248, 252, 0.95);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    justify-content: center;
    align-items: center;
    gap: 32px;
    z-index: 999;
  }
  .nav-links.active a {
    color: var(--text-dark);
    font-size: 1.4rem;
    font-weight: 700;
    padding: 12px 32px;
    border-radius: 50px;
    background: var(--white);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05), inset 0 2px 0 rgba(255, 255, 255, 1);
    transition: all 0.3s;
    text-shadow: none;
    width: 80%;
    text-align: center;
  }
  .nav-links.active a:active {
    transform: scale(0.96);
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.08);
  }
  .mobile-menu-btn { display: flex; z-index: 1000; }
  .hero { min-height: 100vh; padding: 100px 16px 60px; }
  .hero-title { font-size: 2.4rem; }
  .hero-main-title {
    font-size: 3.2rem;
    margin-bottom: 20px;
    letter-spacing: -1px;
    text-shadow:
      0 6px 15px rgba(56, 132, 244, 0.3),
      0 10px 30px rgba(56, 132, 244, 0.2),
      2px 2px 0 #8ad0ff,
      -2px -2px 0 #8ad0ff,
      -2px 2px 0 #8ad0ff,
      2px -2px 0 #8ad0ff;
  }
  .hero-logo-img { height: 60px; }
  .hero-features { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .hero-feature { padding: 18px 12px; }
  .hero-feature-icon { width: 44px; height: 44px; }
  .hero-feature-icon svg { width: 22px; height: 22px; }
  .hero-feature p { font-size: 0.7rem; }
  .hero-cta { font-size: 0.9rem; padding: 14px 24px; }
  .hero-location { flex-direction: column; gap: 12px; margin-top: 24px; }
  .hero-location-item { flex-wrap: wrap; justify-content: center; padding: 10px 16px; border-radius: 16px; font-size: 0.8rem; }
  .hero-date-box { padding: 20px 28px 18px; border-radius: 16px; margin-bottom: 28px; }
  .hero-date-label { font-size: 0.75rem; padding: 6px 18px; margin-bottom: 10px; }
  .hero-date-value { font-size: 0.9rem; }
  .section { padding: 60px 0; }
  .section-title { font-size: 1.8rem; }
  .section-subtitle { font-size: 0.95rem; }
  .benefit-card { padding: 20px 16px; }
  .benefit-card h3 { font-size: 1.2rem; }
  .benefit-card .condition { font-size: 0.78rem; padding: 8px 16px; border-radius: 30px; }
  .ticket { padding: 12px 20px; }
  .ticket-amount { font-size: 2rem; }
  .weekly-benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .weekly-item { padding: 16px 12px; }
  .settle-card { padding: 40px 24px 30px !important; }
  .settle-icons-grid { gap: 20px 30px; }
  .settle-icon-circle { width: 70px; height: 70px; }
  .settle-icon-circle svg { width: 32px; height: 32px; }
  .settle-icon-item span { font-size: 0.8rem; }
  .school-item { padding: 12px 18px; font-size: 0.85rem; }
  .register-form-wrap { padding: 28px 20px; }
  .cta-box { padding: 40px 24px; border-radius: 20px; }
  .cta-box h2 { font-size: 1.8rem; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 1.9rem; }
  .hero-main-title {
    font-size: 2.4rem;
    line-height: 1.2;
    margin-bottom: 16px;
    letter-spacing: -1px;
    text-shadow:
      0 4px 10px rgba(56, 132, 244, 0.3),
      0 8px 20px rgba(56, 132, 244, 0.2),
      1.5px 1.5px 0 #8ad0ff,
      -1.5px -1.5px 0 #8ad0ff,
      -1.5px 1.5px 0 #8ad0ff,
      1.5px -1.5px 0 #8ad0ff;
  }
  .hero-features { grid-template-columns: 1fr 1fr; gap: 10px; }
  .hero-cta { font-size: 0.8rem; padding: 12px 20px; gap: 8px; }
  .hero-location-item { font-size: 0.75rem; padding: 8px 12px; gap: 6px; }
  .weekly-benefits-grid { grid-template-columns: 1fr; }
  .hero-date-box { padding: 16px 20px 14px; border-radius: 14px; margin-bottom: 20px; }
  .hero-date-label { font-size: 0.7rem; padding: 5px 14px; margin-bottom: 8px; letter-spacing: 1px; }
  .hero-date-value { font-size: 0.8rem; letter-spacing: 0.5px; }
  .benefit-card { padding: 16px 14px; }
  .benefit-card h3 { font-size: 1rem; }
  .benefit-card .condition { font-size: 0.72rem; padding: 7px 14px; }
  .ticket { padding: 10px 16px; }
  .ticket-amount { font-size: 1.6rem; }
  .weekly-item { padding: 14px 10px; }
  .weekly-item .weeks { font-size: 1.3rem; }
  .weekly-item .gift { font-size: 0.75rem; }
  .settle-card { padding: 30px 16px 24px !important; }
  .settle-icons-grid { gap: 16px 24px; }
  .settle-icon-circle { width: 60px; height: 60px; }
  .settle-icon-circle svg { width: 28px; height: 28px; }
  .settle-icon-item { max-width: 100px; }
  .settle-icon-item span { font-size: 0.72rem; }
  .settle-disclaimer { font-size: 0.62rem; }
  .gift-hero-img { max-width: 320px; }
  .gift-info h3 { font-size: 1.6rem; }
  .school-logo-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .school-logo-card { height: 130px; padding: 14px 10px 10px; }
  .school-logo-card img { max-width: 100px; max-height: 40px; }
  .school-logo-name { font-size: 0.7rem; }
}

/* ===== OCTOBER 2026 EVENT REFRESH ===== */
:root {
  --ember: #f16623;
  --ember-dark: #b83c13;
  --ember-soft: #ff9c5c;
  --charcoal: #17100d;
  --charcoal-soft: #2b211d;
  --cream: #fff8ef;
  --cream-deep: #f6eadc;
  --accent-orange: var(--ember);
  --accent-orange-light: var(--ember-soft);
  --accent-orange-dark: var(--ember-dark);
  --accent-gold: #f5a043;
  --text-dark: #211712;
  --text-medium: #503f36;
  --text-light: #705e54;
  --glass-border: rgba(241, 102, 35, 0.24);
}

body {
  background: var(--cream);
  color: var(--text-dark);
}

.sky-bg {
  background:
    radial-gradient(circle at 20% 14%, rgba(241, 102, 35, 0.12), transparent 34%),
    linear-gradient(180deg, #f9eee2 0%, var(--cream) 45%, #fff 100%);
}

.navbar {
  padding: 18px 0;
}

.navbar.scrolled {
  background: rgba(255, 248, 239, 0.94);
  box-shadow: 0 12px 34px rgba(34, 20, 14, 0.1);
  border-bottom: 1px solid rgba(184, 60, 19, 0.12);
}

.navbar.scrolled .nav-links a,
.navbar.scrolled .lang-btn {
  color: var(--charcoal);
}

.nav-links a::after,
.scroll-progress-bar {
  background: linear-gradient(90deg, var(--ember), #ffb060);
}

.hero {
  min-height: 820px;
  padding: 130px 24px 110px;
  background: var(--charcoal);
}

.hero-image-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0.78;
  transform: none;
  image-rendering: auto;
}

.hero-video-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0;
  transform: none;
  transition: opacity 0.7s ease;
  image-rendering: auto;
}

.hero-video-bg.is-ready {
  opacity: 0.8;
}

.hero-overlay {
  background:
    radial-gradient(circle at 45% 40%, rgba(224, 75, 20, 0.32), transparent 34%),
    linear-gradient(90deg, rgba(19, 12, 9, 0.92) 0%, rgba(24, 14, 10, 0.68) 55%, rgba(19, 12, 9, 0.78) 100%);
}

.hero-content {
  max-width: 1100px;
}

.hero-eyebrow {
  display: inline-flex;
  padding: 8px 16px;
  margin-bottom: 18px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  background: rgba(20, 11, 7, 0.55);
  color: #ffd5bd;
  font: 800 0.78rem/1.2 'Outfit', sans-serif;
  letter-spacing: 0.15em;
}

.hero-main-title {
  max-width: 1080px;
  margin: 0 auto 18px;
  font-family: 'Outfit', 'Noto Sans KR', sans-serif;
  font-size: clamp(2.5rem, 5.2vw, 4.65rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
  text-shadow: 0 8px 42px rgba(0, 0, 0, 0.6);
  word-break: keep-all;
  overflow-wrap: break-word;
}

.hero-answer {
  max-width: 780px;
  margin: 0 auto 26px;
  color: rgba(255, 248, 239, 0.9);
  font-size: clamp(1rem, 2.3vw, 1.26rem);
  font-weight: 600;
  line-height: 1.65;
}

.hero-date-box {
  margin: 0 auto 24px;
  padding: 24px 44px 22px;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  background: rgba(23, 12, 7, 0.68);
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.38);
}

.hero-date-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: linear-gradient(135deg, var(--ember), var(--ember-dark));
  font-size: clamp(1rem, 2.2vw, 1.25rem);
  font-weight: 800;
  padding: 10px 28px;
  border-radius: 999px;
  letter-spacing: 0.04em;
  margin-bottom: 14px;
  box-shadow: 0 6px 20px rgba(245, 120, 35, 0.45);
  white-space: nowrap;
}

.hero-date-value {
  color: #fff8ef;
  font-size: clamp(1.2rem, 2.8vw, 1.65rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin: 4px 0 24px;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 24px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 0.96rem;
  font-weight: 800;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.hero-cta:hover {
  transform: translateY(-2px);
}

.hero-cta-primary {
  background: linear-gradient(135deg, #ff8141, var(--ember));
  color: #fff;
  box-shadow: 0 12px 32px rgba(201, 65, 18, 0.42);
}

.hero-cta-secondary {
  border-color: rgba(255, 255, 255, 0.38);
  background: rgba(24, 13, 8, 0.56);
  color: #fff;
}

.hero-location {
  margin-top: 0 !important;
}

.hero-location-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #ffd5bd;
  font-weight: 700;
}

.hero-location-item svg {
  color: var(--ember-soft);
}

.hero-proof {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.hero-proof span {
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.78rem;
  font-weight: 700;
}

.hero-clouds {
  opacity: 0.94;
}

.event-highlights {
  padding: 84px 0;
  background: var(--cream);
}

.event-highlights-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 44px;
}

.event-highlights-copy h2 {
  margin: 18px 0 14px;
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1.08;
}

.event-highlights-copy p {
  color: var(--text-medium);
  font-size: 1.05rem;
  line-height: 1.75;
}

.event-highlights-copy ul {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.event-highlights-copy li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--text-medium);
  font-weight: 700;
}

.event-highlights-copy li::before {
  content: none;
}

.event-highlights-copy li .ui-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  margin-top: 3px;
  color: var(--ember);
}

.event-highlights-grid > img,
.partner-poster-grid img,
.context-poster img,
.early-bird-banner img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
  box-shadow: 0 24px 58px rgba(50, 28, 18, 0.18);
  transform: none;
  image-rendering: auto;
}

.section-badge {
  color: var(--ember-dark);
  background: rgba(241, 102, 35, 0.1);
  border-color: rgba(241, 102, 35, 0.22);
}

.benefits,
.event-info,
.faq-section {
  background: #fff;
}

.schools,
.register-section,
.cta-section {
  background: var(--cream);
}

.early-bird-banner {
  display: grid;
  max-width: 980px;
  margin: 0 auto 34px;
  color: var(--ember-dark);
  text-align: center;
  font-weight: 800;
}

.early-bird-banner span {
  padding: 14px 18px 0;
}

.benefit-card,
.weekly-item,
.school-logo-card,
.event-details-row,
.cta-box {
  border-color: rgba(184, 60, 19, 0.16);
  box-shadow: 0 18px 44px rgba(63, 34, 21, 0.1);
}

.partner-poster-grid {
  display: grid;
  gap: 24px;
}

.partner-poster-grid figure {
  margin: 0;
}

.partner-poster-grid figcaption {
  padding: 12px 8px 2px;
  color: var(--text-medium);
  font-weight: 800;
  text-align: center;
}

.lineup-note {
  max-width: 980px;
  margin: 28px auto 0;
  color: var(--text-light);
  font-size: 0.9rem;
  line-height: 1.75;
  text-align: center;
}

.event-detail-icon {
  background: rgba(241, 102, 35, 0.1);
}

.event-map-wrap iframe {
  filter: sepia(0.08) saturate(0.9);
}

.eventbrite-button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 13px 28px;
  border-radius: 13px;
  background: linear-gradient(135deg, #ff8141, var(--ember-dark));
  color: #fff;
  font-size: 0.96rem;
  font-weight: 800;
  box-shadow: 0 10px 26px rgba(184, 60, 19, 0.28);
}

.lucky-draw-section,
.lucky-draw-bg,
.footer {
  background: var(--charcoal);
}

.lucky-draw-image img {
  border-radius: 18px;
  transform: none;
  image-rendering: auto;
}

.faq-container {
  max-width: 900px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  border: 1px solid rgba(184, 60, 19, 0.16);
  border-radius: 14px;
  background: var(--cream);
  box-shadow: 0 8px 24px rgba(63, 34, 21, 0.06);
}

.faq-list summary {
  padding: 18px 54px 18px 20px;
  cursor: pointer;
  font-weight: 800;
  list-style: none;
  position: relative;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: '+';
  position: absolute;
  top: 13px;
  right: 18px;
  color: var(--ember);
  font-size: 1.5rem;
}

.faq-list details[open] summary::after {
  content: '−';
}

.faq-list p {
  padding: 0 20px 20px;
  color: var(--text-medium);
  line-height: 1.7;
}

.cta-box {
  background: linear-gradient(135deg, #33170d, #7b260d 55%, #bd4818);
}

.cta-btn {
  background: #fff8ef;
  color: var(--ember-dark);
}

@media (max-width: 820px) {
  .hero {
    min-height: 760px;
    padding-top: 112px;
  }

  .event-highlights-grid {
    grid-template-columns: 1fr;
  }

  .event-highlights-copy {
    text-align: center;
  }

  .event-highlights-copy li {
    text-align: left;
  }

}

@media (max-width: 600px) {
  .hero {
    min-height: 700px;
    padding: 96px 16px 84px;
  }

  .hero-image-bg {
    object-position: center;
  }

  .hero-main-title {
    font-size: clamp(1.15rem, 5.2vw, 1.85rem);
  }

  .hero-date-box {
    padding: 16px 18px;
  }

  .hero-actions {
    display: grid;
  }

  .hero-cta {
    width: min(100%, 330px);
  }

  .hero-location-item {
    font-size: 0.77rem;
  }

  .event-highlights {
    padding: 60px 0;
  }

  .partner-poster-grid {
    gap: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-video-bg {
    display: none;
  }

  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ===== SVG SYSTEM, FOOTER CONTRAST & DEVICE-SAFE LAYOUT ===== */
.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
  pointer-events: none;
}

.ui-icon,
.deco-icon {
  display: inline-block;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: middle;
}

.language-code {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 24px;
  border: 1px solid rgba(184, 60, 19, 0.18);
  border-radius: 8px;
  background: var(--cream);
  color: var(--ember-dark);
  font: 800 0.67rem/1 'Outfit', sans-serif;
  letter-spacing: 0.05em;
}

.lang-dropdown button.active .language-code,
.lang-dropdown button:hover .language-code {
  border-color: rgba(184, 60, 19, 0.35);
  background: #fff;
}

.benefits-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.benefits-badge .ui-icon {
  width: 17px;
  height: 17px;
}

.benefits-header-deco {
  display: flex;
  align-items: center;
  justify-content: center;
}

.deco-icon {
  width: 16px;
  height: 16px;
  color: var(--ember);
}

.deco-diamond {
  width: 8px;
  height: 8px;
  border: 1.5px solid var(--ember);
  transform: rotate(45deg);
}

.hero-location-grid {
  display: grid;
  grid-template-columns: minmax(0, auto) minmax(0, 1fr);
  gap: 10px;
  width: min(100%, 920px);
  margin: 0 auto;
}

.hero-meta-item {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  padding: 11px 15px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 14px;
  background: rgba(21, 11, 7, 0.58);
  color: #ffe2d1;
  font-size: clamp(0.75rem, 1.45vw, 0.88rem);
  font-weight: 750;
  line-height: 1.45;
  text-align: left;
  backdrop-filter: blur(12px);
}

.hero-meta-item .ui-icon {
  color: #ff9a61;
}

.hero-meta-item span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.hero-proof span,
.hero-cta,
.eventbrite-button,
.instagram-button,
.cta-btn {
  min-width: 0;
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
  text-align: center;
}

.event-detail-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  border: 1px solid rgba(241, 102, 35, 0.18);
  border-radius: 15px;
  color: var(--ember-dark);
  background: linear-gradient(145deg, #fff8ef, #f8e7d7);
}

.event-detail-icon .ui-icon {
  width: 25px;
  height: 25px;
}

.event-detail-content,
.event-detail-value {
  min-width: 0;
  overflow-wrap: anywhere;
}

.register-card-wrap {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

.register-card {
  padding: clamp(26px, 5vw, 44px);
  border: 1px solid rgba(184, 60, 19, 0.18);
  border-radius: 26px;
  background:
    radial-gradient(circle at 50% 0, rgba(255, 160, 91, 0.14), transparent 44%),
    linear-gradient(145deg, rgba(255,255,255,.96), rgba(255,246,236,.96));
  box-shadow: 0 24px 60px rgba(72, 35, 19, 0.12);
}

.register-card-icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  border-radius: 20px;
  color: #fff;
  background: linear-gradient(135deg, #ff8b4d, var(--ember-dark));
  box-shadow: 0 12px 28px rgba(184, 60, 19, 0.28);
}

.register-card-icon .ui-icon {
  width: 30px;
  height: 30px;
}

.register-card h3 {
  margin: 0 0 10px;
  color: var(--text-dark);
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 900;
  overflow-wrap: anywhere;
}

.register-card p {
  margin: 0 0 24px;
  color: var(--text-medium);
  font-size: 1rem;
  line-height: 1.75;
}

.register-card-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.eventbrite-button,
.instagram-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 50px;
  padding: 13px 22px;
  border-radius: 13px;
  color: #fff;
  font-size: 0.94rem;
  font-weight: 800;
  transition: transform .2s ease, box-shadow .2s ease;
}

.eventbrite-button {
  background: linear-gradient(135deg, #ff8141, var(--ember-dark));
  box-shadow: 0 10px 26px rgba(184, 60, 19, 0.28);
}

.instagram-button {
  background: linear-gradient(135deg, #7645c4, #d53b78 55%, #f07838);
  box-shadow: 0 10px 26px rgba(163, 44, 110, 0.24);
}

.eventbrite-button:hover,
.instagram-button:hover {
  transform: translateY(-2px);
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.cta-btn .ui-icon {
  width: 19px;
  height: 19px;
}

.faq-list summary,
.faq-list p {
  overflow-wrap: anywhere;
}

/* Dark footer with deliberate contrast instead of inherited light-theme text. */
.footer {
  isolation: isolate;
  overflow: hidden;
  color: #fff8f2;
  border-top: 1px solid rgba(255, 151, 91, 0.32);
  background:
    radial-gradient(circle at 8% 0, rgba(241, 102, 35, 0.2), transparent 30%),
    radial-gradient(circle at 92% 40%, rgba(132, 52, 27, 0.22), transparent 32%),
    linear-gradient(145deg, #130d0b 0%, #21130e 52%, #160e0b 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}

.footer::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .22;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

.footer-grid {
  grid-template-columns: minmax(0, 1.45fr) minmax(250px, .75fr);
  align-items: start;
}

.footer-logo-img {
  height: 48px;
  max-width: min(230px, 80vw);
  filter: brightness(0) invert(1) drop-shadow(0 3px 16px rgba(0,0,0,.25));
  opacity: 1;
  transform: none;
  image-rendering: auto;
}

.footer-brand p {
  max-width: 590px;
  color: rgba(255, 244, 237, 0.82);
  font-size: 0.98rem;
  line-height: 1.8;
}

.footer h4,
.footer-awards h4 {
  color: #fffaf6;
  letter-spacing: 0.01em;
}

.footer-links {
  display: grid;
  gap: 4px;
}

.footer-links a,
.footer-contact-line {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
  padding: 8px 0;
  color: rgba(255, 244, 237, 0.82);
  font-size: 0.94rem;
  line-height: 1.45;
}

.footer-links a span,
.footer-contact-line span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.footer-links .ui-icon,
.footer-contact-line .ui-icon {
  width: 18px;
  height: 18px;
  flex-basis: 18px;
  margin-top: 1px;
  color: #ff9e68;
}

.footer-links a:hover {
  color: #fff;
}

.footer-awards {
  border-top-color: rgba(255, 255, 255, 0.13);
}

.awards-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.award-item {
  min-width: 0;
  height: 100%;
  padding: 18px 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 252, 248, 0.96);
  box-shadow: 0 12px 30px rgba(0,0,0,.18);
}

.award-item:hover {
  background: #fff;
  box-shadow: 0 18px 36px rgba(0,0,0,.22);
}

.award-logo,
.award-item:hover .award-logo {
  width: min(120px, 100%);
  max-height: 48px;
  filter: none;
  opacity: 1;
  transform: none;
  image-rendering: auto;
}

.award-item p {
  color: #49372e;
  font-size: 0.77rem;
  font-weight: 700;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.footer-bottom {
  border-top-color: rgba(255, 255, 255, 0.13);
  color: rgba(255, 244, 237, 0.68);
}

/* Tablet navigation switches before translated labels become crowded. */
@media (min-width: 921px) and (max-width: 1120px) {
  .nav-links { gap: 18px; }
  .nav-links a { font-size: .86rem; }
  .lang-btn { padding-inline: 12px; }
}

@media (max-width: 920px) {
  body.menu-open { overflow: hidden; }

  .nav-links { display: none; }
  .nav-links.active {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 0;
    z-index: 999;
    width: 100%;
    min-height: 100dvh;
    padding: 90px 20px 30px;
    justify-content: center;
    align-items: center;
    gap: 14px;
    overflow-y: auto;
    background: rgba(255, 248, 239, .98);
    backdrop-filter: blur(24px);
  }

  .nav-links.active > a {
    width: min(100%, 390px);
    padding: 13px 18px;
    border: 1px solid rgba(184, 60, 19, .12);
    border-radius: 14px;
    color: var(--text-dark);
    background: #fff;
    box-shadow: 0 9px 24px rgba(64, 31, 16, .07);
    font-size: 1rem;
    text-align: center;
    text-shadow: none;
  }

  .nav-links.active .lang-selector {
    width: min(100%, 390px);
  }

  .nav-links.active .lang-btn {
    width: 100%;
    justify-content: center;
    border-color: rgba(184, 60, 19, .26);
    color: var(--text-dark);
    background: #fff;
  }

  .nav-links.active .lang-dropdown {
    position: static;
    left: 0;
    right: 0;
    width: 100%;
    max-height: 0;
    margin-top: 0;
    padding-top: 0;
    padding-bottom: 0;
    overflow: hidden;
    transform: none;
  }

  .nav-links.active .lang-dropdown.active {
    max-height: min(360px, 46vh);
    margin-top: 8px;
    padding-top: 8px;
    padding-bottom: 8px;
    overflow-y: auto;
  }

  .mobile-menu-btn {
    display: flex;
    z-index: 1000;
  }

  .mobile-menu-btn.active span {
    background: var(--text-dark);
  }

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

  .mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
  }

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

  .event-highlights-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .awards-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
  .container,
  .nav-inner {
    padding-left: 18px;
    padding-right: 18px;
  }

  .hero {
    min-height: 0;
    padding: 94px 14px 82px;
  }

  .hero-main-title {
    max-width: 100%;
    font-size: clamp(1.15rem, 5.2vw, 1.85rem);
    line-height: 1.12;
    letter-spacing: -.03em;
    word-break: keep-all;
    overflow-wrap: break-word;
  }

  .hero-answer {
    font-size: clamp(0.88rem, 3.8vw, 1.05rem);
    line-height: 1.55;
    word-break: keep-all;
    overflow-wrap: break-word;
    margin: 0 auto 22px;
  }

  .hero-date-box {
    width: min(100%, 420px);
    padding: 20px 18px 18px;
    border-radius: 18px;
  }

  .hero-date-label {
    font-size: clamp(0.88rem, 3.8vw, 1.05rem);
    padding: 8px 22px;
    margin-bottom: 10px;
    white-space: nowrap;
  }

  .hero-date-value {
    font-size: clamp(1.05rem, 4.2vw, 1.32rem);
    white-space: nowrap;
  }

  .hero-actions {
    display: grid;
    width: min(100%, 390px);
    margin-inline: auto;
  }

  .hero-cta {
    width: 100%;
  }

  .hero-location-grid {
    grid-template-columns: 1fr;
    width: min(100%, 440px);
  }

  .hero-meta-item {
    justify-content: flex-start;
    padding: 10px 13px;
  }

  .hero-proof {
    width: min(100%, 440px);
    margin-inline: auto;
  }

  .hero-proof span {
    flex: 1 1 140px;
    line-height: 1.4;
  }

  .section {
    padding: 58px 0;
  }

  .section-title {
    font-size: clamp(1.7rem, 8vw, 2.15rem);
    overflow-wrap: anywhere;
  }

  .register-card-actions {
    display: grid;
  }

  .eventbrite-button,
  .instagram-button {
    width: 100%;
  }

  .event-details-row {
    align-items: stretch;
  }

  .event-detail-item {
    width: 100%;
    align-items: center;
  }

  .event-detail-content {
    flex: 1;
  }

  .faq-list summary {
    padding: 16px 48px 16px 16px;
    line-height: 1.45;
  }

  .faq-list p {
    padding: 0 16px 18px;
  }

  .cta-box {
    padding: 34px 18px;
  }

  .footer {
    padding-top: 48px;
  }

  .footer-grid {
    gap: 30px;
  }

  .awards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 11px;
  }

  .award-item {
    padding: 14px 9px;
  }
}

@media (max-width: 360px) {
  .container,
  .nav-inner {
    padding-left: 14px;
    padding-right: 14px;
  }

  .hero {
    padding-left: 10px;
    padding-right: 10px;
  }

  .hero-main-title {
    font-size: clamp(0.98rem, 4.8vw, 1.15rem);
  }

  .hero-eyebrow {
    max-width: 100%;
    padding-inline: 12px;
    font-size: .68rem;
    letter-spacing: .09em;
  }

  .hero-proof span {
    flex-basis: 100%;
  }

  .register-card {
    padding: 24px 15px;
  }
}

html[lang="ja"] body,
html[lang="zh"] body {
  word-break: normal;
  line-break: strict;
}

html[lang="th"] body {
  word-break: normal;
  line-break: loose;
}

/* ===== READABILITY PASS & CALENDAR ACTIONS ===== */
.hero-eyebrow {
  font-size: max(0.75rem, 12px);
  white-space: nowrap;
}

.benefit-card .condition {
  min-height: 38px;
  padding: 9px 17px;
  font-size: max(0.8rem, 12.8px);
  line-height: 1.45;
  white-space: normal;
}

.weekly-item .gift,
.benefit-card [data-i18n="benefits.elicos_refer"],
.benefit-card [data-i18n="benefits.vet_refer"],
.benefit-card [data-i18n="benefits.uni_refer"] {
  font-size: max(0.84rem, 13.4px) !important;
  line-height: 1.5;
}

.settle-icon-item span {
  max-width: 150px;
  font-size: max(0.82rem, 13px);
  line-height: 1.45;
}

.settle-disclaimer {
  max-width: 760px;
  margin: 26px auto 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: max(0.78rem, 12.5px);
  line-height: 1.7;
}

.early-bird-callout {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  max-width: 980px;
  margin: 0 auto 30px;
  padding: 22px 24px;
  border: 1px solid rgba(241, 102, 35, 0.23);
  border-radius: 20px;
  background:
    radial-gradient(circle at 0 0, rgba(255, 156, 92, 0.2), transparent 35%),
    linear-gradient(135deg, #fffaf5, #fff2e6);
  box-shadow: 0 16px 38px rgba(70, 34, 18, 0.1);
}

.early-bird-feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  align-items: center;
  gap: 22px;
  max-width: 1180px;
  margin: 0 auto 34px;
}

.early-bird-feature .early-bird-callout {
  grid-template-columns: auto minmax(0, 1fr);
  max-width: none;
  margin: 0;
}

.early-bird-feature .early-bird-action {
  grid-column: 1 / -1;
  width: 100%;
}

.context-poster {
  min-width: 0;
  margin: 0;
}

.context-poster img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid rgba(184, 60, 19, 0.15);
  border-radius: 20px;
  box-shadow: 0 20px 48px rgba(56, 27, 15, 0.16);
}

.early-bird-visual {
  position: relative;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 18px;
  width: min(100%, 390px);
  min-height: 290px;
  justify-self: center;
  overflow: hidden;
  padding: 28px 24px 24px;
  border: 1px solid rgba(241, 102, 35, 0.24);
  border-radius: 28px;
  background:
    radial-gradient(circle at 78% 10%, rgba(255, 126, 48, 0.36), transparent 32%),
    radial-gradient(circle at 7% 92%, rgba(255, 190, 120, 0.14), transparent 34%),
    linear-gradient(145deg, #1b1210, #3b1911 58%, #71240f);
  box-shadow: 0 24px 54px rgba(55, 25, 13, 0.2);
}

.early-bird-visual::before,
.early-bird-visual::after {
  content: '';
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}

.early-bird-visual::before {
  width: 180px;
  height: 180px;
  top: -105px;
  right: -68px;
}

.early-bird-visual::after {
  width: 130px;
  height: 130px;
  bottom: -86px;
  left: -48px;
}

.voucher-ticket-art {
  position: relative;
  display: grid;
  grid-template-columns: 62px 1fr;
  align-items: center;
  width: min(100%, 250px);
  min-height: 112px;
  padding: 14px 24px 14px 16px;
  border: 2px solid rgba(255, 255, 255, 0.72);
  border-radius: 21px;
  background: linear-gradient(135deg, #ff8b3f, #ef5b1e 62%, #c83b12);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.28);
  transform: rotate(-2deg);
}

.voucher-ticket-art::before,
.voucher-ticket-art::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #2b1510;
  transform: translateY(-50%);
}

.voucher-ticket-art::before { left: -13px; }
.voucher-ticket-art::after { right: -13px; }

.voucher-barcode {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 3px;
  height: 72px;
  padding-right: 15px;
  border-right: 2px dashed rgba(255, 255, 255, 0.52);
}

.voucher-barcode i {
  display: block;
  width: 3px;
  background: rgba(255, 255, 255, 0.86);
}

.voucher-barcode i:nth-child(2),
.voucher-barcode i:nth-child(5) { width: 6px; }

.voucher-ticket-art > .ui-icon {
  width: 58px;
  height: 58px;
  justify-self: center;
  color: #fff;
  stroke-width: 1.7;
}

.voucher-visual-copy {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 10px;
  color: #fff;
  text-align: center;
}

.voucher-visual-copy span {
  font-size: max(0.9rem, 14.4px);
  font-weight: 750;
}

.voucher-visual-copy strong {
  color: #ff9a59;
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1;
}

.voucher-sparkle {
  position: absolute;
  top: 20px;
  right: 22px;
  width: 28px;
  height: 28px;
  color: #ffb27d;
}

.localized-benefit-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 13px;
}

.localized-benefit-item {
  display: grid;
  grid-template-rows: auto 82px auto 1fr;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 18px 12px 16px;
  border: 1px solid rgba(184, 60, 19, 0.17);
  border-radius: 18px;
  background: #fffaf6;
  text-align: center;
}

.localized-benefit-item > strong {
  color: var(--ember-dark);
  font-size: 1.16rem;
  line-height: 1.25;
}

.localized-benefit-item > img {
  display: block;
  width: 100%;
  max-width: 92px;
  height: 82px;
  margin: 0 auto;
  object-fit: contain;
}

.localized-offer {
  display: grid;
  min-width: 0;
  padding: 10px 8px;
  border-radius: 12px;
  background: linear-gradient(135deg, #ff7b31, var(--ember-dark));
  color: #fff;
  box-shadow: 0 9px 20px rgba(184, 60, 19, 0.2);
  text-align: center;
}

.localized-offer b {
  font-family: 'Outfit', sans-serif;
  font-size: 1.55rem;
  line-height: 1;
}

.localized-offer span {
  margin-top: 4px;
  font-size: max(0.74rem, 12px);
  font-weight: 750;
  line-height: 1.3;
}

.localized-benefit-item p,
.localized-course-benefit p {
  margin: 0;
  color: var(--text-medium);
  font-size: max(0.82rem, 13px);
  line-height: 1.45;
}

.localized-referral {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  padding: 15px 17px;
  border: 1px dashed rgba(241, 102, 35, 0.55);
  border-radius: 15px;
  background: rgba(255, 247, 239, 0.9);
  color: var(--text-dark);
}

.localized-referral .ui-icon {
  width: 24px;
  height: 24px;
  color: var(--ember-dark);
}

.localized-referral > div {
  display: grid;
  gap: 2px;
}

.localized-referral strong {
  color: var(--ember-dark);
  font-size: 0.88rem;
}

.localized-referral span {
  color: var(--text-medium);
  font-size: max(0.82rem, 13px);
  line-height: 1.4;
}

.localized-referral > b {
  color: var(--ember-dark);
  font-family: 'Outfit', sans-serif;
  font-size: 1.35rem;
}

.localized-course-benefit {
  display: grid;
  grid-template-columns: minmax(110px, 0.75fr) minmax(120px, 1fr);
  align-items: center;
  gap: 15px;
  max-width: 430px;
  margin: 0 auto;
}

.localized-course-benefit > img {
  grid-row: 1 / span 2;
  display: block;
  width: 100%;
  max-width: 145px;
  max-height: 145px;
  margin: 0 auto;
  object-fit: contain;
}

.localized-course-benefit .localized-offer {
  width: 100%;
}

.localized-course-benefit p {
  text-align: center;
}

.localized-referral.compact {
  margin-top: 22px;
}

.settlement-service-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.settlement-service-grid > div {
  position: relative;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 14px;
  min-height: 174px;
  overflow: hidden;
  padding: 20px 12px 18px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.08));
  color: #fff;
  text-align: center;
}

.settlement-service-grid > div::before {
  content: '';
  position: absolute;
  top: 0;
  left: 18px;
  right: 18px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
}

.settlement-service-icon {
  display: grid;
  width: 68px;
  height: 68px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 13px 28px rgba(8, 25, 55, 0.22);
}

.settlement-service-icon .ui-icon {
  width: 35px;
  height: 35px;
  color: #2f69b6;
  stroke-width: 1.7;
}

.settlement-service-grid > div:nth-child(1) .settlement-service-icon .ui-icon { color: #ef6b2e; }
.settlement-service-grid > div:nth-child(2) .settlement-service-icon .ui-icon { color: #2586ba; }
.settlement-service-grid > div:nth-child(3) .settlement-service-icon .ui-icon { color: #7c63c8; }
.settlement-service-grid > div:nth-child(4) .settlement-service-icon .ui-icon { color: #bd7b19; }
.settlement-service-grid > div:nth-child(5) .settlement-service-icon .ui-icon { color: #258c74; }

.settlement-service-grid > div:nth-child(1) .settlement-service-icon { background: #fff5ef; }
.settlement-service-grid > div:nth-child(2) .settlement-service-icon { background: #edf9ff; }
.settlement-service-grid > div:nth-child(3) .settlement-service-icon { background: #f5f1ff; }
.settlement-service-grid > div:nth-child(4) .settlement-service-icon { background: #fff8e9; }
.settlement-service-grid > div:nth-child(5) .settlement-service-icon { background: #edfbf6; }

.settlement-service-grid > div > span:last-child {
  min-height: 42px;
}

.settlement-service-grid span {
  font-size: max(0.82rem, 13px);
  font-weight: 750;
  line-height: 1.45;
}

.education-partner-grid {
  display: grid;
  gap: 18px;
}

.education-partner-card {
  overflow: hidden;
  border: 1px solid rgba(184, 60, 19, 0.16);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 16px 38px rgba(62, 31, 17, 0.09);
}

.education-partner-card header {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 17px 20px;
  border-bottom: 1px solid rgba(184, 60, 19, 0.13);
  background: linear-gradient(135deg, #fff5ec, #fffaf6);
}

.education-partner-card header .ui-icon {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  color: var(--ember-dark);
}

.education-partner-card h3 {
  margin: 0;
  color: var(--text-dark);
  font-size: clamp(1rem, 2vw, 1.22rem);
  line-height: 1.35;
}

.institution-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1px;
  padding: 1px;
  background: rgba(184, 60, 19, 0.09);
}

.institution-card {
  display: grid;
  grid-template-rows: 88px auto;
  align-content: start;
  min-width: 0;
  min-height: 164px;
  padding: 14px 16px 15px;
  background: #fff;
}

.institution-logo {
  display: grid;
  place-items: center;
  min-width: 0;
  padding: 4px;
}

.institution-logo img {
  display: block;
  width: 100%;
  max-width: 210px;
  height: 78px;
  object-fit: contain;
}

.institution-copy {
  display: grid;
  align-content: start;
  gap: 5px;
  min-width: 0;
  padding-top: 10px;
  border-top: 1px solid rgba(184, 60, 19, 0.1);
  text-align: center;
}

.institution-copy strong {
  color: var(--text-dark);
  font-size: max(1rem, 16px);
  font-weight: 700;
  line-height: 1.4;
}

.institution-copy span {
  color: var(--ember-dark);
  font-family: 'Outfit', sans-serif;
  font-size: max(0.8rem, 12.8px);
  font-weight: 800;
  letter-spacing: 0.035em;
  line-height: 1.35;
}

.early-bird-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(135deg, #ff8a49, var(--ember-dark));
  box-shadow: 0 10px 24px rgba(184, 60, 19, 0.24);
}

.early-bird-icon .ui-icon {
  width: 27px;
  height: 27px;
}

.early-bird-copy {
  min-width: 0;
}

.early-bird-kicker {
  color: var(--ember-dark);
  font: 800 0.75rem/1.3 'Outfit', sans-serif;
  letter-spacing: 0.12em;
}

.early-bird-copy h3 {
  margin: 4px 0 4px;
  color: var(--text-dark);
  font-size: clamp(1.25rem, 2.4vw, 1.65rem);
  line-height: 1.25;
}

.early-bird-copy p {
  margin: 0;
  color: var(--text-medium);
  font-size: 0.94rem;
  line-height: 1.6;
}

.early-bird-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  max-width: 100%;
  padding: 12px 18px;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(135deg, #f17736, var(--ember-dark));
  font-size: 0.9rem;
  font-weight: 800;
  text-align: center;
  box-shadow: 0 10px 24px rgba(184, 60, 19, 0.22);
}

.early-bird-action .ui-icon {
  width: 17px;
  height: 17px;
}

.calendar-panel {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  margin-top: 24px;
  padding: 22px 24px;
  border: 1px solid rgba(184, 60, 19, 0.18);
  border-radius: 20px;
  background: linear-gradient(145deg, #fffaf5, #fff2e8);
  box-shadow: 0 16px 38px rgba(65, 31, 16, 0.09);
}

.calendar-panel-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 17px;
  color: var(--ember-dark);
  background: #fff;
  box-shadow: 0 8px 22px rgba(65, 31, 16, 0.1);
}

.calendar-panel-icon .ui-icon {
  width: 27px;
  height: 27px;
}

.calendar-panel-copy {
  min-width: 0;
}

.calendar-panel-copy h3 {
  margin: 0 0 5px;
  color: var(--text-dark);
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  line-height: 1.3;
}

.calendar-panel-copy p {
  margin: 0;
  color: var(--text-medium);
  font-size: 0.92rem;
  line-height: 1.6;
}

.calendar-actions {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.calendar-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  max-width: 100%;
  padding: 11px 15px;
  border: 1px solid rgba(184, 60, 19, 0.22);
  border-radius: 11px;
  font-size: 0.86rem;
  font-weight: 800;
  line-height: 1.35;
  text-align: center;
  white-space: normal;
}

.calendar-btn-primary {
  color: #fff;
  border-color: var(--ember-dark);
  background: var(--ember-dark);
}

.calendar-btn-secondary {
  color: var(--ember-dark);
  background: #fff;
}

.calendar-btn .ui-icon {
  width: 17px;
  height: 17px;
}

.prize-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 940px;
  margin: 24px auto 0;
}

.prize-facts > div {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-width: 0;
  padding: 14px 13px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 13px;
  color: rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.9rem;
  font-weight: 750;
  line-height: 1.45;
  text-align: left;
}

.prize-facts .ui-icon {
  color: #ff9b60;
}

.lucky-draw-disclaimer {
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: rgba(255, 255, 255, 0.78);
  font-size: max(0.82rem, 13px);
  line-height: 1.55;
}

@media (max-width: 980px) {
  .localized-benefit-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .settlement-service-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .institution-list {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  }

  .calendar-panel {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .calendar-actions {
    grid-column: 1 / -1;
    justify-content: flex-start;
    padding-left: 76px;
  }
}

@media (max-width: 680px) {
  .hero-eyebrow {
    font-size: max(0.75rem, 12px);
    white-space: nowrap;
  }

  .benefit-card .condition {
    font-size: max(0.8rem, 12.8px);
  }

  .weekly-item .gift {
    font-size: max(0.84rem, 13.4px);
  }

  .settle-icon-item span {
    max-width: 135px;
    font-size: max(0.82rem, 13px);
  }

  .settle-disclaimer {
    font-size: max(0.78rem, 12.5px);
  }

  .early-bird-callout {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 13px;
    padding: 18px 16px;
  }

  .early-bird-feature {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 28px;
  }

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

  .localized-benefit-item:last-child {
    grid-column: 1 / -1;
    width: min(100%, 220px);
    justify-self: center;
  }

  .localized-course-benefit {
    grid-template-columns: minmax(90px, 0.7fr) minmax(115px, 1fr);
    gap: 11px;
  }

  .localized-referral {
    gap: 9px;
    padding: 13px 12px;
  }

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

  .settlement-service-grid > div:last-child {
    grid-column: 1 / -1;
  }

  .institution-list {
    grid-template-columns: 1fr;
  }

  .institution-card {
    grid-template-columns: 102px minmax(0, 1fr);
    grid-template-rows: auto;
    align-items: center;
    min-height: 116px;
    padding: 12px 14px;
  }

  .institution-logo img {
    height: 76px;
  }

  .institution-copy {
    padding: 0 0 0 13px;
    border-top: 0;
    border-left: 1px solid rgba(184, 60, 19, 0.1);
    text-align: left;
  }

  .institution-copy strong {
    font-size: max(0.97rem, 15.5px);
  }

  .early-bird-icon {
    width: 50px;
    height: 50px;
  }

  .early-bird-action {
    grid-column: 1 / -1;
    width: 100%;
  }

  .calendar-panel {
    grid-template-columns: auto minmax(0, 1fr);
    padding: 18px 16px;
  }

  .calendar-panel-icon {
    width: 50px;
    height: 50px;
  }

  .calendar-actions {
    display: grid;
    grid-column: 1 / -1;
    width: 100%;
    padding-left: 0;
  }

  .calendar-btn {
    width: 100%;
  }

  .prize-facts {
    grid-template-columns: 1fr;
  }

  .prize-facts > div {
    justify-content: flex-start;
  }

  .lucky-draw-disclaimer {
    font-size: max(0.82rem, 13px);
  }
}

/* ===== Thai Specific Layout & Responsive Refinements ===== */
.hero-title-line {
  display: inline-block;
}
.hero-title-line1,
.hero-title-line2 {
  white-space: nowrap;
}

html[lang="th"] .hero-main-title {
  font-size: clamp(2.2rem, 4.4vw, 3.8rem);
  max-width: 1080px;
  line-height: 1.12;
}

.early-bird-title-part1 {
  display: inline;
}
.early-bird-title-part2 {
  display: inline-block;
  white-space: nowrap;
}

.cta-subtitle-line {
  display: inline-block;
  white-space: nowrap;
  max-width: 100%;
}
.cta-subtitle-line1 {
  font-weight: 700;
  letter-spacing: 0.01em;
}
.cta-subtitle-line2 {
  font-weight: 500;
}

@media (max-width: 980px) {
  html[lang="th"] .hero-main-title {
    font-size: clamp(1.4rem, 4.2vw, 2.2rem);
  }
}

@media (max-width: 680px) {
  .early-bird-title-part1 {
    display: block;
    margin-bottom: 2px;
  }
  html[lang="th"] .hero-main-title {
    font-size: clamp(1.15rem, 4.6vw, 1.55rem);
  }
  .cta-box p {
    font-size: clamp(0.85rem, 3.6vw, 1.05rem);
    line-height: 1.55;
    margin-bottom: 24px;
  }
}

@media (max-width: 360px) {
  html[lang="th"] .hero-main-title {
    font-size: clamp(0.92rem, 4.2vw, 1.08rem);
  }
  .cta-box p {
    font-size: clamp(0.76rem, 3.4vw, 0.86rem);
  }
}

