/* GameTaro Landing Page Styles */
/* Minimal, dark, modern */

:root {
  --bg-primary: #0a0f0d;
  --bg-secondary: #111815;
  --bg-card: rgba(255, 255, 255, 0.03);
  --bg-glass: rgba(255, 255, 255, 0.05);
  
  --text-primary: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.7);
  --text-muted: rgba(255, 255, 255, 0.5);
  
  --accent-primary: #8b1e2d;
  --accent-gold: #ffd34d;
  --accent-green: #6cffc0;
  --accent-purple: #bfa8ff;
  
  --border: rgba(255, 255, 255, 0.1);
  --border-hover: rgba(255, 255, 255, 0.2);
  
  --radius: 16px;
  --radius-sm: 8px;
  
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--text-primary);
}

.logo-icon {
  font-size: 24px;
  color: var(--accent-gold);
}

.logo-image {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: contain;
}

.logo-text {
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 2px;
}

.nav-cta {
  padding: 10px 20px;
  background: var(--accent-primary);
  color: white;
  text-decoration: none;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 14px;
  transition: var(--transition);
}

.nav-cta:hover {
  background: #a02435;
  transform: translateY(-2px);
}

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

.hero-bg {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse at 30% 20%, rgba(139, 30, 45, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 80%, rgba(108, 255, 192, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

.hero-content {
  text-align: center;
  max-width: 700px;
  z-index: 1;
}

.hero-badge {
  display: inline-block;
  padding: 8px 16px;
  background: var(--bg-glass);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 32px;
}

.hero-title {
  font-size: clamp(36px, 6vw, 56px);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 24px;
}

.hero-title .highlight {
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 20px;
  color: var(--text-secondary);
  margin-bottom: 40px;
}

.hero-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 32px;
  background: var(--accent-primary);
  color: white;
  text-decoration: none;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 16px;
  transition: var(--transition);
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background: #a02435;
  transform: translateY(-2px);
  box-shadow: 0 20px 40px rgba(139, 30, 45, 0.3);
}

.btn-primary svg {
  transition: var(--transition);
}

.btn-primary:hover svg {
  transform: translateX(4px);
}

.btn-large {
  padding: 20px 40px;
  font-size: 18px;
}

.hero-note {
  font-size: 14px;
  color: var(--text-muted);
}

/* Hero Visual */
.hero-visual {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.floating-card {
  position: absolute;
  width: 120px;
  height: 160px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.1s ease-out;
}

.card-1 {
  top: 20%;
  left: 10%;
}

.card-2 {
  top: 30%;
  right: 15%;
  animation: float 6s ease-in-out infinite;
}

.card-3 {
  bottom: 20%;
  left: 20%;
  animation: float 8s ease-in-out infinite reverse;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

.card-inner {
  text-align: center;
}

.card-number {
  display: block;
  font-size: 48px;
  font-weight: 700;
  color: var(--accent-green);
}

.card-label {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.dice-visual {
  font-size: 64px;
}

.tarot-card {
  font-size: 72px;
  color: var(--accent-purple);
}

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

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent-gold);
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
}

/* What Section */
.section-what {
  background: var(--bg-secondary);
}

.what-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-bottom: 48px;
}

.what-card {
  padding: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: var(--transition);
  opacity: 0;
  transform: translateY(20px);
}

.what-card.visible {
  opacity: 1;
  transform: translateY(0);
}

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

.what-icon {
  font-size: 40px;
  margin-bottom: 16px;
}

.what-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
}

.what-card p {
  color: var(--text-secondary);
  font-size: 15px;
}

.what-warning {
  text-align: center;
  padding: 24px;
  background: rgba(255, 211, 77, 0.05);
  border: 1px solid rgba(255, 211, 77, 0.2);
  border-radius: var(--radius);
  color: var(--text-secondary);
}

.what-warning strong {
  color: var(--accent-gold);
}

/* Tools Section */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.tool-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  opacity: 0;
  transform: translateY(20px);
}

.tool-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.tool-card:hover {
  border-color: var(--accent-gold);
  transform: translateY(-4px);
}

.tool-featured {
  border-color: rgba(255, 211, 77, 0.3);
}

.tool-visual {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(108, 255, 192, 0.05), transparent);
}

.dice-bg {
  background: linear-gradient(135deg, rgba(255, 211, 77, 0.05), transparent);
}

.tarot-bg {
  background: linear-gradient(135deg, rgba(191, 168, 255, 0.05), transparent);
}

.runes-bg {
  background: linear-gradient(135deg, rgba(139, 30, 45, 0.05), transparent);
}

.tool-content {
  padding: 24px;
}

.tool-content h3 {
  font-size: 20px;
  margin-bottom: 12px;
}

.tool-content p {
  color: var(--text-secondary);
  font-size: 15px;
  margin-bottom: 16px;
}

.tool-tag {
  display: inline-block;
  padding: 6px 12px;
  background: var(--bg-glass);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
}

