@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --bg-dark: #111111;
  --bg-darker: #0a0a0a;
  --primary-lime: #0DFF00;
  --secondary-blue: #0048FF;
  --text-white: #FFFFFF;
  --text-gray: #8F91A2;
  --text-muted: #575A6E;
  --card-bg: rgba(255, 255, 255, 0.03);
  --card-border: rgba(255, 255, 255, 0.08);
  --glass-bg: rgba(12, 14, 27, 0.7);
  --glass-border: rgba(255, 255, 255, 0.06);
  --font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg-dark);
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-dark);
  color: var(--text-white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Container */
.container {
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Main Viewport flex container on mobile */
main.container {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100dvh;
  padding-bottom: 24px;
}

/* Header / Logo */
.logo-header {
  text-align: center;
  padding: 48px 0 8px;
  flex-shrink: 0;
}

.logo-header img {
  height: 80px;
  width: auto;
  display: block;
  margin: 0 auto;
}

.logo-header p {
  font-size: 12px;
  color: var(--text-gray);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-top: 4px;
}

/* Stadium Hero Illustration */
.hero-stadium {
  position: relative;
  width: calc(100% + 40px);
  margin: 0 -20px;
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-stadium img {
  max-height: 100%;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  mix-blend-mode: screen;
}

/* Main Titles */
.titles-container {
  text-align: center;
  margin-top: 16px; /* Added clean space between stadium sketch and text */
  margin-bottom: 24px;
  padding: 0 10px;
  flex-shrink: 0;
}

.main-title {
  font-size: 22px;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 8px;
  color: var(--text-white);
  letter-spacing: -0.5px;
}

.main-title span {
  display: block;
  white-space: nowrap;
}

.desktop-title-only {
  display: none !important;
}

.main-tagline {
  font-size: 15px;
  font-weight: 400;
  color: var(--text-gray);
  letter-spacing: 0.5px;
}

/* Features Side-by-Side Row */
.features-row {
  display: flex;
  justify-content: center;
  margin-bottom: 28px;
  flex-shrink: 0;
}

.feature-col {
  flex: 1;
  text-align: center;
  padding: 0 8px;
}

.feature-col h3 {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-bottom: 4px;
  color: var(--text-white);
}

.feature-col p {
  font-size: 11px;
  line-height: 1.4;
  color: var(--text-gray);
}

/* App Download Badges (New Styling) */
.download-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 0;
  padding: 0;
  flex-shrink: 0;
  width: 100%;
}

.qr-container {
  display: none;
}

.download-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  width: 100%;
  flex-wrap: nowrap;
}

.badge-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--card-border);
  padding: 0 16px;
  height: 54px;
  border-radius: 12px;
  color: var(--text-white);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition-smooth);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  flex: 1;
  min-width: 0;
  justify-content: center;
}

.badge-btn svg {
  width: 22px; /* Increased SVG size to make button bigger */
  height: 22px;
  fill: currentColor;
  flex-shrink: 0;
  transition: var(--transition-smooth);
}

.badge-btn .badge-text {
  text-align: left;
  display: flex;
  flex-direction: column;
}

.badge-btn .badge-text span:first-child {
  font-size: 8px;
  color: var(--text-gray);
  text-transform: uppercase;
  letter-spacing: 0.3px;
  line-height: 1.1;
}

.badge-btn .badge-text span:last-child {
  font-size: 13px; /* Increased mobile text size to make buttons bigger */
  font-weight: 700;
  line-height: 1.2;
}

.badge-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--primary-lime);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(13, 255, 0, 0.1);
}

.badge-btn.primary-badge {
  background: var(--text-white);
  color: var(--bg-dark);
  border-color: var(--text-white);
}

.badge-btn.primary-badge svg {
  fill: var(--bg-dark);
}

.badge-btn.primary-badge .badge-text span:first-child {
  color: rgba(12, 14, 27, 0.6);
}

.badge-btn.primary-badge:hover {
  background: var(--primary-lime);
  border-color: var(--primary-lime);
  color: var(--bg-dark);
  box-shadow: 0 10px 20px rgba(13, 255, 0, 0.25);
}



/* Footer */
.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 40px 0;
  text-align: center;
  background-color: var(--bg-darker);
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.footer-logo img {
  height: 24px;
  width: auto;
}

.footer-links {
  display: flex;
  gap: 16px;
}

.footer-links a {
  color: var(--text-gray);
  text-decoration: none;
  font-size: 13px;
  transition: var(--transition-smooth);
}

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

.footer-copyright {
  color: var(--text-muted);
  font-size: 11px;
}

/* Desktop Styles Override */
@media (min-width: 768px) {
  body {
    background-color: #080808;
  }

  .container {
    max-width: 1000px;
  }

  main.container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto 1fr auto;
    grid-template-areas:
      "logo download"
      "stadium download"
      "title features";
    column-gap: 64px;
    row-gap: 32px;
    position: relative;
    max-width: 1000px;
    margin: 80px auto;
    background-color: var(--bg-dark);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 64px 48px;
    min-height: auto;
    height: auto;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
  }

  /* Vertical divider between columns */
  main.container::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 1px;
    background-color: rgba(255, 255, 255, 0.08);
    pointer-events: none;
  }

  .logo-header {
    grid-area: logo;
    text-align: center;
    padding: 0;
    margin-bottom: 8px;
    flex-shrink: initial;
  }

  .logo-header img {
    height: 70px;
  }

  .logo-header p {
    margin-top: 4px;
  }

  .hero-stadium {
    grid-area: stadium;
    width: 100%;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: initial;
    min-height: initial;
    overflow: visible;
  }

  .hero-stadium img {
    max-width: 100%;
    max-height: 380px;
    height: auto;
    object-fit: contain;
  }

  .titles-container {
    grid-area: title;
    text-align: center;
    margin: 0;
    padding: 0;
    flex-shrink: initial;
  }

  .mobile-title-only {
    display: none !important;
  }

  .desktop-title-only {
    display: block !important;
    white-space: nowrap;
  }

  .main-title {
    font-size: 28px;
    line-height: 1.3;
    margin-bottom: 0;
  }

  .download-section {
    grid-area: download;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0;
    margin: auto 0;
    width: 100%;
    padding: 0;
    flex-shrink: initial;
  }

  .qr-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 24px;
  }

  .qr-code {
    width: 140px;
    height: 140px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 8px;
    background-color: #111111;
  }

  .qr-text {
    margin-top: 12px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-gray);
    letter-spacing: 0.5px;
  }

  .download-buttons {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 16px;
    width: 100%;
  }

  .badge-btn {
    flex: none;
    width: 175px;
    height: 56px;
    padding: 0 20px;
    gap: 10px;
    justify-content: center;
  }

  .badge-btn svg {
    width: 22px;
    height: 22px;
  }

  .badge-btn .badge-text span:first-child {
    font-size: 10px;
    letter-spacing: 0.5px;
  }

  .badge-btn .badge-text span:last-child {
    font-size: 14px;
  }

  .features-row {
    grid-area: features;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin: 0;
    align-self: end;
    width: 100%;
    flex-shrink: initial;
  }

  .feature-col {
    flex: 1;
    padding: 0;
    text-align: center;
  }

  .feature-col h3 {
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 1.2px;
    margin-bottom: 4px;
  }

  .feature-col p {
    font-size: 12px;
    line-height: 1.4;
  }
}
