/* SportsIQ Group - Shared Stylesheet */
:root {
  --navy-deep: #071226;
  --navy-card: rgba(11, 25, 51, 0.86);
  --blue-accent: #1d63dc;
  --gold-accent: #f4b41a;
  --green-pitch: #1e8e3e;
  --text-light: #ffffff;
  --text-muted: #cbd5e1;
  --border-glass: rgba(255, 255, 255, 0.14);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: var(--navy-deep);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text-light);
}

/* Top Navigation Bar */
.top-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 64px;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(7, 18, 38, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-glass);
  z-index: 100;
}

.top-bar.home-nav {
  justify-content: flex-end;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  color: var(--text-light);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--gold-accent);
}

/* Hero Section - Proportional scaling with zero cropping */
.hero {
  position: fixed;
  top: 64px;
  bottom: 52px;
  left: 0;
  right: 0;
  background-image: url("bg.png");
  background-size: 100% auto; /* Locks 100% width and scales height proportionally without cutting feet */
  background-position: center bottom; /* Pins the mascots safely to the bottom above footer */
  background-repeat: no-repeat;
  background-color: var(--navy-deep);
  z-index: 1;
}

/* Subpages Layout */
.subpage-body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: radial-gradient(circle at top center, #112954 0%, var(--navy-deep) 75%);
  overflow-y: auto;
}

.page-container {
  flex: 1;
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding: 104px 24px 88px;
}

.page-header {
  text-align: center;
  margin-bottom: 40px;
}

.page-header h1 {
  font-size: 2.35rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.page-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 640px;
  margin: 0 auto;
}

/* Cards & Grids */
.apps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 22px;
}

.card {
  background: var(--navy-card);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  padding: 26px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.app-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.badge-league { background: rgba(30, 142, 62, 0.25); color: #4ade80; border: 1px solid #22c55e; }
.badge-footy  { background: rgba(29, 99, 220, 0.25); color: #60a5fa; border: 1px solid #3b82f6; }
.badge-soccer { background: rgba(59, 130, 246, 0.25); color: #93c5fd; border: 1px solid #60a5fa; }
.badge-tennis { background: rgba(244, 180, 26, 0.2); color: #fcd34d; border: 1px solid #f59e0b; }

.card h2 {
  font-size: 1.35rem;
  margin-bottom: 8px;
}

.card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 16px;
}

.store-status {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gold-accent);
}

/* Legal & Text Content */
.legal-card h2 {
  font-size: 1.2rem;
  color: var(--gold-accent);
  margin-top: 24px;
  margin-bottom: 8px;
}

.legal-card h2:first-child {
  margin-top: 0;
}

.legal-card p, .legal-card ul {
  color: var(--text-muted);
  margin-bottom: 14px;
}

.legal-card ul {
  padding-left: 20px;
}

.legal-card a, .contact-link {
  color: var(--gold-accent);
  text-decoration: none;
  font-weight: 600;
}

.legal-card a:hover, .contact-link:hover {
  text-decoration: underline;
}

/* Contact Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 20px;
}

.contact-form label {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 4px;
  display: block;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--border-glass);
  background: rgba(7, 18, 38, 0.85);
  color: var(--text-light);
  font-size: 0.95rem;
  font-family: inherit;
}

.btn-primary {
  background: var(--blue-accent);
  color: #ffffff;
  border: none;
  padding: 13px 22px;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease;
  align-self: flex-start;
}

.btn-primary:hover {
  background: #2563eb;
}

/* Bottom Footer Bar */
.bottom-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 52px;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(7, 18, 38, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--border-glass);
  font-size: 0.85rem;
  color: var(--text-muted);
  z-index: 100;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 22px;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links a:hover,
.footer-links a.active {
  color: var(--gold-accent);
}

/* Mobile Responsive */
@media (max-width: 640px) {
  .top-bar {
    padding: 0 16px;
  }
  .nav-links {
    gap: 14px;
  }
  .nav-links a {
    font-size: 0.85rem;
  }
  .bottom-bar {
    padding: 0 16px;
    font-size: 0.78rem;
  }
  .footer-links {
    gap: 14px;
  }
}