/* ==========================================================================
   Gig Advisor theme — "Stage Lights" modern style
   Layout, header, hero, homepage, footer
   ========================================================================== */

:root {
  --ga-ink: #130f2b;
  --ga-ink-2: #1d1742;
  --ga-primary: #6d28d9;
  --ga-primary-600: #7c3aed;
  --ga-primary-700: #5b21b6;
  --ga-magenta: #db2777;
  --ga-amber: #f59e0b;
  --ga-grad: linear-gradient(120deg, #7c3aed 0%, #db2777 55%, #f59e0b 100%);
  --ga-grad-soft: linear-gradient(120deg, rgba(124, 58, 237, 0.12), rgba(219, 39, 119, 0.10), rgba(245, 158, 11, 0.10));
  --ga-success: #16a34a;
  --ga-warning: #d97706;
  --ga-danger: #dc2626;
  --ga-bg: #f6f5fb;
  --ga-card: #ffffff;
  --ga-text: #1b1530;
  --ga-muted: #6b6880;
  --ga-border: #ece9f4;
  --ga-radius: 16px;
  --ga-radius-lg: 24px;
  --ga-shadow: 0 14px 40px -18px rgba(76, 29, 149, 0.28);
  --ga-shadow-sm: 0 6px 20px -12px rgba(76, 29, 149, 0.22);
}

* { box-sizing: border-box; }

body {
  font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
  background: var(--ga-bg);
  color: var(--ga-text);
  line-height: 1.55;
  margin: 0;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--ga-primary); }

.ga-main { min-height: 60vh; }

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* ---------- Header ---------- */
.ga-site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--ga-border);
}

.ga-site-header__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.ga-logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: var(--ga-text);
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: -0.02em;
}

.ga-logo__mark {
  flex: none;
  filter: drop-shadow(0 4px 10px rgba(124, 58, 237, 0.35));
  transition: transform 0.25s ease;
}

.ga-logo:hover .ga-logo__mark { transform: rotate(-6deg) scale(1.05); }

