/* Big Dealz home page: compact reference layout */

:root {
  --home-navy: #020617;
  --home-panel: rgba(2, 6, 23, 0.82);
  --home-blue: #3b82f6;
  --home-gold: #fbbf24;
  --home-purple: #a855f7;
}

/* Keep the navigation visible as compact pills on phones, as in the reference. */
.topbar {
  background: rgba(2, 6, 23, 0.94) !important;
  border-bottom: 2px solid var(--home-gold) !important;
  padding: 10px 0 !important;
}

.topbar-inner {
  flex-wrap: wrap;
  row-gap: 8px;
}

.brand-text {
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  line-height: 1.05;
}

.brand-text small {
  color: var(--home-gold);
  font-size: 0.48rem;
  letter-spacing: 1.5px;
  line-height: 1.2;
}

.home-page {
  width: 100%;
  padding-top: 26px;
  padding-bottom: 70px;
}

.home-hero {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 680px;
  margin: 0 0 38px;
  overflow: hidden;
  border: 1px solid rgba(251, 191, 36, 0.55);
  border-radius: 26px;
  background-position: center;
  background-size: cover;
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.72);
}

.home-hero::before {
  content: "";
  position: absolute;
  inset: -12px;
  background: inherit;
  background-position: center;
  background-size: cover;
  filter: blur(2px) saturate(1.12);
  transform: scale(1.04);
  opacity: 0.9;
}

.home-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(2, 6, 23, 0.18) 0%, rgba(2, 6, 23, 0.38) 38%, rgba(2, 6, 23, 0.96) 100%),
    radial-gradient(circle at 50% 38%, rgba(2, 6, 23, 0.05), rgba(2, 6, 23, 0.72) 78%);
  z-index: 1;
}

.home-hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  width: 100%;
  flex-direction: column;
  align-items: center;
  padding: 38px 18px 46px;
  text-align: center;
}

.home-logo-frame {
  width: min(76vw, 300px);
  padding: 14px;
  background: #fff;
  border: 3px solid var(--home-gold);
  border-radius: 24px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.9), 0 0 36px rgba(251, 191, 36, 0.55);
}

.home-logo {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.home-title {
  margin: 32px 0 16px;
  color: #fff;
  font-size: clamp(2.8rem, 9vw, 5.2rem);
  font-weight: 1000;
  letter-spacing: -2px;
  line-height: 0.98;
  text-align: center;
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.82);
}

.home-title span {
  display: block;
}

.home-subtitle {
  max-width: 760px;
  margin: 0 0 30px;
  color: #fff;
  font-size: clamp(0.92rem, 2.6vw, 1.25rem);
  font-weight: 750;
  line-height: 1.45;
  text-align: center;
  text-shadow: 0 3px 12px #000;
}

.home-cta-row {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.home-cta-row .btn {
  min-width: 176px;
  min-height: 42px;
  padding: 12px 18px;
  border-radius: 8px;
  font-size: 0.72rem;
  font-weight: 950;
}

.home-ticket-btn {
  background: linear-gradient(180deg, #60a5fa, #2563eb) !important;
  border: 1px solid #60a5fa !important;
  color: #fff !important;
  opacity: 0.92 !important;
}

.home-vendor-btn {
  background: linear-gradient(180deg, #fbbf24, #f59e0b) !important;
  border: 1px solid #fbbf24 !important;
  color: #090909 !important;
}

.home-feature-grid,
.home-secondary-grid {
  display: grid;
  width: 100%;
  gap: 16px;
}

.home-feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 16px;
}

.home-feature-card,
.home-secondary-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: var(--home-panel);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.42);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.home-feature-card:hover,
.home-secondary-card:hover {
  transform: translateY(-3px);
  background: rgba(15, 23, 42, 0.94);
}

.home-feature-card {
  display: flex;
  min-height: 236px;
  flex-direction: column;
  align-items: flex-start;
  padding: 22px 20px 16px;
  border-top: 2px solid var(--home-blue);
  border-radius: 9px;
}

.home-feature-market { border-top-color: var(--home-gold); }
.home-feature-tourney { border-top-color: var(--home-purple); }

.home-feature-card i {
  margin-bottom: 14px;
  font-size: 2.1rem;
  font-style: normal;
  line-height: 1;
}

.home-feature-card h2,
.home-secondary-card h2 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.2;
}

