@charset "UTF-8";
/* CSS Document */

:root {
  --font-body: 'Poppins', sans-serif;

  --color-text: #222;
  --color-text-soft: #555;
  --color-text-muted: #666;
  --color-white: #fff;
  --color-offwhite: #fafafa;
  --color-border: #eee;
  --color-border-strong: #ddd;

  --pink: #ff2da4;
  --pink-soft: #ff7ad9;
  --pink-light: #ff6ad5;
  --blue: #4da6ff;
  --blue-soft: #6f9cff;
  --cyan: #5ee7ff;
  --purple-soft: #9b8cff;

  --gradient-brand: linear-gradient(90deg, var(--pink), var(--blue), var(--cyan));
  --gradient-brand-soft: linear-gradient(135deg, var(--pink-soft), var(--purple-soft), var(--cyan));
  --gradient-button: linear-gradient(90deg, var(--pink), var(--blue-soft));
  --gradient-card: linear-gradient(145deg, #ffffff, #f9f9f9);
  --gradient-glass: linear-gradient(135deg, rgba(255, 122, 217, 0.18), rgba(77, 166, 255, 0.18), rgba(94, 231, 255, 0.16));

  --shadow-sm: 0 8px 18px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 14px 36px rgba(0, 0, 0, 0.08);
  --shadow-xl: 0 20px 50px rgba(0, 0, 0, 0.12);

  --glow-pink-sm: 0 0 8px rgba(255, 45, 164, 0.15);
  --glow-pink-md: 0 0 12px rgba(255, 45, 164, 0.15);
  --glow-pink-lg: 0 0 20px rgba(255, 45, 164, 0.18);
  --glow-blue-sm: 0 0 18px rgba(77, 166, 255, 0.12);
  --glow-blue-md: 0 0 24px rgba(77, 166, 255, 0.18);
  --glow-blue-lg: 0 0 28px rgba(111, 156, 255, 0.18);

  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 20px;
  --radius-xl: 24px;
  --radius-pill: 999px;

  --transition-fast: 0.25s ease;
  --transition-base: 0.35s ease;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
  background: var(--color-white);
  color: var(--color-text);
  font-family: var(--font-body);
}

section {
  scroll-margin-top: 120px;
}

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

/* =========================================
   HEADER
   ========================================= */

header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 40px;
  border-bottom: 1px solid var(--color-border);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  transition: box-shadow var(--transition-base), background var(--transition-base), padding var(--transition-base);
}

header.scrolled {
  padding: 10px 60px;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(18px);
  box-shadow:
    0 8px 28px rgba(0, 0, 0, 0.08),
    0 0 18px rgba(94, 231, 255, 0.18),
    0 0 24px rgba(77, 166, 255, 0.14);
}

.menu-toggle {
  display: none;
  cursor: pointer;
  font-size: 28px;
}

.logo {
  position: relative;
  display: inline-block;
  overflow: hidden;
}

.logo img {
  width: auto;
  height: 150px;
  filter: drop-shadow(0 0 8px rgba(155, 140, 255, 0.35));
  transition: transform var(--transition-fast);
}

.logo img:hover {
  transform: scale(1.05);
}

.logo-light,
.logo::after {
  content: "";
  position: absolute;
  top: -30%;
  left: -40%;
  width: 40%;
  height: 200%;
  pointer-events: none;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.6), transparent);
  transform: translateX(-150%) rotate(12deg);
  animation: logoSweep 10s ease-in-out infinite;
}

nav {
  position: relative;
  display: flex;
  align-items: center;
}

nav a {
  position: relative;
  margin-left: 28px;
  padding: 10px 14px;
  border-radius: var(--radius-pill);
  background-size: 200% 100%;
  color: #333;
  font-weight: 500;
  text-decoration: none;
  transition: color var(--transition-fast), background var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
}

nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 2px;
  width: 0;
  height: 3px;
  opacity: 0;
  border-radius: var(--radius-pill);
  background: var(--gradient-brand);
  box-shadow: 0 0 12px rgba(111, 156, 255, 0.28);
  transform: translateX(-50%);
  transition: width var(--transition-fast), opacity var(--transition-fast);
}

nav a:hover,
nav a:focus-visible {
  background: var(--gradient-brand);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transform: translateY(-1px);
}

nav a:hover::after,
nav a:focus-visible::after {
  width: 68%;
  opacity: 1;
}

nav a.active {
  background: var(--gradient-brand);
  background-size: 200% 100%;
  font-weight: 600;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

nav a.active::after {
  width: 0;
  opacity: 0;
}

.nav-indicator {
  position: absolute;
  bottom: 0;
  height: 4px;
  opacity: 0;
  pointer-events: none;
  border-radius: var(--radius-pill);
  background: var(--gradient-brand);
  box-shadow:
    0 0 10px rgba(255, 45, 164, 0.35),
    0 0 18px rgba(77, 166, 255, 0.45),
    0 0 28px rgba(94, 231, 255, 0.35);
  transition: left 0.45s cubic-bezier(.22, .61, .36, 1), width 0.45s cubic-bezier(.22, .61, .36, 1), opacity var(--transition-fast);
  animation: navGlowPulse 4s ease-in-out infinite;
}

.portal-btn,
.register-btn {
  border-radius: var(--radius-pill);
}

.portal-btn {
  padding: 9px 18px;
  border: 1px solid var(--color-border-strong);
  background: rgba(255, 255, 255, 0.9);
}

.portal-btn:hover,
.portal-btn:focus-visible {
  border-color: rgba(111, 156, 255, 0.35);
  background: var(--gradient-brand);
  box-shadow: 0 10px 24px rgba(111, 156, 255, 0.12), 0 0 18px rgba(255, 45, 164, 0.08);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.register-btn {
  padding: 10px 20px;
  background: var(--gradient-button);
  color: var(--color-white);
  box-shadow: 0 8px 22px rgba(111, 156, 255, 0.18);
}

.register-btn::after {
  display: none;
}

.register-btn:hover,
.register-btn:focus-visible {
  background: var(--gradient-button);
  box-shadow: 0 12px 28px rgba(111, 156, 255, 0.24), 0 0 18px rgba(255, 45, 164, 0.18);
  -webkit-text-fill-color: white;
}

/* =========================================
   HERO
   ========================================= */

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 85vh;
  padding: 0 40px 40px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.34)),
    url('images/jonis_hero.jpg');
  background-position: 50% 55%;
  background-size: cover;
  text-align: center;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  width: 900px;
  height: 900px;
  filter: blur(60px);
}

.hero::before {
  background: radial-gradient(circle, rgba(255, 45, 164, 0.25), transparent 60%);
  animation: beamMove1 18s ease-in-out infinite;
}

.hero::after {
  background: radial-gradient(circle, rgba(111, 156, 255, 0.25), transparent 60%);
  animation: beamMove2 22s ease-in-out infinite;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  transform: translateY(-20px);
}

