/*=========== VARIABLES CSS =========*/
:root {
  --header-height: 4rem;
  /* Colores principales */
  --primary: #6366f1;
  --primary-dark: #4f46e5;
  --primary-light: #a5b4fc;
  --primary-bg: #eef2ff;
  --secondary: #f97316;
  --secondary-dark: #ea580c;
  --accent: #06b6d4;
  --success: #22c55e;
  --warning: #eab308;
  --danger: #ef4444;
  /* Neutrales */
  --white: #ffffff;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  /* Tipografía */
  --font-family: 'Inter', sans-serif;
  --text-xs: .75rem;
  --text-sm: .875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: 3rem;
  --text-6xl: 3.75rem;
  /* Sombras */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  /* Border radius */
  --radius-sm: .375rem;
  --radius: .5rem;
  --radius-md: .75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-full: 9999px;
  /* Z-index */
  --z-dropdown: 50;
  --z-fixed: 100;
  --z-modal: 1000;
}

/*============ BASE ===========*/
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-family);
  font-size: var(--text-base);
  background-color: var(--white);
  color: var(--gray-700);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6 { color: var(--gray-900); font-weight: 700; line-height: 1.2; }
ul { list-style: none; }
a { text-decoration: none; color: inherit; transition: color .3s; }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; border: none; outline: none; font-family: inherit; }
input, textarea, select { font-family: inherit; font-size: inherit; }

/*============ UTILITIES ===========*/
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 5rem 0; }
.text-gradient {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/*============ BUTTONS ===========*/
.button {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.5rem;
  background: var(--primary);
  color: var(--white);
  font-weight: 600;
  font-size: var(--text-sm);
  border-radius: var(--radius-md);
  transition: all .3s ease;
  border: 2px solid transparent;
}
.button:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.button--ghost { background: transparent; color: var(--gray-700); border-color: var(--gray-300); }
.button--ghost:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-bg); }
.button--outline { background: transparent; color: var(--primary); border-color: var(--primary); }
.button--outline:hover { background: var(--primary); color: var(--white); }
.button--small { padding: .5rem 1rem; font-size: var(--text-xs); }
.button--large { padding: 1rem 2rem; font-size: var(--text-base); }
.button--full { width: 100%; justify-content: center; }

/*============ HEADER ===========*/
.header {
  position: fixed;
  top: 0; left: 0; width: 100%;
  z-index: var(--z-fixed);
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--gray-100);
  transition: all .3s;
}
.header.scroll-header { box-shadow: var(--shadow-md); }
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--gray-900);
}
.nav__logo img { height: 44px; width: auto; display: block; max-height: none; }
.nav__logo-icon { font-size: 1.5rem; color: var(--primary); }
.logo-accent { color: var(--primary); }
.nav__list { display: flex; align-items: center; gap: 2rem; }
.nav__link {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--gray-600);
  transition: color .3s;
  position: relative;
}
.nav__link:hover { color: var(--primary); }
.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--primary);
  transition: width .3s;
}
.nav__link:hover::after { width: 100%; }
.nav__btns { display: flex; align-items: center; gap: .75rem; }
.nav__toggle, .nav__close { display: none; font-size: 1.5rem; cursor: pointer; }

/*============ HERO ===========*/
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #0f0c29 0%, #302b63 50%, #24243e 100%);
  overflow: hidden;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(99,102,241,.15) 0%, transparent 60%),
              radial-gradient(ellipse at 70% 80%, rgba(249,115,22,.1) 0%, transparent 50%);
}
.hero__particles {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(2px 2px at 20px 30px, rgba(255,255,255,.15), transparent),
                    radial-gradient(2px 2px at 40px 70px, rgba(255,255,255,.1), transparent),
                    radial-gradient(1px 1px at 90px 40px, rgba(255,255,255,.12), transparent),
                    radial-gradient(1px 1px at 130px 80px, rgba(255,255,255,.08), transparent),
                    radial-gradient(2px 2px at 160px 30px, rgba(255,255,255,.15), transparent);
  background-size: 200px 100px;
  animation: particleFloat 20s linear infinite;
}
@keyframes particleFloat { to { transform: translateY(-100px); } }

