:root {
  --bg: #f5f1e8;
  --bg-soft: #f0ece2;
  --primary: #d9a84f;
  --primary-dark: #bf8b2a;
  --primary-text: #815700;
  --secondary: #1b1b1a;
  --secondary-soft: #4e4a3d;
  --text: #1a1a18;
  --muted: #5f5a52;
  --card: #fffdf9;
  --border: rgba(179, 136, 58, 0.28);
  --shadow: 0 18px 38px rgba(20, 18, 15, 0.08);
  --nav-bg: rgba(255, 255, 255, 0.82);
  --hero-bg: linear-gradient(135deg, #f9f5ee 0%, #efe3c0 40%, #f2ead9 100%);
  --page-banner: linear-gradient(135deg, #f6f1e6 0%, #e9d7ae 100%);
  --input-bg: #fff;
  --modal-bg: rgba(18, 16, 13, 0.55);
  --chip-bg: rgba(217, 168, 79, 0.09);
  --panel-bg: #f8f3ea;
  --auth-panel: #f7f1e6;
  --auth-input-bg: #fffdf9;
  --auth-input-border: rgba(179, 136, 58, 0.28);
  --auth-placeholder: rgba(26, 26, 24, 0.58);
  --auth-toggle-bg: rgba(240, 198, 106, 0.12);
  --toast-bg: rgba(255, 255, 255, 0.96);
  --toast-text: #1a1a18;
  --toast-border: rgba(217, 168, 79, 0.32);
  --toast-shadow: 0 20px 30px rgba(18, 16, 13, 0.12);
  --toast-icon-bg: rgba(217, 168, 79, 0.12);
}

body.dark-mode {
  --bg: #090b0b;
  --bg-soft: #121614;
  --primary: #f2c76b;
  --primary-dark: #d9a742;
  --primary-text: #f2c76b;
  --secondary: #f8f1d0;
  --secondary-soft: #efd793;
  --text: #f8f3df;
  --muted: #d0b882;
  --card: #0e0d0b;
  --border: rgba(242, 199, 107, 0.28);
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.5);
  --nav-bg: rgba(13, 13, 11, 0.9);
  --hero-bg: linear-gradient(135deg, #030403 0%, #110f0d 42%, #090807 100%);
  --page-banner: linear-gradient(135deg, #130f0b 0%, #090807 100%);
  --input-bg: #0f0d0b;
  --chip-bg: rgba(240, 198, 106, 0.08);
  --panel-bg: #12110f;
  --auth-panel: #120f0d;
  --auth-input-bg: #171412;
  --auth-input-border: rgba(242, 199, 107, 0.26);
  --auth-placeholder: rgba(248, 243, 223, 0.66);
  --auth-toggle-bg: rgba(242, 199, 107, 0.08);
  --toast-bg: rgba(20, 18, 15, 0.96);
  --toast-text: #f8f3df;
  --toast-border: rgba(240, 198, 106, 0.3);
  --toast-shadow: 0 20px 30px rgba(0, 0, 0, 0.28);
  --toast-icon-bg: rgba(255, 255, 255, 0.08);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: "Cairo", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.8;
  transition: background 0.3s ease, color 0.3s ease;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at top, rgba(240, 198, 106, 0.12), transparent 28%);
  z-index: 0;
}

body > * {
  position: relative;
}

main {
  flex: 1;
  position: relative;
  z-index: 0;
}

button,
input {
  font: inherit;
}

.container {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  background: var(--nav-bg);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
  overflow: visible;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
  gap: 18px;
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex: 1;
}

.brand {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary-text);
  letter-spacing: 0.04em;
}

.nav-links {
  display: flex;
  gap: 18px;
  align-items: center;
  flex: 1;
  justify-content: center;
}

.nav-links a {
  text-decoration: none;
  color: var(--secondary);
  font-weight: 600;
  transition: 0.25s ease;
  padding: 9px 12px;
  border-radius: 10px;
}

body.dark-mode .nav-links a {
  color: var(--secondary-soft);
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 26px;
}

.info-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 26px 20px;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.info-card:hover {
  transform: translateY(-6px);
  border-color: rgba(240, 198, 106, 0.5);
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.22);
}

