:root {
  --aqua: #00eaff;
  --aqua-2: #00bcd4;
  --deep: #001b2e;
  --deep-2: #002b47;
  --ink: #07121a;
  --surface: rgba(10, 25, 38, 0.78);
  --surface-solid: #0a1926;
  --text: #f2faff;
  --muted: #a9c6d6;
  --gold: #ffd166;
  --coral: #ff6b6b;
  --glass: rgba(255, 255, 255, 0.06);
  --glass-border: rgba(255, 255, 255, 0.12);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
  --radius: 18px;
  --transition: 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--ink);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
}

::selection {
  background: var(--aqua);
  color: var(--ink);
}

/* Loader */
.loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 50% 30%, var(--deep-2), var(--ink));
  transition: opacity 0.7s ease, visibility 0.7s ease;
}

.loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-wave {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 4px solid rgba(255, 255, 255, 0.1);
  border-top-color: var(--aqua);
  animation: spin 1s linear infinite;
  box-shadow: 0 0 40px rgba(0, 234, 255, 0.35);
}

.loader span {
  position: absolute;
  bottom: 42%;
  letter-spacing: 0.35em;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--aqua);
  text-transform: uppercase;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes pulse {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 4vw;
  transition: var(--transition);
  background: transparent;
  border-bottom: 1px solid transparent;
}

.navbar.scrolled {
  background: rgba(4, 16, 26, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--glass-border);
  padding: 0.65rem 4vw;
  box-shadow: var(--shadow);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--text);
}

.wave-icon {
  display: none;
}

.nav-logo {
  width: 42px;
  height: 42px;
  object-fit: contain;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  padding: 4px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  transition: var(--transition);
}

.nav-brand:hover .nav-logo {
  transform: scale(1.08);
  box-shadow: 0 6px 20px rgba(0, 234, 255, 0.35);
}

@keyframes wave {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(6px); }
}

.nav-brand strong {
  display: block;
  font-family: "Oswald", sans-serif;
  font-size: 1.25rem;
  letter-spacing: 0.05em;
  line-height: 1;
}

.nav-brand small {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  list-style: none;
}

.nav-menu a {
  position: relative;
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  font-size: 0.85rem;
  padding: 0.6rem 1rem;
  border-radius: 999px;
  transition: var(--transition);
}

.nav-menu a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  bottom: 0.25rem;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--aqua);
  transition: var(--transition);
  transform: translateX(-50%);
  border-radius: 2px;
}

.nav-menu a:not(.nav-cta):hover {
  color: var(--aqua);
}

.nav-menu a:not(.nav-cta):hover::after {
  width: 60%;
}

.nav-cta {
  background: linear-gradient(135deg, var(--aqua), var(--aqua-2));
  color: var(--ink) !important;
  font-weight: 700 !important;
  box-shadow: 0 8px 24px rgba(0, 234, 255, 0.28);
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 234, 255, 0.4);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle span {
  display: block;
  width: 28px;
  height: 3px;
  background: var(--text);
  border-radius: 3px;
  transition: var(--transition);
}

.nav-toggle.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
}

.hero-video-wrapper {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-video-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  animation: slowZoom 20s ease-in-out infinite alternate;
}

@keyframes slowZoom {
  from { transform: scale(1.05); }
  to { transform: scale(1.15); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 11, 19, 0.55) 0%,
    rgba(0, 23, 38, 0.75) 50%,
    rgba(0, 11, 19, 0.92) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 960px;
  padding: 0 1.5rem;
  animation: fadeInUp 1.2s var(--transition) both;
}

.hero-eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--aqua);
  margin-bottom: 1rem;
  opacity: 0;
  animation: fadeInUp 1s 0.2s forwards;
}

