:root {
  --font-display: "Bebas Neue", "Arial Narrow", sans-serif;
  --font-body: "Space Grotesk", "Trebuchet MS", sans-serif;
  --bg-page: #090c11;
  --bg-page-alt: #0d131c;
  --panel-bg: rgba(14, 19, 27, 0.9);
  --panel-bg-strong: rgba(8, 12, 18, 0.96);
  --panel-soft: rgba(255, 255, 255, 0.04);
  --border-soft: rgba(255, 188, 92, 0.16);
  --border-strong: rgba(255, 204, 128, 0.36);
  --text-main: #f6efe2;
  --text-muted: #c0b7aa;
  --text-soft: #988f83;
  --accent: #ffc15a;
  --success: #83d7aa;
  --danger: #ff9c8d;
  --shadow-lg: 0 28px 90px rgba(0, 0, 0, 0.36);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --content-width: min(1180px, calc(100% - 2rem));
}

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

html {
  min-height: 100%;
  font-family: var(--font-body);
  background:
    radial-gradient(circle at top left, rgba(255, 127, 42, 0.18), transparent 28rem),
    radial-gradient(circle at top right, rgba(90, 146, 255, 0.14), transparent 32rem),
    linear-gradient(180deg, var(--bg-page) 0%, var(--bg-page-alt) 100%);
  color: var(--text-main);
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  background: transparent;
  color: inherit;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(9, 12, 17, 0.72) 0%, rgba(9, 12, 17, 0.84) 100%),
    radial-gradient(circle at 20% 20%, rgba(255, 127, 42, 0.18), transparent 20rem),
    radial-gradient(circle at 80% 0%, rgba(255, 193, 90, 0.12), transparent 18rem),
    url("/assets/images/site-background-shuriken.png") center / cover no-repeat;
  opacity: 0.26;
  pointer-events: none;
  z-index: -1;
}

body.page-auth::before,
body.page-account::before,
body.page-verify::before {
  background:
    linear-gradient(180deg, rgba(9, 12, 17, 0.76) 0%, rgba(9, 12, 17, 0.88) 100%),
    radial-gradient(circle at top left, rgba(255, 127, 42, 0.2), transparent 18rem),
    radial-gradient(circle at bottom right, rgba(255, 193, 90, 0.16), transparent 20rem),
    url("/assets/images/site-background-shuriken.png") center / cover no-repeat;
  opacity: 0.22;
}

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

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

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

button,
input {
  font: inherit;
}

button {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
}

button:disabled,
.button:disabled {
  cursor: wait;
  opacity: 0.7;
}

[hidden] {
  display: none !important;
}

.container {
  width: var(--content-width);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  background: rgba(7, 10, 15, 0.78);
  backdrop-filter: blur(18px);
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  color: var(--text-main);
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border: 1px solid var(--border-strong);
  border-radius: 1rem;
  background:
    linear-gradient(135deg, rgba(255, 193, 90, 0.9), rgba(255, 127, 42, 0.88));
  color: #1b1205;
  font-family: var(--font-display);
  font-size: 1.55rem;
  letter-spacing: 0.05em;
  box-shadow: 0 14px 32px rgba(255, 127, 42, 0.28);
}

.brand-copy {
  display: grid;
  gap: 0.2rem;
}

.brand-copy strong {
  font-size: 1rem;
  letter-spacing: 0.03em;
}

.brand-copy small {
  color: var(--text-soft);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.nav-links a,
.nav-links .nav-text-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0.8rem 1rem;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--text-muted);
  transition:
    color 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}

.nav-links a:hover,
.nav-links .nav-text-button:hover,
.nav-links a.is-active,
.nav-links .nav-text-button.is-active {
  color: var(--text-main);
  border-color: var(--border-soft);
  background: rgba(255, 255, 255, 0.04);
  transform: translateY(-1px);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 3.2rem;
  padding: 0.95rem 1.25rem;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  color: var(--text-main);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    filter 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 28px rgba(0, 0, 0, 0.18);
  filter: saturate(1.08);
}

.button-primary {
  background:
    linear-gradient(135deg, rgba(255, 212, 133, 1), rgba(255, 127, 42, 0.96));
  color: #1c140b;
  font-weight: 700;
}

.button-secondary {
  background: rgba(255, 255, 255, 0.04);
}

.button-block {
  width: 100%;
}

.main-shell {
  padding: clamp(2rem, 4vw, 4rem) 0 5rem;
}

.panel {
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, var(--panel-bg) 0%, rgba(8, 12, 18, 0.96) 100%);
  box-shadow: var(--shadow-lg);
}

.section {
  margin-top: 1.75rem;
}

.section-inner,
.hero-copy,
.page-intro,
.verification-card,
.feature-card,
.gallery-card,
.support-card,
.auth-panel,
.account-panel {
  padding: 1rem;
}

.section-heading {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.eyebrow,
.kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.05);
  color: var(--accent);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0.03em;
  line-height: 0.95;
  text-transform: uppercase;
}

h1 {
  font-size: clamp(3.4rem, 8vw, 6.2rem);
}

h2 {
  font-size: clamp(2.2rem, 4.8vw, 3.6rem);
}

h3 {
  font-size: clamp(1.75rem, 3vw, 2.4rem);
}

p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.7;
}

