/* ==========================================================================
   ParlayPlay Promo Styling - Visual Theme (Dark & Yellow)
   ========================================================================== */

/* Design Tokens & Variables */
:root {
  --font-primary: 'Outfit', sans-serif;
  --font-secondary: 'Space Grotesk', sans-serif;
  
  /* Color Palette (ParlayPlay Theme) */
  --bg-main: #0d0e12;
  --bg-darker: #060709;
  --bg-card: rgba(26, 29, 38, 0.7);
  --border-color: rgba(255, 255, 255, 0.08);
  
  --text-main: #ffffff;
  --text-muted: #9ca3af;
  --text-inverse: #0d0e12;
  
  --accent-yellow: #facc15;
  --accent-yellow-hover: #eab308;
  --accent-blue: #3b82f6;
  
  --shadow-glow: 0 10px 30px -10px rgba(250, 204, 21, 0.3);
  --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.4);
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  
  --transition-fast: 0.15s ease;
  --transition-normal: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-primary);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

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

/* Glassmorphism Element */
.glass {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-card);
}

/* Typography Helpers */
h1, h2, h3, h4, h5 {
  font-family: var(--font-secondary);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.highlight {
  color: var(--accent-yellow);
}

.highlight-text {
  background: linear-gradient(135deg, #ffffff, var(--accent-yellow));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: var(--radius-md);
  font-family: var(--font-secondary);
  font-weight: 700;
  font-size: 0.98rem;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  border: none;
  gap: 8px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.btn-primary {
  background-color: var(--accent-yellow);
  color: var(--text-inverse);
}

.btn-primary:hover {
  background-color: var(--accent-yellow-hover);
  transform: translateY(-2px);
}

.btn-glow {
  box-shadow: var(--shadow-glow);
}

.btn-glow:hover {
  box-shadow: 0 15px 35px -5px rgba(250, 204, 21, 0.5);
}

.btn-outline {
  background: transparent;
  color: var(--text-main);
  border: 1px solid var(--border-color);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--text-main);
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.05rem;
}

/* Compliance Top Bar */
.compliance-top-bar {
  background: var(--bg-darker);
  color: #9ca3af;
  font-size: 0.76rem;
  padding: 8px 0;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.compliance-bar-content a {
  color: #ffffff;
  text-decoration: underline;
}

.compliance-bar-content a:hover {
  color: var(--accent-yellow);
}

/* Main Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13, 14, 18, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  padding: 14px 0;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  gap: 10px;
}

.logo-icon {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-text {
  font-family: var(--font-secondary);
  font-weight: 700;
  font-size: 1.45rem;
  color: var(--text-main);
  letter-spacing: -0.03em;
}

.logo-text .highlight {
  color: var(--accent-yellow);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Hero Section */
.hero-section {
  padding: 70px 0 90px 0;
  background: radial-gradient(circle at 10% 20%, rgba(250, 204, 21, 0.04) 0%, transparent 45%),
              radial-gradient(circle at 90% 80%, rgba(255, 255, 255, 0.01) 0%, transparent 45%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 64px;
}

.hero-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero-badge {
  align-self: flex-start;
  padding: 6px 14px;
  border-radius: 50px;
  background: rgba(250, 204, 21, 0.1);
  border: 1px solid rgba(250, 204, 21, 0.2);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent-yellow);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-title {
  font-size: 3.5rem;
  line-height: 1.1;
  font-family: var(--font-secondary);
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 520px;
}

.hero-highlights {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 8px;
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
}

.highlight-item .icon {
  font-size: 1.1rem;
}

/* Simulator Widget Card */
.hero-widget {
  position: relative;
  padding: 32px;
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.widget-header h3 {
  font-size: 1.25rem;
  margin-bottom: 4px;
}

.widget-header p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.props-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.prop-card {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 18px;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 20px;
  transition: border-color var(--transition-fast);
}

.prop-card.active {
  border-color: rgba(250, 204, 21, 0.3);
}

.player-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.player-avatar {
  width: 42px;
  height: 42px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.player-meta {
  display: flex;
  flex-direction: column;
}

.player-name {
  font-weight: 700;
  font-size: 1rem;
}

.player-team {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.stat-line {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 10px;
}

.stat-value {
  font-family: var(--font-secondary);
  font-size: 1.6rem;
  font-weight: 700;
  color: #ffffff;
}

.stat-name {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

.choice-buttons {
  display: flex;
  gap: 8px;
}

.btn-choice {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-family: var(--font-secondary);
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-choice:hover {
  background: rgba(255, 255, 255, 0.08);
}

.btn-choice.active {
  background-color: var(--accent-yellow);
  color: var(--text-inverse);
  border-color: var(--accent-yellow);
  box-shadow: 0 0 10px rgba(250, 204, 21, 0.3);
}

/* Success Overlay in Widget */
.widget-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(13, 14, 18, 0.93);
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  animation: overlayFadeIn var(--transition-normal);
}

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

.overlay-icon {
  font-size: 3rem;
  line-height: 1;
}

.overlay-content h4 {
  font-size: 1.6rem;
  font-family: var(--font-secondary);
}

.overlay-content p {
  font-size: 1rem;
  max-width: 280px;
}

.overlay-subtext {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* How It Works Section */
.how-it-works-section {
  padding: 80px 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  background: rgba(255, 255, 255, 0.01);
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-header h2 {
  font-size: 2.25rem;
  margin-bottom: 10px;
}

.section-header p {
  color: var(--text-muted);
  max-width: 580px;
  margin: 0 auto;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}

.step-card {
  padding: 40px 32px;
  border-radius: var(--radius-md);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent-yellow);
  color: var(--text-inverse);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-secondary);
  font-weight: 700;
  font-size: 1.25rem;
}

.step-card h4 {
  font-size: 1.25rem;
}

.step-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* App Highlights Section */
.features-section {
  padding: 80px 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.feature-card {
  padding: 32px;
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.feature-icon {
  font-size: 2rem;
  line-height: 1;
}

.feature-card h4 {
  font-size: 1.2rem;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
}

/* FAQ Section Styling */
.faq-section {
  padding: 80px 0;
  background: radial-gradient(circle at 50% 50%, rgba(250, 204, 21, 0.02) 0%, transparent 60%);
  border-top: 1px solid var(--border-color);
}

.faq-accordion-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  padding: 24px;
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item h4 {
  font-size: 1.1rem;
}

.faq-item p {
  color: var(--text-muted);
  font-size: 0.92rem;
}

/* Footer Section Styling */
.site-footer {
  background: var(--bg-darker);
  border-top: 1px solid var(--border-color);
  padding: 60px 0 30px 0;
  color: var(--text-muted);
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  margin-bottom: 48px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 360px;
}

.footer-disclaimer h5 {
  color: var(--text-main);
  font-size: 0.95rem;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.disclaimer-text {
  font-size: 0.76rem;
  line-height: 1.6;
}

.disclaimer-text a {
  color: var(--text-main);
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 30px;
  font-size: 0.78rem;
}

/* Animations */
@keyframes overlayFadeIn {
  from { opacity: 0; backdrop-filter: blur(0px); }
  to { opacity: 1; backdrop-filter: blur(4px); }
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.8rem;
  }
  .footer-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}
