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

:root {
  --bg: #09090b;
  --bg-card: #121215;
  --border: rgba(255, 255, 255, 0.07);
  --border-hover: rgba(255, 255, 255, 0.15);
  
  --text: #f4f4f7;
  --text-muted: #8e8e9a;
  
  --accent: #f59e0b; /* A beautiful solid amber gold - represents 'Ampoule' energy */
  --accent-rgb: 245, 158, 11;
  --accent-text: #09090b;
  
  --font-heading: 'Space Grotesk', sans-serif;
  --font-body: 'Outfit', sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.01em;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}

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

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background-color: rgba(9, 9, 11, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
}

.logo-img {
  height: 32px;
  width: 32px;
  border-radius: 8px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
}

.nav-links a:hover, .nav-links a.active {
  color: var(--text);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 8px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
}

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

.btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

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

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.03);
  border-color: var(--border-hover);
}

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

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* Hero */
.hero {
  padding: 160px 0 100px 0;
  border-bottom: 1px solid var(--border);
}

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

.hero-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 6px;
  background-color: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.2);
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 20px;
  font-family: var(--font-heading);
}

.hero-title {
  font-size: 3.5rem;
  line-height: 1.15;
  margin-bottom: 20px;
  font-weight: 800;
}

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

.hero-btns {
  display: flex;
  gap: 16px;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.game-icon-card {
  padding: 20px;
  border-radius: 32px;
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  transition: border-color 0.3s ease;
}

.game-icon-card:hover {
  border-color: var(--border-hover);
}

#game-icon-large {
  width: 180px;
  height: 180px;
  border-radius: 24px;
  display: block;
}

/* Features */
.features {
  padding: 90px 0;
  border-bottom: 1px solid var(--border);
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 60px auto;
}

.section-tag {
  color: var(--accent);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: block;
}

.section-title {
  font-size: 2.25rem;
  margin-bottom: 16px;
  line-height: 1.2;
}

.section-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
}

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

.feature-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.feature-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

.feature-icon {
  font-size: 1.75rem;
  margin-bottom: 20px;
}

.feature-title {
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.feature-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Details Section */
.details {
  padding: 90px 0;
  border-bottom: 1px solid var(--border);
}

.details-wrapper {
  max-width: 750px;
  margin: 0 auto;
  text-align: center;
}

.details-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-top: 32px;
}

.details-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  color: var(--text);
  font-weight: 500;
}

.details-dot {
  width: 6px;
  height: 6px;
  background-color: var(--accent);
  border-radius: 50%;
}

/* CTA */
.cta {
  padding: 90px 0;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.cta-title {
  font-size: 2.25rem;
  margin-bottom: 16px;
}

.cta-subtitle {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 32px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* Footer */
footer {
  padding: 80px 0 40px 0;
  background-color: #050506;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 64px;
  margin-bottom: 60px;
}

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

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
}

.footer-logo img {
  height: 28px;
  width: 28px;
  border-radius: 6px;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.95rem;
  max-width: 320px;
}

.footer-links-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-links-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.footer-links a:hover {
  color: var(--text);
}

.support-email {
  font-weight: 500;
  color: var(--text) !important;
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 32px;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* Legal Pages Styling */
.legal-header {
  padding: 140px 0 60px 0;
  border-bottom: 1px solid var(--border);
}

.legal-title-section {
  max-width: 750px;
  margin: 0 auto;
}

.legal-meta {
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 12px;
  display: block;
}

.legal-title {
  font-size: 2.75rem;
  margin-bottom: 12px;
}

.legal-subtitle {
  color: var(--text-muted);
  font-size: 1.1rem;
}

.legal-content {
  padding: 60px 0 100px 0;
}

.legal-wrapper {
  max-width: 750px;
  margin: 0 auto;
}

.legal-back-btn {
  display: inline-flex;
  align-items: center;
  color: var(--accent);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 40px;
}

.legal-text h2 {
  font-size: 1.5rem;
  margin-top: 48px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 8px;
}

.legal-text h3 {
  font-size: 1.15rem;
  margin-top: 32px;
  margin-bottom: 12px;
}

.legal-text p {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 20px;
  line-height: 1.7;
}

.legal-text ul {
  margin-bottom: 24px;
  padding-left: 20px;
}

.legal-text li {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 12px;
  line-height: 1.6;
}

.legal-text strong {
  color: var(--text);
}

.legal-text hr {
  border: 0;
  height: 1px;
  background-color: var(--border);
  margin: 40px 0;
}

.legal-text code {
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  padding: 2px 6px;
  border-radius: 4px;
  font-family: monospace;
  font-size: 0.9rem;
  color: var(--text);
}

/* Responsive Grid Media Queries */
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }
  
  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .hero-title {
    font-size: 2.75rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .footer-brand p {
    max-width: 100%;
  }
}

@media (max-width: 600px) {
  .nav-links {
    gap: 16px;
  }
  
  .nav-links li:last-child {
    display: none; /* Hide the download CTA in navbar on very small screens to fit links */
  }
  
  .hero-title {
    font-size: 2.25rem;
  }
  
  .hero-btns {
    flex-direction: column;
    width: 100%;
  }
  
  .hero-btns .btn {
    width: 100%;
  }
  
  .section-title {
    font-size: 1.75rem;
  }
}
