@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap");

:root {
  --bg: #10131a;
  --surface: #171c26;
  --surface-2: #202737;
  --text: #f7f3ea;
  --muted: #b7becb;
  --line: rgba(255, 255, 255, 0.12);
  --accent: #f05d5e;
  --accent-2: #54c6a7;
  --warning: #f0b45d;
  --shadow: 0 22px 70px rgba(0, 0, 0, 0.32);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  color: var(--text);
  background:
    linear-gradient(rgba(16, 19, 26, 0.72), rgba(16, 19, 26, 0.95)),
    url("favicon.png") center 5rem / 420px auto no-repeat,
    var(--bg);
  line-height: 1.6;
}

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

button,
div[role="button"] {
  font: inherit;
}

.container {
  width: min(100% - 40px, var(--max));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(16, 19, 26, 0.86);
  backdrop-filter: blur(16px);
}

.nav-wrap {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: 0;
}

.brand::first-letter {
  color: var(--accent);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 600;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--text);
}

.hero {
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
  padding: 56px 0 68px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.75fr);
  gap: 38px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent-2);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(3rem, 7vw, 6.5rem);
  line-height: 0.94;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  font-size: 1.18rem;
  margin-bottom: 10px;
}

.hero-text {
  max-width: 720px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

.action-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: 820px;
  margin-top: 10px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  background: rgba(10, 13, 19, 0.58);
  box-shadow:
    0 22px 58px rgba(0, 0, 0, 0.34),
    0 0 0 1px rgba(84, 198, 167, 0.08);
}

.portal-card {
  min-height: 132px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  padding: 22px;
  border: 1px solid rgba(84, 198, 167, 0.62);
  border-radius: 8px;
  background:
    radial-gradient(circle at 18% 12%, rgba(84, 198, 167, 0.34), transparent 36%),
    linear-gradient(135deg, rgba(84, 198, 167, 0.26), rgba(32, 39, 55, 0.96) 42%, rgba(23, 28, 38, 1)),
    var(--surface);
  box-shadow:
    0 16px 40px rgba(0, 0, 0, 0.34),
    0 0 22px rgba(84, 198, 167, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.portal-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.16), transparent);
  transform: translateX(-120%) skewX(-18deg);
  transition: transform 480ms ease;
}

.portal-card::after {
  content: "Read";
  position: absolute;
  right: 16px;
  bottom: 16px;
  padding: 5px 10px;
  border-radius: 999px;
  color: #07110f;
  background: var(--accent-2);
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
}

.portal-card:hover,
.portal-card:focus-visible {
  outline: none;
  transform: translateY(-7px) scale(1.025);
  border-color: rgba(84, 198, 167, 0.95);
  box-shadow:
    0 24px 52px rgba(0, 0, 0, 0.46),
    0 0 0 4px rgba(84, 198, 167, 0.14),
    0 0 34px rgba(84, 198, 167, 0.3);
}

.portal-card:hover::before,
.portal-card:focus-visible::before {
  transform: translateX(120%) skewX(-18deg);
}

.portal-card span {
  position: relative;
  z-index: 1;
  color: var(--text);
  font-size: 1.28rem;
  font-weight: 800;
  line-height: 1.15;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.28);
}

.portal-card strong {
  position: relative;
  z-index: 1;
  max-width: calc(100% - 58px);
  color: rgba(247, 243, 234, 0.78);
  font-size: 0.88rem;
  font-weight: 700;
}

.portal-card.mature {
  border-color: rgba(240, 180, 93, 0.7);
  background:
    radial-gradient(circle at 18% 12%, rgba(240, 180, 93, 0.36), transparent 36%),
    linear-gradient(135deg, rgba(240, 180, 93, 0.28), rgba(47, 39, 33, 0.97) 42%, rgba(23, 28, 38, 1)),
    var(--surface);
}

.portal-card.mature::after {
  color: #1f1405;
  background: var(--warning);
}

.portal-card.mature:hover,
.portal-card.mature:focus-visible {
  border-color: rgba(240, 180, 93, 0.96);
  box-shadow:
    0 18px 44px rgba(0, 0, 0, 0.38),
    0 0 0 4px rgba(240, 180, 93, 0.14),
    0 0 28px rgba(240, 180, 93, 0.24);
}

.hero-panel {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(32, 39, 55, 0.94), rgba(18, 23, 33, 0.94));
  box-shadow: var(--shadow);
}

.stat-row {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.stat-row:last-child {
  border-bottom: 0;
}

.stat-row span {
  display: block;
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
}

.stat-row strong {
  font-size: 1.08rem;
}

.section {
  padding: 82px 0;
  border-top: 1px solid var(--line);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.05rem;
}

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

.trend-card,
.loading-card,
.info-card,
.faq-item,
.step {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.trend-card {
  overflow: hidden;
}

.trend-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
  background: var(--surface-2);
}

.trend-body {
  padding: 15px;
}

.trend-body h3 {
  min-height: 48px;
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.trend-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  font-size: 0.86rem;
}

.trend-meta span {
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--surface-2);
}

.loading-card {
  grid-column: 1 / -1;
  padding: 26px;
  color: var(--muted);
}

.split-section {
  background: rgba(23, 28, 38, 0.42);
}

.split-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 38px;
  align-items: start;
}

.split-grid > div:first-child p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.08rem;
}

.steps {
  display: grid;
  gap: 14px;
}

.step {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 18px;
  padding: 20px;
}

.step span {
  color: var(--accent);
  font-weight: 800;
}

.step p {
  margin: 0;
  color: var(--muted);
}

.safety-section {
  background: rgba(18, 24, 34, 0.76);
}

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

.info-card {
  padding: 24px;
}

.info-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.faq-wrap {
  max-width: 900px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-question {
  width: 100%;
  padding: 20px 22px;
  border: 0;
  color: var(--text);
  background: transparent;
  text-align: left;
  cursor: pointer;
  font-weight: 800;
  font-size: 1rem;
}

.faq-question::after {
  content: "+";
  float: right;
  color: var(--accent-2);
  font-size: 1.25rem;
  line-height: 1;
}

.faq-item.active .faq-question::after {
  content: "-";
}

.faq-answer {
  display: none;
  padding: 0 22px 20px;
  color: var(--muted);
}

.faq-item.active .faq-answer {
  display: block;
}

.faq-answer p {
  margin-bottom: 0;
}

.site-footer {
  padding: 58px 0 26px;
  border-top: 1px solid var(--line);
  background: #0c0f15;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 1fr;
  gap: 34px;
}

.footer-grid p,
.footer-grid address,
.footer-bottom {
  color: var(--muted);
}

.footer-grid h2 {
  font-size: 1rem;
  margin-bottom: 16px;
}

.footer-grid a:not(.brand) {
  display: block;
  width: fit-content;
  margin-bottom: 8px;
  color: var(--muted);
}

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

.footer-brand {
  display: inline-block;
  margin-bottom: 14px;
}

address {
  font-style: normal;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
}

.footer-bottom p {
  margin: 0;
}

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

  .action-grid,
  .trending-grid,
  .info-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .container {
    width: min(100% - 28px, var(--max));
  }

  .nav-wrap {
    min-height: 66px;
  }

  .nav-links {
    display: none;
  }

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

  .action-grid,
  .trending-grid,
  .info-grid {
    grid-template-columns: 1fr;
  }

  .portal-card {
    min-height: 96px;
  }

  .section {
    padding: 58px 0;
  }

  .step {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .footer-bottom {
    flex-direction: column;
  }
}