.info-card h3 {
  color: var(--secondary);
  margin-bottom: 12px;
  font-size: 1.35rem;
}

.info-card p {
  color: var(--muted);
  line-height: 1.8;
}

.contact-box {
  max-width: 680px;
  margin: 0 auto;
  padding: 28px 22px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.contact-box textarea,
.contact-box input {
  width: 100%;
  border-radius: 14px;
  border: 1px solid var(--auth-input-border);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
  padding: 14px 16px;
  font: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-box textarea {
  min-height: 130px;
  resize: vertical;
  line-height: 1.7;
}

.contact-box input:focus,
.contact-box textarea:focus {
  outline: none;
  border-color: rgba(217, 168, 79, 0.8);
  box-shadow: 0 0 0 3px rgba(217, 168, 79, 0.12);
}

.nav-links a:hover,
.nav-links a.active {
  background: rgba(240, 198, 106, 0.1);
  color: var(--primary-text);
}

input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type="number"] {
  -moz-appearance: textfield;
  appearance: textfield;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.theme-toggle,
.login-btn,
.card-btn,
.submit-btn,
.btn,
.filter-btn,
.shop-info button,
.shop-page-btn {
  border: 1px solid var(--border);
  background: rgba(240, 198, 106, 0.08);
  color: var(--text);
  padding: 10px 16px;
  border-radius: 999px;
  font: inherit;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease, border-color 0.25s ease;
}

.login-btn,
.submit-btn,
.card-btn,
.btn,
.shop-info button {
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #1a1409;
  box-shadow: 0 8px 20px rgba(216, 169, 59, 0.22);
}

.theme-toggle:hover,
.login-btn:hover,
.card-btn:hover,
.submit-btn:hover,
.btn:hover,
.filter-btn:hover,
.shop-info button:hover,
.shop-page-btn:hover:not(:disabled) {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 14px 24px rgba(216, 169, 59, 0.18);
  filter: brightness(1.04);
  border-color: rgba(240, 198, 106, 0.5);
}

.shop-retry-btn {
  margin-top: 12px;
}

.support-main {
  padding: 40px 0 70px;
}

.support-hero {
  position: relative;
  z-index: 1;
  background: var(--hero-bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.support-hero-inner {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 24px;
  align-items: center;
  padding: 72px 0;
}

.hero-copy {
  max-width: 620px;
}

.badge {
  display: inline-block;
  background: rgba(240, 198, 106, 0.12);
  color: var(--primary-text);
  padding: 8px 16px;
  border-radius: 999px;
  font-weight: 700;
  margin-bottom: 16px;
}

.hero-copy h1 {
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: 1.2;
  margin-bottom: 18px;
  color: var(--secondary);
}

.hero-copy p {
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 28px;
}

.btn {
  text-decoration: none;
  padding: 14px 24px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: 0.2s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #1a1409;
  box-shadow: 0 10px 20px rgba(216, 169, 59, 0.25);
}

.btn-secondary {
  background: rgba(240, 198, 106, 0.06);
  color: var(--secondary);
  border-color: var(--border);
}

.hero-panel {
  display: grid;
  gap: 18px;
}

.mini-card,
.feature-item,
.shop-card,
.auth-card {
  position: relative;
  z-index: 1;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.mini-card {
  padding: 22px 18px;
}

.mini-card:hover,
.feature-item:hover,
.shop-card:hover,
.auth-card:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.38);
  border-color: rgba(240, 198, 106, 0.56);
}

.mini-card .label {
  display: block;
  color: var(--primary-text);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.mini-card strong {
  font-size: 1.8rem;
  color: var(--secondary);
}

.mini-card small {
  display: block;
  margin-top: 10px;
  color: var(--muted);
}

.section-head {
  margin-bottom: 22px;
}

.section-head span {
  display: block;
  color: var(--primary-text);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.section-head h2 {
  font-size: clamp(2rem, 3vw, 3rem);
  color: var(--secondary);
}

.section-head.center {
  text-align: center;
}

.creator-grid,
.shop-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.creator-section,
.shop-section {
  padding-top: 72px;
}

.feature-item {
  padding: 28px 22px;
}

.creator-avatar {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(240, 198, 106, 0.12);
  color: var(--primary-text);
  font-weight: 800;
  font-size: 1.5rem;
  margin-bottom: 18px;
  border: 1px solid var(--border);
}

.feature-item h3 {
  margin-bottom: 10px;
  color: var(--secondary);
}

.feature-item p {
  color: var(--muted);
}

.card-btn {
  margin-top: 18px;
  width: 100%;
}

.shop-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 8px 0 28px;
}

.shop-pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
}

.shop-pagination:empty {
  display: none;
}

.shop-page-btn {
  min-width: 44px;
  min-height: 44px;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--chip-bg);
  color: var(--secondary);
}

.shop-page-btn.active {
  border-color: transparent;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #1a1409;
}

.shop-page-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.shop-page-step {
  min-width: 76px;
}

.filter-btn {
  border-radius: 999px;
  background: var(--chip-bg);
  border-color: var(--border);
  color: var(--secondary);
  min-width: 120px;
}

.filter-btn.active {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #1a1409;
  border-color: transparent;
}

.shop-card {
  overflow: hidden;
}

.shop-media {
  position: relative;
  height: 190px;
  overflow: hidden;
  background: #0c0f12;
}

.shop-thumb,
.shop-preview {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.shop-thumb {
  background-size: cover;
  background-position: center;
  object-fit: cover;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.shop-preview {
  object-fit: cover;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 0.3s ease, transform 0.3s ease;
  background: #0c0f12;
}

.shop-card:hover .shop-thumb,
.shop-card:focus-within .shop-thumb {
  opacity: 0.15;
  transform: scale(1.04);
}

.shop-card:hover .shop-preview,
.shop-card:focus-within .shop-preview {
  opacity: 1;
  transform: scale(1);
}

.shop-preview-badge {
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 2;
  background: rgba(11, 13, 16, 0.72);
  color: var(--primary-text);
  border: 1px solid rgba(240, 198, 106, 0.4);
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 0.72rem;
  font-weight: 700;
}

.shop-play-btn {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 3;
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 50%;
  background: rgba(10, 12, 16, 0.8);
  color: var(--primary-text);
  font-size: 1.1rem;
  cursor: pointer;
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.25);
  display: grid;
  place-items: center;
  transition: transform 0.2s ease, background 0.2s ease;
}

.shop-play-btn:hover {
  transform: scale(1.05);
  background: rgba(27, 31, 36, 0.92);
}

.thumb-one {
  background: linear-gradient(135deg, rgba(240, 198, 106, 0.2), rgba(0, 0, 0, 0.45)), url('https://images.unsplash.com/photo-1542751371-adc38448a05e?auto=format&fit=crop&w=900&q=80') center/cover no-repeat;
}

.thumb-two {
  background: linear-gradient(135deg, rgba(240, 198, 106, 0.2), rgba(0, 0, 0, 0.45)), url('https://images.unsplash.com/photo-1511512578047-dfb367046420?auto=format&fit=crop&w=900&q=80') center/cover no-repeat;
}

.thumb-three {
  background: linear-gradient(135deg, rgba(240, 198, 106, 0.2), rgba(0, 0, 0, 0.45)), url('https://images.unsplash.com/photo-1526379095098-d400fd0bf935?auto=format&fit=crop&w=900&q=80') center/cover no-repeat;
}

.shop-info {
  padding: 20px 18px 18px;
}

.shop-info h3 {
  color: var(--secondary);
  margin-bottom: 10px;
}

.shop-info p {
  color: var(--muted);
  min-height: 72px;
}

.shop-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 12px;
  color: var(--secondary-soft);
}

.shop-info button {
  width: 100%;
  margin-top: 18px;
  border: none;
  border-radius: 12px;
  padding: 12px 16px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #1a1409;
  font-weight: 800;
  cursor: pointer;
}

.auth-modal {
  position: fixed;
  inset: 0;
  display: none;
  place-items: center;
  overflow-y: auto;
  padding: 16px;
  box-sizing: border-box;
  background: var(--modal-bg);
  z-index: 1300;
}

.auth-modal.open {
  display: grid;
}

.logout-btn {
  display: none;
  background: rgba(240, 198, 106, 0.08);
  color: var(--secondary);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px 16px;
  font-weight: 700;
  cursor: pointer;
}

.auth-card {
  width: min(440px, calc(100% - 24px));
  margin-block: auto;
  padding: 52px 22px 28px;
  position: relative;
  background: var(--auth-panel);
  border: 1px solid var(--border);
  color: var(--text);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.28);
}

.close-auth {
  position: absolute;
  top: 14px;
  right: 16px;
  left: auto;
  border: none;
  background: rgba(240, 198, 106, 0.08);
  color: var(--secondary);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.8rem;
  cursor: pointer;
  display: grid;
  place-items: center;
  line-height: 1;
}

.auth-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 18px;
  margin-top: 12px;
}

