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

:root {
  --bg-main: #060913;
  --bg-surface: #0e1526;
  --bg-card: rgba(18, 26, 44, 0.75);
  --bg-card-hover: rgba(26, 38, 64, 0.85);
  --primary-red: #e11d48;
  --primary-gradient: linear-gradient(135deg, #e11d48 0%, #ff3b60 100%);
  --gold-gradient: linear-gradient(135deg, #ffb800 0%, #ff8800 100%);
  --glow-primary: 0 10px 30px -5px rgba(225, 29, 72, 0.45);
  --glow-gold: 0 10px 25px -5px rgba(255, 184, 0, 0.35);
  --text-white: #ffffff;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --border-glass: rgba(255, 255, 255, 0.08);
  --border-highlight: rgba(225, 29, 72, 0.3);
  --radius-lg: 16px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
}

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

body.custom-iv7-theme {
  background-color: var(--bg-main);
  color: var(--text-white);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Background Ambient Glows */
.ambient-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
}
.glow-1 {
  width: 400px;
  height: 400px;
  background: rgba(225, 29, 72, 0.18);
  top: -100px;
  right: -100px;
}
.glow-2 {
  width: 500px;
  height: 500px;
  background: rgba(59, 130, 246, 0.12);
  top: 400px;
  left: -150px;
}

/* Header & Glass Navbar */
.iv7-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(6, 9, 19, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-glass);
  padding: 14px 0;
}
.nav-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.brand-logo img {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(225, 29, 72, 0.3);
}
.brand-name {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-white);
  letter-spacing: -0.5px;
}
.brand-name span {
  color: var(--primary-red);
}
.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}
.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.2s ease;
}
.nav-link:hover, .nav-link.active {
  color: var(--text-white);
}

/* Buttons */
.btn-primary-glow {
  background: var(--primary-gradient);
  color: var(--text-white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  padding: 12px 28px;
  border-radius: 30px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--glow-primary);
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}
.btn-primary-glow:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 35px -5px rgba(225, 29, 72, 0.6);
  color: #fff;
}
.btn-secondary-glass {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-glass);
  color: var(--text-white);
  font-family: var(--font-heading);
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 30px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}
.btn-secondary-glass:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
}

/* Hero Section */
.hero-section {
  position: relative;
  padding: 80px 20px 60px;
  max-width: 1240px;
  margin: 0 auto;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 50px;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(225, 29, 72, 0.12);
  border: 1px solid rgba(225, 29, 72, 0.3);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #ff5277;
  margin-bottom: 20px;
}
.hero-badge svg {
  fill: #ff5277;
}
.hero-title {
  font-family: var(--font-heading);
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 20px;
}
.hero-title .gradient-text {
  background: linear-gradient(135deg, #ffffff 30%, #ff3b60 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 35px;
  max-width: 600px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-bottom: 40px;
}
.hero-stats {
  display: flex;
  align-items: center;
  gap: 30px;
  padding-top: 25px;
  border-top: 1px solid var(--border-glass);
}
.stat-item {
  display: flex;
  flex-direction: column;
}
.stat-value {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-white);
}
.stat-label {
  font-size: 0.85rem;
  color: var(--text-dim);
}

/* App Showcase Card */
.app-card-preview {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 30px;
  backdrop-filter: blur(20px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  position: relative;
  text-align: center;
}
.app-card-preview::before {
  content: '';
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  bottom: -1px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(225, 29, 72, 0.4), transparent 60%);
  z-index: -1;
  pointer-events: none;
}
.app-logo-large {
  width: 100px;
  height: 100px;
  border-radius: 22px;
  margin: 0 auto 20px;
  box-shadow: 0 10px 30px rgba(225, 29, 72, 0.4);
}
.app-specs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 25px;
  text-align: left;
}
.spec-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
}
.spec-title {
  font-size: 0.75rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.spec-val {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-white);
}

/* Sections General */
.section-wrapper {
  max-width: 1240px;
  margin: 0 auto;
  padding: 60px 20px;
}
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px;
}
.section-tag {
  color: var(--primary-red);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 10px;
  display: block;
}
.section-title {
  font-family: var(--font-heading);
  font-size: 2.3rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
}
.section-desc {
  color: var(--text-muted);
  font-size: 1rem;
}

/* Games Grid */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.game-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.game-card:hover {
  transform: translateY(-5px);
  background: var(--bg-card-hover);
  border-color: var(--border-highlight);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}
