/* ==========================================================================
   DOMAINS OF TRANSCENDENCE — Landing Page Stylesheet
   Modern Sci-Fi / Quantum Physics Aesthetic Design System
   ========================================================================== */

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

:root {
  /* Color Palette */
  --bg-dark: #070913;
  --bg-card: rgba(14, 18, 35, 0.75);
  --bg-card-hover: rgba(24, 30, 56, 0.88);
  --border-glow: rgba(0, 243, 255, 0.3);
  --border-subtle: rgba(255, 255, 255, 0.1);

  /* Neon Accents */
  --accent-cyan: #00f3ff;
  --accent-cyan-glow: rgba(0, 243, 255, 0.4);
  --accent-blue: #0066ff;
  --accent-blue-glow: rgba(0, 102, 255, 0.4);
  --accent-purple: var(--accent-blue);
  --accent-purple-glow: var(--accent-blue-glow);
  --accent-gold: #ffb703;
  --accent-gold-glow: rgba(255, 183, 3, 0.4);
  --text-main: #f1f5f9;
  --text-muted: #94a3b8;

  /* Typography */
  --font-display: 'Space Grotesk', -apple-system, sans-serif;
  --font-body: 'Outfit', -apple-system, sans-serif;

  /* Layout & Transitions */
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* Vignette overlay for text legibility over background image */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(7, 9, 19, 0.72);
  z-index: 0;
  pointer-events: none;
}

/* Page Layout Wrapper */
.content-wrapper {
  position: relative;
  z-index: 1;
}

/* Container */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header & Navigation */
header.site-header,
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(7, 9, 19, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 1rem 0;
  transition: var(--transition);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
  transition: var(--transition);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand-icon {
  width: auto;
  height: 44px;
  object-fit: contain;
  filter: drop-shadow(0 0 8px var(--accent-cyan-glow));
  transition: var(--transition);
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.6rem;
  letter-spacing: -0.02em;
  color: #ffffff;
  transition: var(--transition);
}

nav {
  display: flex;
  gap: 2rem;
  align-items: center;
  transition: var(--transition);
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--text-main);
  text-shadow: 0 0 8px var(--accent-cyan-glow);
}

.nav-link.active {
  color: var(--accent-cyan);
  font-weight: 600;
}

.page-main {
  padding-top: 7rem;
  padding-bottom: 5rem;
  flex-grow: 1;
}

/* Hero Section */
.hero {
  padding: 10rem 0 6rem;
  position: relative;
  background-image: linear-gradient(rgba(7, 9, 19, 0.75), rgba(7, 9, 19, 0.75)), url('../images/IntroBg1.png');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  border-bottom: 1px solid var(--border-subtle);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 1rem;
  border-radius: 20px;
  background: rgba(0, 243, 255, 0.08);
  border: 1px solid var(--border-glow);
  color: var(--accent-cyan);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.hero-title {
  font-family: var(--font-display);
  font-size: 3.5rem;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

.hero-title span {
  color: var(--accent-cyan);
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 540px;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 0.5rem;
}

.play-store-badge {
  display: inline-block;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.play-store-badge:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
}

.play-store-badge img {
  height: 54px;
  width: auto;
  display: block;
}


.hero-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), 0 0 35px var(--accent-cyan-glow);
  border: 1px solid var(--border-glow);
  aspect-ratio: 16 / 9;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.hero-visual:hover .hero-img {
  transform: scale(1.03);
}

.hero-img-badge {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  padding: 1rem;
  background: rgba(7, 9, 19, 0.88);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hero-badge-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: #fff;
}

.hero-badge-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Section Base Styles */
.section {
  padding: 5rem 0;
  position: relative;
  border-bottom: 1px solid var(--border-subtle);
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: 2.75rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
  color: #ffffff;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 640px;
  margin: 0 auto;
}

/* Core Fantasy Section */
.core-fantasy-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(0, 243, 255, 0.15);
  backdrop-filter: blur(16px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
  transition: var(--transition);
}

.core-fantasy-card:hover {
  border-color: rgba(0, 243, 255, 0.5);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6), 0 0 45px rgba(0, 243, 255, 0.25);
}

.core-fantasy-text p {
  color: var(--text-main);
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.core-fantasy-text p:last-child {
  margin-bottom: 0;
}

.core-fantasy-text highlight {
  color: var(--accent-cyan);
  font-weight: 600;
}

.core-fantasy-visual {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-glow);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6), 0 0 25px var(--accent-blue-glow);
  background: rgba(7, 9, 19, 0.6);
}

.core-fantasy-img {
  width: 100%;
  height: 100%;
  max-height: 480px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.core-fantasy-visual:hover .core-fantasy-img {
  transform: scale(1.05);
}

/* Core Gameplay Section */
.gameplay-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.gameplay-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  backdrop-filter: blur(12px);
  position: relative;
}

.gameplay-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--accent-cyan);
  transform: translateY(-6px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), 0 0 25px rgba(0, 243, 255, 0.2);
}

.gameplay-card-media {
  position: relative;
  width: 100%;
  height: 220px;
  background: #04060d;
  overflow: hidden;
  border-bottom: 1px solid var(--border-subtle);
}

.gameplay-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gameplay-card:hover .gameplay-card-img {
  transform: scale(1.06);
}

.gameplay-step-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(7, 9, 19, 0.85);
  border: 1px solid var(--border-glow);
  color: var(--accent-cyan);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.gameplay-card-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.gameplay-card-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.75rem;
}