.hero__container { position: relative; z-index: 2; padding-top: 6rem; }
.hero__content { max-width: 700px; }
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .5rem 1rem;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius-full);
  color: var(--secondary);
  font-size: var(--text-sm);
  font-weight: 500;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(10px);
}
.hero__title {
  font-size: var(--text-5xl);
  font-weight: 900;
  color: var(--white);
  margin-bottom: 1.5rem;
  line-height: 1.1;
}
.hero__description {
  font-size: var(--text-lg);
  color: rgba(255,255,255,.7);
  margin-bottom: 2.5rem;
  max-width: 550px;
}

/* Search bar */
.hero__search { margin-bottom: 3rem; }
.search__wrapper {
  display: flex;
  align-items: center;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: .5rem;
  box-shadow: var(--shadow-xl);
  max-width: 550px;
}
.search__icon { font-size: 1.25rem; color: var(--gray-400); margin: 0 .75rem; }
.search__input {
  flex: 1;
  border: none;
  outline: none;
  font-size: var(--text-base);
  color: var(--gray-800);
  padding: .5rem 0;
}
.search__input::placeholder { color: var(--gray-400); }
.search__btn {
  padding: .75rem 1.5rem;
  background: var(--primary);
  color: var(--white);
  font-weight: 600;
  font-size: var(--text-sm);
  border-radius: var(--radius-md);
  transition: background .3s;
}
.search__btn:hover { background: var(--primary-dark); }

/* Stats */
.hero__stats { display: flex; gap: 3rem; }
.stat__item { text-align: center; }
.stat__number { display: block; font-size: var(--text-2xl); font-weight: 800; color: var(--white); }
.stat__label { font-size: var(--text-sm); color: rgba(255,255,255,.5); }

/* Scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: 2rem; left: 50%;
  transform: translateX(-50%);
}
.hero__scroll-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border: 2px solid rgba(255,255,255,.3);
  border-radius: 50%;
  color: var(--white);
  animation: bounceDown 2s infinite;
}
@keyframes bounceDown {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(8px); }
  60% { transform: translateY(4px); }
}

/*============ SECTION HEADERS ===========*/
.section__header { text-align: center; margin-bottom: 3rem; }
.section__subtitle {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: .75rem;
}
.section__title { font-size: var(--text-3xl); margin-bottom: .75rem; }
.section__description { color: var(--gray-500); max-width: 600px; margin: 0 auto; }

/*============ EVENTS ===========*/
.events { background: var(--gray-50); }
.events__filters {
  display: flex;
  justify-content: center;
  gap: .5rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}
.filter__btn {
  padding: .5rem 1.25rem;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--gray-600);
  transition: all .3s;
}
.filter__btn:hover, .filter__btn.active {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.events__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.event__card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all .3s ease;
}
.event__card:hover { transform: translateY(-4px); box-shadow: var(--shadow-xl); }

.event__img-wrapper { position: relative; overflow: hidden; height: 200px; }
.event__img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.event__card:hover .event__img { transform: scale(1.05); }

.event__badge {
  position: absolute;
  top: 1rem; left: 1rem;
  padding: .25rem .75rem;
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--white);
}
.event__badge--hot { background: var(--danger); }
.event__badge--new { background: var(--success); }
.event__badge--lastchance { background: var(--warning); color: var(--gray-900); }

.event__fav {
  position: absolute;
  top: 1rem; right: 1rem;
  width: 36px; height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.9);
  border-radius: 50%;
  color: var(--gray-500);
  font-size: 1.1rem;
  transition: all .3s;
  backdrop-filter: blur(4px);
}
.event__fav:hover { color: var(--danger); transform: scale(1.1); }

.event__content { padding: 1.25rem; }
.event__meta { display: flex; justify-content: space-between; margin-bottom: .75rem; }
.event__category, .event__date {
  font-size: var(--text-xs);
  color: var(--gray-500);
  display: flex;
  align-items: center;
  gap: .25rem;
}
.event__category { color: var(--primary); font-weight: 500; }
.event__title { font-size: var(--text-lg); margin-bottom: .5rem; font-weight: 700; }
.event__location { font-size: var(--text-sm); color: var(--gray-500); margin-bottom: 1rem; display: flex; align-items: center; gap: .25rem; }