.game-icon-wrap {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: rgba(225, 29, 72, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--primary-red);
}
.game-card-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.game-card-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.game-card-tag {
  position: absolute;
  top: 18px;
  right: 18px;
  background: rgba(255, 184, 0, 0.15);
  color: #ffb800;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
}

/* Feature Cards */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 30px;
  transition: all 0.3s ease;
}
.feature-card:hover {
  border-color: rgba(255, 255, 255, 0.18);
  transform: translateY(-4px);
}
.feature-icon {
  font-size: 1.8rem;
  margin-bottom: 16px;
  color: var(--primary-red);
}

/* Timeline Step Cards */
.steps-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 26px;
  position: relative;
}
.step-num {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: rgba(225, 29, 72, 0.4);
  position: absolute;
  top: 18px;
  right: 22px;
}
.step-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.step-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* FAQ Accordion */
.faq-list {
  max-width: 850px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all 0.3s ease;
}
.faq-question {
  padding: 20px 24px;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.faq-answer {
  padding: 0 24px 20px;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Footer */
.iv7-footer {
  background: #04060d;
  border-top: 1px solid var(--border-glass);
  padding: 60px 20px 30px;
  margin-top: 60px;
}
.footer-container {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 14px;
  max-width: 340px;
}
.footer-heading {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 18px;
  color: var(--text-white);
}
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.2s ease;
}
.footer-links a:hover {
  color: var(--text-white);
}
.footer-bottom {
  max-width: 1240px;
  margin: 0 auto;
  padding-top: 25px;
  border-top: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-dim);;
}
.badge-18 {
  display: inline-block;
  background: rgba(225, 29, 72, 0.2);
  color: #ff5277;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.8rem;
  border: 1px solid rgba(225, 29, 72, 0.4);
}

/* Mobile Responsive & UI Optimization */
img {
  max-width: 100%;
  height: auto;
}

table {
  width: 100%;
  display: block;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

@media (max-width: 900px) {
  .iv7-header {
    padding: 10px 0;
  }
  .nav-container {
    flex-wrap: wrap;
    gap: 12px;
    padding: 0 16px;
  }
  .brand-logo img {
    width: 36px;
    height: 36px;
  }
  .brand-name {
    font-size: 1.3rem;
  }
  .btn-primary-glow {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
  .nav-menu {
    display: flex;
    order: 3;
    width: 100%;
    overflow-x: auto;
    padding: 6px 0 2px;
    gap: 10px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .nav-menu::-webkit-scrollbar {
    display: none;
  }
  .nav-link {
    white-space: nowrap;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    font-size: 0.85rem;
  }
  .nav-link.active, .nav-link:hover {
    background: var(--primary-gradient);
    color: var(--text-white);
    border-color: transparent;
  }

  .hero-section {
    padding: 40px 16px 40px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 36px;
  }
  .hero-title {
    font-size: 2.2rem;
    letter-spacing: -0.5px;
  }
  .hero-subtitle {
    margin: 0 auto 24px;
    font-size: 1rem;
  }
  .hero-actions {
    justify-content: center;
    flex-direction: column;
    width: 100%;
  }
  .hero-actions .btn-primary-glow,
  .hero-actions .btn-secondary-glass {
    width: 100%;
    justify-content: center;
  }
  .hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    padding-top: 20px;
    justify-content: center;
    text-align: center;
  }
  .stat-value {
    font-size: 1.3rem;
  }
  .stat-label {
    font-size: 0.75rem;
  }

  .section-wrapper {
    padding: 40px 16px;
  }
  .section-title {
    font-size: 1.8rem;
  }
  .section-header {
    margin-bottom: 30px;
  }

  .games-grid,
  .features-grid,
  .steps-container {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .game-card,
  .feature-card,
  .step-card {
    padding: 20px;
  }

  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
}

@media (max-width: 550px) {
  .hero-title {
    font-size: 1.75rem;
  }
  .hero-badge {
    font-size: 0.75rem;
    padding: 4px 12px;
  }
  .app-card-preview {
    padding: 20px 16px;
  }
  .app-specs-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .spec-box {
    padding: 10px 12px;
  }
  .spec-title {
    font-size: 0.7rem;
  }
  .spec-val {
    font-size: 0.85rem;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 24px;
    text-align: center;
  }
  .footer-brand p {
    margin: 10px auto 0;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
}

