:root {
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
  color: #050505;
  background-color: #f5f6fb;
}

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

body,
html {
  margin: 0;
  padding: 0;
  max-height: 100%;
  background-color: #0b101f;
  color: #fff;
}

body {
  min-height: 100vh;
}

body.dark-shell {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    linear-gradient(180deg, #0c0f2a, #151934);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-blend-mode: screen;
}

body.wallpaper-background {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    linear-gradient(180deg, #0c0f2a, #151934),
    url("/static/img/wallpaper.png");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-blend-mode: screen;
}

.app-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding-bottom: 4rem;
}

.global-header {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  margin-top:1.5rem;
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(5, 6, 20, 0.7);
  backdrop-filter: blur(18px);
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.dashboard-shell .global-header {
  max-width: 1200px;
}

.logo-group {
  display: flex;
  flex-direction: column;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
}

.logo-mark img {
  width: 100px;
  height: auto;
  display: block;
}

.logo-text {
  font-size: 1.1rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #ffffff;
  font-weight: 600;
}

.logo-tagline {
  font-size: 0.75rem;
  color: #95a0ff;
  margin: 0;
}

.nav-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  align-items: center;
}

.language-flags {
  display: flex;
  gap: 0.4rem;
}

.language-flag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  text-decoration: none;
  font-size: 1.25rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid transparent;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.language-flag:hover,
.language-flag:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.6);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.25);
}

.language-flag.is-active {
  border-color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.15);
}