.event__footer { display: flex; justify-content: space-between; align-items: center; padding-top: 1rem; border-top: 1px solid var(--gray-100); }
.price__label { display: block; font-size: var(--text-xs); color: var(--gray-400); }
.price__amount { font-size: var(--text-xl); font-weight: 800; color: var(--gray-900); }
.event__btn {
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  padding: .5rem 1rem;
  background: var(--primary-bg);
  color: var(--primary);
  font-size: var(--text-sm);
  font-weight: 600;
  border-radius: var(--radius);
  transition: all .3s;
}
.event__btn:hover { background: var(--primary); color: var(--white); }

.events__cta { text-align: center; }

/*============ CATEGORIES ===========*/
.categories__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 1rem;
}
.category__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem 1rem;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  transition: all .3s;
  text-align: center;
}
.category__card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--cat-color, var(--primary));
}
.category__icon {
  width: 56px; height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--cat-color, var(--primary)) 10%, transparent);
  border-radius: var(--radius-md);
  font-size: 1.5rem;
  color: var(--cat-color, var(--primary));
  margin-bottom: .75rem;
}
.category__name { font-size: var(--text-sm); font-weight: 600; margin-bottom: .25rem; }
.category__count { font-size: var(--text-xs); color: var(--gray-400); }

/*============ HOW IT WORKS ===========*/
.howto { background: var(--gray-50); }
.howto__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
}
.howto__step {
  position: relative;
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.step__number {
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  width: 28px; height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: var(--white);
  font-size: var(--text-xs);
  font-weight: 700;
  border-radius: 50%;
}
.step__icon {
  width: 64px; height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-bg);
  border-radius: var(--radius-md);
  font-size: 1.75rem;
  color: var(--primary);
  margin: 0 auto 1rem;
}
.step__title { font-size: var(--text-lg); margin-bottom: .5rem; }
.step__description { font-size: var(--text-sm); color: var(--gray-500); }

/*============ PAYMENT ===========*/
.payment__wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  padding: 3rem;
  border-radius: var(--radius-xl);
  color: var(--white);
}
.payment__title { font-size: var(--text-2xl); color: var(--white); margin-bottom: .75rem; }
.payment__description { color: rgba(255,255,255,.8); max-width: 400px; }
.payment__description strong { color: var(--white); }
.payment__methods { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.payment__method {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  padding: 1rem 1.5rem;
  background: rgba(255,255,255,.15);
  border-radius: var(--radius-md);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.2);
}
.payment__method i { font-size: 1.75rem; }
.payment__method span { font-size: var(--text-xs); font-weight: 500; }
.payment__method--marketplace { justify-content: center; width: 11rem; min-width: 11rem; box-sizing: border-box; overflow: hidden; background: var(--white); }
.payment__logo { display: block; width: 8rem !important; max-width: 8rem !important; height: auto !important; object-fit: contain; }
.step__description strong { color: var(--primary-dark); font-weight: 700; }

/*============ ORGANIZER CTA ===========*/
.organizer__wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.organizer__title { font-size: var(--text-3xl); margin-bottom: 1rem; }
.organizer__description { color: var(--gray-500); margin-bottom: 1.5rem; }
.organizer__features { margin-bottom: 2rem; }
.organizer__features li {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: var(--text-sm);
  color: var(--gray-600);
  margin-bottom: .5rem;
}
.organizer__features li i { color: var(--success); font-size: 1.1rem; }
.organizer__img-wrapper { border-radius: var(--radius-xl); overflow: hidden; }
.organizer__img { width: 100%; height: 400px; object-fit: cover; }

/*============ CONTACT ===========*/
.contact { background: var(--gray-50); }
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
  align-items: start;
}
.contact__item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.contact__icon {
  width: 48px; height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-bg);
  border-radius: var(--radius-md);
  color: var(--primary);
  font-size: 1.25rem;
}
.contact__item h4 { font-size: var(--text-sm); margin-bottom: .15rem; }
.contact__item p { font-size: var(--text-sm); color: var(--gray-500); }
.contact__social { display: flex; gap: .75rem; margin-top: 1rem; }
.social__link {
  width: 40px; height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 50%;
  color: var(--gray-600);
  font-size: 1.1rem;
  transition: all .3s;
}
.social__link:hover { background: var(--primary); color: var(--white); border-color: var(--primary); }

