@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,600;1,400&family=Outfit:wght@300;400;500;600&display=swap");

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Outfit", system-ui, sans-serif;
  font-weight: 400;
  background:
    radial-gradient(ellipse 120% 80% at 10% -10%, rgba(124, 92, 191, 0.12), transparent 50%),
    radial-gradient(ellipse 90% 60% at 100% 0%, rgba(120, 190, 255, 0.18), transparent 45%),
    var(--bg);
  color: var(--text);
  line-height: 1.65;
  min-height: 100vh;
}

a {
  color: var(--primary);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
a:hover { opacity: 0.85; }

.lang-switch {
  position: absolute;
  top: 0.85rem;
  right: 1rem;
  z-index: 2;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
}
.lang-switch a {
  color: rgba(245, 240, 255, 0.8);
  text-decoration: none;
  padding: 0.2rem 0.35rem;
  font-weight: 500;
}
.lang-switch a.on {
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,0.85);
}
.lang-switch span { color: rgba(255,255,255,0.4); margin: 0 0.15rem; }

.site-header {
  background:
    linear-gradient(135deg, var(--header-bg) 0%, #7c5cbf 50%, #8fb8ff 100%);
  color: var(--header-text);
  padding: 2.4rem 1.5rem 2rem;
  text-align: center;
  border-bottom: 1px solid rgba(180, 160, 230, 0.4);
  position: relative;
  overflow: hidden;
}
.site-header::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: min(280px, 50%);
  height: 2px;
  background: linear-gradient(90deg, transparent, #c4b0ff, #fff, #9ec5ff, transparent);
}
.site-header h1 {
  margin: 0 0 0.4rem;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.9rem, 4vw, 2.75rem);
  font-weight: 600;
  letter-spacing: 0.04em;
}
.site-header p {
  margin: 0 auto;
  max-width: 36rem;
  opacity: 0.92;
  font-weight: 300;
  font-size: 1.02rem;
  letter-spacing: 0.02em;
}

.site-nav {
  background: var(--nav);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.2rem;
  padding: 0.55rem 0.75rem;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(8px);
}
.site-nav a {
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  padding: 0.5rem 0.95rem;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  transition: background 0.2s, color 0.2s;
}
.site-nav a:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  opacity: 1;
}
.site-nav a.active {
  background: linear-gradient(135deg, #ffffff, #e8f4ff);
  color: #5b4a8a;
  font-weight: 500;
}

.wrap {
  max-width: 980px;
  margin: 0 auto;
  padding: 2rem 1.35rem 1rem;
}

.page-header h2 {
  margin: 0 0 1rem;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.7rem, 3.2vw, 2.25rem);
  font-weight: 600;
  color: var(--secondary);
  letter-spacing: 0.02em;
  position: relative;
  padding-bottom: 0.65rem;
}
.page-header h2::after {
  content: "";
  display: block;
  width: 3.2rem;
  height: 2px;
  margin-top: 0.55rem;
  background: linear-gradient(90deg, #7c5cbf, #9ec5ff, transparent);
}

.content {
  font-size: 1.05rem;
  color: #2a2d4a;
}
.content p { margin: 0 0 1rem; }
.content ul {
  padding-left: 1.15rem;
  margin: 0 0 1.25rem;
}
.content li { margin: 0.35rem 0; }
.content pre {
  background: #5b4a8a !important;
  color: #f5f0ff !important;
  border: 1px solid rgba(158, 197, 255, 0.35);
  border-radius: 12px !important;
  padding: 1rem 1.1rem !important;
  font-size: 0.85rem;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.15rem;
  margin-top: 1.75rem;
}
.gallery-card {
  background: linear-gradient(160deg, #ffffff 0%, #e8f4ff 55%, #f3eeff 100%);
  border: 1px solid rgba(124, 92, 191, 0.2);
  border-radius: 14px;
  min-height: 210px;
  display: grid;
  place-items: center;
  padding: 1.25rem;
  text-align: center;
  color: #4a4e72;
  box-shadow: 0 8px 24px rgba(90, 120, 180, 0.08);
  transition: transform 0.2s, box-shadow 0.2s;
  overflow: hidden;
}
.gallery-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(100, 120, 200, 0.14);
}
.gallery-card small {
  display: block;
  margin-top: 0.4rem;
  opacity: 0.7;
  font-size: 0.8rem;
}
.gallery-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 10px;
  display: block;
}

.video-stage {
  background: linear-gradient(160deg, #6b4fa0 0%, #7c9dff 100%);
  color: #f5f0ff;
  min-height: 280px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  margin-top: 1.25rem;
  border: 1px solid rgba(255,255,255,0.25);
  box-shadow: inset 0 0 60px rgba(80, 60, 160, 0.2);
  padding: 1.5rem;
  text-align: center;
}
.video-stage video,
.video-stage iframe {
  width: 100%;
  max-width: 860px;
  border-radius: 12px;
  border: 0;
  aspect-ratio: 16/9;
  background: #000;
}

.hero-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 1.5rem 0 0.5rem;
  padding: 0;
  list-style: none;
}
.hero-links a {
  display: inline-block;
  background: var(--button);
  color: var(--button-text);
  text-decoration: none;
  padding: 0.6rem 1.15rem;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 14px rgba(124, 92, 191, 0.28);
  transition: transform 0.15s, box-shadow 0.15s;
}
.hero-links a:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(124, 92, 191, 0.38);
  opacity: 1;
}

.lead {
  font-size: 1.12rem;
  color: #3a3f66;
  max-width: 40rem;
}

.site-footer {
  margin-top: 3.5rem;
  padding: 1.5rem 1.35rem 2rem;
  border-top: 1px solid rgba(124, 92, 191, 0.18);
  font-size: 0.88rem;
  color: #5a6080;
  text-align: center;
  letter-spacing: 0.02em;
}

.btn {
  display: inline-block;
  background: var(--button);
  color: var(--button-text);
  border: 0;
  padding: 0.6rem 1.15rem;
  border-radius: 999px;
  text-decoration: none;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 500;
}
.btn.secondary { background: #7aa8e8; color: #fff; }
.btn.danger { background: #b91c1c; color: #fff; }

.content img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 28px rgba(100, 120, 200, 0.14);
}