.ga-logo__text { display: inline-flex; }
.ga-logo__text-accent {
  background: var(--ga-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.ga-logo--footer { color: #fff; margin-bottom: 14px; font-size: 1.25rem; }
.ga-logo--footer .ga-logo__text { color: #fff; }

.ga-site-nav .ga-nav {
  display: flex;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.ga-site-nav a {
  display: inline-block;
  text-decoration: none;
  color: var(--ga-muted);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 8px 14px;
  border-radius: 10px;
  transition: color 0.15s, background 0.15s;
}

.ga-site-nav a:hover {
  color: var(--ga-primary);
  background: var(--ga-grad-soft);
}

.ga-header-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
}

/* Hamburger */
.ga-nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.ga-nav-toggle__bar {
  width: 24px;
  height: 2.5px;
  border-radius: 2px;
  background: var(--ga-text);
  transition: transform 0.2s, opacity 0.2s;
}

.ga-nav-toggle[aria-expanded="true"] .ga-nav-toggle__bar:nth-child(2) { opacity: 0; }
.ga-nav-toggle[aria-expanded="true"] .ga-nav-toggle__bar:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.ga-nav-toggle[aria-expanded="true"] .ga-nav-toggle__bar:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.ga-mobile-nav {
  background: #fff;
  border-top: 1px solid var(--ga-border);
  padding: 16px 24px 24px;
}

.ga-mobile-nav .ga-nav {
  flex-direction: column;
  gap: 4px;
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
}

.ga-mobile-nav .ga-nav a {
  display: block;
  padding: 12px 14px;
  border-radius: 10px;
  text-decoration: none;
  color: var(--ga-text);
  font-weight: 600;
}

.ga-mobile-nav .ga-nav a:hover { background: var(--ga-grad-soft); color: var(--ga-primary); }

.ga-mobile-nav__actions { display: grid; gap: 10px; }

@media (max-width: 860px) {
  .ga-site-nav,
  .ga-header-actions { display: none; }
  .ga-nav-toggle { display: flex; }
  .ga-mobile-nav:not([hidden]) { display: block; }
}

/* ---------- Buttons ---------- */
.ga-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s, color 0.15s;
  font-family: inherit;
}

.ga-btn--primary {
  background-image: var(--ga-grad);
  background-size: 140% 140%;
  background-position: 0% 50%;
  color: #fff;
  box-shadow: 0 12px 26px -12px rgba(124, 58, 237, 0.65);
}

.ga-btn--primary:hover {
  color: #fff;
  background-position: 100% 50%;
  transform: translateY(-2px);
  box-shadow: 0 16px 30px -12px rgba(219, 39, 119, 0.6);
}

.ga-btn--secondary {
  background: #fff;
  color: var(--ga-primary);
  border: 1.5px solid var(--ga-border);
}

.ga-btn--secondary:hover {
  border-color: var(--ga-primary);
  color: var(--ga-primary-700);
  transform: translateY(-2px);
}

.ga-btn--ghost {
  background: transparent;
  color: var(--ga-text);
}

.ga-btn--ghost:hover { color: var(--ga-primary); background: var(--ga-grad-soft); }

.ga-btn--block { width: 100%; }

.ga-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Hero ---------- */
.ga-hero {
  position: relative;
  overflow: visible;
  background:
    radial-gradient(60% 90% at 15% 10%, rgba(124, 58, 237, 0.55), transparent 60%),
    radial-gradient(50% 80% at 85% 20%, rgba(219, 39, 119, 0.45), transparent 55%),
    radial-gradient(60% 90% at 70% 100%, rgba(245, 158, 11, 0.30), transparent 55%),
    linear-gradient(160deg, #181140 0%, #130f2b 60%, #0d0a20 100%);
  color: #fff;
  padding: 96px 0 0;
  text-align: center;
}

.ga-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 26px 26px;
  opacity: 0.5;
  pointer-events: none;
}

.ga-hero__content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px;
}

.ga-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 22px;
  backdrop-filter: blur(6px);
}

.ga-eyebrow__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ga-amber);
  box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.3);
}

.ga-hero h1 {
  font-size: clamp(2.2rem, 6vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 0 0 18px;
  font-weight: 800;
}

.ga-hero h1 em {
  font-style: normal;
  background: linear-gradient(100deg, #f59e0b, #fb7185, #c4b5fd);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.ga-hero p {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.82);
  margin: 0 auto 34px;
  max-width: 580px;
}

.ga-hero-search {
  background: #fff;
  border-radius: 18px;
  padding: 9px;
  display: flex;
  gap: 8px;
  max-width: 580px;
  margin: 0 auto;
  box-shadow: 0 24px 50px -20px rgba(0, 0, 0, 0.5);
  position: relative;
  z-index: 5;
  align-items: stretch;
}

.ga-hero-search .ga-venue-search {
  flex: 1;
  min-width: 0;
}

.ga-hero-search .ga-venue-search__field {
  width: 100%;
  height: 100%;
}

.ga-hero-search .ga-venue-search__input,
.ga-hero-search input[type="search"] {
  flex: 1;
  border: none;
  padding: 15px 18px;
  border-radius: 12px;
  background: #f6f5fb;
  font-family: inherit;
  font-size: 1rem;
  color: var(--ga-text);
  width: 100%;
  height: 100%;
}

.ga-hero-search .ga-venue-search__input:focus,
.ga-hero-search input[type="search"]:focus { outline: 2px solid var(--ga-primary-600); }
.ga-hero-search .ga-btn { padding: 15px 28px; flex-shrink: 0; }

.ga-hero-search .ga-venue-search__results {
  z-index: 40;
}

.ga-hero__chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 22px;
}

.ga-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 15px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  transition: background 0.15s, transform 0.15s;
}