.contact__form {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.form__group { margin-bottom: 1rem; }
.form__input {
  width: 100%;
  padding: .75rem 1rem;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  font-size: var(--text-sm);
  transition: border-color .3s;
  color: var(--gray-800);
  background: var(--white);
}
.form__input:focus { border-color: var(--primary); outline: none; box-shadow: 0 0 0 3px var(--primary-bg); }
.form__textarea { resize: vertical; min-height: 100px; }
.form__select { appearance: none; cursor: pointer; }

/*============ FOOTER ===========*/
.footer {
  background: var(--gray-900);
  color: var(--gray-400);
  padding: 4rem 0 0;
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--gray-700);
}
.footer__logo {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 1rem;
}
.footer__logo img { height: 44px; width: auto; display: block; }
.footer__logo i { color: var(--primary-light); }
.footer__description { font-size: var(--text-sm); line-height: 1.7; margin-bottom: 1.5rem; }
.footer__social { display: flex; gap: .75rem; }
.footer__social a {
  width: 36px; height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gray-800);
  border-radius: 50%;
  color: var(--gray-400);
  transition: all .3s;
}
.footer__social a:hover { background: var(--primary); color: var(--white); }
.footer__links h4 { color: var(--white); font-size: var(--text-sm); margin-bottom: 1rem; }
.footer__links li { margin-bottom: .5rem; }
.footer__links a { font-size: var(--text-sm); transition: color .3s; }
.footer__links a:hover { color: var(--primary-light); }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
}
.footer__bottom p { font-size: var(--text-sm); }
.footer__payment-icons { display: flex; gap: 1rem; font-size: 1.5rem; color: var(--gray-500); }