.hero-title {
  font-family: "Oswald", sans-serif;
  font-size: clamp(3.2rem, 10vw, 7.5rem);
  line-height: 0.95;
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.hero-title span {
  display: block;
  background: linear-gradient(90deg, #fff 0%, var(--aqua) 50%, var(--aqua-2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 0;
  transform: translateY(40px);
  animation: titleIn 1.1s forwards;
}

.hero-title span:nth-child(1) { animation-delay: 0.3s; }
.hero-title span:nth-child(2) { animation-delay: 0.5s; }

@keyframes titleIn {
  to { opacity: 1; transform: translateY(0); }
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  max-width: 720px;
  margin: 0 auto 2.5rem;
  color: var(--muted);
  opacity: 0;
  animation: fadeInUp 1s 0.7s forwards;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeInUp 1s 0.9s forwards;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2.2rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
  transform: translateX(-100%);
  transition: 0.6s;
}

.btn:hover::before {
  transform: translateX(100%);
}

.btn-primary {
  background: linear-gradient(135deg, var(--aqua), var(--aqua-2));
  color: var(--ink);
  box-shadow: 0 10px 30px rgba(0, 234, 255, 0.35);
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 18px 45px rgba(0, 234, 255, 0.48);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 2px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(4px);
}

.btn-outline:hover {
  border-color: var(--aqua);
  color: var(--aqua);
  transform: translateY(-3px);
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-top: 4rem;
  opacity: 0;
  animation: fadeInUp 1s 1.1s forwards;
}

.hero-stats div {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-stats strong {
  font-family: "Oswald", sans-serif;
  font-size: 2.5rem;
  color: var(--aqua);
  line-height: 1;
}

.hero-stats span {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.4rem;
}

.scroll-down {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: 28px;
  height: 44px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: 999px;
  cursor: pointer;
}

.scroll-down span {
  position: absolute;
  top: 8px;
  left: 50%;
  width: 6px;
  height: 6px;
  background: var(--aqua);
  border-radius: 50%;
  transform: translateX(-50%);
  animation: scrollBounce 1.8s infinite;
}

@keyframes scrollBounce {
  0%, 100% { top: 8px; opacity: 1; }
  50% { top: 22px; opacity: 0.3; }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Sections */
.section {
  position: relative;
  padding: 7rem 0;
  overflow: hidden;
}

.container {
  width: min(1200px, 92vw);
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--aqua);
  margin-bottom: 0.8rem;
  border: 1px solid var(--glass-border);
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  background: var(--glass);
  backdrop-filter: blur(4px);
}

.section-title {
  font-family: "Oswald", sans-serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
  text-transform: uppercase;
}

.section-title em {
  color: var(--aqua);
  font-style: normal;
}

.section-subtitle {
  color: var(--muted);
  max-width: 640px;
  margin: 1rem auto 0;
}

/* Intro section */
.intro {
  position: relative;
}

.intro-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  opacity: 0.18;
  z-index: 0;
}

.intro-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--ink) 0%, transparent 40%, transparent 60%, var(--ink) 100%);
}

.intro-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.intro-card {
  background: var(--surface);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  overflow: hidden;
  backdrop-filter: blur(10px);
  transition: var(--transition);
  transform: translateY(0);
}

.intro-card:hover {
  transform: translateY(-10px);
  border-color: rgba(0, 234, 255, 0.35);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(0, 234, 255, 0.1);
}

.intro-card-media {
  height: 220px;
  overflow: hidden;
}

.intro-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.intro-card:hover .intro-card-media img {
  transform: scale(1.1);
}

.intro-card h3 {
  font-family: "Oswald", sans-serif;
  font-size: 1.4rem;
  margin: 1.5rem 1.5rem 0.6rem;
  color: var(--aqua);
}

.intro-card p {
  color: var(--muted);
  padding: 0 1.5rem 1.5rem;
  font-size: 0.95rem;
}

/* Feature sections */
.feature-section {
  position: relative;
  background: var(--surface-solid);
}

.feature-section:nth-child(even) {
  background: var(--ink);
}

.feature-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  opacity: 0.12;
  z-index: 0;
}

.feature-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--surface-solid) 0%, rgba(10,25,38,0.6) 50%, var(--surface-solid) 100%);
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.feature-content p {
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
}

.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.95rem;
  color: var(--text);
}

.feature-list span {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(0, 234, 255, 0.15);
  color: var(--aqua);
  font-weight: 700;
  font-size: 0.75rem;
  flex-shrink: 0;
}

.feature-image {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transform: perspective(1000px) rotateY(-3deg);
  transition: var(--transition);
}