.gameplay-card-desc {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.65;
}

.gameplay-card-desc strong {
  color: var(--text-main);
  font-weight: 600;
}

/* Contact Section */
.contact-card {
  background: rgba(14, 18, 35, 0.9);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  padding: 3.5rem 2rem;
  text-align: center;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 35px rgba(0, 102, 255, 0.15);
  max-width: 800px;
  margin: 0 auto;
}

.contact-text {
  font-size: 1.15rem;
  color: var(--text-main);
  margin-bottom: 2rem;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.contact-email-wrapper {
  display: inline-block;
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.contact-email-wrapper:hover {
  transform: scale(1.02);
  box-shadow: 0 12px 35px rgba(0, 243, 255, 0.25);
}

.contact-email-img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}

/* Responsive Media Queries */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
  }

  .hero-tag {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-visual {
    max-width: 500px;
    margin: 0 auto;
    width: 100%;
  }

  .core-fantasy-card {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2rem;
  }
}

@media (max-width: 768px) {
  header.site-header,
  .site-header {
    padding: 0.65rem 0;
  }

  .nav-container {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    padding: 0 1rem;
  }

  .brand {
    gap: 0.5rem;
    justify-content: center;
  }

  .brand-icon {
    height: 32px;
  }

  .brand-name {
    font-size: clamp(1.1rem, 4.5vw, 1.35rem);
    text-align: center;
  }

  nav {
    gap: 0.35rem 1rem;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
  }

  .nav-link {
    font-size: 0.88rem;
    padding: 0.15rem 0.35rem;
  }

  .hero {
    padding-top: 8.25rem;
    padding-bottom: 3.5rem;
  }

  .hero-title {
    font-size: clamp(2rem, 7.5vw, 3rem);
  }

  .hero-visual img {
    height: auto !important;
    max-height: 240px;
  }

  .page-main {
    padding-top: 8.25rem;
  }
}

@media (max-width: 600px) {
  .section-title {
    font-size: 2rem;
  }

  .gameplay-grid {
    grid-template-columns: 1fr;
  }

  .contact-card {
    padding: 2.5rem 1.25rem;
  }
}

/* Footer */
footer {
  border-top: 1px solid var(--border-subtle);
  padding: 2.5rem 0 1.5rem;
  background: rgba(5, 7, 14, 0.92);
  position: relative;
  z-index: 1;
}

/* Footer Links */
.footer-links a:hover {
  color: #ffffff !important;
  text-shadow: 0 0 10px var(--accent-cyan);
}

/* Footer Social Icons */
.footer-social {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.footer-play-store-badge {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.footer-play-store-badge img {
  height: 38px;
  width: auto;
  display: block;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.footer-play-store-badge:hover img {
  transform: translateY(-2px);
  filter: brightness(1.15);
}


.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  transition: var(--transition);
  text-decoration: none;
}

.social-link svg {
  width: 20px;
  height: 20px;
  transition: var(--transition);
}

.social-link:hover {
  color: var(--accent-cyan);
  border-color: var(--border-glow);
  background: rgba(0, 243, 255, 0.1);
  transform: translateY(-3px);
  box-shadow: 0 0 15px var(--accent-cyan-glow);
}

.social-link.instagram:hover {
  color: #e1306c;
  border-color: rgba(225, 48, 108, 0.5);
  background: rgba(225, 48, 108, 0.12);
  box-shadow: 0 0 15px rgba(225, 48, 108, 0.4);
}

.social-link.facebook:hover {
  color: #1877f2;
  border-color: rgba(24, 119, 242, 0.5);
  background: rgba(24, 119, 242, 0.12);
  box-shadow: 0 0 15px rgba(24, 119, 242, 0.4);
}


/* Privacy Policy Page Styles */
.policy-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  backdrop-filter: blur(16px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  max-width: 960px;
  margin: 0 auto;
}

.policy-header {
  position: relative;
  top: auto;
  left: auto;
  right: auto;
  z-index: auto;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 2rem;
  margin-bottom: 2.5rem;
}

.policy-meta {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-top: 0.5rem;
}

.policy-section {
  margin-bottom: 2.5rem;
}

.policy-section h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--accent-cyan);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.policy-section h3 {
  font-size: 1.15rem;
  color: var(--text-main);
  margin: 1.25rem 0 0.5rem;
}

.policy-section p {
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.policy-section ul, .policy-section ol {
  color: var(--text-muted);
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.policy-section li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.policy-section strong {
  color: var(--text-main);
}

.policy-callout {
  background: rgba(0, 243, 255, 0.08);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin: 1.5rem 0;
}

.policy-callout p {
  margin-bottom: 0;
  color: var(--text-main);
}

.policy-table-wrapper {
  overflow-x: auto;
  margin: 1.5rem 0;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
}

.policy-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.95rem;
}

.policy-table th, .policy-table td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
}

.policy-table th {
  background: rgba(7, 9, 19, 0.9);
  color: var(--accent-cyan);
  font-family: var(--font-display);
  font-weight: 600;
}

.policy-table td {
  background: rgba(14, 18, 35, 0.4);
  color: var(--text-muted);
}

.policy-table tr:last-child td {
  border-bottom: none;
}

.policy-table a {
  color: var(--accent-cyan);
  text-decoration: none;
  transition: var(--transition);
}

.policy-table a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .policy-card {
    padding: 2rem 1.25rem;
  }
  .policy-section h2 {
    font-size: 1.3rem;
  }
}