.hero h1 {
  position: relative;
  margin-bottom: 20px;
  font-family: var(--font-display);
  font-size: 3.8rem;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.15);
  background: linear-gradient(90deg, var(--pink), var(--blue), #ffffff);
  background-size: 200% 200%;
  animation: gradientGlow 10s ease infinite;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero h1::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: -1;
  width: 420px;
  height: 420px;
  filter: blur(60px);
  background: radial-gradient(circle, rgba(255, 122, 217, 0.25), rgba(111, 156, 255, 0.22), transparent 65%);
  transform: translate(-50%, -50%);
  animation: headlineGlow 7s ease-in-out infinite alternate;
}

.hero p {
  max-width: 700px;
  margin: auto;
  color: var(--color-white);
  font-size: 1.2rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.cta {
  margin-top: 35px;
}

.cta button {
  position: relative;
  overflow: hidden;
  padding: 14px 30px;
  border: none;
  border-radius: 30px;
  background: var(--gradient-button);
  color: var(--color-white);
  font-size: 18px;
  font-weight: bold;
  box-shadow: 0 10px 28px rgba(111, 156, 255, 0.22), 0 0 18px rgba(255, 45, 164, 0.14);
}

.cta button::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -60%;
  width: 40%;
  height: 200%;
  pointer-events: none;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  transform: translateX(-120%) rotate(12deg);
  animation: ctaBeam 6s ease-in-out infinite;
}

/* =========================================
   COUNTDOWN
   ========================================= */

.countdown {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
  margin-top: 40px;
  font-weight: 600;
}

.countdown div {
  min-width: 95px;
  padding: 16px 22px;
  border-radius: 14px;
  background: var(--color-white);
  box-shadow: var(--shadow-sm), var(--glow-pink-sm);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  animation: countdownCardPulse 3.5s ease-in-out infinite;
}

.countdown div:hover {
  transform: translateY(-3px);
  box-shadow:
    0 12px 26px rgba(0, 0, 0, 0.1),
    0 0 14px rgba(255, 45, 164, 0.25),
    0 0 22px rgba(111, 156, 255, 0.18);
}

.countdown span {
  color: var(--pink);
  font-size: 2rem;
  font-weight: 700;
  text-shadow: 0 0 6px rgba(255, 45, 164, 0.35), 0 0 12px rgba(255, 45, 164, 0.25);
  animation: countdownPulse 3.5s ease-in-out infinite;
}

/* =========================================
   GENERAL SECTIONS
   ========================================= */

.section {
  position: relative;
  padding: 50px 60px;
  text-align: center;
}

.section::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -1px;
  width: 400px;
  height: 4px;
  opacity: 0.65;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--pink-soft), var(--purple-soft), var(--cyan));
  box-shadow:
    0 0 10px rgba(255, 122, 217, 0.5),
    0 0 16px rgba(155, 140, 255, 0.5),
    0 0 22px rgba(94, 231, 255, 0.5);
  transform: translateX(-50%);
  animation: dividerGlow 6s ease-in-out infinite alternate;
}

.section:last-of-type::after {
  display: none;
}

.section h2 {
  margin-bottom: 25px;
  font-size: 2.6rem;
  font-weight: 600;
}

.section p.lead {
  max-width: 700px;
  margin: 0 auto 40px;
  color: var(--color-text-muted);
}

.section-title {
  margin-bottom: 40px;
  font-family: var(--font-display);
  font-size: 2.2rem;
}

/* =========================================
   STANDARD CARD GRIDS
   ========================================= */

.cards,
.recital-grid,
.comp,
.philosophy-grid,
.class-grid {
  display: grid;
  gap: 30px;
  margin-top: 40px;
}

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

.class-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
}

.recital-grid,
.comp,
.philosophy-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.card,
.recital-card,
.comp-card,
.philosophy-card,
.class-card {
  padding: 30px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-white);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, border 0.3s ease;
}

.card,
.philosophy-card,
.class-card {
  box-shadow: var(--shadow-md), var(--glow-pink-md), var(--glow-blue-sm);
}

.comp-card,
.recital-card {
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08), 0 0 16px rgba(255, 45, 164, 0.12), 0 0 20px rgba(77, 166, 255, 0.1);
}

.card:hover,
.recital-card:hover,
.comp-card:hover,
.philosophy-card:hover,
.class-card:hover {
  transform: translateY(-6px) scale(1.02);
}

.card:hover {
  border: 1px solid transparent;
  background: linear-gradient(#fff, #fff) padding-box, linear-gradient(90deg, var(--pink), var(--blue-soft), var(--pink)) border-box;
  box-shadow: var(--shadow-md), 0 0 20px rgba(255, 45, 164, 0.35), 0 0 35px rgba(111, 156, 255, 0.35);
}

.comp-card:hover,
.philosophy-card:hover,
.class-card:hover,
.recital-card:hover {
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.12), 0 0 22px rgba(255, 45, 164, 0.2), 0 0 30px rgba(77, 166, 255, 0.18);
}

.class-card {
  padding: 24px;
  background: var(--gradient-card);
  text-align: left;
}

.class-title {
  margin-bottom: 10px;
  font-size: 1.1rem;
  font-weight: 600;
}

.class-info {
  margin-bottom: 6px;
  color: var(--color-text-soft);
  font-size: 0.9rem;
}

.class-btn,
.recital-btn {
  display: inline-block;
  margin-top: 12px;
  padding: 10px 18px;
  border-radius: 30px;
  background: var(--gradient-button);
  color: var(--color-white);
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(111, 156, 255, 0.18);
}

.class-btn {
  padding: 8px 14px;
  font-size: 0.85rem;
}

.recital-btn:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1), 0 0 20px rgba(255, 45, 164, 0.22), 0 0 28px rgba(111, 156, 255, 0.22);
}
/* =========================================
   DANCE PROGRAMS / CLASS CARDS
   ========================================= */

.class-cards {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  align-items: stretch;
}

.class-card {
  position: relative;
  padding: 0;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.92);
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(255,255,255,0.95));
  box-shadow:
    0 14px 36px rgba(0, 0, 0, 0.07),
    0 0 18px rgba(255, 45, 164, 0.10),
    0 0 24px rgba(77, 166, 255, 0.08);
  transition:
    transform 0.32s ease,
    box-shadow 0.32s ease,
    background 0.32s ease;
}

.class-card:hover {
  transform: translateY(-6px);
  box-shadow:
    0 18px 42px rgba(0, 0, 0, 0.10),
    0 0 26px rgba(255, 45, 164, 0.22),
    0 0 32px rgba(77, 166, 255, 0.20);
}

.class-card[open] {
  transform: translateY(-4px);
  background: linear-gradient(180deg, rgba(255,255,255,1), rgba(252,248,255,0.98));
}

.class-card::before {
  content: "";
  display: block;
  height: 6px;
  background: linear-gradient(90deg, #ff2da4, #8a6bff, #4da6ff);
}

.class-card summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 22px 18px;
}

.class-card summary::-webkit-details-marker {
  display: none;
}

.class-summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.class-text {
  flex: 1;
  min-width: 0;
}

.class-eyebrow {
  display: inline-block;
  margin-bottom: 8px;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(124, 106, 170, 0.7);
}

