/* Premium commerce design system for FoneTopup */
:root {
  --bg: #f7f6f2;
  --surface: #ffffff;
  --surface-alt: #f2f4f7;
  --ink: #0b1220;
  --muted: #5b6472;
  --accent: #0f4c81;
  --accent-600: #0c3d67;
  --accent-100: #e7f0fb;
  --gold: #b8893e;
  --border: #e6e8ec;
  --shadow: 0 18px 40px rgba(12, 28, 44, 0.10), 0 4px 16px rgba(12, 28, 44, 0.06);
  --shadow-soft: 0 12px 30px rgba(16, 24, 40, 0.08);
  --radius: 18px;
  --radius-sm: 12px;
  --radius-lg: 28px;
  --container: 1180px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Manrope", sans-serif;
  color: var(--ink);
  background: radial-gradient(1200px 600px at 10% -10%, rgba(15, 76, 129, 0.10), transparent),
              radial-gradient(1200px 600px at 90% -15%, rgba(184, 137, 62, 0.10), transparent),
              var(--bg);
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Fraunces", serif;
  letter-spacing: -0.01em;
  color: var(--ink);
}

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

.container {
  max-width: var(--container);
}

.site {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-main {
  flex: 1 0 auto;
}

/* Ensure modals overlay sticky nav */
.modal {
  z-index: 2000;
}

.modal-backdrop {
  z-index: 1990;
}

/* Utilities */
.text-muted {
  color: var(--muted) !important;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: 0.85rem;
  color: #0d1b2a !important;
}

.section {
  padding: 72px 0;
}

.section-sm {
  padding: 40px 0;
}

.section-muted {
  background: var(--surface-alt);
}

.section-white {
  background: var(--surface);
}

.hero {
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  right: -120px;
  top: -80px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(15, 76, 129, 0.25), transparent 60%);
  z-index: 0;
}

.hero .hero-card {
  position: relative;
  z-index: 1;
  background: rgba(255, 255, 255, 0.92);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(12, 28, 44, 0.08);
  box-shadow: var(--shadow);
  padding: 28px;
}

.hero-card .nav-pills {
  background: var(--surface-alt);
  border-radius: 999px;
  padding: 6px;
}

.hero-card .nav-pills .nav-link {
  flex: 1;
  text-align: center;
}

.hero-title {
  font-size: clamp(2.2rem, 3.4vw, 3.4rem);
  line-height: 1.1;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--muted);
}

/* Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1200;
  backdrop-filter: blur(12px);
  background: rgba(247, 246, 242, 0.85);
  border-bottom: 1px solid rgba(12, 28, 44, 0.08);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  font-weight: 700;
}

.brand img {
  height: 100px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  font-weight: 600;
}

.nav-links a {
  color: var(--ink);
  opacity: 0.85;
}

.nav-links a:hover {
  opacity: 1;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.account-dropdown {
  position: relative;
}

.account-dropdown summary {
  list-style: none;
  cursor: pointer;
}

.account-dropdown summary::-webkit-details-marker {
  display: none;
}

.account-dropdown .account-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  min-width: 220px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 12px;
  box-shadow: var(--shadow);
  display: none;
  z-index: 20;
}

.account-dropdown[open] .account-menu {
  display: grid;
  gap: 6px;
}

.account-dropdown .account-menu a {
  color: var(--ink);
  font-weight: 600;
  padding: 6px 8px;
  border-radius: 10px;
}

.account-dropdown .account-menu a:hover {
  background: var(--accent-100);
}

.account-dropdown .account-menu .divider {
  height: 1px;
  background: var(--border);
  margin: 6px 0;
}

.btn {
  border-radius: 999px;
  font-weight: 600;
  padding: 10px 20px;
}

.btn-primary {
  background: var(--accent);
  border-color: var(--accent);
}

.btn-primary:hover {
  background: var(--accent-600);
  border-color: var(--accent-600);
}

.btn-outline {
  border: 1px solid rgba(15, 76, 129, 0.3);
  color: var(--accent);
  background: transparent;
}

.btn-outline:hover {
  background: var(--accent);
  color: #fff;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 10px;
  padding: 8px 10px;
}

.mobile-menu {
  display: none;
}

body.nav-open .mobile-menu {
  display: block;
}

@media (max-width: 992px) {
  .nav-links,
  .nav-cta {
    display: none;
  }
  .nav-toggle {
    display: inline-flex;
  }
  .mobile-menu {
    background: var(--surface);
    border-top: 1px solid var(--border);
    padding: 18px 0 28px;
  }
  .mobile-menu a {
    display: block;
    padding: 10px 0;
    font-weight: 600;
    color: var(--ink);
  }
.mobile-cta {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mobile-account {
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 10px 14px;
  background: var(--surface);
}

.mobile-account summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}

.mobile-account summary::-webkit-details-marker {
  display: none;
}

.mobile-account-links {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.mobile-account-links a {
  font-weight: 600;
  color: var(--ink);
}
}

/* Cards */
.card {
  border-radius: var(--radius);
  border: 1px solid rgba(12, 28, 44, 0.08);
  box-shadow: var(--shadow-soft);
}

