/* Noxa Play — landing page theme */

:root {
  --bg: #060809;
  --bg-elevated: #0c0f11;
  --card: #12161a;
  --card-pressed: #181d22;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --accent: #c8ff3d;
  --accent-dim: rgba(200, 255, 61, 0.14);
  --accent-border: rgba(200, 255, 61, 0.35);
  --on-accent: #0a0c05;
  --text: #f4f6f7;
  --text-secondary: #a2aab3;
  --text-muted: #5f676f;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --max-width: 920px;
  --header-h: 72px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

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

a {
  color: var(--accent);
  text-decoration: none;
  transition: opacity 0.2s;
}

a:hover {
  opacity: 0.85;
}

.top-glow {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 320px;
  background: radial-gradient(ellipse 80% 60% at 50% -10%, rgba(200, 255, 61, 0.1), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  height: var(--header-h);
  background: rgba(6, 8, 9, 0.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

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

.logo-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 11px;
  background: var(--card);
  border: 1px solid var(--accent-border);
  color: var(--accent);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  line-height: 1;
}

.logo-wordmark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 2px;
}

.logo-small .logo-mark {
  width: 28px;
  height: 28px;
  font-size: 15px;
  border-radius: 8px;
}

.logo-small .logo-wordmark {
  font-size: 12px;
}

.header-nav {
  display: flex;
  gap: 24px;
}

.header-nav a {
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
}

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

/* Main layout */
main {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px 80px;
}

/* Hero */
.hero {
  text-align: center;
  padding: 64px 0 72px;
}

.kicker {
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 8vw, 3.5rem);
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.tagline {
  color: var(--text-secondary);
  font-size: clamp(1rem, 3vw, 1.15rem);
  max-width: 520px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

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

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 54px;
  padding: 0 32px;
  border-radius: var(--radius-lg);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.3px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, opacity 0.15s, box-shadow 0.15s;
}

.btn:active {
  transform: scale(0.98);
}

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

.btn-glow {
  box-shadow: 0 4px 24px rgba(200, 255, 61, 0.35);
}

.btn-glow:hover {
  box-shadow: 0 6px 32px rgba(200, 255, 61, 0.45);
  opacity: 1;
}

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

/* Sections */
.section {
  padding: 56px 0;
  border-top: 1px solid var(--border);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 1.85rem);
  font-weight: 700;
  margin-bottom: 12px;
}

.section-lead {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.75;
  margin-bottom: 32px;
  max-width: 680px;
}

.section-lead strong {
  color: var(--text);
  font-weight: 600;
}

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px;
}

.card-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-dim);
  border: 1px solid var(--accent-border);
  border-radius: var(--radius-md);
  color: var(--accent);
  font-size: 16px;
  margin-bottom: 14px;
}

.card h3 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 8px;
}

.card p {
  color: var(--text-secondary);
  font-size: 13.5px;
  line-height: 1.65;
}

/* Notice */
.notice {
  background: var(--accent-dim);
  border: 1px solid var(--accent-border);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
}

.notice h3 {
  color: var(--accent);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}

.notice p {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.75;
}

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

/* Download */
.download-section {
  text-align: center;
}

.download-section .section-lead {
  margin-left: auto;
  margin-right: auto;
}

.store-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-bottom: 16px;
}

.store-btn {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 200px;
  padding: 14px 24px;
  background: var(--card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  color: var(--text);
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s, transform 0.15s;
}

.store-btn:hover {
  background: var(--card-pressed);
  border-color: var(--accent-border);
  opacity: 1;
}

.store-btn:active {
  transform: scale(0.98);
}

.store-label {
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.3px;
}

.store-name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

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

/* Accordion */
.accordion {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.accordion-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.accordion-item[open] {
  border-color: var(--accent-border);
}

.accordion-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 22px;
  font-weight: 600;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
  transition: background 0.2s;
}

.accordion-item summary::-webkit-details-marker {
  display: none;
}

.accordion-item summary::after {
  content: "+";
  color: var(--accent);
  font-size: 20px;
  font-weight: 400;
  flex-shrink: 0;
  margin-left: 16px;
  transition: transform 0.2s;
}

.accordion-item[open] summary::after {
  content: "−";
}

.accordion-item summary:hover {
  background: var(--card-pressed);
}

.accordion-body {
  padding: 0 22px 22px;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.75;
  border-top: 1px solid var(--border);
  padding-top: 18px;
  margin: 0 22px 22px;
}

.accordion-body h4 {
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  margin: 18px 0 8px;
}

.accordion-body h4:first-child {
  margin-top: 0;
}

.accordion-body ul {
  padding-left: 20px;
  margin: 8px 0;
}

.accordion-body li {
  margin-bottom: 6px;
}

.accordion-body p {
  margin-bottom: 10px;
}

.legal-jump {
  margin-top: 24px;
  color: var(--text-muted);
  font-size: 13px;
}

.legal-jump a {
  font-weight: 500;
}

/* Contact */
.contact-section {
  text-align: center;
}

.contact-section .section-lead {
  margin-left: auto;
  margin-right: auto;
}

.contact-btn {
  font-size: 15px;
}

/* Footer */
.site-footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
  padding: 32px 24px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}

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

.footer-nav {
  display: flex;
  gap: 20px;
}

.footer-nav a {
  color: var(--text-secondary);
  font-size: 13px;
}

/* Highlight target from anchor links */
.accordion-item:target {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent-border);
}

/* Responsive */
@media (max-width: 640px) {
  .site-header {
    padding: 12px 16px;
  }

  .header-nav {
    gap: 16px;
  }

  .header-nav a {
    font-size: 13px;
  }

  main {
    padding: 0 16px 64px;
  }

  .hero {
    padding: 48px 0 56px;
  }

  .section {
    padding: 40px 0;
  }

  .store-btn {
    width: 100%;
    max-width: 280px;
  }

  .accordion-item summary {
    padding: 16px 18px;
    font-size: 14px;
  }

  .accordion-body {
    margin: 0 18px 18px;
    padding: 16px 0 0;
  }
}

@media (max-width: 400px) {
  .logo-wordmark {
    display: none;
  }
}