.nav-link,
.secondary-link {
  padding: 0.5rem 1rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: transform 0.2s ease, opacity 0.2s ease;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.nav-link:hover,
.secondary-link:hover {
  transform: translateY(-1px);
  opacity: 0.9;
}

.secondary-link {
  background: linear-gradient(135deg, #ff7aa8, #805dff);
}

.nav-link.muted {
  background: rgba(255, 255, 255, 0.04);
}

.wallet-pill {
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
}

main {
  flex: 1;
  width: 100%;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 1.5rem;
}

.flash-area {
  width: min(100%, 1200px);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin: 0 auto;
}

.flash-pill {
  padding: 0.8rem 1rem;
  border-radius: 0.85rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.flash-pill.success {
  background: rgba(102, 255, 207, 0.14);
  border-color: rgba(102, 255, 207, 0.4);
  color: #89ffd8;
}

.flash-pill.warning {
  background: rgba(255, 201, 102, 0.12);
  border-color: rgba(255, 201, 102, 0.5);
  color: #ffe3a4;
}

.flash-pill.info {
  background: rgba(132, 183, 255, 0.12);
  border-color: rgba(132, 183, 255, 0.4);
  color: #b6c9ff;
}

.auth-shell {
  min-height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  padding: 2.5rem 1rem;
  text-align: center;
}

.auth-logo {
  display: flex;
  justify-content: center;
  width: 100%;
}

.auth-logo img {
  width: min(180px, 40vw);
  height: auto;
  display: block;
}

.auth-card {
  width: min(420px, 100%);
  background: rgba(7, 9, 22, 0.95);
  border-radius: 2rem;
  padding: 3rem 2.25rem;
  box-shadow: 0 35px 70px rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.auth-card .auth-header,
.auth-card .auth-footer {
  width: 100%;
  text-align: center;
}

.auth-form form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

.auth-form .field-group {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
}

.auth-form .field-group span {
  width: 100%;
  text-align: center;
  letter-spacing: 0.35em;
  font-size: 0.75rem;
  color: #cfc9ff;
}

.auth-form .input-field {
  width: 100%;
}

.auth-remember {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-align: center;
}

.hero:not(.landing-hero),
.call-screen,
.payment-screen {
  width: 100%;
  max-width: 420px;
}

.hero {
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.hero.landing-hero {
  max-width: 1100px;
}

.profile-card{
  background: rgba(10, 12, 30, 0.9);
  border-radius: 1.5rem;
  padding: clamp(2rem, 3vw, 3rem);
  box-shadow: 0 15px 60px rgba(0, 0, 0, 0.35);
  text-align: left;
  width: 100%;
  max-width: 1080px;
  position: relative;
  overflow: hidden;
}

.landing-hero .profile-card {
  width: 100%;
}

.profile-columns {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(320px, 1.5fr);
  gap: 2.5rem;
  align-items: start;
}

.profile-visuals {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
}

.card-logo {
  display: flex;
  justify-content: center;
}

.card-logo img {
  max-width: 180px;
  width: 45%;
  height: auto;
}

.call-screen,
.payment-card {
  background: rgba(10, 12, 30, 0.9);
  border-radius: 1.5rem;
  padding: 1.75rem;
  box-shadow: 0 15px 60px rgba(0, 0, 0, 0.35);
  text-align: center;
}

.call-screen {
  max-height: calc(100vh - 3rem);
  overflow-y: auto;
}

.profile-card h1,
.call-screen h2,
.payment-card h2 {
  margin: 0.5rem 0;
}

.demo-page {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto 3rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.home-choice {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto 4rem;
  padding: 0 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.minimal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.5rem 0 0.5rem;
}

.minimal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  align-items: center;
}

.minimal-nav a {
  color: #d7dffb;
  text-decoration: none;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
}

.minimal-nav a:hover {
  color: #ffffff;
}

.choice-hero {
  background: linear-gradient(140deg, rgba(12, 16, 40, 0.95), rgba(30, 22, 64, 0.85));
  border-radius: 2rem;
  padding: 2.5rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.45);
}

.choice-hero h1 {
  margin: 0 0 0.75rem;
  font-size: 2.7rem;
}

.choice-hero p {
  margin: 0;
  color: #c8d0ff;
  font-size: 1.05rem;
  max-width: 680px;
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.choice-card {
  background: rgba(10, 12, 30, 0.8);
  border-radius: 1.5rem;
  padding: 1.75rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-height: 220px;
}

.choice-card h2 {
  margin: 0;
  font-size: 1.4rem;
}

.choice-card p {
  margin: 0;
  color: #c8d0ff;
}

.choice-cta {
  margin-top: auto;
  display: flex;
}

.choice-button {
  border-radius: 999px;
  padding: 0.9rem 1.8rem;
  font-weight: 600;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(135deg, #ff7aa8, #805dff);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.choice-button.creator {
  background: linear-gradient(135deg, #5fd1ff, #4c6dff);
}

.choice-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

.home-hero {
  background: rgba(7, 9, 22, 0.9);
  border-radius: 2rem;
  padding: 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.45);
}

.hero-copy h1 {
  margin: 0.35rem 0;
  font-size: 2.5rem;
  letter-spacing: 0.05em;
}

.eyebrow {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.35em;
  color: #cfc9ff;
  margin-bottom: 0.5rem;
}

.hero-tagline {
  font-size: 1rem;
  color: #aab5ff;
}

.hero-description {
  margin-top: 1rem;
  line-height: 1.5;
  color: #d7dffb;
}

.hero-actions {
  margin: 1.5rem 0 0.6rem;
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.primary-btn,
.secondary-btn {
  border-radius: 999px;
  padding: 0.8rem 1.6rem;
  font-weight: 600;
  text-decoration: none;
  font-size: 0.95rem;
  transition: transform 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.primary-btn {
  background: linear-gradient(135deg, #ff7aa8, #805dff);
  color: #fff;
}

.secondary-btn {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.primary-btn:hover,
.secondary-btn:hover {
  transform: translateY(-1px);
}

.hero-price {
  margin: 0;
  font-size: 1rem;
  color: #89ffd8;
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-visual img {
  width: 100%;
  max-width: 320px;
  border-radius: 1.5rem;
  border: 2px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

.hero-badge {
  position: absolute;
  bottom: 1rem;
  right: 1.25rem;
  background: rgba(5, 6, 20, 0.85);
  padding: 0.5rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  text-align: right;
}

.hero-badge span {
  display: block;
  font-size: 0.75rem;
  color: #93a0ff;
}

.hero-badge strong {
  font-size: 1rem;
  color: #fff;
}

.home-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.feature-card {
  background: rgba(10, 12, 30, 0.75);
  border-radius: 1.25rem;
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.35);
}

.feature-card h3 {
  margin-top: 0;
  margin-bottom: 0.35rem;
  color: #fff;
}

.feature-card p {
  margin: 0;
  color: #c6c9ff;
  line-height: 1.4;
}

.home-story {
  background: rgba(7, 9, 22, 0.85);
  border-radius: 2rem;
  padding: 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}

.home-story h2 {
  margin-top: 0;
  margin-bottom: 1rem;
}

.home-story ol {
  padding-left: 1.1rem;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  color: #d8dbff;
}

.story-card {
  background: rgba(255, 255, 255, 0.02);
  border-radius: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.5rem;
}

.story-label {
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #a1adff;
  margin-bottom: 0.5rem;
}

.story-quote {
  margin: 0;
  font-style: italic;
  color: #f2f4ff;
  line-height: 1.6;
}

.home-cta {
  background: rgba(5, 6, 20, 0.85);
  border-radius: 1.75rem;
  padding: 2rem;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.home-cta h3 {
  margin: 0;
  margin-bottom: 0.5rem;
}

.home-cta p {
  margin: 0 auto 1rem;
  max-width: 540px;
  color: #cfd4ff;
}

.home-cta .hero-actions {
  justify-content: center;
  margin-top: 1rem;
}

.home-explainer,
.home-audience,
.home-voice,
.home-trust,
.home-journey,
.home-pricing,
.home-social,
.home-faq {
  background: rgba(7, 9, 22, 0.85);
  border-radius: 2rem;
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.home-explainer p,
.home-explainer h2,
.home-audience h2,
.home-voice h2,
.home-trust h2,
.home-journey h2,
.home-pricing h2,
.home-social h2,
.home-faq h2 {
  margin: 0;
}

.explainer-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.explainer-grid h3 {
  margin-top: 0;
  margin-bottom: 0.35rem;
}

.explainer-grid ul {
  margin: 0;
  padding-left: 1.1rem;
  color: #d6dbff;
  line-height: 1.6;
}

.home-audience .audience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}

.audience-card {
  background: rgba(255, 255, 255, 0.02);
  border-radius: 1.5rem;
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.audience-card h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.audience-card ul {
  margin: 0;
  padding-left: 1.1rem;
  color: #cfd4ff;
  line-height: 1.55;
}

.home-voice {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  align-items: center;
}

.home-voice ul {
  margin: 0;
  padding-left: 1.1rem;
  color: #d6dbff;
  line-height: 1.5;
}

.voice-quote {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 1.5rem;
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-style: italic;
  color: #f5f7ff;
}

.home-trust {
  gap: 1.5rem;
}

.trust-points {
  margin: 0;
  padding-left: 1.1rem;
  list-style: disc;
  color: #d5dbff;
  line-height: 1.6;
}

.home-journey .journey-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.journey-card {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 1.25rem;
  padding: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  min-height: 160px;
}

.journey-card span {
  font-size: 0.85rem;
  letter-spacing: 0.25em;
  color: #95a0ff;
}

.journey-card h3 {
  margin: 0.4rem 0;
}

.journey-card p {
  margin: 0;
  color: #cfd4ff;
  line-height: 1.4;
}

.home-pricing .pricing-highlight {
  color: #94ffd5;
  font-weight: 600;
}

.home-social .social-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.social-card {
  background: rgba(255, 255, 255, 0.02);
  border-radius: 1.5rem;
  padding: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  min-height: 140px;
}

.social-card .story-quote {
  margin: 0 0 0.6rem 0;
  font-style: italic;
  color: #f5f7ff;
}

.social-card .story-label {
  margin: 0;
  color: #a1adff;
  font-size: 0.8rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

.home-faq .faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.faq-item {
  background: rgba(255, 255, 255, 0.02);
  border-radius: 1.5rem;
  padding: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.faq-item h3 {
  margin: 0 0 0.4rem 0;
}

.faq-item p {
  margin: 0;
  color: #cfd4ff;
  line-height: 1.45;
}

.auth-shell {
  width: 100%;
  max-width: 460px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
}

.auth-card {
  background: rgba(10, 12, 30, 0.95);
  border-radius: 1.8rem;
  padding: 2.25rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55);
  width: 100%;
}

.auth-header h1 {
  margin: 0.15rem 0;
  font-size: 2rem;
}

.auth-subtext {
  color: #cfd4ff;
  margin: 0;
  line-height: 1.4;
}

.auth-form {
  margin-top: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.auth-footer {
  margin-top: 1.5rem;
  text-align: center;
}

.auth-card .field-group span {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  color: #8ea0ff;
  text-transform: uppercase;
}

.auth-card .field-group input {
  font-size: 1rem;
}

.auth-remember {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: #cfd4ff;
}

.auth-remember .checkbox-input {
  width: 16px;
  height: 16px;
}

.auth-link-line {
  margin: 0.35rem 0;
  color: #aab0ff;
  font-size: 0.9rem;
}

.auth-link-line a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}

.auth-link-line a:hover {
  opacity: 0.8;
}

.checkbox-input {
  accent-color: #ff7aa8;
}

.auth-card form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (max-width: 640px) {
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .primary-btn,
  .secondary-btn {
    width: 100%;
    justify-content: center;
  }
  
  .cta-button-group {
    flex-direction: column;
  }
}

@media (max-width: 900px) {
  .profile-columns {
    grid-template-columns: 1fr;
  }

  .action-panel {
    flex-direction: column;
  }
}

@media (max-width: 540px) {
  .profile-card {
    padding: 1.5rem;
  }

  .token-modal__content {
    width: min(90vw, 320px);
  }
}

.profile-card form {
  display: flex;
  justify-content: center;
}

.name-wrapper {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 0.5rem;
}

.profile-details .name-wrapper {
  align-items: flex-start;
}

.name-wrapper h1 {
  margin: 0;
}

.price-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.rate-pill-group {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  align-items: center;
}

.rate-pill,
.subscription-pill {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
}

.rate-pill {
  background: rgba(255, 255, 255, 0.15);
}

.subscription-pill {
  background: rgba(255, 255, 255, 0.04);
  color: #d3d6ff;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.avatar-placeholder {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff7aa8, #805dff);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 600;
  margin: 0 auto 1rem;
  overflow: hidden;
}

.avatar-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.price {
  font-size: 1.1rem;
  font-weight: 600;
}

.tagline {
  color: #c2c6ff;
}

.social-icons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin: 0;
  color: #a2a8ff;
}

.profile-details {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.landing-description {
  color: #d6dbff;
  margin: 0;
  line-height: 1.5;
}

.action-panel {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.cta-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.cta-button-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  width: 100%;
}

.cta-button-group form {
  flex: 1 1 210px;
  margin: 0;
}

.cta-actions form {
  margin: 0;
}

.cta-actions .note {
  flex-basis: 100%;
}

.token-packs-link {
  font-size: 0.9rem;
  color: #d5deff;
  cursor: pointer;
  text-decoration: underline;
  text-align: center;
  display: inline-flex;
  justify-content: center;
}

.token-packs-link:focus-visible {
  outline: 2px solid #a6b5ff;
  outline-offset: 2px;
}
.icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}

.icon svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
}

.icon.instagram {
  color: #ff9a6c;
}

.icon.x {
  color: #fff;
}

.icon.onlyfans {
  color: #4ac0ff;
}

.icon:hover {
  transform: translateY(-3px);
}

button,
.primary,
.secondary,
.danger {
  border: none;
  border-radius: 999px;
  padding: 0.9rem 1.5rem;
  font-size: 1rem;
  cursor: pointer;
  font-weight: 600;
}

button:disabled,
.primary:disabled,
.secondary:disabled,
.danger:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  filter: grayscale(0.4);
  box-shadow: none;
}

.primary {
  background: linear-gradient(135deg, #ff7aa8, #805dff);
  color: #fff;
  display: inline-block;
  text-align: center;
}

.secondary {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.secondary.small {
  padding: 0.45rem 0.9rem;
  font-size: 0.9rem;
}

.danger {
  background: rgba(255, 61, 108, 0.2);
  color: #ff7aa8;
}

.dashboard-page {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 0 1rem 2rem;
}

.dashboard-layout {
  width: min(100%, 1200px);
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.dashboard-sidebar {
  width: 240px;
  padding: 1.5rem;
  border-radius: 1.5rem;
  background: rgba(8, 9, 25, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.dashboard-sidebar nav {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.dashboard-sidebar nav a {
  color: #d5dbff;
  text-decoration: none;
  font-weight: 600;
  padding: 0.4rem 0.75rem;
  border-radius: 0.75rem;
  transition: background 0.2s ease, color 0.2s ease;
}

.dashboard-sidebar nav a:hover {
  background: rgba(255, 255, 255, 0.08);
}

.dashboard-sidebar nav a.active {
  background: rgba(147, 158, 255, 0.22);
  color: #f5f6ff;
}

.dashboard-panel {
  width: min(100%, 1200px);
  background: rgba(10, 12, 30, 0.92);
  border-radius: 1.5rem;
  padding: clamp(1.75rem, 2vw + 1.5rem, 2.75rem);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.dashboard-layout .dashboard-panel {
  flex: 1;
  width: 100%;
}

.publish-checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.publish-checklist-item {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 1rem;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.publish-checklist-item.complete {
  border-color: rgba(142, 244, 191, 0.4);
}

.publish-checklist-item.incomplete {
  border-color: rgba(255, 164, 90, 0.35);
}

.checklist-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.status-pill.ok {
  background: rgba(90, 225, 160, 0.2);
  color: #aef1c9;
}

.status-pill.missing {
  background: rgba(255, 168, 98, 0.2);
  color: #ffd0a8;
}

.publish-toggle-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.toggle-row {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
}

.publish-hero {
  margin-top: 1.5rem;
}

.publish-hero-surface {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: clamp(1.5rem, 2vw + 1rem, 2.25rem);
  border-radius: 1.6rem;
  background: radial-gradient(circle at top right, rgba(126, 133, 255, 0.35), transparent 55%),
    linear-gradient(135deg, rgba(17, 20, 48, 0.9), rgba(10, 12, 30, 0.95));
  border: 1px solid rgba(138, 150, 255, 0.28);
  box-shadow: 0 22px 55px rgba(10, 12, 30, 0.55);
}

.publish-hero-copy {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-width: 240px;
}

.publish-hero-title {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.publish-hero-title h2 {
  margin: 0;
  font-size: clamp(1.5rem, 1.2vw + 1.2rem, 2rem);
}

.publish-hero-form {
  align-items: flex-start;
  min-width: min(320px, 100%);
  gap: 0.6rem;
}

.publish-toggle {
  font-size: 1.05rem;
  gap: 0.75rem;
}

.publish-toggle input {
  width: 1.1rem;
  height: 1.1rem;
  accent-color: #8ea1ff;
}

.publish-cta {
  padding: 0.75rem 1.6rem;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: 0 12px 24px rgba(110, 125, 255, 0.3);
}

.publish-cta:disabled {
  box-shadow: none;
  opacity: 0.55;
}

@media (max-width: 720px) {
  .publish-hero-surface {
    align-items: flex-start;
  }

  .publish-hero-form {
    width: 100%;
  }
}

.session-panel {
  padding-bottom: 2rem;
}

.session-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.session-card {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.25rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.session-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.session-badges {
  display: flex;
  gap: 0.35rem;
}

.status-chip {
  padding: 0.3rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  text-transform: capitalize;
  font-size: 0.85rem;
}

.session-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0.85rem;
  margin: 0;
}

.session-meta div {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.session-meta dt {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #a1adff;
  margin: 0;
}

.session-meta dd {
  margin: 0;
  font-size: 0.95rem;
  color: #f0f2ff;
  line-height: 1.4;
}

.session-summary dd {
  white-space: pre-line;
}

.session-card-actions {
  margin-top: 1rem;
  display: flex;
  justify-content: flex-end;
}

.earnings-table {
  width: 100%;
  border-collapse: collapse;
}

.earnings-table th,
.earnings-table td {
  text-align: left;
  padding: 0.65rem 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.95rem;
}

.earnings-table thead th {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.earnings-table tbody tr:last-child td {
  border-bottom: none;
}

.session-footer {
  margin-top: 1.5rem;
  text-align: right;
}

.panel-header {
  margin-bottom: 1.25rem;
}

.panel-header h1 {
  margin: 0.25rem 0;
}

.panel-header .muted {
  color: #8ea0ff;
}

.profile-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.panel-header .profile-actions {
  margin-top: 0.75rem;
}

.copy-status {
  font-size: 0.85rem;
  color: #8ea0ff;
  min-width: 150px;
}

.note {
  font-size: 0.85rem;
  margin: 0.35rem 0 0;
}

.note-center {
  text-align: center;
}

.photo-management {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.photo-management .panel-header h2 {
  margin: 0.1rem 0;
}

.photo-form {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 1.5rem;
}

.photo-collection {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.photo-card {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 1.25rem;
  padding: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.photo-card img {
  width: 100%;
  border-radius: 1rem;
  object-fit: cover;
  height: 180px;
}

.photo-description {
  font-size: 0.9rem;
  color: #d5d9ff;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.tag-pill {
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background: rgba(132, 183, 255, 0.2);
  color: #b8c7ff;
  font-size: 0.75rem;
  font-weight: 600;
}

.profile-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.field-section {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.name-section-title {
  letter-spacing: 0.25em;
  font-size: 0.85rem;
  text-transform: uppercase;
  color: #9a9eff;
  margin-bottom: 0.4rem;
}

.creator-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 33.333%));
  gap: 0.85rem;
}

.creator-card {
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 1rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.02);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  cursor: pointer;
}

.creator-card {
  text-decoration: none;
  color: inherit;
}

.creator-card:hover {
  border-color: rgba(255, 255, 255, 0.2);
}

.creator-card h3 {
  margin: 0;
  font-size: 1.2rem;
}

.creator-card.two-column-card {
  display: grid;
  grid-template-columns: 35% 65%;
  gap: 1rem;
  align-items: center;
}

.creator-card-column {
  display: flex;
  justify-content: center;
  align-items: center;
}

.creator-card-circle {
  width: 80px;
  height: 80px;
}

.creator-card-content-column {
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  padding-top: 0.4rem;
  gap: 0.35rem;
}

.creator-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: #8f97bd;
}

.creator-card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.creator-card-avatar {
  width: 80px;
  height: 80px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
  flex-shrink: 0;
}

.creator-card-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.creator-card-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.creator-card-stat {
  flex: 1 1 140px;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.creator-card-content-column {
  padding-top: 0.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.creator-card-title-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.creator-status-badge {
  font-size: 0.4rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.05);
  margin-bottom:0.5rem;
}

.creator-status-badge.subscribed {
  color: #a0d8ff;
  border-color: rgba(160, 216, 255, 0.6);
}

.creator-status-badge.not-subscribed {
  color: #f1b9ff;
  border-color: rgba(241, 185, 255, 0.5);
}

.creator-card-row-stats {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: nowrap;
}

.top-creators-section {
  gap: 0.5rem;
  padding-top: 0;
}

.top-creators-section .section-heading {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  margin-bottom: 0.2rem;
}

.top-creators-section .section-subtitle {
  margin: 0;
  font-size: 0.95rem;
  letter-spacing: 0;
  color: #9ea6d3;
}

.subscriptions-section .section-subtitle {
  margin: 0;
  font-size: 0.95rem;
  letter-spacing: 0;
  color: #9ea6d3;
}

.top-creators-section .helper {
  letter-spacing: 0.25em;
  font-size: 0.9rem;
  color: #9a9eff;
}

.subscriptions-section .helper {
  letter-spacing: 0.25em;
  font-size: 0.95rem;
  color: #9a9eff;
}

.subscriptions-section {
  gap: 0.5rem;
  padding-top: 0.2rem;
}

.subscriptions-section .creator-grid {
  margin-top: 0.2rem;
}

.top-creators-section .creator-grid {
  margin-top: 0.2rem;
}

.subtagline {
  margin: 0;
  font-size: 0.92rem;
  color: #a0a7d9;
  line-height: 1.4;
}

.creator-card-stat strong {
  font-size: 0.95rem;
  letter-spacing: 0;
}

.stat-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #a0a7d9;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
}

.field-block {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.field-block small {
  letter-spacing: 0;
  text-transform: none;
}

.profile-form label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #aab3ff;
}

.checkbox-field {
  flex-direction: row;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.75rem;
  text-transform: none;
  letter-spacing: 0.08em;
}

.checkbox-field input[type="checkbox"] {
  width: 1rem;
  height: 1rem;
}

.dashboard-divider {
  border: none;
  height: 1px;
  margin: 3rem 0 2rem;
  background: linear-gradient(90deg, rgba(154, 158, 255, 0), rgba(154, 158, 255, 0.35), rgba(154, 158, 255, 0));
  opacity: 0.85;
}

.input-field {
  width: 100%;
  border: none;
  border-radius: 0.9rem;
  padding: 0.85rem 1rem;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 1rem;
}

.dashboard-panel .primary {
  align-self: flex-start;
}

.dashboard-panel small {
  font-size: 0.8rem;
  color: #919cbf;
}

@media (max-width: 768px) {
  .dashboard-layout {
    flex-direction: column;
  }

  .dashboard-sidebar {
    width: 100%;
  }

  .field-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-panel .primary {
    align-self: stretch;
    text-align: center;
  }

  .panel-header h1 {
    font-size: 2rem;
  }
}

.muted {
  color: #a3a9da;
  font-size: 0.9rem;
}

.admin-page {
  width: 100%;
  max-width: 1200px;
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.admin-sidebar {
  width: 240px;
  padding: 1.5rem;
  border-radius: 1.5rem;
  background: rgba(8, 9, 25, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.admin-sidebar nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.admin-sidebar nav a {
  color: #d5dbff;
  text-decoration: none;
  font-weight: 600;
  padding: 0.45rem 0;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

.admin-sidebar nav a:hover {
  border-color: rgba(255, 255, 255, 0.2);
}

.admin-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.admin-card {
  background: rgba(10, 12, 30, 0.92);
  border-radius: 1.4rem;
  padding: 1.75rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.admin-card header {
  margin-bottom: 0.75rem;
}

.overview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.overview-grid article {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 1rem;
  padding: 0.85rem 1rem;
}

.overview-grid .label {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #96a3ff;
  margin-bottom: 0.35rem;
}

.overview-grid .value {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0;
}

.user-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-top: 1rem;
}

.user-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(13, 16, 36, 0.85);
}

.user-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
  flex-wrap: wrap;
  min-width: 180px;
}

.user-actions form {
  flex: 1;
  min-width: 150px;
}

.user-actions button {
  width: 100%;
}

.user-email {
  margin: 0;
  font-weight: 600;
}

.role-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.3rem;
}

.role-pill {
  padding: 0.25rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.75rem;
}

.admin-card form button {
  font-size: 0.85rem;
  padding: 0.45rem 1rem;
}

.add-user-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.add-user-form .field-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.75rem;
}

.add-user-form label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #aab3ff;
}

.add-user-form button.primary {
  width: 190px;
  align-self: flex-start;
}

.admin-card .helper {
  color: #8ea0ff;
}

.admin-card .muted {
  color: #7f85c5;
}

@media (max-width: 900px) {
  .admin-page {
    flex-direction: column;
  }

  .admin-sidebar {
    width: 100%;
  }
}

.call-header,
.call-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 1rem;
}

.helper {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.75rem;
  color: #7f84ff;
}

.price-chip {
  padding: 0.35rem 0.8rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.name-wrapper .price-chip {
  position: static;
  transform: none;
  background: linear-gradient(135deg, #ffb86c, #ff7aa8);
  color: #fff;
  font-weight: 700;
  padding: 0.25rem 1rem;
}

.status-text {
  background: rgba(255, 255, 255, 0.05);
  padding: 0.6rem 0.8rem;
  border-radius: 0.75rem;
  text-align: center;
}

.waveform {
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin: 1.25rem 0;
}

.wave {
  width: 8px;
  height: 70px;
  background: linear-gradient(180deg, #ff7aa8, #805dff);
  border-radius: 999px;
  animation: bounce 1.1s ease-in-out infinite;
}

.waveform.loading .wave {
  background: linear-gradient(180deg, #3c3f68, #1f2242);
  animation: loadingPulse 1.4s ease-in-out infinite;
}

.wave.short {
  height: 40px;
  animation-delay: 0.2s;
}

.wave.tall {
  height: 100px;
  animation-delay: 0.4s;
}

@keyframes bounce {
  0%,
  100% {
    transform: scaleY(0.6);
  }

  50% {
    transform: scaleY(1);
  }
}

.daily-embed {
  position: relative;
  width: 100%;
  height: 320px;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 1.5rem;
  box-shadow: 0 15px 40px rgba(5, 6, 20, 0.4);
}

.daily-embed.hidden {
  display: none;
}

.daily-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

@keyframes loadingPulse {
  0%,
  100% {
    transform: scaleY(0.4);
    opacity: 0.5;
  }

  50% {
    transform: scaleY(0.7);
    opacity: 0.9;
  }
}

.timer-group {
  text-align: center;
}

.timer {
  font-size: 3rem;
  font-weight: 700;
}

.controls {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
}

.call-footer {
  margin-top: 2rem;
  font-size: 0.9rem;
  color: #b2b6ff;
}

.paywall-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5, 6, 20, 0.84);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hidden {
  display: none;
}

.paywall-card {
  background: #101233;
  padding: 2rem;
  border-radius: 1rem;
  text-align: center;
  max-width: 320px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.payment-card form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 1.5rem 0;
}

.payment-card input {
  width: 100%;
  padding: 0.8rem;
  border-radius: 0.75rem;
  border: none;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 1rem;
}

.payment-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  margin: 0.75rem auto 0;
}

.payment-description {
  color: #c1c7ff;
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0.5rem 0 1.25rem;
}

.field-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  text-align: left;
  width: 100%;
}

.field-row {
  display: flex;
  gap: 0.75rem;
  width: 100%;
  flex-wrap: wrap;
}

.field-row .field-group {
  flex: 1;
  min-width: 0;
}

.field-group input {
  text-align: left;
}

.payment-card input:focus {
  outline: 2px solid rgba(255, 122, 168, 0.6);
  box-shadow: 0 0 0 3px rgba(128, 93, 255, 0.25);
}

.primary {
  transition: box-shadow 200ms ease, transform 200ms ease;
}

.primary:hover {
  box-shadow: 0 12px 24px rgba(128, 93, 255, 0.35);
  transform: translateY(-1px);
}

@media (max-width: 500px) {
  .field-row {
    flex-direction: column;
  }
}

.flex {
  display: flex;
  gap: 1rem;
}

.full {
  width: 100%;
}

.token-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 60;
}

.token-modal.token-modal--open {
  display: flex;
}

.token-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 6, 20, 0.75);
  backdrop-filter: blur(4px);
}

.token-modal__content {
  position: relative;
  background: rgba(8, 11, 27, 0.95);
  border-radius: 1.25rem;
  padding: 1.75rem;
  width: min(520px, 90vw);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.token-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.token-modal__body table {
  width: 100%;
  border-collapse: collapse;
}

.token-modal__body th,
.token-modal__body td {
  padding: 0.65rem 0.4rem;
  text-align: left;
  font-size: 0.95rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.token-modal__body th {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #a2a8ff;
}

.token-modal__body td form {
  margin: 0;
}

.modal-close {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.25rem 0.75rem;
}

.modal-close:hover {
  color: #ff7aa8;
}
.link {
  margin-top: 0.4rem;
  color: #aab0ff;
  display: inline-block;
  text-align: center;
  width: 100%;
}

.global-footer {
  width: 100%;
  padding: 2rem 1.5rem 2.5rem;
  margin-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(5, 6, 20, 0.9);
  box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.35);
}

.footer-grid {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2rem;
  text-align: left;
}

.footer-logo-column p,
.footer-credits p,
.footer-contact p,
.footer-links p {
  color: #cfd4ff;
  margin: 0;
}

.footer-logo-column {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;

}

.footer-logo-column .footer-logo {
  padding: 0.25rem;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.footer-logo img {
  width: 120px;
  height: auto;
  display: block;
}

.footer-tagline {
  color: #9fb3ff;
  font-size: 0.9rem;
}

.footer-motto {
  font-size: 0.95rem;
  line-height: 1.4;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.footer-links a {
  color: #cfd4ff;
  text-decoration: none;
  font-weight: 500;
}

.footer-links a:hover {
  color: #fff;
}

.footer-links h4 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #9fb3ff;
}

.footer-contact h4 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #9fb3ff;
}

.footer-credits {
  width: 100%;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 2rem;
  padding-top: 1rem;
  display: flex;
  justify-content: center;
}

.footer-credits p {
  color: #9fb3ff;
  font-size: 0.85rem;
  margin: 0;
}

.app-version-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(7, 9, 22, 0.95);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
  padding: 0.65rem 0;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.35em;
  color: #d7dcff;
  pointer-events: none;
  z-index: 12;
}

@media (max-width: 960px) {
  .footer-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }
  .footer-logo-column {
    justify-content: center;
  }
}