.toggle-btn {
  border: 1px solid var(--border);
  background: transparent;
  color: var(--secondary-soft);
  padding: 10px 12px;
  border-radius: 10px;
  font-weight: 700;
  cursor: pointer;
}

.toggle-btn.active {
  background: var(--auth-toggle-bg);
  color: var(--primary-text);
  border-color: rgba(240, 198, 106, 0.5);
}

.auth-form {
  display: none;
  gap: 12px;
}

.auth-form.active {
  display: grid;
}

.auth-form h3 {
  color: var(--secondary);
  margin-bottom: 6px;
}

.auth-form input {
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--auth-input-border);
  background: var(--auth-input-bg);
  color: var(--text);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}

.auth-form input:focus {
  outline: none;
  border-color: rgba(217, 168, 79, 0.8);
  box-shadow: 0 0 0 3px rgba(217, 168, 79, 0.12);
}

.auth-form input::placeholder {
  color: var(--auth-placeholder);
}

.toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: min(360px, calc(100vw - 24px));
}

.toast {
  background: var(--toast-bg);
  color: var(--toast-text);
  border: 1px solid var(--toast-border);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--toast-shadow);
  transform: translateX(18px);
  opacity: 0;
  transition: transform 0.28s ease, opacity 0.28s ease;
}

