* {
  box-sizing: border-box;
}

:root {
  --border: rgba(255, 255, 255, 0.08);
  --text: #f4f4f5;
  --muted: #b8b8be;
  --yellow: #ffe100;
  --yellow-2: #ffef62;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  background:
    radial-gradient(circle at top, rgba(255, 225, 0, 0.08), transparent 28%),
    linear-gradient(180deg, #020202 0%, #060606 100%);
  color: var(--text);
  line-height: 1.65;
}

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

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.narrow {
  width: min(880px, calc(100% - 32px));
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(5, 5, 5, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.topbar-inner {
  min-height: 78px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--yellow);
  white-space: nowrap;
}

.nav-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.nav-tabs a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  color: #dddddf;
  font-weight: 600;
  font-size: 0.95rem;
  transition: background 0.18s ease, color 0.18s ease;
}

.nav-tabs a:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--yellow);
}

.topbar-tools {
  display: flex;
  align-items: center;
  gap: 12px;
}

.topbar-search input {
  width: 220px;
  min-height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  padding: 0 14px;
  outline: none;
}

.topbar-search input:focus {
  border-color: rgba(255, 225, 0, 0.45);
  box-shadow: 0 0 0 4px rgba(255, 225, 0, 0.08);
}

.topbar-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 14px;
  background: var(--yellow);
  color: #0b0b0b;
  font-weight: 800;
  white-space: nowrap;
}

.hero {
  padding: 54px 0 44px;
}

.brand-badge {
  display: inline-block;
  padding: 8px 14px;
  border: 1px solid rgba(255, 225, 0, 0.28);
  background: rgba(255, 225, 0, 0.08);
  color: var(--yellow);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  margin-bottom: 18px;
}

.hero h1 {
  margin: 0;
  max-width: 940px;
  font-size: clamp(2.2rem, 5vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.hero-text {
  max-width: 880px;
  margin-top: 20px;
  color: var(--muted);
  font-size: 1.08rem;
  text-align: justify;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 20px;
  border-radius: 16px;
  font-weight: 700;
}

.btn-primary {
  background: var(--yellow);
  color: #0b0b0b;
}

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

.hero-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.info-card,
.app-card,
.support-card,
.developer-box,
.legal-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.025) 0%, rgba(255,255,255,0.015) 100%);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.info-card {
  padding: 24px;
  border-radius: 22px;
}

.info-card h2 {
  margin: 0 0 10px;
  font-size: 1.1rem;
  color: var(--yellow);
}

.info-card p,
.section-heading p,
.app-desc,
.developer-box p,
.support-card p,
.legal-card p,
.deletion-card p,
.subtitle {
  margin: 0;
  color: var(--muted);
  text-align: justify;
}

.section {
  padding: 36px 0 24px;
}

.section-dark {
  padding-top: 56px;
}

.section-heading {
  margin-bottom: 22px;
}

.section-heading.center {
  text-align: center;
}

.section-tag {
  display: inline-block;
  color: var(--yellow);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  margin-bottom: 10px;
}

.section-heading h2 {
  margin: 0 0 8px;
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
}

.app-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.app-card {
  border-radius: 24px;
  padding: 22px;
}

.app-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.app-top h3 {
  margin: 0;
  font-size: 1.18rem;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 225, 0, 0.12);
  color: var(--yellow);
  font-size: 0.78rem;
  font-weight: 800;
  white-space: nowrap;
}

.app-desc {
  margin-bottom: 18px;
}

.app-links {
  display: grid;
  gap: 10px;
}

.app-links a,
.ghost-link {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.02);
  font-weight: 600;
}

.app-links a:hover {
  border-color: rgba(255, 225, 0, 0.4);
  color: var(--yellow-2);
}

.disabled {
  opacity: 0.56;
  cursor: default;
}

.no-results {
  text-align: center;
  color: var(--muted);
  margin-top: 24px;
  font-size: 1.02rem;
}

.developer-box,
.support-card {
  border-radius: 28px;
  padding: 30px;
}

.developer-box {
  text-align: center;
}

.developer-box p + p {
  margin-top: 16px;
}

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

.support-card h2 {
  margin: 0 0 10px;
  font-size: 2rem;
}

.support-card p {
  margin-bottom: 16px;
}

.email-link {
  display: inline-block;
  margin-top: 4px;
  font-size: clamp(1.2rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--yellow);
  word-break: break-word;
}

.site-footer {
  padding: 26px 0 52px;
  color: #9f9fa6;
  text-align: center;
}

.legal-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px 0;
}

.alt-page {
  display: block;
  padding: 40px 0;
}

.legal-card {
  width: min(900px, calc(100% - 32px));
  border-radius: 28px;
  padding: 32px;
}

.large-card {
  width: min(1160px, calc(100% - 32px));
}

.legal-card .mini {
  color: var(--yellow);
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  font-weight: 800;
  text-transform: uppercase;
}

.legal-card h1 {
  margin: 12px 0 10px;
  font-size: clamp(2rem, 4vw, 3rem);
}

.legal-card h2 {
  margin-top: 24px;
  margin-bottom: 8px;
  font-size: 1.3rem;
}

.legal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 14px;
  background: var(--yellow);
  color: #0b0b0b;
  font-weight: 800;
}

.secondary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 14px;
  border: 1px solid var(--border);
  font-weight: 700;
}

.deletion-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 20px;
}

.deletion-card {
  padding: 22px;
  border-radius: 22px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.02);
}

.deletion-card h3 {
  margin: 0 0 10px;
  color: var(--yellow);
}

.deletion-card p {
  margin-bottom: 10px;
}

@media (max-width: 1180px) {
  .topbar-inner {
    grid-template-columns: 1fr;
    justify-items: center;
    padding: 12px 0;
  }

  .topbar-tools {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 980px) {
  .hero-grid,
  .app-grid,
  .deletion-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  .hero {
    padding-top: 34px;
  }

  .hero-grid,
  .app-grid,
  .deletion-grid {
    grid-template-columns: 1fr;
  }

  .btn,
  .app-links a,
  .ghost-link,
  .topbar-cta {
    width: 100%;
  }

  .nav-tabs {
    width: 100%;
  }

  .nav-tabs a {
    flex: 1 1 auto;
    text-align: center;
  }

  .topbar-tools {
    flex-direction: column;
  }

  .topbar-search {
    width: 100%;
  }

  .topbar-search input {
    width: 100%;
  }

  .legal-card {
    padding: 24px;
  }
}
