:root {
      color-scheme: dark;
      --bg: #05060f;
      --bg-alt: #0c0f1c;
      --fg: #f1f5ff;
      --muted: #8b92aa;
      --accent: #8b5cf6;
      --accent-strong: #22d3ee;
      --card: rgba(12, 15, 28, 0.82);
      --border: rgba(139, 92, 246, 0.24);
      --radius: 20px;
      font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
    }
    * { box-sizing: border-box; }
    body {
      margin: 0;
      min-height: 100vh;
      background:
        radial-gradient(circle at 20% 20%, rgba(139, 92, 246, 0.18), transparent 55%),
        radial-gradient(circle at 80% 0%, rgba(34, 211, 238, 0.16), transparent 45%),
        var(--bg);
      color: var(--fg);
      overflow-x: hidden;
    }
    .noise {
      position: fixed;
      inset: 0;
      pointer-events: none;
      background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200" preserveAspectRatio="none"><filter id="n"><feTurbulence type="fractalNoise" baseFrequency="0.9" numOctaves="4" stitchTiles="stitch"/></filter><rect width="200" height="200" filter="url(%23n)" opacity="0.07"/></svg>');
      opacity: 0.12;
      mix-blend-mode: screen;
      z-index: 0;
    }
    main {
      position: relative;
      z-index: 1;
      width: min(1100px, 92vw);
      margin: 0 auto;
      padding: clamp(3rem, 6vw, 5rem) 0 5rem;
      display: grid;
      gap: clamp(3rem, 6vw, 4.5rem);
    }
    header {
      display: grid;
      gap: clamp(2rem, 4vw, 3rem);
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      align-items: center;
      background: linear-gradient(135deg, rgba(139, 92, 246, 0.16), rgba(34, 211, 238, 0.09));
      border: 1px solid var(--border);
      border-radius: 28px;
      padding: clamp(2.5rem, 4vw, 3.5rem);
      box-shadow: 0 30px 60px rgba(4, 8, 18, 0.45);
      position: relative;
      overflow: hidden;
    }
    header::after {
      content: "";
      position: absolute;
      inset: 0;
      background: radial-gradient(circle at 85% 10%, rgba(34, 211, 238, 0.26), transparent 50%);
      opacity: 0.6;
    }
    .hero-copy {
      position: relative;
      z-index: 1;
    }
    .hero-copy span.label {
      display: inline-flex;
      align-items: center;
      gap: 0.4rem;
      padding: 0.25rem 0.75rem;
      border-radius: 999px;
      border: 1px solid rgba(255, 255, 255, 0.24);
      color: var(--muted);
      font-size: 0.85rem;
      letter-spacing: 0.08em;
      text-transform: uppercase;
    }
    .hero-copy h1 {
      margin: 1.2rem 0 0.6rem;
      font-size: clamp(2rem, 6vw, 3.8rem);
      letter-spacing: 0.04em;
      line-height: 1.1;
      word-break: break-word;
    }
    .hero-copy p {
      margin: 0;
      color: var(--muted);
      font-size: clamp(1rem, 2vw, 1.15rem);
      max-width: 34ch;
    }
    .hero-heading {
      display: flex;
      align-items: flex-end;
      gap: 1rem;
      flex-wrap: wrap;
    }
    .hero-heading h1 {
      margin: 1.2rem 0 0.6rem;
    }
    .hero-logo-inline {
      display: none;
      width: 72px;
      max-width: 30vw;
      border-radius: 22px;
      border: 1px solid rgba(139, 92, 246, 0.35);
      background: rgba(8, 12, 26, 0.78);
      padding: 0.55rem;
      box-shadow: 0 18px 32px rgba(6, 10, 24, 0.45);
    }
    .hero-actions {
      margin-top: 1.8rem;
      display: flex;
      flex-wrap: wrap;
      gap: 0.9rem;
    }
    .button {
      display: inline-flex;
      align-items: center;
      gap: 0.55rem;
      padding: 0.75rem 1.35rem;
      border-radius: 999px;
      border: 1px solid transparent;
      color: inherit;
      text-decoration: none;
      font-weight: 600;
      letter-spacing: 0.02em;
      transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
      background: linear-gradient(120deg, rgba(139, 92, 246, 0.85), rgba(34, 211, 238, 0.85));
      box-shadow: 0 16px 32px rgba(45, 72, 120, 0.45);
    }
    .button:hover,
    .button:focus-visible {
      transform: translateY(-3px) translateZ(0);
      border-color: rgba(255, 255, 255, 0.45);
      outline: none;
      will-change: transform;
    }
    .button.alt {
      background: rgba(12, 15, 28, 0.7);
      border: 1px solid rgba(255, 255, 255, 0.18);
      box-shadow: 0 0 0;
    }
    .hero-visual {
      position: relative;
      justify-self: center;
      z-index: 1;
    }
    .hero-visual::before {
      content: "";
      position: absolute;
      inset: -12% -12% -32% -12%;
      background: radial-gradient(circle at 50% 20%, rgba(139, 92, 246, 0.45), transparent 60%),
                  radial-gradient(circle at 60% 70%, rgba(34, 211, 238, 0.35), transparent 70%);
      filter: blur(18px);
      z-index: 0;
    }
    .hero-visual img {
      position: relative;
      width: clamp(220px, 35vw, 280px);
      border-radius: 32px;
      border: 1px solid rgba(255, 255, 255, 0.2);
      padding: 1rem;
      background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(34, 211, 238, 0.12));
      filter: drop-shadow(0 18px 34px rgba(5, 10, 26, 0.6));
      backdrop-filter: blur(12px);
    }
    .hero-visual img.logo {
      padding: clamp(1.5rem, 3vw, 2rem);
      background: rgba(8, 12, 26, 0.75);
      border-radius: 26px;
      border: 1px solid rgba(139, 92, 246, 0.3);
    }
    section {
      display: grid;
      gap: 1.5rem;
    }
    .section-heading {
      display: flex;
      align-items: baseline;
      justify-content: space-between;
      gap: 1rem;
    }
    .section-heading h2 {
      margin: 0;
      font-size: clamp(1.8rem, 4vw, 2.4rem);
      letter-spacing: 0.03em;
    }
    .section-heading p {
      margin: 0;
      color: var(--muted);
    }
    .about {
      background: var(--card);
      border: 1px solid rgba(255, 255, 255, 0.08);
      border-radius: var(--radius);
      padding: clamp(2rem, 3vw, 2.5rem);
      line-height: 1.6;
      font-size: 1.05rem;
      box-shadow: 0 18px 36px rgba(5, 9, 20, 0.4);
    }
    .events-grid {
      display: grid;
      gap: 1.4rem;
      grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    }
    .event-card {
      position: relative;
      overflow: hidden;
      border-radius: 22px;
      padding: 1.9rem 1.75rem;
      background: linear-gradient(160deg, rgba(139, 92, 246, 0.22), rgba(12, 15, 28, 0.94));
      border: 1px solid rgba(139, 92, 246, 0.3);
      box-shadow: 0 22px 42px rgba(4, 9, 22, 0.55);
      min-height: 220px;
      display: flex;
      flex-direction: column;
      gap: 0.9rem;
      transition: transform 0.18s ease, border-color 0.18s ease;
    }
    .event-card:hover,
    .event-card:focus-visible {
      transform: translateY(-6px);
      border-color: rgba(34, 211, 238, 0.4);
      outline: none;      will-change: transform;    }
    .event-meta {
      display: flex;
      gap: 0.75rem;
      color: var(--muted);
      font-size: 0.9rem;
      letter-spacing: 0.08em;
      text-transform: uppercase;
    }
    .event-title {
      margin: 0;
      font-size: 1.5rem;
      letter-spacing: 0.03em;
    }
    .event-description {
      margin: 0;
      color: rgba(238, 242, 255, 0.86);
      line-height: 1.5;
    }
    .gallery-section {
      display: grid;
      gap: 1.75rem;
    }
    .gallery {
      position: relative;
      border-radius: 24px;
      border: 1px solid rgba(139, 92, 246, 0.32);
      background: rgba(12, 15, 28, 0.88);
      box-shadow: 0 28px 48px rgba(5, 10, 26, 0.55);
      overflow: hidden;
      isolation: isolate;
      --gallery-items: 1;
    }
    .gallery-viewport {
      position: relative;
      overflow: hidden;
      width: 100%;
      height: 100%;
    }
    .gallery-track {
      display: flex;
      width: 100%;
      height: 100%;
      transition: transform 0.6s ease;
      touch-action: pan-y;
    }
    .gallery-item {
      position: relative;
      flex: 0 0 calc(100% / var(--gallery-items));
      min-height: clamp(220px, 32vw, 420px);
      padding: 0;
      display: flex;
      align-items: stretch;
      box-sizing: border-box;
      margin: 0;
    }
    .gallery-item img,
    .gallery-item video {
      width: 100%;
      height: 100%;
      display: block;
      object-fit: cover;
      background: rgba(8, 12, 24, 0.85);
      border-radius: 0;
    }
    .gallery-item video {
      border: none;
    }
    .gallery-item figcaption {
      position: absolute;
      inset: auto 0 0;
      padding: 0.75rem 1rem;
      background: linear-gradient(180deg, rgba(5, 8, 18, 0) 0%, rgba(5, 8, 18, 0.85) 75%);
      font-size: 0.85rem;
      letter-spacing: 0.03em;
      color: rgba(241, 245, 255, 0.82);
      text-transform: uppercase;
    }
    .gallery-control {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      width: 48px;
      height: 48px;
      border-radius: 50%;
      border: 1px solid rgba(139, 92, 246, 0.45);
      background: rgba(5, 8, 18, 0.7);
      color: rgba(241, 245, 255, 0.78);
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      transition: transform 0.18s ease, border-color 0.18s ease;
      z-index: 2;
    }
    .gallery-control.prev { left: 1.2rem; }
    .gallery-control.next { right: 1.2rem; }
    .gallery-control:hover,
    .gallery-control:focus-visible {
      transform: translateY(-50%) scale(1.05);
      border-color: var(--accent-strong);
      outline: none;
    }
    .gallery-dots {
      position: absolute;
      bottom: 1rem;
      left: 50%;
      transform: translateX(-50%);
      display: flex;
      gap: 0.6rem;
    }
    .gallery-dot {
      width: 10px;
      height: 10px;
      border-radius: 50%;
      background: rgba(139, 92, 246, 0.35);
      border: none;
      padding: 0;
      cursor: pointer;
      transition: transform 0.18s ease, background 0.18s ease;
    }
    .gallery-dot.active {
      background: var(--accent-strong);
      transform: scale(1.2);
    }
    .gallery-dot:focus-visible {
      outline: 2px solid var(--accent-strong);
      outline-offset: 2px;
    }
    @media (max-width: 900px) {
      .gallery-item {
        min-height: clamp(220px, 42vw, 360px);
      }
    }
    @media (max-width: 600px) {
      .gallery-item {
        min-height: clamp(200px, 58vw, 320px);
      }
    }
    @media (min-width: 720px) {
      .gallery {
        --gallery-items: 2;
      }
    }
    @media (min-width: 1040px) {
      .gallery {
        --gallery-items: 3;
      }
    }
    .events-grid {
      display: grid;
      gap: 1.4rem;
      grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    }
    .event-card {
      position: relative;
      overflow: hidden;
      border-radius: 22px;
      padding: 1.9rem 1.75rem;
      background: linear-gradient(160deg, rgba(139, 92, 246, 0.22), rgba(12, 15, 28, 0.94));
      border: 1px solid rgba(139, 92, 246, 0.3);
      box-shadow: 0 22px 42px rgba(4, 9, 22, 0.55);
      min-height: 220px;
      display: flex;
      flex-direction: column;
      gap: 0.9rem;
      transition: transform 0.18s ease, border-color 0.18s ease;
    }
    .event-card:hover,
    .event-card:focus-visible {
      transform: translateY(-6px);
      border-color: rgba(34, 211, 238, 0.4);
      outline: none;
    }
    .event-meta {
      display: flex;
      gap: 0.75rem;
      color: var(--muted);
      font-size: 0.9rem;
      letter-spacing: 0.08em;
      text-transform: uppercase;
    }
    .event-title {
      margin: 0;
      font-size: 1.5rem;
      letter-spacing: 0.03em;
    }
    .event-description {
      margin: 0;
      color: rgba(238, 242, 255, 0.86);
      line-height: 1.5;
    }
    .gallery-section {
      display: grid;
      gap: 1.75rem;
    }
    @media (max-width: 900px) {
      .gallery-track {
        min-height: clamp(220px, 42vw, 360px);
      }
      .gallery-item {
        min-height: clamp(220px, 42vw, 360px);
      }
    }
    @media (max-width: 600px) {
      .gallery-track {
        min-height: clamp(200px, 62vw, 340px);
      }
      .gallery-item {
        min-height: clamp(200px, 62vw, 340px);
      }
    }
    .chip {
      align-self: flex-start;
      padding: 0.35rem 0.75rem;
      border-radius: 999px;
      border: 1px solid rgba(255, 255, 255, 0.2);
      font-size: 0.8rem;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: rgba(255, 255, 255, 0.75);
    }
    .info-banner {
      display: flex;
      flex-wrap: wrap;
      gap: 1rem;
      align-items: center;
      justify-content: space-between;
      padding: 1.4rem 1.6rem;
      border-radius: 18px;
      border: 1px dashed rgba(139, 92, 246, 0.4);
      background: rgba(12, 15, 28, 0.72);
      color: rgba(224, 229, 255, 0.88);
    }
    .info-banner a {
      color: var(--accent-strong);
      text-decoration: none;
      font-weight: 600;
    }
    .event-history {
      list-style: none;
      margin: 0;
      padding: 0;
      display: grid;
      gap: 0.9rem;
    }
    .event-history li {
      padding: 1rem 1.2rem;
      border-radius: 18px;
      border: 1px solid rgba(139, 92, 246, 0.28);
      background: rgba(12, 15, 28, 0.64);
      box-shadow: 0 18px 32px rgba(5, 10, 24, 0.45);
      display: flex;
      flex-direction: column;
      gap: 0.35rem;
    }
    .event-history time {
      font-size: 0.85rem;
      letter-spacing: 0.08em;
      color: rgba(139, 92, 246, 0.8);
      text-transform: uppercase;
    }
    .event-history span {
      font-weight: 600;
      letter-spacing: 0.02em;
    }
    footer {
      color: var(--muted);
      font-size: 0.85rem;
      text-align: center;
      padding-bottom: 2rem;
    }
    @media (max-width: 720px) {
      body { padding: 0 0.85rem 2.1rem; }
      main { gap: 2rem; }
      header {
        padding: 1.6rem 1.2rem 2.2rem;
        grid-template-columns: 1fr;
      }
      .hero-heading {
        align-items: center;
        justify-content: space-between;
        gap: 0.6rem;
      }
      .hero-heading h1 {
        margin: 0;
        font-size: clamp(1.9rem, 7vw, 2.3rem);
      }
      .hero-logo-inline {
        display: block;
        width: 64px;
      }
      .hero-visual {
        display: none;
      }
      .hero-actions {
        flex-direction: column;
        gap: 0.55rem;
      }
      .button {
        width: 100%;
        justify-content: center;
        font-size: 0.98rem;
        padding: 0.65rem 1.1rem;
      }
      .section-heading {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.55rem;
      }
      .gallery {
        border-radius: 20px;
      }
      .gallery-item {
        min-height: clamp(220px, 60vw, 340px);
      }
      .gallery-control {
        width: 40px;
        height: 40px;
      }
      .gallery-control.prev { left: 0.6rem; }
      .gallery-control.next { right: 0.6rem; }
      .info-banner {
        flex-direction: column;
        align-items: flex-start;
      }
    }
    @media (max-width: 520px) {
      body { padding: 0 0.8rem 1.8rem; }
      main {
        width: 100%;
        padding: 1.9rem 0 2.3rem;
        gap: 1.7rem;
      }
      header h1 {
        font-size: clamp(1.85rem, 7vw, 2.15rem);
      }
      header p {
        font-size: 0.9rem;
      }
      .hero-logo-inline {
        width: 58px;
      }
      .gallery-item {
        min-height: clamp(200px, 68vw, 320px);
      }
      .gallery-dot {
        width: 8px;
        height: 8px;
      }
      .event-card {
        padding: 1.35rem 1.25rem;
      }
    }
    footer {
      margin: 0;
      padding: 3.5rem 0 2rem;
      text-align: center;
      color: var(--muted);
      letter-spacing: 0.05em;
      display: flex;
      flex-direction: column;
      gap: 1rem;
      align-items: center;
    }
    footer p {
      margin: 0;
    }
    footer nav {
      display: flex;
      gap: 1.5rem;
      flex-wrap: wrap;
      justify-content: center;
    }
    footer nav a {
      color: var(--muted);
      text-decoration: none;
      transition: color 0.2s ease;
      font-size: 0.9rem;
    }
    footer nav a:hover,
    footer nav a:focus-visible {
      color: var(--accent-strong);
      outline: none;
    }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
    .event-history-desc {
      margin: 0.25rem 0 0;
      color: var(--muted);
      font-size: 0.9rem;
      line-height: 1.45;
    }
    .contact-form {
      display: grid;
      gap: 1rem;
      max-width: 520px;
    }
    .contact-form label {
      display: flex;
      flex-direction: column;
      gap: 0.3rem;
      font-size: 0.92rem;
      color: var(--muted);
    }
    .contact-form input,
    .contact-form textarea,
    .contact-form select {
      background: rgba(12, 15, 28, 0.85);
      border: 1px solid var(--border);
      border-radius: 12px;
      padding: 0.6rem 0.85rem;
      color: var(--fg);
      font: inherit;
      font-size: 1rem;
    }
    .contact-form input:focus,
    .contact-form textarea:focus,
    .contact-form select:focus {
      border-color: var(--accent);
      outline: none;
    }
    .contact-form button[type="submit"] {
      justify-self: start;
      padding: 0.7rem 1.5rem;
      border-radius: 999px;
      border: none;
      background: linear-gradient(120deg, rgba(139, 92, 246, 0.85), rgba(34, 211, 238, 0.85));
      color: var(--fg);
      font-weight: 600;
      cursor: pointer;
      transition: transform 0.18s ease;
    }
    .contact-form button[type="submit"]:hover {
      transform: translateY(-2px);
    }
    #contact-status {
      font-size: 0.9rem;
      min-height: 1.2rem;
    }
    #contact-status.success { color: #10b981; }
    #contact-status.error { color: #ef4444; }