.card.shadow-strong {
  box-shadow: var(--shadow);
}

.service-card {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: 100%;
}

.service-card .icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--accent-100);
  color: var(--accent);
}

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

.trust-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.trust-strip .card {
  padding: 18px;
  border-radius: var(--radius-sm);
}

.selection-grid .product-option {
  display: block;
  cursor: pointer;
}

.selection-grid .product-option .card {
  border: 1px solid rgba(12, 28, 44, 0.12);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.selection-grid .product-option:hover .card {
  transform: translateY(-2px);
  border-color: rgba(11, 74, 162, 0.35);
  box-shadow: var(--shadow);
}

.selection-grid .product-option.is-selected .card {
  border-color: rgba(11, 74, 162, 0.6);
  box-shadow: 0 10px 30px rgba(11, 74, 162, 0.18);
}

.product-price {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
}

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

.brand-card .card {
  padding: 18px;
  text-align: center;
  height: 100%;
}

.brand-card img {
  width: 100%;
  height: 70px;
  object-fit: contain;
  margin-bottom: 8px;
}

.brand-card .brand-name {
  font-weight: 600;
  font-size: 0.95rem;
}

/* Forms */
.form-label {
  font-weight: 600;
  color: var(--ink);
}

.form-control,
.form-select {
  border-radius: 12px;
  border: 1px solid var(--border);
  padding: 12px 14px;
}

.form-control:focus,
.form-select:focus {
  border-color: rgba(15, 76, 129, 0.6);
  box-shadow: 0 0 0 4px rgba(15, 76, 129, 0.12);
}

.summary-panel {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 20px;
  border: 1px solid var(--border);
}

.step-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.step-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 26px;
  height: 26px;
  border-radius: 999px;
  background: var(--accent-100);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
}

.order-summary {
  position: sticky;
  top: 110px;
}

.summary-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  font-weight: 600;
}

.summary-item span {
  color: var(--muted);
  font-weight: 500;
}

.support-card {
  border-radius: var(--radius);
  border: 1px dashed rgba(15, 76, 129, 0.3);
  padding: 16px;
  background: rgba(15, 76, 129, 0.04);
}

/* Auth */
.auth-section {
  padding: 96px 0;
}

.auth-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.7fr);
  gap: 32px;
  align-items: start;
}

.auth-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(12, 28, 44, 0.08);
  box-shadow: var(--shadow);
  padding: 32px;
}

.auth-header {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 24px;
}

.auth-header img {
  height: 56px;
  width: auto;
}

.auth-form {
  display: grid;
  gap: 16px;
}

.auth-form input,
.auth-form select,
.auth-form textarea {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--border);
  padding: 12px 14px;
  background: var(--surface);
  color: var(--ink);
}

.auth-form input:focus,
.auth-form select:focus,
.auth-form textarea:focus {
  outline: none;
  border-color: rgba(15, 76, 129, 0.6);
  box-shadow: 0 0 0 4px rgba(15, 76, 129, 0.12);
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.auth-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  margin-top: 2px;
}

.auth-meta a {
  color: var(--muted);
}

.field-error {
  color: #b42318;
  font-size: 0.85rem;
}

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

