/*******************************************************
 * LANDING PAGE — GLASSY GOLD PREMIUM UI
 * Color palette:
 * Gold: #f5dd66
 * Dark Gold: #dab241
 * Black: #000
 * Soft White: #ffffff
 *******************************************************/

/* THEME VARIABLES (needed for var() usage) */
:root {
  --gold-light: #f5dd66;
  --gold-dark: #dab241;
  --gold-soft: rgba(245, 221, 102, 0.16);
  --gold-border: rgba(245, 221, 102, 0.22);
  --gold-border-strong: rgba(245, 221, 102, 0.45);
  --text-soft: rgba(255, 255, 255, 0.82);
  --text-muted: rgba(255, 255, 255, 0.65);
  --glass-dark: rgba(0, 0, 0, 0.78);
}

/* GLOBAL RESETS */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background: #000;
  color: #fff;
  overflow-x: hidden;
}

/* PAGE CONTAINER */
.lp-container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 1.4rem;
}

/*******************************************************
 * HERO SECTION
 *******************************************************/
.lp-hero {
  position: relative;
  min-height: 90vh;
  background: url("/assets/img/hero-image.jpg") center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lp-hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(
      circle at 10% 0%,
      rgba(245, 221, 102, 0.26),
      transparent 55%
    ),
    rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(8px);
}

.lp-hero-content {
  position: relative;
  text-align: center;
  max-width: 960px;
  padding: 2.4rem 1.2rem 3.2rem;
  animation: fadeInUp 0.9s ease;
}

.lp-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.8rem;
  border-radius: 999px;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: rgba(0, 0, 0, 0.7);
  border: 1px solid var(--gold-border);
  color: var(--text-muted);
  margin-bottom: 0.9rem;
}

.lp-hero-eyebrow span.lp-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 12px rgba(34, 197, 94, 0.75);
}

.lp-hero-title {
  font-size: 3.1rem;
  line-height: 1.15;
  font-weight: 800;
  color: var(--gold-light);
  text-shadow: 0 0 18px rgba(245, 221, 102, 0.5);
  margin-bottom: 0.5rem;
}

.lp-hero-subtitle {
  margin-top: 0.2rem;
  font-size: 1rem;
  color: var(--text-soft);
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

/*******************************************************
 * SEARCH BAR + MAIN BUTTONS
 *******************************************************/
.lp-search-bar {
  margin: 2rem auto 1.3rem;
  max-width: 720px;
  background: rgba(0, 0, 0, 0.7);
  border: 1px solid var(--gold-border);
  border-radius: 14px;
  display: flex;
  align-items: center;
  padding: 0.65rem 0.9rem;
  gap: 0.6rem;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.85);
}

.lp-search-bar i {
  color: var(--gold-light);
  width: 18px;
  height: 18px;
}

.lp-search-bar input {
  flex: 1;
  background: transparent;
  border: none;
  color: #fff;
  outline: none;
  font-size: 0.98rem;
}

.lp-search-bar input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.lp-search-bar button,
.lp-browse-btn,
.lp-organizer-btn,
.lp-final-btn {
  padding: 0.6rem 1.3rem;
  background: linear-gradient(
    135deg,
    var(--gold-light),
    var(--gold-dark)
  ) !important;
  color: #000 !important;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: 0.28s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.lp-search-bar button:hover,
.lp-browse-btn:hover,
.lp-organizer-btn:hover,
.lp-final-btn:hover {
  opacity: 0.95;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(245, 221, 102, 0.45);
}

/*******************************************************
 * HERO CATEGORIES
 *******************************************************/
.lp-hero-categories {
  margin-top: 1.7rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  align-items: center;
}

.lp-hero-categories p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.lp-category-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem;
}

.lp-category-chip {
  border: 1px solid rgba(245, 221, 102, 0.5);
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  font-size: 0.8rem;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  cursor: pointer;
  transition: 0.2s ease;
}

.lp-category-chip i {
  width: 16px;
  height: 16px;
  color: var(--gold-light);
}

.lp-category-chip:hover {
  background: rgba(245, 221, 102, 0.1);
}

.lp-category-chip.is-active {
  background: var(--gold-light);
  color: #000;
}