.ga-chip:hover { background: rgba(255, 255, 255, 0.18); color: #fff; transform: translateY(-2px); }

/* Hero wave divider */
.ga-hero__wave {
  position: relative;
  z-index: 1;
  line-height: 0;
  margin-top: 56px;
  width: 100%;
}

.ga-hero__wave svg {
  display: block;
  width: 100%;
  height: 48px;
}

.ga-hero + .ga-section {
  margin-top: 10px;
}

/* ---------- Sections ---------- */
.ga-section { padding: 80px 24px; }
.ga-section--white { background: #fff; }
.ga-section--tint { background: linear-gradient(180deg, #fff 0%, var(--ga-bg) 100%); }

.ga-section__title {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}

.ga-section__eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ga-magenta);
  margin-bottom: 12px;
}

.ga-section__title h2 {
  color: var(--ga-text);
  margin: 0 0 12px;
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  letter-spacing: -0.02em;
  font-weight: 800;
}

.ga-section__title p {
  color: var(--ga-muted);
  margin: 0;
  font-size: 1.05rem;
}

/* Features */
.ga-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
}

.ga-feature {
  background: #fff;
  border: 1px solid var(--ga-border);
  border-radius: var(--ga-radius);
  padding: 30px;
  box-shadow: var(--ga-shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s;
}

.ga-feature:hover { transform: translateY(-4px); box-shadow: var(--ga-shadow); }

.ga-section--white .ga-feature { background: var(--ga-bg); }

.ga-feature__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  font-size: 1.6rem;
  border-radius: 14px;
  background: var(--ga-grad-soft);
  margin-bottom: 18px;
}

.ga-feature h3 {
  color: var(--ga-text);
  margin: 0 0 8px;
  font-size: 1.15rem;
  font-weight: 700;
}

.ga-feature p { color: var(--ga-muted); margin: 0; font-size: 0.97rem; }

/* How it works */
.ga-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 22px;
  counter-reset: ga-step;
}

.ga-step {
  position: relative;
  background: #fff;
  border: 1px solid var(--ga-border);
  border-radius: var(--ga-radius);
  padding: 32px 28px 28px;
  box-shadow: var(--ga-shadow-sm);
}

.ga-step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background-image: var(--ga-grad);
  color: #fff;
  font-weight: 800;
  font-size: 1.15rem;
  margin-bottom: 16px;
  box-shadow: 0 10px 22px -10px rgba(124, 58, 237, 0.7);
}

.ga-step h3 { margin: 0 0 8px; font-size: 1.15rem; font-weight: 700; }
.ga-step p { margin: 0; color: var(--ga-muted); font-size: 0.97rem; }

/* CTA split */
.ga-cta-split { padding: 80px 24px; background: var(--ga-bg); }

.ga-cta-split__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.ga-cta-box {
  position: relative;
  overflow: hidden;
  border-radius: var(--ga-radius-lg);
  padding: 40px;
  color: #fff;
  background: linear-gradient(155deg, var(--ga-ink-2), var(--ga-ink));
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.ga-cta-box::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -20%;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: var(--ga-grad);
  opacity: 0.25;
  filter: blur(10px);
}

.ga-cta-box > * { position: relative; z-index: 1; }
.ga-cta-box h3 { margin: 0 0 12px; font-size: 1.4rem; font-weight: 800; }
.ga-cta-box p { color: rgba(255, 255, 255, 0.82); margin: 0 0 24px; }

