@font-face {
  font-family: "Russo One";
  font-style: normal;
  font-weight: 400;
  font-display: block;
  src: url("fonts/RussoOne-Regular.woff2") format("woff2");
}

@font-face {
  font-family: "Pangolin";
  font-style: normal;
  font-weight: 400;
  font-display: block;
  src: url("fonts/Pangolin-Regular.woff2") format("woff2");
}

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

:root {
  --bg: #0d0d0d;
  --bg-card: #161616;
  --bg-section: #111111;
  --accent: #ff2d6b;
  --accent-dim: #cc1f52;
  --text: #f0f0f0;
  --text-muted: #888888;
  --border: #222222;
  --radius: 12px;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: "Pangolin", cursive;
  font-size: 17px;
  line-height: 1.7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

a:hover {
  opacity: 0.75;
}

h1,
h2,
h3 {
  font-family: "Russo One", sans-serif;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0.01em;
}

/* ── HEADER ── */
header {
  padding: 24px 32px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: #0d0d0d;
  z-index: 100;
}

header .logo {
  order: 1;
  margin-right: auto;
}

header .lang-switcher {
  order: 2;
}

header nav {
  order: 3;
  margin-left: auto;
}

.logo {
  font-family: "Russo One", sans-serif;
  font-size: 1.2rem;
  color: var(--text);
  letter-spacing: 0.05em;
}

.logo span {
  color: var(--accent);
}

nav {
  display: flex;
  gap: 28px;
  align-items: center;
}

nav a {
  color: var(--text-muted);
  font-family: "Pangolin", cursive;
  font-size: 0.95rem;
  transition: color 0.2s;
}

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

/* ── MAIN ── */
main {
  flex: 1;
}

/* ── HERO ── */
.hero {
  text-align: center;
  padding: 100px 24px 80px;
  max-width: 760px;
  margin: 0 auto;
}

.hero-eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(2.4rem, 7vw, 4.5rem);
  margin-bottom: 24px;
}

.hero h1 .highlight {
  color: var(--accent);
}

.hero p {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto 48px;
}

/* ── STORE BUTTONS ── */
@keyframes store-glow {
  0%,
  100% {
    box-shadow: 0 0 18px 2px rgba(255, 45, 107, 0.35);
  }
  50% {
    box-shadow: 0 0 32px 6px rgba(255, 45, 107, 0.6);
  }
}

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