.toast.show {
  transform: translateX(0);
  opacity: 1;
}

.toast.success {
  border-color: rgba(25, 173, 83, 0.7);
}

.toast.error {
  border-color: rgba(217, 88, 75, 0.8);
}

.toast-info {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px 10px;
}

.toast-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  background: var(--toast-icon-bg);
  flex-shrink: 0;
}

.toast.success .toast-icon {
  color: #9be8b5;
}

.toast.error .toast-icon {
  color: #ffb3a8;
}

.toast-message {
  font-size: 0.95rem;
  line-height: 1.6;
  flex: 1;
  color: var(--toast-text);
}

.toast-progress {
  height: 4px;
  width: 100%;
  background: rgba(255, 255, 255, 0.08);
}

.toast-progress span {
  display: block;
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, var(--primary), var(--primary-dark));
  animation: toastProgress 3.8s linear forwards;
}

.field-error {
  min-height: 18px;
  color: #c54030;
  font-size: 0.75rem;
  margin-top: 4px;
  line-height: 1.5;
}

body.dark-mode .field-error {
  color: #ffb6a8;
}

@keyframes toastProgress {
  from {
    width: 100%;
  }
  to {
    width: 0%;
  }
}

.role-choice {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: center;
  padding: 8px 0 4px;
}

.role-choice label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--secondary);
  font-weight: 600;
  cursor: pointer;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--chip-bg);
  border: 1px solid var(--border);
}

.role-choice input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid var(--primary);
  display: inline-block;
  position: relative;
  background: transparent;
  margin: 0;
}