.auth-panel {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.auth-captcha {
  padding: 12px;
  border-radius: var(--radius-sm);
  border: 1px dashed var(--border);
  background: var(--surface-alt);
}

@media (max-width: 992px) {
  .auth-shell {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .auth-meta {
    flex-direction: column;
    gap: 8px;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
}

.vendor-selector .btn {
  justify-content: space-between;
  width: 100%;
}

.vendor-panel {
  margin-top: 14px;
}

.vendor-panel.is-collapsed {
  display: none;
}

.vendor-selected {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 14px 16px;
  background: var(--surface);
}

.vendor-toggle .bi {
  transition: transform 0.15s ease;
}

.vendor-toggle.is-open .bi {
  transform: rotate(180deg);
}

.product-type,
.product-type-blue,
.-blue {
  cursor: pointer;
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
  padding: 0;
  border: none;
  box-shadow: none;
  background: transparent;
}

.product-type .card,
.product-type-blue .card,
.-blue .card {
  border: 1px solid var(--border);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.product-type:hover .card,
.product-type-blue:hover .card,
.-blue:hover .card {
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

.product-type input.hidden,
.product-type-blue input.hidden,
.-blue input.hidden {
  display: none;
}

.product-type-active .card,
.-active .card {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(15, 76, 129, 0.12);
}

.product-type-active {
  background: transparent;
  color: inherit;
}

.product-type-active .card,
.product-type-active .card p,
.product-type-active .card span,
.product-type-active .card div {
  color: var(--ink);
}

.product-type-active .btn-outline,
.-active .btn-outline {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.product-type-blue .btn-outline,
.-blue .btn-outline {
  font-weight: 700;
}

.product-type-blue .card,
.-blue .card {
  min-height: 160px;
}

.product-voucher {
  align-items: stretch;
  gap: 0;
}

.product-voucher .product-type,
.product-voucher .product-type-blue,
.dtopup-listing-section .product-type,
.dtopup-listing-section .product-type-blue,
.dtopup-listing-section .-blue {
  width: 100% !important;
  height: auto !important;
  padding: 0;
  border: none;
  box-shadow: none;
}

#vouchers .product-type,
#vouchers .product-type-blue,
#vouchers .-blue {
  width: 100% !important;
  height: auto !important;
}

.product-voucher .product-type p,
.dtopup-listing-section .product-type p,
.product-voucher .product-type-blue .small,
.dtopup-listing-section .product-type-blue .small {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
}

.product-voucher .card,
.dtopup-listing-section .card {
  min-height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.product-voucher {
  gap: 0;
  align-items: stretch;
}

.product-voucher img,
.dtopup-listing-section img {
  max-height: 44px;
  width: auto;
  object-fit: contain;
}

.product-voucher p,
.dtopup-listing-section .small {
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.2;
  word-break: break-word;
}

.product-voucher .img-thumbnail {
  border-radius: 10px;
  font-size: 0.75rem;
  padding: 6px 8px;
  border-color: var(--border);
  color: var(--muted);
}

.imei-group {
  display: grid;
  grid-template-columns: 1fr 58px;
  gap: 10px;
  align-items: center;
}

.imei-group .imei-check {
  text-align: center;
  font-weight: 700;
  background: #111827;
  color: #fff;
  border-color: #111827;
  box-shadow: 0 8px 18px rgba(17, 24, 39, 0.25);
}

@media (max-width: 576px) {
  .product-type-blue .card,
  .-blue .card {
    min-height: 140px;
  }
  .product-voucher .card,
  .dtopup-listing-section .card {
    min-height: 120px;
  }
}

/* Account dashboard */
.account-hero {
  padding: 72px 0;
}

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

.account-card {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  color: inherit;
}

.account-card .icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--accent-100);
  color: var(--accent);
  display: grid;
  place-items: center;
}

.account-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

.activity-table {
  border-collapse: separate;
  border-spacing: 0 12px;
}

.activity-table thead th {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  border: none;
}

.activity-table tbody tr {
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.activity-table tbody td {
  border: none;
  padding: 14px 12px;
}

.activity-table tbody tr td:first-child {
  border-top-left-radius: 12px;
  border-bottom-left-radius: 12px;
}

.activity-table tbody tr td:last-child {
  border-top-right-radius: 12px;
  border-bottom-right-radius: 12px;
}

.account-detail {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}

.account-detail:last-of-type {
  border-bottom: none;
}

.account-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.account-list-item {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--border);
}

.account-list-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.quick-amounts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.empty-state {
  text-align: center;
  padding: 20px;
  color: var(--muted);
  background: var(--surface-alt);
  border-radius: var(--radius-sm);
}

/* Info / Legal / Support pages */
.info-hero {
  padding: 72px 0 36px;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.8fr);
  gap: 28px;
}

.contact-form {
  display: grid;
  gap: 16px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--border);
  padding: 12px 14px;
  background: var(--surface);
  color: var(--ink);
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: rgba(15, 76, 129, 0.6);
  box-shadow: 0 0 0 4px rgba(15, 76, 129, 0.12);
}

.contact-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}

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

.contact-captcha {
  padding: 12px;
  border-radius: var(--radius-sm);
  border: 1px dashed var(--border);
  background: var(--surface-alt);
}

.contact-captcha .g-recaptcha {
  display: flex;
  justify-content: center;
}

/* IMEI input */
.imei-group {
  display: flex;
  gap: 10px;
  align-items: stretch;
}

.imei-group .form-control {
  min-width: 0;
}

.imei-group .form-control:first-child {
  flex: 1 1 auto;
}

.imei-check {
  flex: 0 0 64px;
  text-align: center;
  font-weight: 700;
  background: var(--surface-alt);
  border-color: rgba(11, 18, 32, 0.15);
  box-shadow: 0 8px 16px rgba(11, 18, 32, 0.18);
}

@media (max-width: 576px) {
  .imei-group {
    gap: 8px;
  }
  .imei-check {
    flex-basis: 58px;
  }
}

.help-search {
  position: relative;
  max-width: 460px;
}

.help-search i {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
}

.help-search input {
  padding-left: 42px;
}

.help-accordion .accordion-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 14px;
  box-shadow: var(--shadow-soft);
}