.class-card h3 {
  margin: 0 0 8px;
  font-family: 'Poppins', sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.class-card.ballet h3 { color: #ff2da4; }
.class-card.lyrical h3 { color: #c46bff; }
.class-card.jazz h3 { color: #8a6bff; }
.class-card.hiphop h3 { color: #4da6ff; }
.class-card.tap h3 { color: #b07cff; }

.class-preview {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(86, 72, 102, 0.82);
}

.class-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  font-size: 0.88rem;
  font-weight: 500;
  color: #ff2da4;
  position: relative;
}

.class-link::after {
  content: "›";
  transition: transform 0.25s ease;
}

.class-card:hover .class-link::after,
.class-card[open] .class-link::after {
  transform: translateX(3px);
}

.class-image-wrap {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  margin-top: 0;
  align-self: flex-start;
  box-shadow:
    0 0 0 3px rgba(255,255,255,0.95),
    0 0 10px rgba(255, 45, 164, 0.18),
    0 0 14px rgba(77, 166, 255, 0.14);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.class-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.class-card:hover .class-image-wrap,
.class-card[open] .class-image-wrap {
  transform: scale(1.05);
}

.class-details {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s ease;
  padding: 0 22px;
}

.class-details p {
  overflow: hidden;
  margin: 0;
  padding-top: 0;
  border-top: 1px solid rgba(170, 150, 255, 0.22);
  font-size: 0.93rem;
  line-height: 1.75;
  color: rgba(86, 72, 102, 0.8);
  opacity: 0;
  transform: translateY(-6px);
  transition: all 0.28s ease;
}

.class-card[open] .class-details {
  grid-template-rows: 1fr;
  padding: 0 22px 22px;
}

.class-card[open] .class-details p {
  padding-top: 14px;
  opacity: 1;
  transform: translateY(0);
}

/* =========================================
   CLASS SCHEDULE
   ========================================= */

.schedule-outer {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.class-schedule {
  padding: 0 0 40px;
}

.schedule-frame-wrap {
  position: relative;
  padding: 30px;
  border-radius: 28px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(252,248,255,0.96));
  border: 1px solid rgba(255,255,255,0.92);
  box-shadow:
    0 14px 36px rgba(0, 0, 0, 0.07),
    0 0 18px rgba(255, 45, 164, 0.10),
    0 0 24px rgba(77, 166, 255, 0.08);
}

.schedule-frame-wrap::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, #ff2da4, #8a6bff, #4da6ff);
}

.schedule-frame-wrap::after {
  content: "";
  position: absolute;
  top: -40px;
  right: -40px;
  width: 150px;
  height: 150px;
  background: radial-gradient(
    circle,
    rgba(255, 45, 164, 0.10) 0%,
    rgba(138, 107, 255, 0.08) 38%,
    rgba(77, 166, 255, 0.07) 58%,
    rgba(255, 255, 255, 0) 74%
  );
  pointer-events: none;
}

.elegant-schedule {
  position: relative;
  z-index: 1;
  width: 100%;
}

.elegant-schedule::after {
  content: "";
  display: block;
  width: 120px;
  height: 2px;
  margin: 30px auto 0;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    rgba(255, 45, 164, 0.18),
    rgba(138, 107, 255, 0.42),
    rgba(77, 166, 255, 0.18)
  );
  box-shadow: 0 0 10px rgba(138, 107, 255, 0.14);
}

.elegant-schedule-title {
  margin: 0 0 6px;
  text-align: center;
  font-family: 'Poppins', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  background: linear-gradient(90deg, #ff2da4, #8a6bff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

}

.elegant-schedule-intro {
  margin-bottom: 30px;
  text-align: center;
  color: rgba(86, 72, 102, 0.78);
  font-size: 1rem;
  line-height: 1.7;
}

.schedule-day-section {
  margin-bottom: 26px;
}

.schedule-day-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-bottom: 14px;
}

.schedule-day-banner h3 {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  background: linear-gradient(90deg, #4da6ff, #7bb8ff, #8a6bff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  white-space: nowrap;
}

.schedule-day-banner-line {
  flex: 1;
  max-width: 160px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    rgba(77,166,255,0.15),
    rgba(77,166,255,0.45),
    rgba(138,107,255,0.18)
  );
  box-shadow: 0 0 10px rgba(77,166,255,0.18);
}

.schedule-day-table-wrap {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(252,248,255,0.96));
  box-shadow:
    0 14px 36px rgba(0,0,0,.07),
    0 0 16px rgba(255,45,164,.08),
    0 0 24px rgba(77,166,255,.08);
}

.schedule-day-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: transparent;
}

.schedule-day-table th,
.schedule-day-table td {
  text-align: left;
}

.schedule-day-table tbody td:first-child {
  width: 66%;
}

.schedule-day-table tbody td:nth-child(2) {
  width: 22%;
}

.schedule-day-table tbody td:nth-child(3) {
  width: 12%;
}

.schedule-day-table thead th {
  padding: 16px 22px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(124, 106, 170, 0.72);
  background: rgba(255,255,255,.92);
  border-bottom: 1px solid rgba(170, 150, 255, 0.16);
}

.schedule-day-table thead th:first-child {
  border-top-left-radius: 24px;
}

.schedule-day-table thead th:last-child {
  border-top-right-radius: 24px;
}

.schedule-day-table tbody td {
  padding: 18px 22px;
  border-top: 1px solid rgba(170, 150, 255, 0.12);
  background: rgba(255,255,255,.94);
  vertical-align: middle;
  color: rgba(86, 72, 102, 0.82);
  font-size: .95rem;
}

.schedule-day-table tbody tr:first-child td {
  border-top: none;
}

.schedule-day-table tbody tr:nth-child(even) td {
  background: rgba(250, 247, 255, 0.82);
}

.schedule-day-table tbody tr:hover td {
  background: rgba(245, 249, 255, 0.95);
}

/* =========================================
   DAY COLOR VARIATION 
   ========================================= */

/* Monday */
.schedule-day-section:nth-child(1) .schedule-day-banner h3 {
  background: linear-gradient(90deg, #4da6ff, #6fb6ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Tuesday */
.schedule-day-section:nth-child(2) .schedule-day-banner h3 {
  background: linear-gradient(90deg, #4da6ff, #8a6bff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Wednesday */
.schedule-day-section:nth-child(3) .schedule-day-banner h3 {
  background: linear-gradient(90deg, #6b8cff, #a06bff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Thursday */
.schedule-day-section:nth-child(4) .schedule-day-banner h3 {
  background: linear-gradient(90deg, #8a6bff, #c46bff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Friday */
.schedule-day-section:nth-child(5) .schedule-day-banner h3 {
  background: linear-gradient(90deg, #a06bff, #ff2da4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.schedule-day-section:nth-child(1) .schedule-day-banner-line {
  background: linear-gradient(90deg, rgba(77,166,255,.2), rgba(77,166,255,.45));
}

.schedule-day-section:nth-child(2) .schedule-day-banner-line {
  background: linear-gradient(90deg, rgba(77,166,255,.2), rgba(138,107,255,.45));
}

.schedule-day-section:nth-child(3) .schedule-day-banner-line {
  background: linear-gradient(90deg, rgba(107,140,255,.2), rgba(160,107,255,.45));
}

.schedule-day-section:nth-child(4) .schedule-day-banner-line {
  background: linear-gradient(90deg, rgba(138,107,255,.2), rgba(196,107,255,.45));
}

.schedule-day-section:nth-child(5) .schedule-day-banner-line {
  background: linear-gradient(90deg, rgba(160,107,255,.2), rgba(255,45,164,.45));
}

.schedule-class-name {
  margin-bottom: 10px;
  font-size: 1rem;
  font-weight: 600;
  color: #4a3b55;
  line-height: 1.35;
  text-align: left;
}

.schedule-class-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-start;
}

.schedule-tag {
  padding: 7px 11px;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 700;
  border: 1px solid transparent;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.78),
    0 4px 10px rgba(0,0,0,0.03);
}

.schedule-tag-style {
  background: linear-gradient(
    180deg,
    rgba(255, 45, 164, 0.16),
    rgba(255, 45, 164, 0.10)
  );
  border-color: rgba(255, 45, 164, 0.20);
  color: #ff2da4;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.78),
    0 0 10px rgba(255, 45, 164, 0.08);
}

.schedule-tag-age {
  background: linear-gradient(
    180deg,
    rgba(77, 166, 255, 0.18),
    rgba(77, 166, 255, 0.10)
  );
  border-color: rgba(77, 166, 255, 0.20);
  color: #4da6ff;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.78),
    0 0 10px rgba(77, 166, 255, 0.08);
}

.schedule-time {
  font-weight: 500;
  color: rgba(86, 72, 102, 0.84);
  white-space: nowrap;
}

.schedule-price-pill {
  display: inline-block;
  padding: 8px 13px;
  border-radius: 999px;
  background: linear-gradient(
    180deg,
    rgba(138, 107, 255, 0.18),
    rgba(138, 107, 255, 0.10)
  );
  border: 1px solid rgba(138, 107, 255, 0.18);
  color: #8a6bff;
  font-size: .84rem;
  font-weight: 700;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.78),
    0 0 10px rgba(138, 107, 255, 0.08);
}

/* =========================================
   SCHEDULE CTA
   ========================================= */

.schedule-cta {
  text-align: center;
  margin-top: 42px;
  padding: 10px 20px 0;
}

.cta-text {
  margin: 0 0 18px;
  font-size: 1.08rem;
  line-height: 1.7;
  font-weight: 500;
  color: rgba(86, 72, 102, 0.84);
}

.cta-btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(90deg, #ff2da4, #8a6bff, #4da6ff);
  box-shadow:
    0 10px 26px rgba(0, 0, 0, 0.10),
    0 0 18px rgba(255, 45, 164, 0.34),
    0 0 26px rgba(77, 166, 255, 0.28);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.cta-btn:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow:
    0 14px 34px rgba(0, 0, 0, 0.14),
    0 0 22px rgba(255, 45, 164, 0.46),
    0 0 32px rgba(77, 166, 255, 0.40);
}

/* =========================================
   STICKY MOBILE REGISTER BUTTON
   ========================================= */

.mobile-register-btn {
  display: none;
}

/* =========================================
   MOBILE
   ========================================= */

@media (max-width: 768px) {
  .class-cards {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .class-card summary {
    padding: 18px 18px 14px;
  }

  .class-image-wrap {
    width: 50px;
    height: 50px;
  }

  .schedule-outer {
    padding: 0 16px;
  }

  .schedule-frame-wrap {
    padding: 20px 14px;
    border-radius: 22px;
    overflow: hidden;
  }

  .elegant-schedule-title {
    font-size: 1.9rem;
  }

  .elegant-schedule-intro {
    margin-bottom: 22px;
    padding: 0;
    font-size: .95rem;
  }

  .schedule-day-section {
    margin-bottom: 18px;
  }

  .schedule-day-banner {
    gap: 10px;
    margin-bottom: 10px;
    padding: 0;
  }

  .schedule-day-banner h3 {
    font-size: 1.05rem;
  }

  .schedule-day-table-wrap {
    overflow: visible;
    border: none;
    border-radius: 0;
    background: none;
    box-shadow: none;
  }

  .schedule-day-table {
    width: 100%;
    min-width: 0 !important;
    border-collapse: separate;
    border-spacing: 0;
    table-layout: fixed;
  }

  .schedule-day-table thead {
    display: none;
  }

  .schedule-day-table tbody {
    display: block;
    width: 100%;
  }

  .schedule-day-table tbody tr {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
    margin: 0 0 12px 0;
    overflow: hidden;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(252,248,255,0.96));
    box-shadow:
      0 8px 20px rgba(0,0,0,.06),
      0 0 10px rgba(255,45,164,.08),
      0 0 14px rgba(77,166,255,.08);
  }

  .schedule-day-table tbody td {
    display: block;
    width: 100% !important;
    max-width: 100%;
    padding: 12px 16px;
    border: none !important;
    background: transparent !important;
    box-sizing: border-box;
    text-align: left !important;
  }

  .schedule-day-table tbody td:first-child {
    padding-bottom: 8px;
  }

  .schedule-day-table tbody td:nth-child(2),
  .schedule-day-table tbody td:nth-child(3) {
    padding-top: 6px;
  }

  .schedule-day-table tbody td:nth-child(2)::before {
    content: "Time";
  }

  .schedule-day-table tbody td:nth-child(3)::before {
    content: "Tuition";
  }

  .schedule-day-table tbody td:nth-child(2)::before,
  .schedule-day-table tbody td:nth-child(3)::before {
    display: block;
    margin-bottom: 4px;
    color: rgba(124, 106, 170, 0.72);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
  }

  .schedule-class-name {
    display: block;
    width: 100%;
    margin-bottom: 8px;
    color: #4a3b55;
    font-size: .95rem;
    font-weight: 600;
    line-height: 1.35;
    text-align: left !important;
    white-space: normal !important;
    word-break: normal;
    overflow-wrap: anywhere;
  }

  .schedule-class-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 8px;
    width: 100%;
  }

  .schedule-tag {
    max-width: 100%;
    font-size: .74rem;
    white-space: normal;
  }

  .schedule-time {
    display: block;
    width: 100%;
    color: rgba(86, 72, 102, 0.84);
    font-weight: 500;
    white-space: normal !important;
    word-break: normal;
    overflow-wrap: anywhere;
  }

  .schedule-price-pill {
    display: inline-block;
    max-width: 100%;
    margin-top: 2px;
    white-space: normal;
  }

  .schedule-cta {
    margin-top: 34px;
    padding: 6px 16px 0;
  }

  .cta-text {
    font-size: 0.98rem;
    margin-bottom: 16px;
  }

  .cta-btn {
    width: 100%;
    max-width: 290px;
  }

  .mobile-register-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 14px;
    z-index: 999;
    height: 54px;
    width: calc(100% - 32px);
    max-width: 500px;
    margin: 0 auto;
    padding: 0 22px;
    border-radius: 999px;
    text-decoration: none;
    font-size: 0.96rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: #fff;
    background: linear-gradient(90deg, #ff2da4, #8a6bff, #4da6ff);
    box-shadow:
      0 14px 30px rgba(0, 0, 0, 0.16),
      0 0 18px rgba(255, 45, 164, 0.34),
      0 0 26px rgba(77, 166, 255, 0.30);
    backdrop-filter: blur(8px);
    opacity: 0;
    transform: translateY(20px) scale(0.98);
    pointer-events: none;
    transition:
      opacity 0.35s ease,
      transform 0.35s ease;
    will-change: transform, opacity;
  }

  .mobile-register-btn.show {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
  }

  body {
    padding-bottom: 88px;
  }
}

.schedule-day-table td {
  text-align: left;
}

.schedule-class-name,
.schedule-class-tags {
  text-align: left;
  justify-content: flex-start;
}
/* =========================================
   GALLERY + MEDIA IMAGES
   ========================================= */

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 15px;
  margin-top: 40px;
}

.gallery img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

.group-photo {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.group-photo img,
.competition-image img,
.history-image img {
  width: 100%;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: var(--shadow-xl), 0 0 20px rgba(255, 45, 164, 0.18), 0 0 30px rgba(77, 166, 255, 0.18);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.group-photo img {
  max-width: 900px;
  border-radius: var(--radius-md);
}

.group-photo img:hover,
.competition-image img:hover,
.history-image img:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.16), 0 0 28px rgba(255, 45, 164, 0.28), 0 0 36px rgba(77, 166, 255, 0.28);
}

.gallery-section-header {
  max-width: 820px;
  margin: 0 auto 24px;
  text-align: center;
}

.gallery-section-header p {
  margin-top: 10px;
  color: var(--color-text-muted);
  line-height: 1.7;
}

.gallery-status {
  margin: 12px 0 18px;
  color: #777;
  font-size: 0.96rem;
  text-align: center;
}

.photo-gallery-grid {
  column-gap: 16px;
  columns: 4 260px;
  margin-top: 28px;
}

.gallery-card {
  position: relative;
  isolation: isolate;
  display: block;
  width: 100%;
  margin: 0 0 16px;
  padding: 0;
  overflow: hidden;
  border: none;
  border-radius: 22px;
  background: linear-gradient(135deg, #f8f8fb, #f2f6ff);
  box-shadow: 0 14px 34px rgba(16, 24, 40, 0.08);
  cursor: pointer;
  break-inside: avoid;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.gallery-card:hover,
.gallery-card:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(16, 24, 40, 0.14);
}

.gallery-card img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform 0.5s ease, filter var(--transition-fast);
}

.gallery-card:hover img,
.gallery-card:focus-visible img {
  filter: brightness(1.03);
  transform: scale(1.03);
}

.gallery-card::before {
  content: "";
  position: absolute;
  top: -20%;
  left: -35%;
  z-index: 2;
  width: 55%;
  height: 140%;
  opacity: 0.55;
  pointer-events: none;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.1) 35%, rgba(255, 255, 255, 0.28) 50%, rgba(255, 255, 255, 0.1) 65%, rgba(255, 255, 255, 0) 100%);
  transform: translateX(-140%) rotate(10deg);
}

.gallery-card:hover::before {
  animation: galleryLightSweep 1.6s ease forwards;
}

.gallery-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0;
  border-radius: 22px;
  background: var(--gradient-brand-soft);
  mix-blend-mode: overlay;
  transition: opacity var(--transition-base);
}

.gallery-card:hover::after,
.gallery-card:focus-visible::after {
  opacity: 0.35;
}

.gallery-empty {
  margin-top: 22px;
  padding: 28px 24px;
  border: 1px dashed #d8dbe8;
  border-radius: 20px;
  background: linear-gradient(180deg, #fff, #fafbff);
  color: var(--color-text-muted);
  text-align: center;
}

.gallery-load-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.gallery-load-more-btn {
  padding: 14px 24px;
  border: none;
  border-radius: var(--radius-pill);
  background: var(--gradient-brand-soft);
  color: var(--color-white);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(155, 140, 255, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.gallery-load-more-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(155, 140, 255, 0.34);
}

.gallery-load-more-btn:active {
  transform: translateY(0);
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  background: rgba(18, 22, 34, 0.84);
  backdrop-filter: blur(12px);
  transition: opacity var(--transition-fast);
}

.gallery-lightbox.open {
  opacity: 1;
  pointer-events: auto;
}

.gallery-lightbox-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(1120px, 100%);
}

.gallery-lightbox img {
  max-width: 100%;
  max-height: min(84vh, 920px);
  border-radius: 22px;
  background: var(--color-white);
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.35);
}

.gallery-lightbox-btn,
.gallery-lightbox-close {
  border: none;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
  cursor: pointer;
}

.gallery-lightbox-btn {
  position: absolute;
  top: 50%;
  width: 52px;
  height: 52px;
  font-size: 28px;
  transform: translateY(-50%);
}

.gallery-lightbox-btn.prev {
  left: 16px;
}

.gallery-lightbox-btn.next {
  right: 16px;
}

.gallery-lightbox-close {
  position: absolute;
  top: -14px;
  right: 0;
  width: 48px;
  height: 48px;
  font-size: 28px;
}

.gallery-lightbox-caption {
  position: absolute;
  left: 50%;
  bottom: -44px;
  color: var(--color-white);
  font-size: 0.95rem;
  text-align: center;
  transform: translateX(-50%);
}

/* =========================================
   HISTORY / PHILOSOPHY / COMPETITION
   ========================================= */

.philosophy-section {
  padding: 40px 60px 100px;
}

.philosophy-intro {
  max-width: 750px;
  margin: auto;
  text-align: center;
}

.philosophy-intro p {
  margin-top: 10px;
  color: var(--color-text-soft);
  font-size: 1.15rem;
  line-height: 1.7;
}

.history-section,
.testimonials,
.site-footer {
  background: var(--color-offwhite);
}

.history-section {
  position: relative;
  overflow: hidden;
}

.history-section::before {
  content: "";
  position: absolute;
  top: -200px;
  left: -200px;
  z-index: 0;
  width: 600px;
  height: 600px;
  opacity: 0.6;
  filter: blur(40px);
  background: radial-gradient(circle, rgba(255, 45, 164, 0.12), rgba(77, 166, 255, 0.12), transparent 70%);
}

.history-layout,
.competition-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-top: 40px;
}

.history-layout {
  margin-top: 50px;
}

.history-title {
  margin-bottom: 10px;
  font-size: 2.8rem;
}

.history-image,
.competition-image {
  position: relative;
}

.history-image::before,
.competition-image::before {
  content: "";
  position: absolute;
  top: -40px;
  left: -40px;
  z-index: -1;
  width: calc(100% + 80px);
  height: calc(100% + 80px);
  opacity: 0.75;
  border-radius: 30px;
  filter: blur(30px);
  background: radial-gradient(circle, rgba(255, 45, 164, 0.25), rgba(77, 166, 255, 0.22), transparent 70%);
}

.history-image::before {
  animation: historyGlow 7s ease-in-out infinite alternate;
}

.competition-image::before {
  animation: competitionGlow 7s ease-in-out infinite alternate;
}

.history-text {
  max-width: 520px;
  color: var(--color-text-soft);
  line-height: 1.9;
}

.history-text p {
  margin-bottom: 20px;
  font-size: 1.05rem;
}

/* =========================================
   INSTRUCTORS
   ========================================= */

.instructors {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  margin-top: 90px;
}

.instructor-card {
  position: relative;
  padding: 155px 28px 28px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #ffffff 0%, #fbfcff 55%, #f6f9ff 100%);
  box-shadow:
    var(--shadow-lg),
    0 0 20px rgba(255, 45, 164, 0.15),
    0 0 28px rgba(77, 166, 255, 0.12);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  text-align: center;
  overflow: visible;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  height: 100%;
}

.instructor-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 40%;
  border-radius: var(--radius-lg);
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.65), transparent);
  pointer-events: none;
}