.home-feature-card p,
.home-secondary-card p {
  margin: 0 0 14px;
  color: #94a3b8;
  font-size: 0.72rem;
  line-height: 1.55;
}

.home-feature-card strong {
  margin: -2px 0 6px;
  color: #c084fc;
  font-size: 0.62rem;
  letter-spacing: 0.3px;
}

.home-card-action {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  justify-content: center;
  margin-top: auto;
  padding: 6px 12px;
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 7px;
  color: #e5e7eb;
  font-size: 0.6rem;
  font-weight: 900;
  letter-spacing: 0.5px;
  line-height: 1;
  text-align: center;
}

.home-secondary-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 16px;
}

.home-secondary-card {
  display: flex;
  min-height: 136px;
  align-items: center;
  gap: 18px;
  padding: 20px 22px;
  border-radius: 10px;
}

.home-secondary-card > i {
  flex: 0 0 auto;
  font-size: 2.25rem;
  font-style: normal;
}

.home-secondary-card > div {
  min-width: 0;
}

.home-secondary-card p {
  margin-bottom: 12px;
}

.home-secondary-vip { border-color: rgba(168, 85, 247, 0.32); }
.home-secondary-vendor { border-color: rgba(96, 165, 250, 0.32); }

.home-tertiary-grid .home-secondary-card {
  min-height: 108px;
}

@media (max-width: 1024px) {
  .mobile-toggle { display: none !important; }

  .nav-pill-container {
    display: flex !important;
    flex: 1 1 100%;
    order: 3;
    justify-content: center;
    align-items: center;
    gap: 4px;
  }

  .nav-row {
    justify-content: center;
    flex-wrap: wrap;
    gap: 4px;
  }

  .nav-pill {
    padding: 6px 9px;
    font-size: 8px;
    letter-spacing: 0.6px;
  }
}

@media (max-width: 600px) {
  .home-page {
    padding-top: 18px;
  }

  .home-hero {
    min-height: 670px;
    border-radius: 22px;
  }

  .home-hero-content {
    padding-inline: 12px;
  }

  .home-logo-frame {
    width: min(78vw, 294px);
  }

  .home-title {
    margin-top: 28px;
    font-size: clamp(2.55rem, 12vw, 4.2rem);
  }

  .home-cta-row {
    width: 100%;
  }

  .home-cta-row .btn {
    flex: 1 1 150px;
    min-width: 0;
    padding-inline: 10px;
  }

  .home-feature-grid {
    gap: 10px;
  }

  .home-feature-card {
    min-height: 226px;
    padding: 15px 9px 12px;
    border-radius: 8px;
  }

  .home-feature-card i {
    margin-bottom: 10px;
    font-size: 1.7rem;
  }

  .home-feature-card h2,
  .home-secondary-card h2 {
    font-size: 0.78rem;
  }

  .home-feature-card p,
  .home-secondary-card p {
    font-size: 0.58rem;
    line-height: 1.5;
  }

  .home-feature-card strong {
    font-size: 0.52rem;
  }

  .home-card-action {
    width: 100%;
    padding-inline: 4px;
    font-size: 0.48rem;
  }

  .home-secondary-grid {
    gap: 10px;
  }

  .home-secondary-card {
    min-height: 132px;
    gap: 9px;
    padding: 14px 10px;
  }

  .home-secondary-card > i {
    font-size: 1.8rem;
  }

  .home-tertiary-grid .home-secondary-card {
    min-height: 112px;
  }
}