/* Dropdown (mobile) */
.lp-category-select-wrapper {
  display: none;
}

.lp-category-select {
  width: 100%;
  max-width: 260px;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(245, 221, 102, 0.7);
  background: rgba(0, 0, 0, 0.8);
  color: var(--gold-light);
  font-size: 0.85rem;
}

/*******************************************************
 * SECTION WRAPPER
 *******************************************************/
.lp-section {
  padding: 4.2rem 0 3.4rem;
  position: relative;
}

.lp-section + .lp-section {
  border-top: 1px solid rgba(255, 255, 255, 0.03);
}

.lp-section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.2rem;
  margin-bottom: 1.8rem;
}

.lp-section-eyebrow {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.lp-section-title {
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--gold-light);
  text-shadow: 0 0 10px rgba(245, 221, 102, 0.35);
}

.lp-section-subtitle {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.lp-section-meta {
  text-align: right;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.lp-view-all-link {
  font-size: 0.9rem;
  color: var(--gold-light);
  text-decoration: none;
  border-bottom: 1px dashed rgba(245, 221, 102, 0.6);
}

/*******************************************************
 * EVENT CARDS — GRID
 *******************************************************/
.lp-events-grid {
  display: grid;
  gap: 1.8rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 1rem;
}

.lp-event-card {
  position: relative;
  background: rgba(0, 0, 0, 0.72);
  border: 1px solid var(--gold-border);
  border-radius: 18px;
  overflow: hidden;
  text-decoration: none;
  transition: 0.3s ease;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.85);
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.lp-event-card img {
  width: 100%;
  height: 190px;
  object-fit: cover;
}

.lp-event-content {
  padding: 0.95rem 1rem 1.05rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  flex: 1;
}

.lp-event-title {
  font-weight: 700;
  font-size: 0.98rem;
  color: #fff;
  line-height: 1.35;
}

.lp-event-meta-row {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.lp-event-meta-row span {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.lp-event-meta-row i {
  width: 14px;
  height: 14px;
  color: var(--gold-light);
}

.lp-event-footer {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 0.7rem;
  font-size: 0.82rem;
}

.lp-price {
  color: var(--gold-light);
  font-weight: 700;
}

.lp-price-muted {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.lp-status-pill {
  padding: 0.18rem 0.6rem;
  border-radius: 999px;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  border: 1px solid rgba(156, 163, 175, 0.5);
  color: rgba(209, 213, 219, 0.9);
}

/* Hover state */
.lp-event-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 46px rgba(245, 221, 102, 0.35);
  border-color: var(--gold-border-strong);
}

/*******************************************************
 * BADGES — SOLD OUT & EVENT STARTED
 *******************************************************/
.lp-badge-container {
  position: absolute;
  top: 10px;
  left: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 5;
}

.lp-badge {
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 600;
  border-radius: 999px;
  width: fit-content;
}

/* Red Sold Out badge */
.lp-badge-soldout {
  background: linear-gradient(135deg, #b10000, #ff3b3b);
  color: #fff;
}

/* Gold Event Started badge */
.lp-badge-started {
  background: linear-gradient(135deg, #d4af37, #f5dd66);
  color: #000;
}

/* Soft upcoming badge (optional) */
.lp-badge-upcoming {
  background: rgba(15, 23, 42, 0.88);
  color: var(--gold-light);
  border: 1px solid rgba(148, 163, 184, 0.8);
}

/*******************************************************
 * CAROUSEL (FEATURED / UPCOMING HORIZONTAL SCROLL)
 *******************************************************/
.lp-carousel {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.lp-carousel-window {
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  padding-bottom: 0.5rem;
  flex: 1;
}

.lp-carousel-window::-webkit-scrollbar {
  height: 6px;
}
.lp-carousel-window::-webkit-scrollbar-thumb {
  background: rgba(245, 221, 102, 0.6);
  border-radius: 999px;
}

.lp-carousel-track {
  display: flex;
  gap: 1.3rem;
}

.lp-carousel-track .lp-event-card {
  scroll-snap-align: start;
  flex: 0 0 calc((100% - 2.6rem) / 3);
}

/* Arrows */
.lp-carousel-arrow {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(245, 221, 102, 0.7);
  background: rgba(0, 0, 0, 0.82);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}

.lp-carousel-arrow i {
  width: 18px;
  height: 18px;
  color: var(--gold-light);
}

/*******************************************************
 * WHY CHOOSE US
 *******************************************************/
.lp-benefits-grid {
  display: grid;
  gap: 1.8rem;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  margin-top: 2.2rem;
}

.lp-benefit-card {
  background: var(--glass-dark);
  border: 1px solid var(--gold-border);
  padding: 1.5rem;
  border-radius: 16px;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.lp-benefit-icon {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: rgba(245, 221, 102, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.lp-benefit-icon i {
  color: var(--gold-light);
}

.lp-benefit-title {
  font-size: 0.98rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.lp-benefit-text {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/*******************************************************
 * TRUSTED BY TOP ORGANIZERS — INFINITE SLIDER
 *******************************************************/
.lp-partners-logos {
  width: 100%;
  overflow: hidden;
  padding: 1.6rem 0 2.1rem;
  position: relative;
}

.lp-partners-track {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 2.5rem);
  width: max-content;
  animation: partnersScroll 28s linear infinite;
  will-change: transform;
}

.lp-partners-track img {
  height: clamp(35px, 6vw, 55px);
  opacity: 0.93;
  flex-shrink: 0;
  filter: drop-shadow(0 0 6px rgba(245, 221, 102, 0.3));
}

@keyframes partnersScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

/* Gradient fade on edges */
.lp-partners-logos::before,
.lp-partners-logos::after {
  content: "";
  position: absolute;
  top: 0;
  width: clamp(40px, 12vw, 100px);
  height: 100%;
  pointer-events: none;
  z-index: 10;
}

.lp-partners-logos::before {
  left: 0;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.7), transparent);
}

.lp-partners-logos::after {
  right: 0;
  background: linear-gradient(to left, rgba(0, 0, 0, 0.7), transparent);
}

/*******************************************************
 * EMPTY STATE
 *******************************************************/
.lp-empty-state {
  padding: 2rem 1.2rem;
  border-radius: 16px;
  border: 1px dashed rgba(156, 163, 175, 0.65);
  background: rgba(15, 23, 42, 0.7);
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/*******************************************************
 * FINAL CTA
 *******************************************************/
.lp-final-cta {
  text-align: center;
  padding: 4.2rem 1rem 4.5rem;
  background: radial-gradient(
    circle at 50% 0%,
    rgba(245, 221, 102, 0.18),
    transparent 65%
  );
}

.lp-final-cta h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.lp-final-cta p {
  max-width: 520px;
  margin: 0 auto 1.6rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/*******************************************************
 * ANIMATIONS
 *******************************************************/
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/*******************************************************
 * RESPONSIVE
 *******************************************************/
@media (max-width: 1024px) {
  .lp-events-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .lp-carousel-track .lp-event-card {
    flex: 0 0 calc((100% - 1.3rem) / 2);
  }
}

@media (max-width: 768px) {
  .lp-hero-title {
    font-size: 2.2rem;
  }

  .lp-hero {
    min-height: 82vh;
  }

  .lp-section-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .lp-section-meta {
    text-align: left;
  }

  .lp-events-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lp-carousel-arrow {
    display: none;
  }

  .lp-carousel-track .lp-event-card {
    flex: 0 0 80%;
  }

  .lp-category-chips {
    display: none;
  }

  .lp-category-select-wrapper {
    display: block;
    width: 100%;
  }
}

@media (max-width: 520px) {
  .lp-container {
    padding: 0 1rem;
  }

  .lp-events-grid {
    grid-template-columns: 1fr;
  }

  .lp-carousel-track .lp-event-card {
    flex: 0 0 100%;
  }

  .lp-hero-content {
    padding-inline: 0.6rem;
  }

  .lp-hero-title {
    font-size: 1.85rem;
  }

  .lp-search-bar {
    padding-inline: 0.7rem;
  }

  .lp-section {
    padding: 3.2rem 0 2.8rem;
  }
}

/* Partners speed adjustments */
@media (max-width: 768px) {
  .lp-partners-track {
    animation-duration: 18s;
  }
}

@media (max-width: 480px) {
  .lp-partners-track {
    animation-duration: 14s;
  }
}