.instructor-card::after {
  content: "✦   ✧\A     ✦";
  position: absolute;
  top: 16px;
  right: 18px;
  z-index: 2;
  white-space: pre;
  pointer-events: none;
  opacity: 0.35;
  line-height: 1.4;
  font-size: 20px;
  background: linear-gradient(135deg, var(--pink), var(--blue), var(--cyan));
  animation: starTwinkle 6s ease-in-out infinite alternate;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.instructor-card:hover {
  transform: translateY(-6px);
  box-shadow:
    0 22px 46px rgba(0, 0, 0, 0.12),
    0 0 26px rgba(255, 45, 164, 0.28),
    0 0 34px rgba(77, 166, 255, 0.22);
}

.instructor-photo {
  position: absolute;
  top: -58px;
  left: 50%;
  transform: translateX(-50%);
  width: 145px;
  height: 210px;
  padding: 4px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--pink), var(--blue), var(--cyan));
  box-shadow:
    0 0 20px rgba(255, 45, 164, 0.35),
    0 0 28px rgba(77, 166, 255, 0.35);
  z-index: 3;
  transition: transform var(--transition-base);
}

.instructor-card:hover .instructor-photo {
  transform: translateX(-50%) translateY(-4px);
}

.instructor-photo::before {
  content: "";
  position: absolute;
  top: -18px;
  left: -18px;
  z-index: -1;
  width: calc(100% + 36px);
  height: calc(100% + 36px);
  opacity: 0.75;
  border-radius: 22px;
  filter: blur(14px);
  background: radial-gradient(
    circle,
    rgba(255, 45, 164, 0.35),
    rgba(77, 166, 255, 0.3),
    transparent 70%
  );
  animation: instructorGlow 6s ease-in-out infinite alternate;
}