.hero-grid,
.feature-grid,
.gallery-grid,
.account-grid,
.auth-layout,
.support-grid,
.split-callout {
  display: grid;
  gap: 1.25rem;
}

.hero-copy p {
  max-width: 42rem;
  font-size: 1.04rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.5rem;
}

.hero-actions.center {
  justify-content: center;
}

.hero-stats {
  display: grid;
  gap: 1rem;
  margin-top: 1.6rem;
}

.stat-tile {
  padding: 1rem 1.1rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.04);
}

.stat-value {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 2rem;
}

.stat-label {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.hero-showcase {
  display: grid;
  gap: 1rem;
  padding: 1rem;
}

.hero-showcase .media-frame,
.auth-preview .media-frame {
  min-height: 20rem;
}

.media-frame {
  position: relative;
  overflow: hidden;
  border-radius: calc(var(--radius-xl) - 8px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #06080d;
}

.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-frame::after {
  content: "";
  position: absolute;
  inset: 35% 0 0;
  background: linear-gradient(180deg, transparent 0%, rgba(7, 9, 13, 0.92) 100%);
}

.hero-showcase-copy {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.85rem;
  margin-top: -6rem;
  padding: 0 1rem 1rem;
}

.chip-row,
.fact-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  min-height: 2.15rem;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(7, 10, 15, 0.76);
  color: var(--text-main);
  font-size: 0.86rem;
}

.feature-card,
.gallery-card,
.support-card,
.auth-panel,
.account-panel {
  display: grid;
  gap: 1rem;
}

.feature-card .media-frame,
.gallery-card .media-frame {
  aspect-ratio: 16 / 10;
}

.detail-list,
.support-list {
  display: grid;
  gap: 0.85rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.detail-list li,
.support-list li {
  padding: 0.95rem 1rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--text-muted);
}

.form-shell {
  display: grid;
  gap: 1rem;
}

.field {
  display: grid;
  gap: 0.45rem;
}

.field label,
.fact-label {
  color: var(--text-soft);
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.field input {
  width: 100%;
  min-height: 3.35rem;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  background: rgba(7, 10, 15, 0.88);
  color: var(--text-main);
}

.field input::placeholder {
  color: rgba(246, 239, 226, 0.38);
}

.field input:focus {
  outline: none;
  border-color: var(--border-strong);
  box-shadow: 0 0 0 3px rgba(255, 193, 90, 0.12);
}

.form-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.link-inline {
  color: var(--accent);
  font-weight: 600;
}

.msg {
  min-height: 1.25rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.msg.success,
.msg.error,
.msg.info {
  min-height: 0;
  padding: 0.95rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.msg.success {
  color: #d9ffeb;
  border-color: rgba(131, 215, 170, 0.3);
  background: rgba(29, 78, 58, 0.36);
}

.msg.error {
  color: #ffe6e1;
  border-color: rgba(255, 156, 141, 0.34);
  background: rgba(98, 34, 23, 0.38);
}

.msg.info {
  color: #fff3d9;
  border-color: rgba(255, 193, 90, 0.28);
  background: rgba(76, 52, 14, 0.38);
}

.fact-tile {
  flex: 1 1 11rem;
  padding: 1rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.04);
}

.fact-value {
  display: block;
  margin-top: 0.35rem;
  color: var(--text-main);
  font-size: 1.04rem;
  font-weight: 500;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  width: fit-content;
  padding: 0.6rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(131, 215, 170, 0.26);
  background: rgba(29, 78, 58, 0.3);
  color: #d7ffe7;
  font-size: 0.9rem;
}

.status-pill::before {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 0.3rem rgba(131, 215, 170, 0.16);
}

.status-pill.pending {
  border-color: rgba(255, 193, 90, 0.28);
  background: rgba(76, 52, 14, 0.3);
  color: #fff2cf;
}

.status-pill.pending::before {
  background: var(--accent);
  box-shadow: 0 0 0 0.3rem rgba(255, 193, 90, 0.16);
}

.verification-shell {
  display: grid;
  place-items: center;
  min-height: calc(100vh - 8rem);
}

.verification-card {
  max-width: 44rem;
  text-align: center;
}

.verification-mark {
  display: inline-grid;
  place-items: center;
  width: 5rem;
  height: 5rem;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background:
    linear-gradient(135deg, rgba(255, 212, 133, 1), rgba(255, 127, 42, 0.96));
  color: #20160c;
  font-size: 2rem;
  font-weight: 700;
  box-shadow: 0 20px 40px rgba(255, 127, 42, 0.24);
}

.footer {
  padding: 0 0 2.5rem;
  color: var(--text-soft);
  text-align: center;
  font-size: 0.9rem;
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(22rem, 0.9fr);
  }

  .hero-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .feature-grid,
  .gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .support-grid,
  .split-callout,
  .account-grid,
  .auth-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 899px) {
  .site-header {
    position: static;
  }

  .site-nav {
    flex-direction: column;
    align-items: stretch;
  }

  .nav-links {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 1rem, 100%);
  }

  .hero-actions,
  .form-meta {
    flex-direction: column;
    align-items: stretch;
  }

  .button,
  .nav-links a,
  .nav-links .nav-text-button {
    width: 100%;
  }

  .hero-showcase .media-frame,
  .auth-preview .media-frame {
    min-height: 16rem;
  }
}