.tool-tag-featured {
  background: rgba(255, 211, 77, 0.1);
  color: var(--accent-gold);
}

/* Matrix Mini */
.matrix-mini {
  position: relative;
  width: 100px;
  height: 100px;
}

.m-cell {
  position: absolute;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 14px;
}

.m-center {
  top: 32px;
  left: 32px;
  background: rgba(108, 255, 192, 0.1);
  border-color: var(--accent-green);
  color: var(--accent-green);
}

.m-top { top: 0; left: 32px; }
.m-bottom { bottom: 0; left: 32px; }
.m-left { left: 0; top: 32px; }
.m-right { right: 0; top: 32px; }

.dice-icon { font-size: 64px; }
.tarot-icon { font-size: 64px; color: var(--accent-purple); }

.runes-preview {
  display: flex;
  gap: 8px;
}

.runes-preview span {
  width: 16px;
  height: 16px;
  background: var(--accent-gold);
  border-radius: 50%;
  opacity: 0.6;
}

/* How Section */
.section-how {
  background: var(--bg-secondary);
}

.steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

.step {
  flex: 1;
  min-width: 250px;
  max-width: 300px;
  padding: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition);
}

.step.visible {
  opacity: 1;
  transform: translateY(0);
}

.step-number {
  font-size: 48px;
  font-weight: 700;
  color: var(--accent-primary);
  margin-bottom: 16px;
  opacity: 0.5;
}

.step-content h3 {
  font-size: 20px;
  margin-bottom: 8px;
}

.step-content p {
  color: var(--text-secondary);
  font-size: 15px;
}

.step-arrow {
  font-size: 32px;
  color: var(--accent-gold);
  opacity: 0.5;
}

@media (max-width: 900px) {
  .step-arrow {
    transform: rotate(90deg);
  }
}

/* Stars Section */
.section-stars {
  padding: 80px 0;
}

.stars-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.stars-card {
  max-width: none;
  margin: 0;
  padding: 48px;
  background: linear-gradient(135deg, rgba(255, 211, 77, 0.05), transparent);
  border: 1px solid rgba(255, 211, 77, 0.2);
  border-radius: var(--radius);
  text-align: center;
}

.stars-icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.stars-icon-wrap {
  margin-bottom: 16px;
}

.tg-star-big {
  width: 28px;
  height: 28px;
  display: inline-block;
}

.tg-star-inline {
  width: 14px;
  height: 14px;
  vertical-align: -1px;
}

.stars-card h2 {
  font-size: 28px;
  margin-bottom: 16px;
}

.stars-desc {
  color: var(--text-secondary);
  margin-bottom: 32px;
}

.stars-rules {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
}

.rule {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: var(--bg-card);
  border-radius: var(--radius-sm);
}

.rule-check {
  color: var(--accent-green);
  font-weight: 700;
}

/* Safety Section */
.section-safety {
  background: var(--bg-secondary);
}

.partner-card {
  border-color: rgba(108, 255, 192, 0.35);
  background: linear-gradient(135deg, rgba(108, 255, 192, 0.08), transparent);
}

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

.safety-item {
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition);
}

.safety-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.safety-item h4 {
  font-size: 16px;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.safety-item p {
  color: var(--text-secondary);
  font-size: 14px;
}

/* CTA Section */
.section-cta {
  padding: 80px 0 120px;
}

.cta-card {
  max-width: 600px;
  margin: 0 auto;
  padding: 64px 48px;
  background: linear-gradient(135deg, rgba(139, 30, 45, 0.1), transparent);
  border: 1px solid rgba(139, 30, 45, 0.3);
  border-radius: var(--radius);
  text-align: center;
}

.cta-card h2 {
  font-size: 32px;
  margin-bottom: 16px;
}

.cta-card > p {
  color: var(--text-secondary);
  margin-bottom: 32px;
}

.cta-note {
  margin-top: 24px;
  font-size: 14px;
  color: var(--text-muted);
}

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

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

.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
}

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

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  transition: var(--transition);
}

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

.footer-copy {
  color: var(--text-muted);
  font-size: 14px;
}

/* Responsive */
@media (max-width: 768px) {
  .hero {
    padding: 100px 20px 60px;
  }
  
  .hero-title {
    font-size: 32px;
  }
  
  .hero-subtitle {
    font-size: 16px;
  }
  
  .floating-card {
    display: none;
  }
  
  .nav-container {
    padding: 12px 16px;
  }
  
  .nav-cta {
    padding: 8px 14px;
    font-size: 13px;
  }
  
  .section {
    padding: 60px 0;
  }
  
  .what-grid,
  .tools-grid,
  .safety-grid {
    grid-template-columns: 1fr;
  }
  
  .steps {
    flex-direction: column;
  }
  
  .step-arrow {
    transform: rotate(90deg);
  }
  
  .stars-card,
  .cta-card {
    padding: 32px 24px;
  }

  .stars-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-links {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

/* Utility */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