/* Closing CTA band */
.ga-cta-band {
  position: relative;
  overflow: hidden;
  text-align: center;
  color: #fff;
  padding: 72px 24px;
  background:
    radial-gradient(60% 120% at 20% 0%, rgba(124, 58, 237, 0.6), transparent 60%),
    radial-gradient(60% 120% at 90% 100%, rgba(245, 158, 11, 0.4), transparent 60%),
    linear-gradient(120deg, #2a1163, #4c1d95);
}

.ga-cta-band h2 {
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
}

.ga-cta-band p { color: rgba(255, 255, 255, 0.85); margin: 0 auto 28px; max-width: 520px; }
.ga-cta-band .ga-btn--secondary { background: #fff; border-color: #fff; }

@media (max-width: 768px) {
  .ga-cta-split__inner { grid-template-columns: 1fr; }
  .ga-hero-search { flex-direction: column; }
  .ga-section { padding: 60px 20px; }
}

/* ---------- Footer ---------- */
.ga-site-footer {
  position: relative;
  background: var(--ga-ink);
  color: rgba(255, 255, 255, 0.72);
  padding: 64px 24px 28px;
}

.ga-site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background-image: var(--ga-grad);
}

.ga-site-footer__grid {
  max-width: 1200px;
  margin: 0 auto 44px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
}

.ga-site-footer h4 {
  color: #fff;
  margin: 0 0 16px;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ga-site-footer ul { list-style: none; margin: 0; padding: 0; }
.ga-site-footer li { margin-bottom: 10px; }

.ga-site-footer a { color: rgba(255, 255, 255, 0.68); text-decoration: none; transition: color 0.15s; }
.ga-site-footer a:hover { color: #fff; }

.ga-site-footer__brand p { opacity: 0.7; font-size: 0.95rem; max-width: 300px; margin: 0; }

.ga-site-footer__bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.55;
}

.ga-site-footer__legal {
  display: inline-flex;
  gap: 14px;
  margin-left: 14px;
}

.ga-site-footer__legal a {
  color: rgba(255, 255, 255, 0.68);
  text-decoration: none;
}

.ga-site-footer__legal a:hover {
  color: #fff;
}

@media (max-width: 768px) {
  .ga-site-footer__grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ---------- Page content ---------- */
.ga-page-content { padding: 56px 24px 72px; }
.ga-page-content--narrow { max-width: 720px; }

.ga-page-header { margin-bottom: 32px; }
.ga-page-header h1 {
  color: var(--ga-text);
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  letter-spacing: -0.02em;
}

.ga-page-header--center { text-align: center; margin-bottom: 36px; }
.ga-page-intro { color: var(--ga-muted); margin: 10px 0 0; font-size: 1.05rem; }
.ga-entry-content { max-width: 800px; }

.custom-logo-link img { max-height: 44px; width: auto; }

/* ---------- Auth page (sign up) ---------- */
.ga-auth-page {
  position: relative;
  overflow: hidden;
  padding: 56px 24px 80px;
  min-height: calc(100vh - 72px);
  color: #fff;
}

.ga-auth-page__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(55% 80% at 15% 8%, rgba(124, 58, 237, 0.55), transparent 60%),
    radial-gradient(50% 75% at 88% 18%, rgba(219, 39, 119, 0.45), transparent 55%),
    radial-gradient(60% 90% at 75% 100%, rgba(245, 158, 11, 0.30), transparent 55%),
    linear-gradient(160deg, #181140 0%, #130f2b 60%, #0d0a20 100%);
  z-index: 0;
}

.ga-auth-page__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 26px 26px;
  opacity: 0.5;
}

.ga-auth-page__inner {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
}

.ga-auth-page__header {
  text-align: center;
  margin-bottom: 28px;
}

.ga-auth-page__header .ga-logo__mark {
  width: 56px;
  height: 56px;
  margin: 0 auto 18px;
  display: block;
  filter: drop-shadow(0 6px 16px rgba(124, 58, 237, 0.45));
}

.ga-auth-page__header h1 {
  margin: 0 0 10px;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.ga-auth-page__header p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.05rem;
}

.ga-auth-page__card {
  background: #fff;
  border-radius: 22px;
  padding: 36px 32px;
  box-shadow: 0 24px 60px -22px rgba(0, 0, 0, 0.55);
  color: var(--ga-text);
}

.ga-auth-page__card .ga-signup { max-width: none; margin: 0; }

@media (max-width: 600px) {
  .ga-auth-page { padding: 40px 16px 64px; }
  .ga-auth-page__card { padding: 24px 20px; }
}
