:root {
  color-scheme: dark;
  font-family: "Inter", "Segoe UI", system-ui, sans-serif;
  --bg: #0f0500;
  --bg-gradient: linear-gradient(135deg, #1a0a00 0%, #0f0500 50%, #0a0300 100%);
  --surface: rgba(255, 140, 0, 0.08);
  --surface-hover: rgba(255, 140, 0, 0.15);
  --accent: #ff8c00;
  --accent-light: #ffa500;
  --accent-dark: #ff6b00;
  --text: #fff5e6;
  --text-muted: rgba(255, 245, 230, 0.7);
  --border: rgba(255, 140, 0, 0.2);
  --shadow: 0 8px 32px rgba(255, 140, 0, 0.15);
  --shadow-hover: 0 12px 48px rgba(255, 140, 0, 0.25);
}

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

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg-gradient);
  background-attachment: fixed;
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.app-container {
  max-width: 640px;
  margin: 0 auto;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Header */
.app-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(15, 5, 0, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 10px 20px;
}

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

.header-logo {
  height: auto;
  max-height: 36px;
  width: auto;
  display: block;
  margin: 0;
}

.site-title {
  font-size: 1.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--accent-light), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em;
}

/* Floating Support Button */
.floating-support {
  position: fixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 200;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(255, 140, 0, 0.3);
  transition: all 0.3s ease;
}

.floating-support:hover {
  background: var(--surface-hover);
  border-color: var(--accent-light);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 6px 30px rgba(255, 140, 0, 0.5);
}

.floating-support img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.contact-btn:hover {
  background: var(--surface-hover);
  border-color: var(--accent);
  transform: translateY(-1px);
}

/* Main */
.app-main {
  flex: 1;
  padding: 24px 20px 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Hero Section */
.hero-section {
  text-align: center;
  padding: 0 8px;
}

.hero-badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  font-weight: 500;
}

.hero-title {
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 0;
  color: var(--text);
}

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

.hero-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  max-width: 320px;
  margin: 0 auto;
}

/* Platforms Grid */
.platforms-section {
  width: 100%;
  margin-bottom: 8px;
  margin-top: -8px;
}

.platforms-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.platform-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.platform-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-dark), var(--accent-light));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.platform-card:hover {
  background: var(--surface-hover);
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.platform-card:hover::before {
  opacity: 1;
}

.platform-card--featured {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, rgba(255, 140, 0, 0.12), rgba(255, 107, 0, 0.08));
  border-color: var(--accent);
}

.platform-card--featured::before {
  opacity: 1;
}

.platform-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  object-fit: cover;
  border: 2px solid var(--border);
  transition: all 0.3s ease;
  margin: 0;
}

.platform-card:hover .platform-icon {
  border-color: var(--accent);
  transform: scale(1.05);
}

.platform-info {
  text-align: center;
  width: 100%;
  margin-top: -4px;
}

.platform-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}

.platform-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin-bottom: 12px;
}

.platform-btn {
  width: 100%;
  padding: 10px 16px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent-dark), var(--accent));
  color: #0f0500;
  font-weight: 600;
  font-size: 0.9rem;
  text-align: center;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.platform-btn:hover {
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(255, 140, 0, 0.4);
}

/* Platform Stats (inside 8CC card) */
.platform-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin: 8px 0;
  padding: 12px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.platform-stat-item {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.platform-stat-number {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--accent-light);
  line-height: 1;
}

.platform-stat-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  line-height: 1.2;
}

/* Section Titles */
.section-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
  text-align: center;
}

.section-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 24px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* Why Section */
.why-section {
  width: 100%;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.why-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
  text-align: center;
  transition: all 0.3s ease;
}

.why-card:hover {
  background: var(--surface-hover);
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.why-icon {
  font-size: 2rem;
  margin-bottom: 12px;
}

.why-card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}

.why-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

/* Promo Section */
.promo-section {
  width: 100%;
}

.promo-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.promo-item {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px;
  transition: all 0.3s ease;
  overflow: hidden;
}

.promo-item:hover {
  background: var(--surface-hover);
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.promo-item a {
  display: block;
  text-decoration: none;
  color: inherit;
}

.promo-image {
  width: 100%;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
  cursor: pointer;
}

.promo-item:hover .promo-image {
  transform: scale(1.02);
}

.promo-text {
  color: var(--text);
}

.promo-text h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 8px 0;
  line-height: 1.4;
}

.promo-text p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

/* FAQ Section */
.faq-section {
  width: 100%;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
  transition: all 0.3s ease;
}

.faq-item:hover {
  background: var(--surface-hover);
  border-color: var(--accent);
}

.faq-question {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}

.faq-answer {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

/* Footer */
.app-footer {
  padding: 32px 20px;
  text-align: center;
  border-top: 1px solid var(--border);
  background: rgba(15, 5, 0, 0.5);
}

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

.footer-text {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin: 0;
}

.footer-social {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: center;
  margin: 4px 0;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.footer-social a:hover {
  transform: translateY(-2px) scale(1.1);
}

.footer-social img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.footer-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.5;
}

.footer-copyright {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin: 0;
  margin-top: 4px;
}

/* Responsive */
@media (min-width: 480px) {
  .platforms-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-title {
    font-size: 2rem;
  }

  .why-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 640px) {
  .platforms-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .platform-card--featured {
    grid-column: 1 / -1;
  }
}