.role-choice input[type="radio"]:checked::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--primary);
}

.submit-btn {
  width: 100%;
  margin-top: 6px;
}


.site-footer {
  background: #1a1a1a;
  color: #ffffff;
  padding: 25px 15px;
  text-align: center;
  direction: rtl;
  font-family: inherit;
  border-top: 3px solid #c9a45c;
}

.site-footer .container {
  max-width: 1200px;
  margin: 0 auto;
}

.site-footer p {
  margin: 0 0 15px;
  font-size: 14px;
  color: #cccccc;
}

.footer-links {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 14px;
}

.footer-links a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #c9a45c;
}

.footer-links span {
  color: #777777;
}

@media (max-width: 480px) {
  .site-footer {
    padding: 20px 10px;
  }

  .footer-links {
    flex-direction: column;
    gap: 10px;
  }

  .footer-links span {
    display: none;
  }
}


body.dark-mode .site-footer {
  background: #060707;
}

.mobile-menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid var(--border);
  background: rgba(240, 198, 106, 0.08);
  border-radius: 12px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  position: relative;
  z-index: 1001;
}

.mobile-menu-toggle span {
  width: 22px;
  height: 2px;
  display: block;
  border-radius: 999px;
  background: var(--secondary);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.mobile-menu-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-menu-toggle.open span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 768px) {
  .nav {
    position: relative;
    overflow: visible;
    padding: 14px 0;
    min-height: unset;
    gap: 10px;
  }

  .mobile-menu-toggle {
    display: flex;
    position: relative;
    z-index: 1002;
  }

  .nav-shell {
    display: none;
    position: fixed;
    top: 80px;
    left: 16px;
    right: 16px;
    background: var(--nav-bg);
    border: 1px solid var(--border);
    border-radius: 18px;
    box-shadow: var(--shadow);
    padding: 18px 14px;
    flex-direction: column;
    align-items: stretch;
    z-index: 1200;
  }

  .nav-shell.open {
    display: flex;
  }

  .nav-links {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .nav-links a {
    width: 100%;
    text-align: center;
  }

  .header-actions {
    width: 100%;
    flex-wrap: wrap;
    justify-content: center;
  }

  .header-actions > * {
    flex: 1 1 100%;
  }

  .theme-toggle,
  .login-btn,
  .logout-btn {
    width: 100%;
  }

  .support-hero-inner,
  .creator-grid,
  .shop-grid,
  body[data-page="about"] .info-grid,
  body[data-page="services"] .info-grid {
    grid-template-columns: 1fr;
  }

  body[data-page="about"] .support-hero-inner,
  body[data-page="services"] .support-hero-inner {
    padding: 42px 0;
    gap: 22px;
  }

  .hero-copy {
    text-align: center;
    margin: 0 auto;
  }

  body[data-page="about"] .hero-copy h1,
  body[data-page="services"] .hero-copy h1 {
    font-size: 1.9rem;
    line-height: 1.35;
    margin-bottom: 14px;
  }

  body[data-page="about"] .hero-copy p,
  body[data-page="services"] .hero-copy p {
    font-size: 1rem;
  }

  .hero-actions {
    justify-content: center;
  }

  body[data-page="about"] .hero-actions,
  body[data-page="services"] .hero-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: min(100%, 360px);
    margin: 22px auto 0;
    gap: 10px;
  }

  body[data-page="about"] .hero-actions .btn,
  body[data-page="services"] .hero-actions .btn {
    min-height: 48px;
    padding: 10px 12px;
    text-align: center;
  }

  body[data-page="about"] .info-grid,
  body[data-page="services"] .info-grid {
    gap: 14px;
    margin-top: 20px;
  }

  body[data-page="about"] .info-card,
  body[data-page="services"] .info-card {
    padding: 20px 18px;
    border-radius: 16px;
  }

  .auth-card {
    width: min(92vw, 420px);
    padding: 44px 18px 22px;
  }

  .role-choice {
    flex-direction: column;
    align-items: stretch;
  }

  .role-choice label {
    justify-content: center;
  }
}