.btn-store {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: linear-gradient(135deg, #ff2d6b 0%, #cc1f52 100%);
  border: none;
  border-radius: var(--radius);
  padding: 18px 32px;
  color: #fff;
  font-family: "Pangolin", cursive;
  font-size: 1rem;
  transition:
    transform 0.2s,
    box-shadow 0.2s,
    background 0.2s;
  animation: store-glow 2.4s ease-in-out infinite;
  cursor: pointer;
}

.btn-store:hover {
  background: linear-gradient(135deg, #ff4d82 0%, #e0215a 100%);
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 8px 32px rgba(255, 45, 107, 0.55);
  opacity: 1;
  color: #fff;
  animation: none;
}

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

.btn-store-icon {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.btn-store .btn-label {
  text-align: left;
  line-height: 1.2;
}

.btn-store .btn-label small {
  display: block;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.75);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.btn-store .btn-label strong {
  font-weight: 400;
  font-size: 1.1rem;
}

.btn-store.coming-soon {
  background: linear-gradient(135deg, #ff2d6b 0%, #cc1f52 100%);
  opacity: 1;
  cursor: pointer;
  pointer-events: auto;
}

.btn-store.btn-store-outline {
  background: #fff;
  border: 2px solid var(--accent);
  color: var(--accent);
  animation: none;
  box-shadow: 0 0 18px 2px rgba(255, 45, 107, 0.2);
}

.btn-store.btn-store-outline .btn-label small {
  color: rgba(255, 45, 107, 0.7);
}

.btn-store.btn-store-outline:hover {
  background: #fff0f4;
  box-shadow: 0 8px 32px rgba(255, 45, 107, 0.35);
  transform: translateY(-3px) scale(1.03);
  animation: none;
}

/* ── ANDROID NOTIFY FORM ── */
.android-notify-form {
  max-width: 420px;
  margin: 0 auto;
  padding: 0 0 8px;
}

.android-notify-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 10px;
  text-align: center;
}

.android-notify-row {
  display: flex;
  gap: 8px;
}

.android-notify-input {
  flex: 1;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 14px;
  color: var(--text);
  font-family: "Pangolin", cursive;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s;
}

.android-notify-input:focus {
  border-color: var(--accent);
}

.android-notify-input::placeholder {
  color: var(--text-muted);
}

.android-notify-btn {
  background: var(--accent);
  border: none;
  border-radius: 8px;
  padding: 10px 18px;
  color: #fff;
  font-family: "Pangolin", cursive;
  font-size: 0.9rem;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s;
}

.android-notify-btn:hover {
  background: var(--accent-dim);
}

.android-notify-msg {
  font-size: 0.82rem;
  margin-top: 8px;
  text-align: center;
}

.android-notify-msg--ok {
  color: #4caf82;
}

.android-notify-msg--err {
  color: var(--accent);
}

/* ── APP SCREENSHOTS ── */
.screenshots {
  padding: 56px 24px;
  overflow: hidden;
}

.screenshots-track {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 1000px;
  margin: 0 auto;
}

.screenshot-img {
  width: 200px;
  height: auto;
  border-radius: 16px;
  border: 1px solid var(--border);
  object-fit: cover;
  box-shadow: 0 4px 24px rgba(0,0,0,0.4);
}

/* ── ZODIAC ICON ── */
.feature-zodiac-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  line-height: 1;
  background: none;
}

/* ── FEATURES ── */
.features {
  background: var(--bg-section);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 80px 24px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
}

.feature-img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  margin-bottom: 16px;
  display: block;
}

.feature-text {
  flex: 1;
}

.feature-card h3 {
  font-size: 1rem;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ── PAGE HEADER (inner pages) ── */
.page-header {
  padding: 64px 24px 48px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.page-header h1 {
  font-size: clamp(1.8rem, 5vw, 3rem);
  margin-bottom: 12px;
  overflow-wrap: break-word;
  word-break: break-word;
}

.page-header .updated {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ── DOCUMENT CONTENT (privacy / terms) ── */
.doc-content {
  max-width: 760px;
  margin: 0 auto;
  padding: 56px 24px 80px;
}

.doc-content h2 {
  font-size: 1.25rem;
  margin-top: 48px;
  margin-bottom: 12px;
  color: var(--accent);
}

.doc-content h2:first-child {
  margin-top: 0;
}

.doc-content p {
  margin-bottom: 16px;
  color: #d0d0d0;
}

.doc-content ul,
.doc-content ol {
  margin: 0 0 16px 24px;
  color: #d0d0d0;
}

.doc-content li {
  margin-bottom: 6px;
}

.doc-content a {
  word-break: break-word;
}

.doc-content .notice-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 8px;
  padding: 16px 20px;
  margin-bottom: 24px;
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* ── SUPPORT PAGE ── */
.support-layout {
  max-width: 760px;
  margin: 0 auto;
  padding: 56px 24px 80px;
}

.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 24px 0;
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-item h3 {
  font-size: 1rem;
  margin-bottom: 10px;
  color: var(--text);
}

.faq-item p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.contact-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 32px;
  text-align: center;
  margin-top: 56px;
}

.contact-box h2 {
  font-size: 1.4rem;
  margin-bottom: 12px;
}

.contact-box p {
  color: var(--text-muted);
  margin-bottom: 20px;
}

.contact-box .email-link {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  border-radius: 8px;
  padding: 12px 28px;
  font-family: "Russo One", sans-serif;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  transition: background 0.2s;
}

.contact-box .email-link:hover {
  background: var(--accent-dim);
  opacity: 1;
}

/* ── FOOTER ── */
footer {
  border-top: 1px solid var(--border);
  padding: 40px 32px;
  text-align: center;
}

.footer-links {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

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

.footer-links a:hover {
  color: var(--accent);
  opacity: 1;
}

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

/* ── SECTION TITLE ── */
.section-title {
  text-align: center;
  margin-bottom: 48px;
}

.section-title h2 {
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  margin-bottom: 10px;
}

.section-title p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ── DIVIDER ── */
.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0;
}

/* ── LANG SWITCHER ── */
.lang-switcher {
  display: flex;
  gap: 4px;
  align-items: center;
}

.lang-btn {
  background: none;
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text-muted);
  font-family: "Pangolin", cursive;
  font-size: 0.8rem;
  padding: 4px 8px;
  cursor: pointer;
  transition:
    border-color 0.2s,
    color 0.2s;
  line-height: 1;
}

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

.lang-btn.active {
  border-color: var(--accent);
  color: var(--accent);
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  header {
    padding: 12px 20px;
    gap: 10px;
  }

  header nav {
    order: 3;
    width: 100%;
    margin-left: 0;
    gap: 16px;
    justify-content: flex-start;
  }

  nav a {
    font-size: 0.85rem;
  }

  .hero {
    padding: 64px 20px 56px;
  }

  .store-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn-store {
    width: 100%;
    max-width: 320px;
    padding: 16px 24px;
  }

  .feature-card {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
  }

  .feature-img {
    margin-bottom: 0;
    width: 56px;
    height: 56px;
  }

  .screenshot-img {
    width: 150px;
  }

  .android-notify-row {
    flex-direction: column;
  }

  .android-notify-btn {
    width: 100%;
  }

  .doc-content,
  .support-layout {
    padding: 40px 20px 60px;
  }

  footer {
    padding: 32px 20px;
  }
}
