/* ========================================
   andisch.com – Styles
   ======================================== */

:root {
  --color-bg: #0a0a0f;
  --color-bg-alt: #111118;
  --color-surface: #1a1a24;
  --color-surface-hover: #22222f;
  --color-text: #e8e8ed;
  --color-text-muted: #8888a0;
  --color-primary: #6c5ce7;
  --color-primary-light: #a29bfe;
  --color-accent: #f4d03f;
  --color-accent-dark: #e67e22;
  --color-border: #2a2a3a;
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --radius: 12px;
  --radius-sm: 8px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --max-width: 1100px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-family);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--color-primary-light);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--color-accent);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

/* ---- Container ---- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- Navigation ---- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), background var(--transition);
}

.nav.scrolled {
  border-bottom-color: var(--color-border);
  background: rgba(10, 10, 15, 0.95);
}

.nav-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.nav-logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-text) !important;
  letter-spacing: -0.5px;
}

.nav-logo:hover {
  color: var(--color-primary-light) !important;
}

.nav-links {
  display: flex;
  gap: 32px;
}

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

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

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: var(--transition);
}

/* ---- Hero ---- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 120px 24px 80px;
}

.hero-bg-shapes {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.4;
}

.shape-1 {
  width: 500px;
  height: 500px;
  background: var(--color-primary);
  top: -150px;
  right: -100px;
  opacity: 0.2;
}

.shape-2 {
  width: 400px;
  height: 400px;
  background: var(--color-accent);
  bottom: -100px;
  left: -100px;
  opacity: 0.12;
}

.shape-3 {
  width: 300px;
  height: 300px;
  background: #e84393;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.08;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1.5px;
  margin-bottom: 24px;
}

.gradient-text {
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-dark), var(--color-primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--color-text-muted);
  max-width: 520px;
  margin: 0 auto 40px;
  line-height: 1.8;
}

/* ---- Buttons ---- */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  text-align: center;
}

.btn-primary {
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 4px 20px rgba(108, 92, 231, 0.3);
}

.btn-primary:hover {
  background: var(--color-primary-light);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(108, 92, 231, 0.4);
}

.btn-secondary {
  background: var(--color-surface);
  color: var(--color-primary-light);
  border: 1px solid var(--color-border);
}

.btn-secondary:hover {
  background: var(--color-surface-hover);
  border-color: var(--color-primary);
  color: var(--color-text);
}

/* ---- Sections ---- */
.section {
  padding: 100px 0;
}

.section-alt {
  background: var(--color-bg-alt);
}

.section-title {
  font-size: 2.2rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}

.section-subtitle {
  text-align: center;
  color: var(--color-text-muted);
  font-size: 1.05rem;
  margin-bottom: 56px;
}

/* ---- Games ---- */
.games-grid {
  display: grid;
  gap: 32px;
}

.game-card {
  display: flex;
  gap: 40px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 40px;
  transition: all var(--transition);
}

.game-card:hover {
  border-color: var(--color-primary);
  box-shadow: 0 8px 40px rgba(108, 92, 231, 0.1);
  transform: translateY(-2px);
}

.game-icon {
  flex-shrink: 0;
  width: 140px;
  height: 140px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--color-bg), var(--color-surface-hover));
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-border);
}

.sand-bottle-icon svg {
  width: 100px;
  height: 100px;
}

.game-info h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.game-genre {
  display: inline-block;
  background: rgba(108, 92, 231, 0.15);
  color: var(--color-primary-light);
  padding: 3px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.game-info p {
  color: var(--color-text-muted);
  margin-bottom: 24px;
  line-height: 1.8;
}

.store-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 10px 18px;
  color: var(--color-text);
  transition: all var(--transition);
}

.store-btn:hover {
  border-color: var(--color-primary);
  background: var(--color-surface-hover);
  color: var(--color-text);
}

.store-btn small {
  display: block;
  font-size: 0.65rem;
  color: var(--color-text-muted);
  line-height: 1;
}

.store-btn strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.2;
}

.coming-soon-note {
  text-align: center;
  color: var(--color-text-muted);
  margin-top: 48px;
  font-style: italic;
}

/* ---- Support ---- */
.support-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.support-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 40px;
  transition: all var(--transition);
}

.support-card:hover {
  border-color: var(--color-primary);
}

.support-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  background: rgba(108, 92, 231, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary-light);
  margin-bottom: 20px;
}

.support-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.support-card p {
  color: var(--color-text-muted);
  margin-bottom: 20px;
  line-height: 1.8;
}

.faq-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-list li {
  color: var(--color-text-muted);
  padding-left: 16px;
  position: relative;
  line-height: 1.6;
}

.faq-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-primary);
}

.faq-list li strong {
  color: var(--color-text);
}

/* ---- Legal Sections ---- */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
}

.legal-block {
  margin-bottom: 36px;
}

.legal-block h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--color-text);
}

.legal-block h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-top: 20px;
  margin-bottom: 8px;
  color: var(--color-text);
}

.legal-block p {
  color: var(--color-text-muted);
  line-height: 1.8;
  margin-bottom: 8px;
}

.legal-block ul {
  list-style: disc;
  padding-left: 24px;
  margin-top: 8px;
}

.legal-block ul li {
  color: var(--color-text-muted);
  line-height: 1.8;
  margin-bottom: 4px;
}

/* ---- Footer ---- */
.footer {
  border-top: 1px solid var(--color-border);
  padding: 60px 0 40px;
  background: var(--color-bg);
}

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

.footer-brand p {
  color: var(--color-text-muted);
  margin-top: 8px;
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  justify-content: center;
}

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

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

.footer-copy p {
  color: var(--color-text-muted);
  font-size: 0.8rem;
  opacity: 0.7;
}

/* ---- Animations ---- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(10, 10, 15, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    padding: 32px 0;
    gap: 24px;
    border-bottom: 1px solid var(--color-border);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: all var(--transition);
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .hero {
    min-height: 85vh;
    padding-top: 100px;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .game-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 32px 24px;
    gap: 24px;
  }

  .store-buttons {
    justify-content: center;
  }

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

  .section {
    padding: 72px 0;
  }

  .section-title {
    font-size: 1.75rem;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.8rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .game-icon {
    width: 110px;
    height: 110px;
  }

  .sand-bottle-icon svg {
    width: 80px;
    height: 80px;
  }

  .store-buttons {
    flex-direction: column;
  }

  .store-btn {
    justify-content: center;
  }
}