/*============ RESPONSIVE ===========*/
@media screen and (max-width: 1024px) {
  .organizer__wrapper { grid-template-columns: 1fr; }
  .organizer__img-wrapper { order: -1; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media screen and (max-width: 768px) {
  .hero__title { font-size: var(--text-3xl); }
  .hero__stats { gap: 1.5rem; }
  .events__grid { grid-template-columns: 1fr; }
  .contact__grid { grid-template-columns: 1fr; }
  .payment__wrapper { flex-direction: column; text-align: center; padding: 2rem; }
  .payment__methods { justify-content: center; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; gap: 1rem; text-align: center; }

  /* Mobile menu */
  .nav__menu {
    position: fixed;
    top: 0;
    right: 0;
    width: min(84vw, 320px);
    height: 100vh;
    height: 100dvh;
    background: var(--white);
    box-shadow: var(--shadow-xl);
    padding: 4rem 2rem;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform .4s ease;
    z-index: var(--z-modal);
  }
  .nav__menu.show-menu { transform: translateX(0); }
  .nav__list { flex-direction: column; align-items: flex-start; gap: 1.5rem; }
  .nav__link { font-size: var(--text-lg); }
  .nav__close { display: block; position: absolute; top: 1.5rem; right: 1.5rem; font-size: 1.5rem; }
  .nav__toggle { display: block; }
  .nav__btns .button--ghost, .nav__btns .button--small { display: none; }
  .nav__mobile-actions {
    display: grid;
    gap: .75rem;
    margin-top: 2rem;
  }
  .nav__mobile-actions .button {
    width: 100%;
    justify-content: center;
  }
  .nav__overlay {
    position: fixed;
    inset: 0;
    background: rgb(17 24 39 / .45);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .3s ease, visibility .3s ease;
    z-index: calc(var(--z-modal) - 1);
  }
  .nav__overlay.show-overlay {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  body.menu-open { overflow: hidden; }
}

@media screen and (min-width: 769px) {
  .nav__mobile-actions { display: none; }
}

@media screen and (max-width: 480px) {
  .hero__title { font-size: var(--text-2xl); }
  .categories__grid { grid-template-columns: repeat(2, 1fr); }
  .howto__grid { grid-template-columns: 1fr; }
}

/*============ FUTURISTIC VISUAL REFRESH ===========*/
:root {
  --primary: #625bff;
  --primary-dark: #4a43df;
  --primary-light: #aaa5ff;
  --primary-bg: #f0efff;
  --accent: #22d3ee;
}

.text-gradient {
  background-image: linear-gradient(100deg, #a5f3fc 5%, #7c83ff 55%, #c4a5ff 100%);
}

.header {
  background: rgba(9, 12, 29, .84);
  border-bottom-color: rgba(169, 184, 255, .13);
}
.header.scroll-header { box-shadow: 0 12px 40px rgba(6, 9, 26, .24); }
.nav__link { color: #c6cce0; }
.nav__link:hover, .nav__link.active-link { color: #73e9fa; }
.nav__link::after { background: #54deef; }
.nav__btns .button--ghost {
  color: #f4f6ff;
  border-color: rgba(216, 224, 255, .3);
}
.nav__btns .button--ghost:hover {
  color: #8af0fa;
  border-color: #54deef;
  background: rgba(84, 222, 239, .08);
}
.nav__logo img { filter: drop-shadow(0 0 10px rgba(99, 230, 245, .12)); }

.hero {
  min-height: max(720px, 100vh);
  background:
    radial-gradient(ellipse at 79% 46%, rgba(80, 73, 223, .24), transparent 34%),
    linear-gradient(122deg, #080b18 0%, #11152d 53%, #10172a 100%);
}
.hero__overlay {
  background:
    linear-gradient(rgba(138, 158, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(138, 158, 255, .045) 1px, transparent 1px),
    radial-gradient(ellipse at 24% 40%, rgba(58, 217, 240, .1), transparent 44%);
  background-size: 56px 56px, 56px 56px, auto;
  mask-image: linear-gradient(to bottom, black 0%, rgba(0, 0, 0, .7) 72%, transparent 100%);
}
.hero__particles { opacity: .48; }
.hero__container {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr);
  align-items: center;
  gap: 1rem;
  width: 100%;
  padding-top: calc(var(--header-height) + 2rem);
  padding-bottom: 5rem;
}
.hero__content { max-width: 680px; }
.hero__badge {
  color: #a5f3fc;
  background: rgba(41, 211, 232, .08);
  border-color: rgba(100, 230, 246, .26);
  letter-spacing: .04em;
}
.hero__badge i { color: #57e4f3; }
.hero__title { font-size: clamp(3.2rem, 5.4vw, 5rem); letter-spacing: -.055em; }
.hero__description { color: #b4bfd5; max-width: 520px; }
.search__status { min-height: 1.25rem; padding: .35rem .75rem 0; color: #a5f3fc; font-size: .78rem; }
.search__wrapper {
  background: rgba(255, 255, 255, .97);
  border: 1px solid rgba(181, 190, 255, .38);
  box-shadow: 0 18px 60px rgba(3, 5, 20, .34), 0 0 35px rgba(79, 205, 235, .09);
}
.search__btn, .button:not(.button--ghost):not(.button--outline) {
  background: linear-gradient(115deg, #6960ff, #4a86f7);
  box-shadow: 0 8px 26px rgba(88, 91, 255, .24);
}
.search__btn:hover, .button:not(.button--ghost):not(.button--outline):hover {
  background: linear-gradient(115deg, #5750e8, #3676e5);
}
.hero__stats { gap: clamp(1.25rem, 3vw, 3rem); }
.stat__item { text-align: left; }
.stat__number { font-size: 1.15rem; }
.stat__label { color: #8f9ab3; }

.hero__visual {
  position: relative;
  display: grid;
  min-height: 440px;
  place-items: center;
  isolation: isolate;
}
.hero__orbit {
  position: absolute;
  z-index: -1;
  border: 1px solid rgba(113, 205, 246, .16);
  border-radius: 50%;
  transform: rotate(-27deg);
}
.hero__orbit--outer { width: 390px; height: 245px; box-shadow: 0 0 42px rgba(77, 117, 244, .08); }
.hero__orbit--inner { width: 330px; height: 190px; border-color: rgba(167, 146, 255, .2); transform: rotate(38deg); }
.hero__ticket {
  position: relative;
  width: min(292px, 78%);
  padding: 1.2rem;
  overflow: hidden;
  color: #eef4ff;
  background: linear-gradient(145deg, rgba(34, 43, 76, .93), rgba(17, 24, 48, .94));
  border: 1px solid rgba(179, 197, 255, .28);
  border-radius: 22px;
  box-shadow: 0 28px 80px rgba(1, 4, 17, .45), 0 0 45px rgba(86, 109, 255, .17);
  transform: rotate(5deg);
}
.hero__ticket::before {
  position: absolute;
  top: 3.4rem;
  right: -2.7rem;
  width: 9rem;
  height: 9rem;
  content: "";
  border: 1px solid rgba(83, 219, 240, .16);
  border-radius: 50%;
  box-shadow: 0 0 0 15px rgba(83, 219, 240, .025), 0 0 0 32px rgba(83, 219, 240, .02);
}
.hero__ticket-top, .hero__ticket-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.hero__ticket-top {
  color: #a8b7d5;
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .12em;
}
.hero__ticket-top > i { font-size: 1rem; }
.hero__ticket-mark {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  color: #11172c;
  background: linear-gradient(135deg, #62e5ef, #99b5ff);
  border-radius: 9px;
  font-size: 1rem;
}
.hero__ticket-art {
  display: grid;
  width: 52px;
  height: 52px;
  margin: 1.3rem 0 .85rem;
  place-items: center;
  color: #72e6f4;
  background: rgba(90, 211, 239, .09);
  border: 1px solid rgba(90, 211, 239, .17);
  border-radius: 16px;
  font-size: 1.6rem;
}
.hero__ticket-label { color: #89dfe9; font-size: .57rem; letter-spacing: .15em; }
.hero__ticket-title {
  display: block;
  margin: .35rem 0 1.15rem;
  font-size: 1.75rem;
  line-height: 1.04;
  letter-spacing: -.04em;
}
.hero__ticket-bottom {
  padding-top: .9rem;
  color: #aab6cc;
  border-top: 1px dashed rgba(190, 201, 230, .3);
  font-size: .65rem;
}
.hero__ticket-bottom > span:first-child { display: flex; align-items: center; gap: .3rem; }
.hero__ticket-bottom i { color: #70e8c1; }
.hero__ticket-code {
  width: 41px;
  height: 41px;
  background:
    repeating-conic-gradient(#e9f8ff 0 25%, transparent 0 50%) 0 0 / 8px 8px,
    #15203c;
  border: 4px solid #f1f7ff;
  border-radius: 5px;
}
.hero__signal {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .6rem .8rem;
  color: #cad7f0;
  background: rgba(21, 29, 55, .82);
  border: 1px solid rgba(177, 196, 255, .17);
  border-radius: 10px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, .22);
  font-size: .56rem;
  font-weight: 700;
  letter-spacing: .08em;
}
.hero__signal i { color: #68e3ef; font-size: .9rem; }
.hero__signal--top { top: 18%; right: 0; }
.hero__signal--bottom { bottom: 17%; left: 0; }
.hero__scroll-link { border-color: rgba(127, 224, 242, .38); color: #9debf4; }

.section__subtitle { color: #514ae4; }
.section__title { letter-spacing: -.035em; }
.events {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(91, 97, 255, .13), transparent 48%),
    #0b1020;
}
.events .section__title, .events .section__subtitle { color: #f1f4ff; }
.events .section__description { color: #9eaac2; }
.events .section__subtitle { color: #77e7f2; }
.events .filter__btn {
  color: #b4bfd3;
  background: rgba(255, 255, 255, .045);
  border-color: rgba(190, 202, 235, .15);
}
.events .filter__btn:hover, .events .filter__btn.active {
  color: #fff;
  background: linear-gradient(110deg, #625bff, #437de8);
  border-color: transparent;
}
.events__grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 310px), 1fr)); gap: 1.35rem; }
.event__card {
  color: #e7ecfa;
  background: linear-gradient(150deg, #171e32, #111727);
  border: 1px solid rgba(180, 193, 230, .12);
  border-radius: 18px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, .18);
}
.event__card:hover {
  border-color: rgba(107, 218, 241, .35);
  box-shadow: 0 24px 55px rgba(0, 0, 0, .28), 0 0 28px rgba(75, 201, 231, .07);
}
.event__img-wrapper {
  height: 220px;
  background:
    linear-gradient(135deg, rgba(78, 70, 207, .18), rgba(31, 160, 185, .08)),
    repeating-linear-gradient(135deg, transparent 0 17px, rgba(255, 255, 255, .025) 17px 18px),
    #171e32;
}
.event__img { filter: saturate(.9); }
.event__meta { gap: .5rem; }
.event__category { color: #8f8aff; }
.event__date, .event__location, .price__label { color: #9ba8bf; }
.event__title, .price__amount { color: #f3f5ff; }
.event__footer { border-top-color: rgba(185, 197, 229, .12); }
.event__btn {
  color: #a6f2f7;
  background: rgba(61, 205, 224, .1);
  border: 1px solid rgba(83, 222, 237, .17);
}
.event__btn:hover { color: #10172c; background: #71e1ed; }
.events__cta .button--outline { color: #9aafff; border-color: rgba(154, 175, 255, .55); }
.events__cta .button--outline:hover { color: #fff; background: #625bff; }

.categories { background: #f7f8ff; }
.category__card {
  background: rgba(255, 255, 255, .82);
  border-color: #e7e9f5;
  border-radius: 18px;
}
.category__card:hover { box-shadow: 0 18px 42px rgba(47, 59, 112, .1); }
.category__icon { border-radius: 16px; }
.howto {
  background:
    radial-gradient(ellipse at 50% 100%, rgba(122, 128, 255, .1), transparent 48%),
    #eef1fa;
}
.howto__step {
  border: 1px solid rgba(101, 111, 170, .1);
  border-radius: 18px;
  box-shadow: 0 12px 36px rgba(34, 45, 93, .06);
  transition: transform .25s ease, box-shadow .25s ease;
}
.howto__step:hover { transform: translateY(-5px); box-shadow: 0 18px 42px rgba(34, 45, 93, .11); }
.step__icon {
  color: #625bff;
  background: linear-gradient(145deg, #f1efff, #e5faff);
  border: 1px solid #e6e5ff;
  border-radius: 18px;
}
.payment__wrapper {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 85% 20%, rgba(52, 220, 233, .2), transparent 30%),
    linear-gradient(118deg, #171b3d, #3434a2 60%, #334ea8);
  border: 1px solid rgba(112, 190, 255, .23);
  box-shadow: 0 22px 55px rgba(37, 46, 130, .17);
}
.payment__wrapper::after {
  position: absolute;
  top: -115px;
  right: -70px;
  width: 290px;
  height: 290px;
  content: "";
  border: 1px solid rgba(133, 222, 255, .2);
  border-radius: 50%;
  box-shadow: 0 0 0 24px rgba(133, 222, 255, .035), 0 0 0 50px rgba(133, 222, 255, .025);
  pointer-events: none;
}
.payment__content, .payment__methods { position: relative; z-index: 1; }
.payment__method { border-radius: 14px; }
.organizer__wrapper {
  padding: 2rem;
  background: linear-gradient(135deg, #f5f4ff, #eefbff);
  border: 1px solid #e7e8f7;
  border-radius: 24px;
}
.organizer__img-wrapper { border-radius: 18px; }
.contact { background: #f6f7fb; }
.contact__form {
  border: 1px solid #e8eaf3;
  border-radius: 18px;
  box-shadow: 0 18px 48px rgba(36, 45, 89, .07);
}
.contact__icon { background: linear-gradient(145deg, #eeeefe, #e4f9fc); }
.footer { background: #090d1a; }
.footer__bottom { border-top: 1px solid rgba(180, 192, 220, .1); }

@media screen and (max-width: 900px) {
  .hero__container { grid-template-columns: minmax(0, 1fr) minmax(250px, .75fr); }
  .hero__title { font-size: clamp(3rem, 6vw, 4rem); }
  .hero__orbit--outer { width: 320px; }
  .hero__orbit--inner { width: 280px; }
  .hero__signal--top { right: -1rem; }
}

@media screen and (max-width: 768px) {
  .hero { min-height: 760px; }
  .hero__container { display: block; padding-top: 8rem; }
  .hero__visual { display: none; }
  .hero__title { font-size: clamp(2.8rem, 10vw, 4rem); }
  .hero__stats { flex-wrap: wrap; row-gap: 1rem; }
  .stat__item { min-width: 115px; }
  .organizer__wrapper { padding: 1.25rem; }
}

@media screen and (max-width: 480px) {
  .hero { min-height: 720px; }
  .hero__container { padding-top: 7rem; }
  .hero__title { font-size: 2.65rem; }
  .hero__description { font-size: 1rem; }
  .hero__stats { gap: 1rem; }
  .stat__number { font-size: 1rem; }
  .stat__label { font-size: .72rem; }
  .search__wrapper { padding: .35rem; }
  .search__icon { margin: 0 .5rem; }
  .search__input { min-width: 0; font-size: .85rem; }
  .search__btn { padding: .7rem .85rem; }
  .payment__wrapper { padding: 1.5rem 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__particles, .hero__scroll-link { animation: none; }
  .event__card, .howto__step, .button { transition: none; }
}