.feature-image:hover {
  transform: perspective(1000px) rotateY(0deg) scale(1.02);
}

.feature-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.8s ease;
}

.feature-image:hover img {
  transform: scale(1.06);
}

.feature-image-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.2rem 1.5rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
  font-family: "Oswald", sans-serif;
  font-size: 1.1rem;
  color: var(--aqua);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.feature-alt .feature-grid {
  direction: rtl;
}

.feature-alt .feature-content,
.feature-alt .feature-image {
  direction: ltr;
}

/* Parallax banner */
.parallax-banner {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  padding: 5rem 0;
}

.parallax-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 11, 19, 0.72);
}

.parallax-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 0 1.5rem;
}

.parallax-content h2 {
  font-family: "Oswald", sans-serif;
  font-size: clamp(1.6rem, 4vw, 2.8rem);
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
  text-shadow: 0 4px 20px rgba(0,0,0,0.6);
}

/* Schedule */
.schedule {
  background: var(--ink);
}

.schedule-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.schedule-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  text-align: center;
  overflow: hidden;
  transition: var(--transition);
  backdrop-filter: blur(8px);
}

.schedule-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--aqua), var(--aqua-2));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s ease;
}

.schedule-card:hover::before {
  transform: scaleX(1);
}

.schedule-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
  border-color: rgba(0, 234, 255, 0.25);
}

.schedule-time {
  display: inline-block;
  font-family: "Oswald", sans-serif;
  font-size: 1.3rem;
  color: var(--aqua);
  margin-bottom: 0.8rem;
  letter-spacing: 0.03em;
}

.schedule-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.6rem;
}

.schedule-card p {
  color: var(--muted);
  font-size: 0.95rem;
}

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

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 260px;
  gap: 1rem;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transform: translateY(0);
  transition: var(--transition);
}

.gallery-item:hover {
  transform: translateY(-6px) scale(1.02);
  z-index: 3;
  box-shadow: 0 24px 60px rgba(0,0,0,0.5);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s ease;
}

.gallery-item:hover img {
  transform: scale(1.12);
}

.gallery-item.wide {
  grid-column: span 2;
}

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 40%, rgba(0, 0, 0, 0.85));
  display: flex;
  align-items: flex-end;
  padding: 1.2rem;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.gallery-item:hover .gallery-item-overlay {
  opacity: 1;
}

.gallery-item-overlay span {
  font-family: "Oswald", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--aqua);
  font-size: 1.1rem;
}

/* Contact */
.contact {
  position: relative;
  padding: 7rem 0;
}

.contact-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  opacity: 0.15;
  z-index: 0;
}

.contact-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--ink) 0%, transparent 30%, transparent 70%, var(--ink) 100%);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-info p {
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-list li {
  color: var(--text);
  font-size: 0.95rem;
  padding-left: 1.5rem;
  position: relative;
}

.contact-list li::before {
  content: "›";
  position: absolute;
  left: 0;
  color: var(--aqua);
  font-size: 1.2rem;
  line-height: 1;
}

.contact-list a {
  color: var(--aqua);
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px solid transparent;
  transition: var(--transition);
}

.contact-list a:hover {
  border-bottom-color: var(--aqua);
}

.contact-form {
  background: var(--surface);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 2.5rem;
  backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 1rem 1.2rem;
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder,
.contact-form select:invalid {
  color: var(--muted);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--aqua);
  background: rgba(0, 234, 255, 0.06);
  box-shadow: 0 0 0 3px rgba(0, 234, 255, 0.1);
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-form button {
  justify-content: center;
}

/* Footer */
.footer {
  background: #030b12;
  border-top: 1px solid var(--glass-border);
  padding: 2.5rem 0;
}

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--text);
}

.footer-brand strong {
  font-family: "Oswald", sans-serif;
  letter-spacing: 0.05em;
}

.footer-copy {
  color: var(--muted);
  font-size: 0.85rem;
  text-align: center;
}

.footer-links {
  display: flex;
  gap: 1.2rem;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--aqua);
}

/* Portal championships & news */
.portal {
  background: var(--surface-solid);
  position: relative;
}

.portal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}