.instructor-photo img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 16px;
  object-fit: cover;
  background: var(--color-white);
}

.instructor-info {
  width: 100%;
  flex-grow: 1;
}

.instructor-info h3 {
  margin: 8px 0 6px;
}

.instructor-title {
  margin-bottom: 14px;
  font-weight: 600;
  background: linear-gradient(90deg, var(--pink), var(--blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.instructor-info p {
  color: var(--color-text-soft);
  line-height: 1.7;
}

/* Responsive */
@media (max-width: 900px) {
  .instructors {
    grid-template-columns: 1fr;
  }

  .instructor-card {
    padding-top: 145px;
  }

  .instructor-photo {
    width: 130px;
    height: 190px;
    top: -50px;
  }
}
/* =========================================
   TESTIMONIALS
   ========================================= */

.testimonials {
  position: relative;
  overflow: hidden;
  padding-top: 30px;
}

.testimonials h2 {
  position: relative;
  z-index: 2;
  margin-top: 12px;
}

.testimonial-track {
  display: flex;
  gap: 40px;
  margin-top: 50px;
  will-change: transform;
  animation: scroll 65s linear infinite;
}

.testimonial-track:hover {
  animation-play-state: paused;
}

.testimonial {
  position: relative;
  overflow: hidden;
  min-width: 340px;
  max-width: 340px;
  padding: 30px 32px;
  border-radius: 18px;
  background: var(--gradient-glass);
  backdrop-filter: blur(8px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08), 0 0 14px rgba(255, 122, 217, 0.15), 0 0 18px rgba(94, 231, 255, 0.12);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.testimonial:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.12), 0 0 18px rgba(255, 122, 217, 0.25), 0 0 24px rgba(94, 231, 255, 0.2);
}

.testimonial::before {
  content: "“";
  position: absolute;
  top: 2px;
  left: 15px;
  opacity: 0.14;
  pointer-events: none;
  font-family: var(--font-display);
  font-size: 115px;
  line-height: 1;
  background: linear-gradient(135deg, var(--pink), var(--blue), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.testimonial::after {
  content: "";
  position: absolute;
  top: -30%;
  left: -55%;
  z-index: 1;
  width: 60%;
  height: 180%;
  opacity: 0.9;
  pointer-events: none;
  mix-blend-mode: screen;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.08) 30%, rgba(255, 255, 255, 0.35) 48%, rgba(255, 255, 255, 0.08) 66%, rgba(255, 255, 255, 0) 100%);
  transform: translateX(-160%) rotate(12deg);
  animation: testimonialLightSweep 8s ease-in-out infinite;
}

.testimonial:nth-child(2n)::after {
  animation-delay: 2s;
}

.testimonial:nth-child(3n)::after {
  animation-delay: 4s;
}

.testimonial:nth-child(4n)::after {
  animation-delay: 1s;
}

.testimonial:nth-child(5n)::after {
  animation-delay: 3s;
}

.testimonial p {
  position: relative;
  z-index: 2;
  margin-bottom: 14px;
  line-height: 1.65;
}

.testimonial-author {
  display: block;
  margin-top: auto;
  background: linear-gradient(90deg, var(--pink) 0%, var(--pink) 55%, var(--pink-light) 75%, var(--blue) 100%);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-align: right;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.testimonial-carousel-controls {
  display: none;
  justify-content: center;
  gap: 12px;
  margin-top: 22px;
}

.carousel-arrow {
  width: 46px;
  height: 46px;
  border: none;
  border-radius: var(--radius-pill);
  background: var(--color-white);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  font-size: 22px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.carousel-arrow:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

.testimonial-cta {
  text-align: center;
  padding: 60px 20px;
  background: #fff;
}

.testimonial-cta h2 {
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  margin-bottom: 15px;
}

.testimonial-cta p {
  max-width: 600px;
  margin: 0 auto 25px auto;
  font-size: 16px;
  line-height: 1.6;
}
.testimonial-cta testimonial-button {
    display: block;
    width: 100%;
    margin-top: 10px;
    padding: 14px 18px;
    border-radius: var(--radius-pill);
    font-weight: 600;
    text-align: center;
  }
/* =========================================
   CTA + FOOTER
   ========================================= */

.cta-banner{
  position:relative;
  overflow:hidden;
  padding:80px 24px;
  text-align:center;
  color:var(--color-white);
  background:linear-gradient(90deg,#ff2da4,#6f9cff);
}

.cta-banner::before{
  content:"";
  position:absolute;
  top:-120px;
  left:-120px;
  width:320px;
  height:320px;
  border-radius:50%;
  background:radial-gradient(circle, rgba(255,255,255,.16), transparent 65%);
  pointer-events:none;
}

.cta-banner::after{
  content:"";
  position:absolute;

  top:-40%;
  left:-60%;

  width:60%;
  height:180%;

  background:linear-gradient(
    115deg,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,.10) 30%,
    rgba(255,255,255,.35) 48%,
    rgba(255,255,255,.10) 66%,
    rgba(255,255,255,0) 100%
  );

  transform:translateX(-160%) rotate(12deg);

  pointer-events:none;
  z-index:0;
  opacity:.7;

  animation:ctaShimmer 8s ease-in-out infinite;
}

@keyframes ctaShimmer{
  0%{
    transform:translateX(-160%) rotate(12deg);
    opacity:0;
  }

  10%{
    opacity:.6;
  }

  40%{
    transform:translateX(260%) rotate(12deg);
    opacity:0;
  }

  100%{
    transform:translateX(260%) rotate(12deg);
    opacity:0;
  }
}

.cta-banner h2{
  position:relative;
  z-index:1;
  margin-bottom:14px;
  font-size:2.4rem;
}

.cta-banner p{
  position:relative;
  z-index:1;
  margin-bottom:28px;
  font-size:1.05rem;
  opacity:.96;
}

.cta-banner-btn{
  position:relative;
  z-index:1;
  display:inline-block;
  padding:14px 28px;
  border-radius:999px;
  background:#fff;
  color:#222;
  font-weight:700;
  text-decoration:none;
  box-shadow:
    0 10px 26px rgba(0,0,0,.14),
    0 0 16px rgba(255,255,255,.18);
  transition:
    transform .25s ease,
    box-shadow .25s ease,
    background .25s ease,
    color .25s ease;
}

.cta-banner-btn:hover{
  transform:translateY(-3px);
  background:#fff;
  color:#ff2da4;
  box-shadow:
    0 16px 34px rgba(0,0,0,.18),
    0 0 22px rgba(255,255,255,.22);
}

.cta-banner-btn:focus-visible{
  outline:3px solid rgba(255,255,255,.45);
  outline-offset:4px;
}
/* =========================================
   PREMIUM FOOTER
   ========================================= */

.site-footer{
  position:relative;
  padding:80px 30px 50px;
  text-align:center;
  background:linear-gradient(180deg,#ffffff 0%, #fafbff 100%);
  overflow:hidden;
}

/* soft glow background */
.site-footer::before{
  content:"";
  position:absolute;

  top:-200px;
  left:50%;
  transform:translateX(-50%);

  width:700px;
  height:700px;

  background:radial-gradient(
    circle,
    rgba(255,45,164,.15),
    rgba(77,166,255,.12),
    transparent 70%
  );

  filter:blur(60px);
  opacity:.6;

  z-index:0;
}

/* subtle top divider glow */
.site-footer::after{
  content:"";
  position:absolute;

  top:0;
  left:50%;
  transform:translateX(-50%);

  width:420px;
  height:3px;
  border-radius:999px;

  background:linear-gradient(90deg,#ff7ad9,#9b8cff,#5ee7ff);

  box-shadow:
    0 0 10px rgba(255,122,217,.5),
    0 0 18px rgba(155,140,255,.5),
    0 0 24px rgba(94,231,255,.5);

  opacity:.6;
}

/* layout */
.footer-inner{
  position:relative;
  z-index:1;

  display:flex;
  align-items:center;
  justify-content:center;
  gap:60px;
  flex-wrap:wrap;
}

/* logo */
.footer-logo{
  width:170px;
  filter:drop-shadow(0 0 10px rgba(155,140,255,.25));
  transition:transform .3s ease;
}

.footer-logo:hover{
  transform:scale(1.05);
}

/* text block */
.footer-contact{
  text-align:left;
}

.footer-contact h3{
  font-size:1.4rem;
  font-weight:600;
  margin-bottom:6px;
}

.footer-contact p{
  margin:6px 0;
  color:#666;
  line-height:1.6;
}

/* =========================================
   CONTACT LINK (UPGRADED)
   ========================================= */

.footer-link{
  position:relative;
  display:inline-block;

  margin-top:8px;

  font-weight:600;
  text-decoration:none;

  background:linear-gradient(90deg,#ff2da4,#4da6ff,#5ee7ff);
  background-size:200% 100%;

  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;

  transition:
    transform .25s ease,
    background-position .35s ease;
}

.footer-link::after{
  content:"";
  position:absolute;
  left:50%;
  bottom:-4px;

  width:0;
  height:2px;
  border-radius:999px;

  background:linear-gradient(90deg,#ff2da4,#4da6ff,#5ee7ff);

  transform:translateX(-50%);
  transition:width .25s ease;
}

.footer-link:hover{
  transform:translateY(-1px);
  background-position:100% 0;
}

.footer-link:hover::after{
  width:100%;
}

/* copyright */
.footer-copy{
  margin-top:30px;
  font-size:.85rem;
  color:#888;
  letter-spacing:.04em;
}

/* =========================================
   MOBILE
   ========================================= */

@media(max-width:700px){

  .footer-inner{
    flex-direction:column;
    text-align:center;
    gap:30px;
  }

  .footer-contact{
    text-align:center;
  }

}
/* =========================================
   BACK TO TOP BUTTON
   ========================================= */

.back-to-top{
  position:fixed;
  right:18px;
  bottom:18px;
  z-index:999;

  width:46px;
  height:46px;

  border:none;
  border-radius:999px;

  background:linear-gradient(135deg,#ff2da4,#4da6ff);
  color:#fff;

  font-size:1.1rem;
  font-weight:700;

  cursor:pointer;

  box-shadow:
    0 12px 24px rgba(0,0,0,.15),
    0 0 14px rgba(255,45,164,.15),
    0 0 18px rgba(77,166,255,.15);

  opacity:0;
  pointer-events:none;
  transform:translateY(10px);

  transition:
    opacity .25s ease,
    transform .25s ease,
    box-shadow .25s ease;
}

/* visible state */
.back-to-top.show{
  opacity:1;
  pointer-events:auto;
  transform:translateY(0);
}

/* hover glow */
.back-to-top:hover{
  transform:translateY(-2px);
  box-shadow:
    0 16px 30px rgba(0,0,0,.18),
    0 0 20px rgba(255,45,164,.25),
    0 0 26px rgba(77,166,255,.25);
}

/* mobile tweak */
@media(max-width:600px){
  .back-to-top{
    right:14px;
    bottom:14px;
    width:42px;
    height:42px;
    font-size:1rem;
  }
}
/* =========================================
   ANIMATIONS
   ========================================= */

@keyframes logoSweep {
  0% { transform: translateX(-150%) rotate(12deg); opacity: 0; }
  10% { opacity: 0.6; }
  25%, 100% { transform: translateX(300%) rotate(12deg); opacity: 0; }
}

@keyframes navGlowPulse {
  0%, 100% {
    box-shadow:
      0 0 8px rgba(255, 45, 164, 0.25),
      0 0 16px rgba(77, 166, 255, 0.35),
      0 0 24px rgba(94, 231, 255, 0.25);
  }
  50% {
    box-shadow:
      0 0 14px rgba(255, 45, 164, 0.45),
      0 0 26px rgba(77, 166, 255, 0.55),
      0 0 36px rgba(94, 231, 255, 0.45);
  }
}

@keyframes beamMove1 {
  0% { transform: translate(-30%, -30%) rotate(0deg); }
  50% { transform: translate(20%, 10%) rotate(180deg); }
  100% { transform: translate(-30%, -30%) rotate(360deg); }
}

@keyframes beamMove2 {
  0% { transform: translate(30%, 20%) rotate(0deg); }
  50% { transform: translate(-10%, -20%) rotate(-180deg); }
  100% { transform: translate(30%, 20%) rotate(-360deg); }
}

@keyframes headlineGlow {
  0%, 100% { opacity: 0.45; transform: translate(-50%, -50%) scale(0.9); }
  50% { opacity: 0.7; transform: translate(-50%, -50%) scale(1.05); }
}

@keyframes gradientGlow {
  0%, 100% {
    background-position: 0% 50%;
    filter: drop-shadow(0 0 6px rgba(255, 45, 164, 0.25)) drop-shadow(0 0 10px rgba(111, 156, 255, 0.25));
  }
  50% {
    background-position: 100% 50%;
    filter: drop-shadow(0 0 16px rgba(255, 45, 164, 0.45)) drop-shadow(0 0 22px rgba(111, 156, 255, 0.45));
  }
}

@keyframes ctaBeam {
  0% { transform: translateX(-140%) rotate(12deg); opacity: 0; }
  10% { opacity: 0.7; }
  30%, 100% { transform: translateX(260%) rotate(12deg); opacity: 0; }
}

@keyframes countdownCardPulse {
  0%, 100% { box-shadow: var(--shadow-sm), var(--glow-pink-sm); }
  50% { box-shadow: 0 10px 24px rgba(0, 0, 0, 0.1), 0 0 16px rgba(255, 45, 164, 0.35); }
}

@keyframes countdownPulse {
  0%, 100% {
    text-shadow: 0 0 4px rgba(255, 45, 164, 0.25), 0 0 8px rgba(255, 45, 164, 0.18);
  }
  50% {
    text-shadow: 0 0 10px rgba(255, 45, 164, 0.55), 0 0 22px rgba(255, 45, 164, 0.45);
  }
}

@keyframes dividerGlow {
  0%, 100% { opacity: 0.45; transform: translateX(-50%) scaleX(0.9); }
  50% { opacity: 0.75; transform: translateX(-50%) scaleX(1.05); }
}

@keyframes competitionGlow {
  0%, 100% { opacity: 0.55; transform: scale(0.95); }
  50% { opacity: 0.85; transform: scale(1.05); }
}

@keyframes historyGlow {
  0%, 100% { opacity: 0.55; transform: scale(0.95); }
  50% { opacity: 0.85; transform: scale(1.05); }
}

@keyframes instructorGlow {
  0%, 100% { opacity: 0.55; transform: scale(0.95); }
  50% { opacity: 0.85; transform: scale(1.05); }
}

@keyframes starTwinkle {
  0%, 100% { opacity: 0.25; transform: scale(0.95); }
  50% { opacity: 0.6; transform: scale(1.05); }
}

@keyframes testimonialLightSweep {
  0% { transform: translateX(-160%) rotate(12deg); opacity: 0; }
  10% { opacity: 0.65; }
  35%, 100% { transform: translateX(260%) rotate(12deg); opacity: 0; }
}

@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-50% - 20px)); }
}

@keyframes galleryLightSweep {
  0% { transform: translateX(-140%) rotate(10deg); opacity: 0; }
  15% { opacity: 0.45; }
  50% { opacity: 0.75; }
  100% { transform: translateX(320%) rotate(10deg); opacity: 0; }
}

@keyframes scheduleGlow {
  0%, 100% { opacity: 0.5; transform: scale(0.95); }
  50% { opacity: 0.85; transform: scale(1.05); }
}

/* =========================================
   RESPONSIVE
   ========================================= */

@media (max-width: 1100px) {
  .photo-gallery-grid {
    columns: 3 220px;
  }
}

@media (max-width: 900px) {
  header {
    padding: 12px 20px;
  }

  .menu-toggle {
    display: block;
  }

  nav {
    position: absolute;
    top: 100%;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-height: 0;
    padding: 10px 20px 24px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    border-bottom: 1px solid var(--color-border);
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(16px);
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.08), 0 18px 44px rgba(111, 156, 255, 0.1);
    transition: max-height var(--transition-base), opacity var(--transition-fast), transform var(--transition-base);
  }

  nav.open {
    max-height: min(80vh, 760px);
    overflow-y: auto;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    -webkit-overflow-scrolling: touch;
  }

  nav a {
    margin: 8px 0;
    padding: 14px 18px;
  }

  nav .portal-btn,
  nav .register-btn {
    display: block;
    width: 100%;
    margin-top: 10px;
    padding: 14px 18px;
    border-radius: var(--radius-pill);
    font-weight: 600;
    text-align: center;
  }

  nav .register-btn {
    margin-top: 12px;
  }

  .hero-inner {
    transform: translateY(-10px);
  }

  .hero h1 {
    margin-bottom: 14px;
    font-size: 2.4rem;
  }

  .section,
  .philosophy-section {
    padding: 70px 25px;
  }

  .history-layout,
  .competition-layout {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .history-text {
    max-width: 100%;
  }

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

@media (max-width: 768px) {
  .logo img {
    height: 60px;
  }

  .schedule-frame-wrap {
    overflow-x: auto;
  }

  .studio-schedule-markup table,
  .studio-schedule-markup .table {
    min-width: 760px;
  }

  .gallery-lightbox {
    padding: 16px;
  }

  .gallery-lightbox-btn {
    width: 44px;
    height: 44px;
    font-size: 24px;
  }

  .gallery-lightbox-btn.prev {
    left: 8px;
  }

  .gallery-lightbox-btn.next {
    right: 8px;
  }

  .gallery-lightbox-close {
    top: -8px;
    right: 4px;
    width: 42px;
    height: 42px;
    font-size: 24px;
  }
}

@media (max-width: 760px) {
  .photo-gallery-grid {
    column-gap: 10px;
    columns: 2 160px;
  }

  .gallery-card {
    margin: 0 0 10px;
    border-radius: 18px;
  }
}

@media (max-width: 700px) {
  .instructors {
    grid-template-columns: 1fr;
  }

  .instructor-card {
    padding: 30px 22px;
    text-align: center;
  }

  .instructor-photo {
    position: relative;
    top: 0;
    left: 0;
    width: 174px;
    height: 254px;
    margin: 0 auto 15px;
  }
}

@media (max-width: 600px) {
  .countdown {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
  }

  .countdown div {
    min-width: 0;
    padding: 12px 8px;
  }

  .countdown span {
    font-size: 1.6rem;
  }

  .testimonial-track {
    display: flex;
    gap: 16px;
    width: 100%;
    padding: 0 4px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    animation: none;
    -webkit-overflow-scrolling: touch;
  }

  .testimonial {
    min-width: calc(100% - 8px);
    max-width: calc(100% - 8px);
    padding: 22px;
    scroll-snap-align: center;
  }

  .testimonial-carousel-controls {
    display: flex;
  }
}