.help-accordion .accordion-button {
  font-weight: 600;
  color: var(--ink);
  background: var(--surface);
}

.help-accordion .accordion-button:not(.collapsed) {
  background: var(--accent-100);
  color: var(--accent);
  box-shadow: none;
}

.help-accordion .accordion-body {
  background: var(--surface);
  color: var(--muted);
}

.legal-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.32fr) minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}

.legal-toc {
  position: sticky;
  top: 120px;
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 20px;
  box-shadow: var(--shadow-soft);
}

.legal-toc ol {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.legal-toc a {
  color: var(--muted);
  font-weight: 600;
}

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

.legal-content {
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 32px;
  box-shadow: var(--shadow-soft);
}

.legal-section {
  margin-bottom: 28px;
}

.legal-section:last-child {
  margin-bottom: 0;
}

.legal-content p {
  color: var(--muted);
}

.legal-content ul,
.legal-content ol {
  padding-left: 20px;
  color: var(--muted);
}

.info-panel {
  color: var(--muted);
}

@media (max-width: 992px) {
  .contact-grid,
  .legal-layout {
    grid-template-columns: 1fr;
  }
  .legal-toc {
    position: static;
  }
}

.selection-table tbody tr {
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.selection-table tbody tr.is-selected {
  box-shadow: 0 0 0 3px rgba(15, 76, 129, 0.12), var(--shadow-soft);
}

.funkyradio input[type="radio"] {
  display: none;
}

.funkyradio label {
  display: inline-block;
  padding: 8px 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface);
  font-weight: 600;
}

.funkyradio input[type="radio"]:checked + label {
  border-color: var(--accent);
  background: var(--accent-100);
  color: var(--accent);
}

.text-style {
  font-size: 1rem;
  line-height: 1.6;
}

@media (max-width: 992px) {
  .order-summary {
    position: static;
  }
}

/* Tables (international selection) */
.selection-table {
  border-collapse: separate;
  border-spacing: 0 12px;
}

.selection-table thead th {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  border: none;
}

.selection-table tbody tr {
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.selection-table tbody td,
.selection-table tbody th {
  border: none;
  padding: 16px 14px;
}

.selection-table tbody tr td:first-child,
.selection-table tbody tr th:first-child {
  border-top-left-radius: 14px;
  border-bottom-left-radius: 14px;
}

.selection-table tbody tr td:last-child {
  border-top-right-radius: 14px;
  border-bottom-right-radius: 14px;
}

/* Tabs */
.nav-pills .nav-link {
  border-radius: 999px;
  color: var(--muted);
  font-weight: 600;
}

.nav-pills .nav-link.active {
  background: var(--accent);
  color: #fff;
}

/* Footer */
.site-footer {
  background: #0d1b2a;
  color: #f8f9fb;
  padding: 64px 0 30px;
}

.site-footer h1,
.site-footer h2,
.site-footer h3,
.site-footer h4,
.site-footer h5,
.site-footer h6 {
  color: #f8f9fb;
}

.site-footer p {
  color: rgba(248, 249, 251, 0.82);
}

.site-footer .footer-logo {
  filter: brightness(0) invert(1);
  opacity: 0.95;
  margin-top: -30px;
}

.site-footer a {
  color: rgba(248, 249, 251, 0.85);
}

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

.footer-cookie-link {
  color: rgba(248, 249, 251, 0.85);
  padding: 0;
  text-decoration: none;
}

.footer-cookie-link:hover {
  color: #fff;
  text-decoration: underline;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
}

.footer-bottom {
  border-top: 1px solid rgba(248, 249, 251, 0.2);
  margin-top: 30px;
  padding-top: 20px;
  font-size: 0.85rem;
  color: rgba(248, 249, 251, 0.7);
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  inset: auto 16px 16px 16px;
  z-index: 9999;
}

.cookie-card {
  background: #ffffff;
  border: 1px solid rgba(15, 32, 50, 0.12);
  box-shadow: 0 20px 60px rgba(15, 32, 50, 0.18);
  border-radius: 16px;
  padding: 20px 24px;
  display: grid;
  gap: 16px;
}

.cookie-card h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
  color: var(--ink);
}

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

.cookie-card a {
  color: var(--accent);
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.cookie-banner .btn {
  border-radius: 999px;
  font-weight: 600;
  padding: 10px 18px;
  font-size: 0.95rem;
}

.cookie-banner .btn-outline {
  border-color: #c9d3e0;
  color: #1c2b3a;
  background: #fff;
}

.cookie-banner .btn-secondary {
  background: #eef2f7;
  border-color: #dde3ec;
  color: #1c2b3a;
}

.cookie-settings {
  background: #f5f7fb;
  border-radius: 12px;
  padding: 12px 16px;
  display: grid;
  gap: 10px;
}

.cookie-option {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: start;
  font-size: 0.95rem;
  color: var(--ink);
}

@media (min-width: 768px) {
  .cookie-card {
    grid-template-columns: 1.8fr 1fr;
    align-items: center;
  }
  .cookie-actions {
    justify-content: flex-end;
  }
  .cookie-settings {
    grid-column: 1 / -1;
  }
}

/* Animation */
.reveal {
  animation: fadeUp 0.7s ease forwards;
  opacity: 0;
  transform: translateY(10px);
}

.reveal.delay-1 { animation-delay: 0.08s; }
.reveal.delay-2 { animation-delay: 0.16s; }
.reveal.delay-3 { animation-delay: 0.24s; }
.reveal.delay-4 { animation-delay: 0.32s; }

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Misc */
.divider {
  height: 1px;
  background: var(--border);
  margin: 24px 0;
}

.tag {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold);
}

.coming-soon {
  font-size: 0.75rem;
  color: var(--gold);
  border: 1px solid rgba(184, 137, 62, 0.35);
  padding: 2px 8px;
  border-radius: 999px;
  margin-left: 6px;
}

.modal {
  z-index: 100500;
}

.modal-backdrop {
  z-index: 100000;
}

.paypal-section {
  padding: 12px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #fff;
}

.paypal-section .card_container {
  border-top: 1px dashed #e2e8f0;
  margin-top: 12px;
  padding-top: 12px;
}

paypal-button {
  --paypal-button-border-radius: 10px;
  width: 100%;
  max-width: 420px;
  display: block;
}

.card-field-row {
  margin-bottom: 12px;
}

.card-field {
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 10px;
  background: #fff;
  min-height: 44px;
}

.card-field-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 640px) {
  .card-field-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