.portal-column {
  background: var(--surface);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 2rem;
  backdrop-filter: blur(10px);
  transition: var(--transition);
}

.portal-column:hover {
  border-color: rgba(0, 234, 255, 0.2);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.portal-column h3 {
  font-family: "Oswald", sans-serif;
  font-size: 1.4rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--glass-border);
  color: var(--aqua);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.portal-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-height: 120px;
}

.portal-item {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  padding: 1.2rem;
  transition: var(--transition);
}

.portal-item:hover {
  background: rgba(0, 234, 255, 0.06);
  transform: translateX(6px);
  border-color: rgba(0, 234, 255, 0.25);
}

.portal-item h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: var(--text);
  line-height: 1.3;
}

.portal-item p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 0.6rem;
}

.portal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  font-size: 0.75rem;
  color: var(--aqua);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.portal-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.portal-badge {
  display: inline-block;
  background: rgba(0, 234, 255, 0.12);
  color: var(--aqua);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.portal-loading,
.portal-empty {
  color: var(--muted);
  font-size: 0.95rem;
  text-align: center;
  padding: 2rem 0;
}

.portal-error {
  color: var(--coral);
  font-size: 0.9rem;
  text-align: center;
  padding: 1.5rem 0;
}

/* Next championship */
.next-championship {
  background: var(--ink);
}

.championship-flyer {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.championship-flyer img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  display: block;
}

.flyer-info {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.flyer-detail {
  display: flex;
  flex-direction: column;
}

.flyer-detail strong {
  font-family: "Oswald", sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--aqua);
  margin-bottom: 0.3rem;
}

.flyer-detail span {
  color: var(--text);
  font-size: 1.1rem;
}

/* App feature */
.app-feature {
  background: var(--surface-solid);
}

.app-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.app-content p {
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
}

.app-image {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transform: perspective(1000px) rotateY(3deg);
  transition: var(--transition);
}

.app-image:hover {
  transform: perspective(1000px) rotateY(0deg) scale(1.02);
}

.app-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* Interactive effects */
.intro-card,
.schedule-card,
.portal-column,
.contact-form,
.feature-image {
  transform-style: preserve-3d;
  will-change: transform;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
  will-change: transform;
}

.shine-effect {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 5;
  border-radius: inherit;
  overflow: hidden;
}

.shine-effect::after {
  content: "";
  position: absolute;
  top: var(--y, 50%);
  left: var(--x, 50%);
  width: 280px;
  height: 280px;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.5) 0%,
    rgba(0, 234, 255, 0.2) 35%,
    transparent 70%
  );
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.gallery-item:hover .shine-effect::after,
.gallery-item:focus-within .shine-effect::after {
  opacity: 1;
}

.hero-content {
  will-change: transform;
}

/* Reveal on scroll */
[data-reveal] {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 1024px) {
  .intro-grid,
  .schedule-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .nav-toggle {
    display: flex;
  }
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(320px, 80vw);
    height: 100vh;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    background: rgba(3, 15, 24, 0.96);
    backdrop-filter: blur(16px);
    padding: 5rem 2rem;
    gap: 1rem;
    transition: right 0.45s cubic-bezier(0.22, 1, 0.36, 1);
    border-left: 1px solid var(--glass-border);
  }
  .nav-menu.open {
    right: 0;
  }
  .nav-menu a {
    width: 100%;
    padding: 0.9rem 1rem;
  }
  .feature-grid,
  .contact-grid,
  .portal-grid,
  .championship-flyer,
  .app-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .feature-alt .feature-grid {
    direction: ltr;
  }
  .feature-image,
  .app-image {
    transform: none;
  }
  .flyer-info {
    padding: 2rem;
  }
  .hero-stats {
    gap: 1.5rem;
  }
  .hero-stats strong {
    font-size: 2rem;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery-item.wide {
    grid-column: span 2;
  }
}

@media (max-width: 640px) {
  .intro-grid,
  .schedule-grid {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 220px;
  }
  .gallery-item.wide {
    grid-column: span 1;
  }
  .footer-grid {
    flex-direction: column;
    text-align: center;
  }
  .hero-actions {
    flex-direction: column;
    align-items: center;
  }
  .btn {
    width: min(260px, 80vw);
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
