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

:root {
  --primary: #E23744;
  --primary-hover: #C52733;
  --bg-black: #000000;
  --bg-card: #121212;
  --text-primary: #FFFFFF;
  --text-secondary: #9E9E9E;
  --text-muted: #666666;
  --border-dark: #262626;
  --border-light: rgba(255, 255, 255, 0.3);
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-brand: 'Outfit', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-main);
  background-color: var(--bg-black);
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
}

body {
  overflow-x: hidden;
  background-color: var(--bg-black);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url('assets/hero-bg.jpg') center center / cover no-repeat;
  text-align: center;
  padding: 40px 20px 80px 20px;
}

/* Rich cinematic dark vignette overlay */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at center, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.75) 70%, #000000 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.6) 60%, #000000 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: fadeIn 0.9s ease-out;
}

/* Brand Wordmark */
.brand-wordmark {
  font-family: var(--font-brand);
  font-size: clamp(3.2rem, 7.5vw, 5.2rem);
  font-weight: 900;
  font-style: italic;
  letter-spacing: -2px;
  color: #FFFFFF;
  text-shadow: 0 8px 32px rgba(0, 0, 0, 0.8), 0 2px 8px rgba(226, 55, 68, 0.3);
  margin-bottom: 8px;
  user-select: none;
  display: inline-flex;
  align-items: baseline;
}

.brand-dot {
  color: var(--primary);
  display: inline-block;
  font-style: normal;
  margin-left: 2px;
}

/* Hero Headline */
.hero-title {
  font-size: clamp(2.3rem, 5.5vw, 4.2rem);
  font-weight: 800;
  letter-spacing: -1.2px;
  line-height: 1.15;
  color: #FFFFFF;
  margin-bottom: 16px;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.9);
}

.hero-subtitle {
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  color: rgba(255, 255, 255, 0.92);
  font-weight: 500;
  max-width: 580px;
  line-height: 1.5;
  margin-bottom: 36px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.8);
}

/* Badges Container */
.hero-badges {
  display: flex;
  gap: 16px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

/* Store Badge Button */
.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #000000;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  border-radius: 10px;
  padding: 10px 22px;
  color: #FFFFFF;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  min-width: 175px;
  text-align: left;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.store-btn:hover {
  border-color: #FFFFFF;
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(226, 55, 68, 0.35);
  background: rgba(18, 18, 18, 0.95);
}

.store-btn:active {
  transform: translateY(0);
}

.store-btn svg {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}

.store-btn-text {
  display: flex;
  flex-direction: column;
}

.store-sub {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #D1D5DB;
  line-height: 1.1;
}

.store-main {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.2px;
  line-height: 1.2;
}

/* Scroll Down Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.2s ease;
  animation: floatBounce 2.5s infinite ease-in-out;
}

.scroll-indicator:hover {
  color: #FFFFFF;
}

.scroll-indicator svg {
  width: 18px;
  height: 18px;
}

@keyframes floatBounce {
  0%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(8px);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================================================
   FOOTER SECTION
   ========================================================================== */
.footer {
  background-color: var(--bg-black);
  border-top: 1px solid var(--border-dark);
  padding: 72px 24px 40px 24px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Footer Brand Header */
.footer-brand {
  margin-bottom: 48px;
}

.footer-wordmark {
  font-family: var(--font-brand);
  font-size: 38px;
  font-weight: 900;
  font-style: italic;
  letter-spacing: -1.5px;
  color: #FFFFFF;
  text-decoration: none;
  display: inline-flex;
  align-items: baseline;
}

/* Footer Grid Columns */
.footer-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 36px;
  margin-bottom: 56px;
}

.footer-col h4 {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #FFFFFF;
  margin-bottom: 20px;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col ul li a {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.5;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
  display: inline-block;
}

.footer-col ul li a:hover {
  color: #FFFFFF;
  transform: translateX(2px);
}

/* Social Icons */
.social-icons {
  display: flex;
  gap: 10px;
  margin-bottom: 24px;
}

.social-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: #1A1A1A;
  border: 1px solid #333333;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  text-decoration: none;
  transition: all 0.2s ease;
}

.social-btn:hover {
  background-color: var(--primary);
  border-color: var(--primary);
  transform: translateY(-2px);
  color: #FFFFFF;
}

.social-btn svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}

/* Footer Store Badges */
.footer-badges {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 180px;
}

.footer-badges .store-btn {
  padding: 8px 16px;
  min-width: 160px;
  border-color: rgba(255, 255, 255, 0.25);
}

/* Footer Divider & Bottom Legal */
.footer-divider {
  height: 1px;
  background-color: var(--border-dark);
  margin-bottom: 28px;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-disclaimer {
  font-size: 12px;
  line-height: 1.6;
  color: var(--text-muted);
}

.footer-copyright {
  font-size: 12px;
  color: var(--text-secondary);
  font-weight: 500;
}

/* ==========================================================================
   MODAL (Info / Download / Early Access)
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  background-color: #121212;
  border: 1px solid var(--border-dark);
  border-radius: 18px;
  max-width: 440px;
  width: 100%;
  padding: 32px 28px;
  position: relative;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.8), 0 0 32px rgba(226, 55, 68, 0.15);
  transform: translateY(20px);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-backdrop.active .modal-card {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: #1F1F1F;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 16px;
  color: #9E9E9E;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.modal-close:hover {
  background: var(--primary);
  color: #FFFFFF;
}

.modal-badge {
  display: inline-block;
  background: rgba(226, 55, 68, 0.15);
  color: var(--primary);
  border: 1px solid rgba(226, 55, 68, 0.3);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 14px;
}

.modal-title {
  font-size: 22px;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 10px;
  letter-spacing: -0.5px;
}

.modal-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 24px;
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.modal-input {
  background: #1A1A1A;
  border: 1px solid var(--border-dark);
  border-radius: 10px;
  padding: 13px 16px;
  font-size: 14px;
  color: #FFFFFF;
  outline: none;
  font-family: inherit;
  transition: border-color 0.2s ease;
}

.modal-input:focus {
  border-color: var(--primary);
}

.modal-btn {
  background: var(--primary);
  color: #FFFFFF;
  border: none;
  border-radius: 10px;
  padding: 13px 20px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
}

.modal-btn:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
}

.modal-btn:active {
  transform: translateY(0);
}

/* Toast message */
.toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: #16A34A;
  color: #FFFFFF;
  padding: 12px 24px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* ==========================================================================
   RESPONSIVENESS
   ========================================================================== */
@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }
}

@media (max-width: 640px) {
  .hero {
    padding: 30px 16px 70px 16px;
  }

  .footer {
    padding: 56px 20px 32px 20px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }

  .footer-col:last-child {
    grid-column: span 2;
  }

  .footer-badges {
    flex-direction: row;
    max-width: 100%;
  }

  .hero-badges {
    flex-direction: column;
    width: 100%;
  }

  .store-btn {
    width: 100%;
    max-width: 260px;
    justify-content: center;
  }
}
