* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

img {
  max-width: 100%;
  height: auto;
}

.skip-to-content {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  padding: 8px 16px;
  background: var(--landing-accent-start, #667eea);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  border-radius: 0 0 4px 0;
}
.skip-to-content:focus {
  left: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  min-height: 100vh;
  padding: 20px;
  color: #333;
}

.container {
  max-width: 600px;
  margin: 0 auto;
}

header {
  text-align: center;
  color: white;
  margin-bottom: 30px;
  padding: 40px 20px;
}

header h1 {
  font-size: 2.5em;
  margin-bottom: 10px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.tagline {
  font-size: 1.2em;
  opacity: 0.9;
}

.card {
  background: white;
  border-radius: 12px;
  padding: 30px;
  margin-bottom: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.card h2 {
  margin-bottom: 10px;
  color: #667eea;
}

.card h3 {
  margin-top: 20px;
  margin-bottom: 15px;
  color: #555;
}

.card > p {
  color: #666;
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #555;
}

.form-group input {
  width: 100%;
  padding: 12px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 16px;
  transition: border-color 0.3s;
}

.form-group input:focus {
  outline: none;
  border-color: #667eea;
}

.btn {
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  margin-right: 10px;
  margin-bottom: 10px;
}

.btn-primary {
  background: #667eea;
  color: white;
}

.btn-primary:hover {
  background: #5568d3;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
  background: #e0e0e0;
  color: #555;
}

.btn-secondary:hover {
  background: #d0d0d0;
}

.btn-danger {
  background: #f44336;
  color: white;
}

.btn-danger:hover {
  background: #d32f2f;
}

.divider {
  text-align: center;
  margin: 25px 0;
  position: relative;
}

.divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: #e0e0e0;
}

.divider span {
  background: white;
  padding: 0 15px;
  position: relative;
  color: #999;
  font-size: 14px;
  font-weight: 600;
}

.social-login-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.btn-social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  padding: 12px 24px;
  border: 2px solid #e0e0e0;
  background: white;
  color: #333;
  font-weight: 600;
  transition: all 0.3s;
}

.btn-social:hover {
  border-color: #ccc;
  background: #f9f9f9;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.btn-social svg {
  flex-shrink: 0;
}

.btn-google:hover {
  border-color: #4285F4;
}

.btn-apple {
  color: #000;
}

.btn-apple:hover {
  border-color: #000;
}

.links {
  margin-top: 15px;
  text-align: center;
}

.links a {
  color: #667eea;
  text-decoration: none;
}

.links a:hover {
  text-decoration: underline;
}

.error-message {
  background: #ffebee;
  color: #c62828;
  padding: 12px;
  border-radius: 8px;
  margin-top: 15px;
  border-left: 4px solid #f44336;
}

.success-message {
  background: #e8f5e9;
  color: #2e7d32;
  padding: 12px;
  border-radius: 8px;
  margin-top: 15px;
  border-left: 4px solid #4caf50;
}

.account-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.user-info {
  background: #f5f5f5;
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 20px;
}

.user-info p {
  margin-bottom: 8px;
}

.info-box {
  background: #e3f2fd;
  border: 2px solid #2196f3;
  border-radius: 8px;
  padding: 20px;
  margin: 20px 0;
}

.info-box-primary {
  background: linear-gradient(135deg, #f5f7ff 0%, #e8ecff 100%);
  border: 2px solid #667eea;
}

.info-box h4 {
  color: #1976d2;
  margin-bottom: 10px;
}

.info-box-primary h4 {
  color: #667eea;
}

.info-box p {
  margin-bottom: 15px;
  line-height: 1.6;
}

/* VR Linking Banner */
.vr-banner {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border-radius: 8px;
  padding: 16px 20px;
  margin-bottom: 20px;
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
  animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.vr-banner-content {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}

.vr-banner-icon {
  font-size: 24px;
  flex-shrink: 0;
}

.vr-banner-text {
  flex: 1;
  min-width: 200px;
}

.vr-banner-text strong {
  display: block;
  margin-bottom: 4px;
}

.vr-banner-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.btn-small {
  padding: 8px 16px;
  font-size: 0.9em;
}

.btn-text {
  background: transparent;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.btn-text:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: white;
}

/* Welcome Modal */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.modal-content {
  background: white;
  border-radius: 12px;
  max-width: 500px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.modal-header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 24px;
  border-radius: 12px 12px 0 0;
  text-align: center;
}

.modal-header h2 {
  color: white;
  margin: 0;
  font-size: 1.8em;
}

.modal-body {
  padding: 24px;
}

.modal-body > p {
  margin-bottom: 20px;
  line-height: 1.6;
  color: #333;
}

.checklist {
  margin: 20px 0;
}

.checklist-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px;
  margin-bottom: 8px;
  background: #f5f5f5;
  border-radius: 8px;
  transition: background 0.2s;
}

.checklist-item:hover {
  background: #e8e8e8;
}

.checklist-icon {
  font-size: 20px;
  flex-shrink: 0;
}

.modal-video-placeholder {
  background: #f9f9f9;
  border: 2px dashed #ddd;
  border-radius: 8px;
  padding: 20px;
  margin-top: 20px;
}

.modal-footer {
  padding: 20px 24px;
  border-top: 1px solid #eee;
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.modal-footer .btn {
  flex: 1;
  min-width: 120px;
}

hr {
  border: none;
  border-top: 2px solid #e0e0e0;
  margin: 30px 0;
}

.preference-item {
  margin-bottom: 25px;
}

.checkbox-label {
  display: flex;
  align-items: center;
  cursor: pointer;
  font-weight: 600;
}

.checkbox-label input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-right: 10px;
  cursor: pointer;
}

.help-text {
  color: #888;
  font-size: 14px;
  margin-top: 5px;
  margin-left: 30px;
}

/* Duplicate .modal removed — see line 341 */

/* Duplicate .modal-content removed — see line 364 */

.modal-content h2 {
  color: #1a1a2e;
  margin-bottom: 15px;
}

.modal-content p {
  margin-bottom: 10px;
  color: #555;
}

.modal-actions {
  margin-top: 25px;
  display: flex;
  gap: 10px;
}

footer {
  text-align: center;
  color: white;
  padding: 30px 20px;
  opacity: 0.9;
}

footer p {
  margin-bottom: 10px;
}

footer a {
  color: white;
  text-decoration: none;
  margin: 0 10px;
}

footer a:hover {
  text-decoration: underline;
}

/* Discord Integration Styles */
.btn-discord {
  background: #5865F2;
  color: white;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-discord:hover {
  background: #4752C4;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(88, 101, 242, 0.4);
}

/* Duplicate .btn-small removed — see line 324 */

.discord-info {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: #f0f3ff;
  border-color: #5865F2;
}

.discord-info h4 {
  color: #5865F2;
}

.discord-logo {
  flex-shrink: 0;
  margin-top: 4px;
}

.discord-status {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: #f0f3ff;
  border-radius: 8px;
  margin-bottom: 20px;
}

.discord-avatar {
  font-size: 20px;
}

#discord-username {
  flex: 1;
  font-weight: 600;
  color: #5865F2;
}

@media (max-width: 600px) {
  header h1 {
    font-size: 2em;
  }

  .card {
    padding: 20px;
  }

  .account-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .account-header button {
    margin-top: 10px;
  }

  .discord-info {
    flex-direction: column;
  }

  .discord-status {
    flex-wrap: wrap;
  }
}


/* ============================================
   ACCOUNT PAGE LIGHT THEME STYLES
   ============================================ */

.account-body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background:
    radial-gradient(circle at top, rgba(118, 75, 162, 0.08), transparent 40%),
    radial-gradient(circle at 20% 20%, rgba(102, 126, 234, 0.06), transparent 30%),
    linear-gradient(180deg, #eef2ff 0%, #f0f4ff 100%);
  color: #1a1a2e;
  min-height: 100vh;
  padding: 0;
  overflow-x: hidden;
  position: relative;
}

.account-body::before,
.account-body::after {
  content: '';
  position: fixed;
  border-radius: 999px;
  pointer-events: none;
  z-index: 0;
  filter: blur(12px);
}

.account-body::before {
  width: 420px;
  height: 420px;
  top: 90px;
  left: -120px;
  background: radial-gradient(circle, rgba(102, 126, 234, 0.12) 0%, rgba(102, 126, 234, 0) 72%);
}

.account-body::after {
  width: 360px;
  height: 360px;
  right: -100px;
  bottom: 60px;
  background: radial-gradient(circle, rgba(118, 75, 162, 0.10) 0%, rgba(118, 75, 162, 0) 74%);
}

.account-container {
  max-width: 960px;
  margin: 0 auto;
  padding: 100px 24px 48px;
  position: relative;
  z-index: 1;
}

.account-body .account-card {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(102, 126, 234, 0.12);
  border-radius: 24px;
  padding: 36px;
  margin-bottom: 24px;
  box-shadow: 0 8px 40px rgba(102, 126, 234, 0.08), 0 1px 3px rgba(0, 0, 0, 0.04);
  backdrop-filter: blur(18px);
  color: #1a1a2e;
}

.account-body .account-card h2 {
  color: #1a1a2e;
  margin-bottom: 10px;
}

.account-body .account-card h3 {
  margin-top: 20px;
  margin-bottom: 15px;
  color: #2d2d44;
}

.account-body .account-card > p {
  color: #5b6178;
  margin-bottom: 20px;
}

.account-body #loading-section {
  max-width: 460px;
  margin-left: auto;
  margin-right: auto;
}

.account-loading {
  padding: 40px;
}

.account-loading p {
  color: #5b6178;
  font-size: 1rem;
  margin: 0 0 28px;
}

.account-loading-spinner {
  width: 40px;
  height: 40px;
  margin: 0 auto 20px;
  border: 3px solid rgba(102, 126, 234, 0.15);
  border-top-color: #667eea;
  border-radius: 50%;
  animation: account-spin 0.8s linear infinite;
}

@keyframes account-spin {
  to { transform: rotate(360deg); }
}

/* Skeleton shimmer */
.skeleton-row {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
}

.skeleton-block {
  background: linear-gradient(90deg, rgba(102,126,234,0.06) 25%, rgba(102,126,234,0.12) 50%, rgba(102,126,234,0.06) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s ease-in-out infinite;
  border-radius: 10px;
}

.skeleton-block--title { height: 28px; width: 55%; margin-bottom: 12px; }
.skeleton-block--text { height: 16px; width: 80%; margin-bottom: 20px; }
.skeleton-block--chip { height: 28px; width: 100px; border-radius: 14px; }
.skeleton-block--stat { height: 80px; flex: 1; border-radius: 14px; }
.skeleton-block--module { height: 120px; width: 100%; border-radius: 14px; margin-bottom: 16px; }

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.account-body .account-auth-card {
  max-width: 460px;
  margin-left: auto;
  margin-right: auto;
  padding: 32px;
}

.account-body .account-auth-brand {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 26px;
}

.account-body .account-auth-logo {
  width: 64px;
  height: 64px;
  object-fit: contain;
  padding: 10px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(102, 126, 234, 0.08) 0%, rgba(118, 75, 162, 0.06) 100%);
  box-shadow: 0 4px 16px rgba(102, 126, 234, 0.1);
}

.account-body .account-auth-eyebrow {
  display: inline-block;
  margin-bottom: 6px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #667eea;
}

.account-body .account-auth-brand-copy {
  color: #5b6178;
  line-height: 1.5;
}

.account-body .account-auth-header {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 26px;
}

.account-body .account-auth-pill {
  align-self: flex-start;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(102, 126, 234, 0.2);
  background: rgba(102, 126, 234, 0.08);
  color: #667eea;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.account-body .account-auth-card h2 {
  margin-bottom: 0;
  color: #1a1a2e;
  font-size: clamp(2rem, 4vw, 2.6rem);
  line-height: 1.04;
  letter-spacing: -0.05em;
}

.account-body .account-auth-header p {
  color: #5b6178;
  line-height: 1.7;
}

.account-body .account-auth-form .form-group {
  margin-bottom: 16px;
}

.account-body .account-auth-card .form-group label {
  color: #2d2d44;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.account-body .account-auth-card .form-group input {
  padding: 16px 18px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(102, 126, 234, 0.15);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.04);
  color: #1a1a2e;
}

.account-body .account-auth-card .form-group input::placeholder {
  color: #9ca3af;
}

.account-body .account-auth-card .form-group input:focus {
  border-color: #667eea;
  box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.12);
}

.account-body .account-auth-card .social-login-buttons {
  gap: 14px;
  margin-bottom: 24px;
}

.account-body .account-auth-card .btn-social {
  min-height: 56px;
  border-radius: 16px;
  font-size: 1rem;
  font-weight: 700;
  background: #fff;
  border: 1px solid rgba(102, 126, 234, 0.15);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  color: #1a1a2e;
}

.account-body .account-auth-card .btn-social:hover {
  background: #f8f9ff;
  border-color: rgba(102, 126, 234, 0.3);
  box-shadow: 0 4px 16px rgba(102, 126, 234, 0.12);
}

.account-body .account-auth-submit,
.account-body .account-auth-store-btn {
  width: 100%;
  margin-right: 0;
}

.account-body .account-auth-submit {
  min-height: 56px;
  border-radius: 16px;
  font-weight: 700;
}

.account-body .account-auth-form-hint {
  margin: -2px 0 18px;
  color: #6b7280;
  font-size: 0.92rem;
  line-height: 1.6;
}

.account-body .account-auth-magic-link {
  margin-bottom: 8px;
  padding: 22px;
  border-radius: 20px;
  border: 1px solid rgba(102, 126, 234, 0.15);
  background: linear-gradient(160deg, rgba(102, 126, 234, 0.06) 0%, rgba(118, 75, 162, 0.06) 100%);
}

.account-body .account-auth-magic-link-copy {
  margin-bottom: 18px;
}

.account-body .account-auth-magic-link-copy h3 {
  margin-bottom: 10px;
  color: #1a1a2e;
}

.account-body .account-auth-magic-link-copy p {
  margin-bottom: 0;
  color: #5b6178;
}

.account-body .account-auth-switch {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 4px 0 18px;
  color: #5b6178;
  font-size: 0.95rem;
}

.account-body .account-auth-inline-link {
  color: #667eea;
  text-decoration: none;
  font-weight: 700;
}

.account-body .account-auth-inline-link:hover {
  color: #4c63d2;
}

.account-body .account-auth-card .divider {
  margin: 24px 0;
}

.account-body .account-auth-card .divider::before {
  background: linear-gradient(90deg, transparent 0%, rgba(102, 126, 234, 0.2) 50%, transparent 100%);
}

.account-body .account-auth-card .divider span {
  background: rgba(255, 255, 255, 0.82);
  padding: 0 16px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #6b7280;
}

.account-body .account-auth-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 18px 0;
  font-size: 0.92rem;
  color: #6b7280;
}

.account-body .account-auth-meta a {
  color: #667eea;
  text-decoration: none;
  font-weight: 600;
}

.account-body .account-auth-meta a:hover {
  color: #4c63d2;
}

.account-body .account-auth-card .error-message,
.account-body .account-auth-card .success-message {
  margin-top: 0;
  margin-bottom: 18px;
  border-radius: 14px;
  padding: 14px 16px;
}

.account-body .account-auth-highlight {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 8px;
  padding: 24px;
  border-radius: 20px;
  background: linear-gradient(160deg, rgba(102, 126, 234, 0.06) 0%, rgba(118, 75, 162, 0.06) 100%);
  border: 1px solid rgba(102, 126, 234, 0.15);
}

.account-body .account-auth-highlight h4 {
  color: #1a1a2e;
  margin-bottom: 10px;
}

.account-body .account-auth-highlight p {
  color: #5b6178;
  margin-bottom: 0;
}

.account-body .account-auth-highlight-secondary {
  background: linear-gradient(160deg, rgba(255, 193, 7, 0.06) 0%, rgba(102, 126, 234, 0.06) 100%);
  border-color: rgba(255, 193, 7, 0.2);
}

.account-body .account-auth-card-reset .account-auth-pill {
  background: rgba(76, 175, 80, 0.08);
  border-color: rgba(76, 175, 80, 0.2);
  color: #2e7d32;
}

.account-body .account-auth-card-signup .account-auth-pill {
  background: rgba(255, 193, 7, 0.08);
  border-color: rgba(255, 193, 7, 0.2);
  color: #b8860b;
}

.account-body .account-auth-card-magic .account-auth-pill {
  background: rgba(102, 126, 234, 0.08);
  border-color: rgba(102, 126, 234, 0.2);
  color: #667eea;
}

.account-body .account-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.account-body .user-info {
  background: rgba(102, 126, 234, 0.04);
  border: 1px solid rgba(102, 126, 234, 0.12);
  padding: 16px;
  border-radius: 10px;
  margin-bottom: 20px;
  color: #2d2d44;
}

.account-body .user-info p {
  margin-bottom: 8px;
  color: #5b6178;
}

.account-body .user-info strong {
  color: #1a1a2e;
}

.account-body hr {
  border: none;
  border-top: 1px solid rgba(102, 126, 234, 0.12);
  margin: 30px 0;
}

/* Account buttons */
.account-body .btn-primary {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  border: none;
}

.account-body .btn-primary:hover {
  box-shadow: 0 4px 20px rgba(102, 126, 234, 0.4);
  transform: translateY(-2px);
}

.account-body .btn-secondary {
  background: #fff;
  color: #2d2d44;
  border: 1px solid rgba(102, 126, 234, 0.15);
}

.account-body .btn-secondary:hover {
  background: #f8f9ff;
  color: #1a1a2e;
  border-color: rgba(102, 126, 234, 0.3);
}

.account-body .btn-danger {
  background: rgba(244, 67, 54, 0.06);
  color: #d32f2f;
  border: 1px solid rgba(244, 67, 54, 0.2);
}

.account-body .btn-danger:hover {
  background: rgba(244, 67, 54, 0.1);
  color: #c62828;
}

/* btn-text in light account theme: override global white text */
.account-body .btn-text {
  color: #667eea;
  border-color: rgba(102, 126, 234, 0.3);
}

.account-body .btn-text:hover {
  background: rgba(102, 126, 234, 0.06);
  border-color: rgba(102, 126, 234, 0.5);
  color: #5568d3;
}

/* Info boxes */
.account-body .info-box {
  background: rgba(102, 126, 234, 0.04);
  border: 1px solid rgba(102, 126, 234, 0.12);
  border-radius: 10px;
  padding: 20px;
  margin: 20px 0;
}

.account-body .info-box h4 {
  color: #667eea;
  margin-bottom: 10px;
}

.account-body .info-box p {
  color: #5b6178;
  margin-bottom: 15px;
  line-height: 1.6;
}

/* VR Banner */
.account-body .vr-banner {
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.08) 0%, rgba(118, 75, 162, 0.06) 100%);
  border: 1px solid rgba(102, 126, 234, 0.15);
  color: #1a1a2e;
}

/* Discord */
.account-body .discord-info {
  background: rgba(88, 101, 242, 0.04);
  border-color: rgba(88, 101, 242, 0.15);
}

.account-body .discord-info h4 {
  color: #5865F2;
}

.account-body .discord-status {
  background: rgba(88, 101, 242, 0.04);
  border: 1px solid rgba(88, 101, 242, 0.12);
}

.account-body #discord-username {
  color: #5865F2;
}

/* Preferences */
.account-body .checkbox-label {
  color: #1a1a2e;
}

.account-body .help-text {
  color: #6b7280;
}

.account-body .success-message {
  background: rgba(76, 175, 80, 0.06);
  color: #2e7d32;
  border-left: 4px solid #4caf50;
}

.account-body .error-message {
  background: rgba(244, 67, 54, 0.06);
  color: #c62828;
  border-left: 4px solid #f44336;
}

/* Modals */
.account-body .modal-content {
  background: #fff;
  border: 1px solid rgba(102, 126, 234, 0.12);
  color: #1a1a2e;
}

.account-body .modal-content h2 {
  color: #1a1a2e;
}

#delete-modal .modal-content h2 {
  color: #d32f2f;
}

.account-body .modal-content p {
  color: #5b6178;
}

.account-body .modal-header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.account-body .modal-header h2 {
  color: #fff;
}

.account-body .modal-body > p {
  color: #2d2d44;
}

.account-body .checklist-item {
  background: rgba(102, 126, 234, 0.04);
  border: 1px solid rgba(102, 126, 234, 0.1);
}

.account-body .checklist-item:hover {
  background: rgba(102, 126, 234, 0.08);
}

.account-body .modal-video-placeholder {
  background: rgba(102, 126, 234, 0.03);
  border-color: rgba(102, 126, 234, 0.1);
}

.account-body .modal-footer {
  border-top: 1px solid rgba(102, 126, 234, 0.1);
}

/* Form inputs */
.account-body .form-group input {
  background: #fff;
  border: 1px solid rgba(102, 126, 234, 0.15);
  color: #1a1a2e;
}

.account-body .form-group input:focus {
  border-color: #667eea;
  outline: none;
}

.account-body .form-group label {
  color: #2d2d44;
}

/* Divider */
.account-body .divider::before {
  background: rgba(102, 126, 234, 0.12);
}

.account-body .divider span {
  background: rgba(255, 255, 255, 0.82);
  color: #6b7280;
}

/* Links */
.account-body .links a {
  color: #667eea;
}

/* Social buttons */
.account-body .btn-social {
  background: #fff;
  border: 1px solid rgba(102, 126, 234, 0.12);
  color: #1a1a2e;
}

.account-body .btn-social:hover {
  background: #f8f9ff;
  border-color: rgba(102, 126, 234, 0.25);
}

/* Profile-first account dashboard */
/* ── New sidebar layout ─────────────────────────────── */

.account-body .account-dashboard-shell {
  padding: 0;
  overflow: hidden;
}

/* VR banner spans full width above the layout */
.account-body .account-dashboard-shell > .vr-banner {
  border-radius: 0;
  margin: 0;
}

/* Two-column layout */
.account-body .account-layout {
  display: flex;
  min-height: 600px;
  align-items: stretch;
}

/* ── Sidebar ── */
.account-body .account-sidebar {
  width: 232px;
  flex-shrink: 0;
  background: rgba(102, 126, 234, 0.035);
  border-right: 1px solid rgba(102, 126, 234, 0.1);
  display: flex;
  flex-direction: column;
}

/* Profile block */
.account-body .sidebar-profile {
  padding: 28px 20px 20px;
  border-bottom: 1px solid rgba(102, 126, 234, 0.08);
  text-align: center;
}

.account-body .dashboard-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: #fff;
  font-size: 1.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.35);
  margin: 0 auto 14px;
}

.account-body .sidebar-username {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 6px;
  line-height: 1.3;
  word-break: break-word;
  overflow-wrap: anywhere;
  color: #1a1a2e;
}

.account-body .sidebar-bio {
  font-size: 0.78rem;
  color: #6b7280;
  margin: 0 0 14px;
  line-height: 1.5;
  min-height: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.account-body .sidebar-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  justify-content: center;
  margin-bottom: 16px;
}

.account-body .sidebar-chips .status-chip {
  font-size: 0.72rem;
  padding: 4px 9px;
}

.account-body .sidebar-stats {
  display: flex;
  gap: 0;
  justify-content: center;
  border-top: 1px solid rgba(102, 126, 234, 0.08);
  padding-top: 14px;
}

.account-body .sidebar-stat-item {
  flex: 1;
  text-align: center;
  padding: 0 8px;
}

.account-body .sidebar-stat-item + .sidebar-stat-item {
  border-left: 1px solid rgba(102, 126, 234, 0.1);
}

.account-body .sidebar-stat-item strong {
  display: block;
  font-size: 1.05rem;
  font-weight: 800;
  color: #667eea;
  line-height: 1.2;
  word-break: break-word;
  overflow-wrap: anywhere;
  hyphens: auto;
}

.account-body .sidebar-stat-item span {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #9ca3af;
  margin-top: 3px;
}

/* Nav */
.account-body .sidebar-nav {
  flex: 1;
  padding: 12px 10px 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  overflow-y: auto;
}

.account-body .sidebar-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  color: #5b6178;
  text-decoration: none;
  transition: background 0.13s, color 0.13s;
  position: relative;
  cursor: pointer;
}

.account-body .sidebar-nav-item svg {
  flex-shrink: 0;
  opacity: 0.7;
}

.account-body .sidebar-nav-item:hover {
  background: rgba(102, 126, 234, 0.08);
  color: #667eea;
}

.account-body .sidebar-nav-item:hover svg {
  opacity: 1;
}

.account-body .sidebar-nav-item.is-active {
  background: rgba(102, 126, 234, 0.12);
  color: #667eea;
  font-weight: 600;
}

.account-body .sidebar-nav-item.is-active svg {
  opacity: 1;
}

/* Letters badge in nav */
.account-body .sidebar-nav-badge {
  margin-left: auto;
  background: #667eea;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 999px;
  min-width: 20px;
  text-align: center;
  line-height: 1.4;
}

/* Sidebar footer */
.account-body .sidebar-footer {
  padding: 10px 10px 16px;
  border-top: 1px solid rgba(102, 126, 234, 0.08);
}

.account-body .sidebar-signout-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  color: #dc2626;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: background 0.13s;
}

.account-body .sidebar-signout-btn:hover {
  background: rgba(220, 38, 38, 0.07);
}

/* ── Main content area ── */
.account-body .account-main {
  flex: 1;
  min-width: 0;
  padding: 28px 30px;
  overflow-y: auto;
  max-height: 85vh;
}

/* Status chips (used in sidebar) */
.account-body .status-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 0;
}

.account-body .status-chip {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid rgba(102, 126, 234, 0.1);
  background: rgba(102, 126, 234, 0.04);
  color: #2d2d44;
  font-size: 0.8rem;
  font-weight: 600;
}

.account-body .status-chip[data-tone="positive"] {
  background: rgba(76, 175, 80, 0.08);
  border-color: rgba(76, 175, 80, 0.2);
  color: #2e7d32;
}

.account-body .status-chip[data-tone="warning"] {
  background: rgba(255, 193, 7, 0.08);
  border-color: rgba(255, 193, 7, 0.2);
  color: #b8860b;
}

.account-body .status-chip[data-tone="neutral"] {
  background: rgba(102, 126, 234, 0.04);
  border-color: rgba(102, 126, 234, 0.1);
  color: #5b6178;
}

/* ── Mobile bottom tab bar ── */
.account-body .mobile-tab-bar {
  display: none;
}

/* Module heading icons */
.account-body .module-heading-with-icon {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}

.account-body .module-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  flex-shrink: 0;
}

.account-body .module-icon--blue   { background: rgba(102, 126, 234, 0.12); color: #667eea; }
.account-body .module-icon--green  { background: rgba(76, 175, 80, 0.12);   color: #2e7d32; }
.account-body .module-icon--purple { background: rgba(118, 75, 162, 0.12);  color: #764ba2; }
.account-body .module-icon--indigo { background: rgba(63, 81, 181, 0.12);   color: #3f51b5; }
.account-body .module-icon--discord{ background: rgba(88, 101, 242, 0.12);  color: #5865F2; }
.account-body .module-icon--orange { background: rgba(255, 152, 0, 0.12);   color: #e65100; }
.account-body .module-icon--gray   { background: rgba(107, 114, 128, 0.1);  color: #4b5563; }

.account-body .dashboard-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.account-body .dashboard-stat-card {
  padding: 20px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(102, 126, 234, 0.1);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.account-body .dashboard-stat-label {
  color: #6b7280;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.account-body .dashboard-stat-value {
  color: #1a1a2e;
  font-size: 1.2rem;
  line-height: 1.3;
}

.account-body .dashboard-module {
  padding: 24px;
  margin-bottom: 24px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(102, 126, 234, 0.1);
}

.account-body .dashboard-module:last-of-type {
  margin-bottom: 0;
}

.account-body .dashboard-module-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 18px;
}

.account-body .dashboard-module-heading h3 {
  margin-bottom: 6px;
}

.account-body .dashboard-module-heading p {
  margin: 0;
  color: #5b6178;
  line-height: 1.7;
}

.account-body .dashboard-pill,
.account-body .dashboard-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(102, 126, 234, 0.2);
  background: rgba(102, 126, 234, 0.08);
  color: #667eea;
  font-size: 0.82rem;
  font-weight: 700;
}

.account-body .dashboard-badge-muted {
  border-color: rgba(255, 193, 7, 0.2);
  background: rgba(255, 193, 7, 0.06);
  color: #b8860b;
}

/* Profile hero card */
.account-body .profile-hero-card {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(102, 126, 234, 0.12);
  background: #fff;
  margin-bottom: 28px;
}

.account-body .profile-hero-banner {
  height: 80px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
}

.account-body .profile-hero-body {
  display: flex;
  align-items: flex-end;
  gap: 18px;
  padding: 0 24px 24px;
  flex-wrap: wrap;
}

.account-body .profile-hero-avatar-wrap {
  margin-top: -28px;
  flex-shrink: 0;
}

.account-body .profile-hero-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: #fff;
  font-size: 1.6rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid #fff;
  box-shadow: 0 2px 12px rgba(102, 126, 234, 0.25);
}

.account-body .profile-hero-meta {
  flex: 1;
  min-width: 0;
  padding-top: 12px;
}

.account-body .profile-hero-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: #1a1a2e;
  margin: 0 0 2px;
}

.account-body .profile-hero-since {
  font-size: 0.78rem;
  color: #9ca3af;
  margin: 0 0 14px;
}

.account-body .profile-hero-stats {
  display: flex;
  align-items: center;
  gap: 16px;
}

.account-body .profile-hero-stat {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
}

.account-body .profile-hero-stat strong {
  font-size: 1.05rem;
  font-weight: 700;
  color: #1a1a2e;
  line-height: 1;
}

.account-body .profile-hero-stat span {
  font-size: 0.72rem;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.account-body .profile-hero-stat-divider {
  width: 1px;
  height: 28px;
  background: rgba(102, 126, 234, 0.15);
}

/* Profile details section heading */
.account-body .profile-details-heading {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-weight: 700;
  color: #9ca3af;
  margin: 0 0 10px;
}

/* Profile info list (clean settings-style rows) */
.account-body .profile-info-list {
  border: 1px solid rgba(102, 126, 234, 0.1);
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.6);
}

.account-body .profile-info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 14px 20px;
  border-bottom: 1px solid rgba(102, 126, 234, 0.07);
}

.account-body .profile-info-row:last-child {
  border-bottom: none;
}

.account-body .profile-info-label {
  font-size: 0.85rem;
  color: #6b7280;
  font-weight: 500;
  flex-shrink: 0;
}

.account-body .profile-info-value {
  color: #1a1a2e;
  font-size: 0.88rem;
  text-align: right;
  word-break: break-word;
}

/* Friends section */
.account-body .friends-list-area {
  margin-bottom: 24px;
  border-radius: 16px;
  border: 1px dashed rgba(102, 126, 234, 0.2);
  background: rgba(102, 126, 234, 0.02);
  padding: 32px 24px;
  text-align: center;
}

.account-body .friends-empty-icon {
  font-size: 2.5rem;
  display: block;
  margin-bottom: 10px;
}

.account-body .friends-empty-heading {
  font-size: 1rem;
  font-weight: 600;
  color: #1a1a2e;
  margin: 0 0 6px;
}

.account-body .friends-empty-note {
  font-size: 0.88rem;
  color: #6b7280;
  margin: 0;
}

.account-body .friends-invite-section {
  padding: 20px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(102, 126, 234, 0.08);
}

/* Coming soon card */
.account-body .coming-soon-card {
  text-align: center;
  padding: 48px 24px;
  border-radius: 16px;
  border: 1px dashed rgba(102, 126, 234, 0.2);
  background: rgba(102, 126, 234, 0.02);
}

.account-body .coming-soon-emoji {
  font-size: 2.5rem;
  margin-bottom: 12px;
}

.account-body .coming-soon-heading {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1a1a2e;
  margin: 0 0 8px;
}

.account-body .coming-soon-body {
  font-size: 0.9rem;
  color: #6b7280;
  max-width: 360px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Status section divider (in health-module) */
.account-body .status-section-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 28px 0 16px;
  font-size: 0.75rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  font-weight: 600;
  color: #9ca3af;
}

.account-body .status-section-divider::before,
.account-body .status-section-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(102, 126, 234, 0.1);
}

/* Settings section label */
.account-body .settings-section-label {
  font-size: 0.75rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  font-weight: 700;
  color: #6b7280;
  margin-top: 32px;
  margin-bottom: 14px;
}

.account-body .settings-section-label:first-child {
  margin-top: 0;
}

/* Legacy — kept for JS compat */
.account-body .profile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.account-body .profile-item {
  padding: 16px;
  border-radius: 14px;
  background: rgba(102, 126, 234, 0.03);
  border: 1px solid rgba(102, 126, 234, 0.08);
}

.account-body .profile-label {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6b7280;
}

.account-body .profile-value {
  color: #1a1a2e;
  font-size: 1rem;
}

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

.account-body .dashboard-status-card {
  min-height: 160px;
  padding: 20px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(102, 126, 234, 0.08);
}

.account-body .dashboard-status-card[data-tone="positive"] {
  border-color: rgba(76, 175, 80, 0.2);
  background: rgba(76, 175, 80, 0.04);
}

.account-body .dashboard-status-card[data-tone="warning"] {
  border-color: rgba(255, 193, 7, 0.2);
  background: rgba(255, 193, 7, 0.04);
}

.account-body .dashboard-status-card[data-tone="neutral"] {
  border-color: rgba(102, 126, 234, 0.08);
}

.account-body .dashboard-status-heading {
  margin: 0 0 12px;
  color: #6b7280;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.account-body .dashboard-status-label {
  display: block;
  margin-bottom: 10px;
  color: #1a1a2e;
  font-size: 1.05rem;
}

.account-body .dashboard-status-detail {
  margin: 0;
  color: #5b6178;
  line-height: 1.7;
}

.account-body .dashboard-social-grid,
.account-body .dashboard-support-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 16px;
}

.account-body .dashboard-subcard,
.account-body .dashboard-danger-zone {
  padding: 20px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(239, 68, 68, 0.15);
  margin-top: 32px;
}

.account-body .dashboard-subcard-muted {
  background: rgba(255, 193, 7, 0.03);
  border-color: rgba(255, 193, 7, 0.15);
}

.account-body .dashboard-subcard-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.account-body .dashboard-subcard-heading h4,
.account-body .dashboard-danger-zone h4 {
  margin: 0;
  color: #1a1a2e;
}

.account-body .dashboard-note {
  color: #5b6178;
  line-height: 1.7;
  margin: 4px 0 0;
}

.account-body .dashboard-bullet-list {
  margin: 16px 0 0;
  padding-left: 18px;
  color: #2d2d44;
}

.account-body .dashboard-bullet-list li + li {
  margin-top: 10px;
}

.account-body .dashboard-form-grid {
  display: grid;
  gap: 14px;
}

.account-body .dashboard-form-grid textarea {
  min-height: 110px;
  padding: 14px 16px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid rgba(102, 126, 234, 0.15);
  color: #1a1a2e;
  resize: vertical;
  font: inherit;
}

.account-body .dashboard-form-grid textarea:focus {
  border-color: #667eea;
  outline: none;
}

.account-body .dashboard-inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 20px;
}

.account-body .dashboard-empty-state {
  padding: 18px 20px;
  border-radius: 16px;
  border: 1px dashed rgba(102, 126, 234, 0.2);
  background: rgba(102, 126, 234, 0.02);
}

.account-body .dashboard-empty-state strong {
  display: block;
  color: #1a1a2e;
  margin-bottom: 8px;
}

.account-body .dashboard-empty-state p {
  margin: 0;
  color: #5b6178;
  line-height: 1.7;
}

.account-body .letters-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.account-body .letter-list-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(102, 126, 234, 0.08);
  transition: background 0.15s, border-color 0.15s;
}

.account-body .letter-list-item:hover {
  background: rgba(255, 255, 255, 0.8);
  border-color: rgba(102, 126, 234, 0.18);
}

.account-body .letter-sender-avatar {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.15), rgba(118, 75, 162, 0.15));
  color: #667eea;
  font-size: 1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(102, 126, 234, 0.15);
}

.account-body .letter-list-copy {
  flex: 1;
  min-width: 0;
}

.account-body .letter-list-kicker {
  margin: 0 0 4px;
  color: #667eea;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.account-body .letter-list-subject {
  margin: 0;
  color: #1a1a2e;
  font-size: 0.97rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.account-body .letter-list-time {
  flex-shrink: 0;
  white-space: nowrap;
  color: #9ca3af;
  font-size: 0.82rem;
  margin-left: auto;
}

.account-body .dashboard-link-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.account-body .dashboard-link-list .btn {
  text-align: center;
}

.account-body .danger-zone-note {
  margin-top: 12px;
}

/* Account page nav — light theme override */
.account-body .landing-nav-scrolled {
  background: rgba(240, 244, 255, 0.92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 1px 8px rgba(102, 126, 234, 0.08);
  border-bottom: 1px solid rgba(102, 126, 234, 0.1);
}

.account-body .landing-nav-links a {
  color: #2d2d44;
}

.account-body .landing-nav-links a:hover {
  color: #667eea;
}

.account-body .landing-btn-signin {
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: #fff;
}

.account-body .landing-mobile-menu {
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(102, 126, 234, 0.1);
}

.account-body .landing-mobile-menu a {
  color: #2d2d44;
}

.account-body .landing-hamburger span {
  background: #2d2d44;
}

/* Account page footer — light theme override */
.account-body .landing-footer {
  border-top: 1px solid rgba(102, 126, 234, 0.1);
}

.account-body .landing-footer-social a {
  color: #6b7280;
}

.account-body .landing-footer-social a:hover {
  color: #667eea;
}

.account-body .landing-footer-links a {
  color: #6b7280;
}

.account-body .landing-footer-links a:hover {
  color: #1a1a2e;
}

.account-body .landing-footer-copy {
  color: #9ca3af;
}

@media (max-width: 1080px) {
  .account-body .dashboard-social-grid,
  .account-body .dashboard-support-grid {
    grid-template-columns: 1fr;
  }
}

/* ── Tablet: narrow sidebar ── */
@media (max-width: 760px) {
  .account-body .account-sidebar {
    width: 56px;
    overflow: hidden;
  }

  .account-body .sidebar-profile {
    display: none;
  }

  .account-body .sidebar-nav {
    padding: 10px 6px;
    align-items: center;
  }

  .account-body .sidebar-nav-item {
    padding: 10px;
    justify-content: center;
    border-radius: 10px;
  }

  /* Hide text labels, show only icons */
  .account-body .sidebar-nav-item span:not(.sidebar-nav-badge) {
    display: none;
  }

  .account-body .sidebar-nav-item svg {
    opacity: 0.8;
  }

  .account-body .sidebar-nav-badge {
    position: absolute;
    top: 4px;
    right: 4px;
    min-width: 14px;
    padding: 1px 4px;
    font-size: 0.6rem;
  }

  .account-body .sidebar-footer {
    padding: 8px 6px;
  }

  .account-body .sidebar-signout-btn {
    padding: 10px;
    justify-content: center;
  }

  .account-body .sidebar-signout-btn span {
    display: none;
  }

  .account-body .account-main {
    padding: 20px 18px;
  }
}

/* ── Mobile: hide sidebar, show bottom tabs ── */
@media (max-width: 500px) {
  .account-body .account-layout {
    flex-direction: column;
  }

  .account-body .account-sidebar {
    display: none;
  }

  .account-body .account-main {
    padding: 16px;
    max-height: none;
  }

  .account-body .mobile-tab-bar {
    display: flex;
    overflow-x: auto;
    gap: 4px;
    padding: 10px 12px;
    background: rgba(255,255,255,0.9);
    border-bottom: 1px solid rgba(102,126,234,0.1);
    position: sticky;
    top: 60px;
    z-index: 20;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .account-body .mobile-tab-bar::-webkit-scrollbar { display: none; }

  .account-body .mobile-tab-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #5b6178;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: background 0.13s, color 0.13s;
    flex-shrink: 0;
  }

  .account-body .mobile-tab-item.is-active {
    background: rgba(102,126,234,0.12);
    color: #667eea;
  }

  .account-body .letter-list-time {
    display: none;
  }
}

/* Responsive */
@media (max-width: 600px) {
  .account-container {
    padding: 104px 16px 28px;
  }

  .account-body .account-card {
    padding: 20px;
  }

  .account-body .account-auth-brand,
  .account-body .account-auth-meta,
  .account-body .account-auth-switch {
    flex-direction: column;
    align-items: flex-start;
  }

  .account-body .account-auth-logo {
    width: 56px;
    height: 56px;
  }

  .account-body .account-auth-card h2 {
    font-size: 1.8rem;
  }

  .account-body .account-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .account-body .account-header button {
    margin-top: 10px;
  }

  .account-body .discord-info {
    flex-direction: column;
  }

  .account-body .discord-status {
    flex-wrap: wrap;
  }
}


/* Old dark landing theme removed — modern styles are below */

/* ============================================
   SUPPORTING LEGAL + ACCOUNT ACTION PAGES
   ============================================ */

.legal-body,
.account-action-body {
  background:
    radial-gradient(circle at top, rgba(118, 75, 162, 0.24), transparent 32%),
    radial-gradient(circle at bottom right, rgba(102, 126, 234, 0.16), transparent 30%),
    #0d0d1a;
}

.legal-container {
  max-width: 960px;
  padding-top: 120px;
  padding-bottom: 56px;
}

.legal-card {
  padding: clamp(28px, 4vw, 48px);
}

.legal-shell {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.legal-header {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.legal-kicker {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #aeb9ff;
}

.legal-header h1,
.account-action-body h1 {
  font-size: clamp(2.2rem, 4vw, 3.25rem);
  line-height: 1.05;
  color: #fff;
}

.legal-back-link,
.legal-inline-link {
  color: #c6d1ff;
  text-decoration: none;
  font-weight: 600;
}

.legal-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
}

.legal-back-link:hover,
.legal-inline-link:hover {
  color: #fff;
}

.legal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.legal-meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.95rem;
}

.legal-prose h2 {
  margin-top: 0;
  margin-bottom: 14px;
  color: #fff;
  font-size: 1.3rem;
}

.legal-prose h2:not(:first-child) {
  margin-top: 34px;
}

.legal-prose p,
.legal-prose li {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.85;
}

.legal-prose p {
  margin-bottom: 16px;
}

.legal-prose ul {
  margin: 0 0 16px;
  padding-left: 1.4rem;
}

.legal-prose li + li {
  margin-top: 10px;
}

.legal-prose strong,
.legal-meta-pill strong {
  color: #fff;
}

/* Legal pages use a white card — override white text to dark */
.legal-body .legal-header h1 {
  color: #1a1a2e;
}
.legal-body .legal-kicker {
  color: #667eea;
}
.legal-body .legal-header {
  border-bottom-color: rgba(0, 0, 0, 0.1);
}
.legal-body .legal-back-link,
.legal-body .legal-inline-link {
  color: #667eea;
}
.legal-body .legal-back-link:hover,
.legal-body .legal-inline-link:hover {
  color: #4a5fcc;
}
.legal-body .legal-meta-pill {
  background: rgba(102, 126, 234, 0.08);
  border-color: rgba(102, 126, 234, 0.2);
  color: #4a4a6a;
}
.legal-body .legal-meta-pill strong {
  color: #1a1a2e;
}
.legal-body .legal-prose h2 {
  color: #1a1a2e;
}
.legal-body .legal-prose p,
.legal-body .legal-prose li {
  color: #4a4a6a;
}
.legal-body .legal-prose strong {
  color: #1a1a2e;
}

.action-container {
  max-width: 720px;
  padding-top: 120px;
  padding-bottom: 56px;
}

.action-card {
  padding: clamp(28px, 4vw, 40px);
}

.account-action-body .action-copy {
  color: rgba(255, 255, 255, 0.68);
  margin-bottom: 24px;
}

.account-action-body .action-submit {
  width: 100%;
  justify-content: center;
}

.account-action-body .action-state {
  min-height: 120px;
}

.account-action-body .error,
.account-action-body .success {
  padding: 14px 16px;
  border-radius: 12px;
  line-height: 1.6;
}

.account-action-body .error {
  background: rgba(244, 67, 54, 0.12);
  border: 1px solid rgba(244, 67, 54, 0.24);
  color: #ffb4ab;
}

.account-action-body .success {
  background: rgba(76, 175, 80, 0.12);
  border: 1px solid rgba(76, 175, 80, 0.24);
  color: #9be7a7;
}

.account-action-body #success-section .btn {
  margin-right: 0;
}

@media (max-width: 768px) {
  .legal-container,
  .action-container {
    padding-top: 104px;
    padding-bottom: 40px;
  }

  .legal-card,
  .action-card {
    padding: 24px;
  }

  .support-footer-links a {
    display: inline-block;
    margin: 6px 10px;
  }
}

@media (max-width: 480px) {
  .legal-header {
    gap: 12px;
  }

  .legal-meta {
    flex-direction: column;
    align-items: flex-start;
  }

  .legal-prose h2 {
    font-size: 1.15rem;
  }

  .account-action-body #success-section .btn {
    width: 100%;
  }
}

/* Profile Details Section */
.profile-details {
  margin-top: 20px;
  margin-bottom: 20px;
}

.profile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 12px;
}

.profile-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.profile-label {
  font-size: 0.85em;
  opacity: 0.7;
}

.profile-value {
  font-size: 1.1em;
  font-weight: 600;
}

/* ==========================================================================
   Landing page styles (isolated)
   ========================================================================== */
.landing-body {
  --landing-bg: #f0f4ff;
  --landing-surface: rgba(255, 255, 255, 0.85);
  --landing-surface-strong: rgba(255, 255, 255, 0.95);
  --landing-surface-alt: rgba(102, 126, 234, 0.04);
  --landing-border: rgba(102, 126, 234, 0.12);
  --landing-text: #1a1a2e;
  --landing-muted: #5b6178;
  --landing-accent-start: #667eea;
  --landing-accent-end: #764ba2;
  --landing-shadow-layered:
    0 2px 8px rgba(102, 126, 234, 0.04),
    0 8px 24px rgba(102, 126, 234, 0.06),
    0 24px 60px rgba(102, 126, 234, 0.08);
  --landing-shadow-elevated:
    0 4px 12px rgba(102, 126, 234, 0.08),
    0 16px 40px rgba(102, 126, 234, 0.12),
    0 32px 80px rgba(102, 126, 234, 0.14);
  --landing-glow: rgba(102, 126, 234, 0.35);
  background: transparent;
  color: var(--landing-text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  min-height: 100vh;
  padding: 0;
}

.landing-body a {
  color: inherit;
  text-decoration: none;
}

.landing-body a.landing-btn-cta,
.landing-body a.landing-btn-primary,
.landing-body a.landing-btn-discord {
  color: #ffffff;
  -webkit-text-fill-color: #ffffff;
}

.landing-body a.landing-btn-secondary {
  color: #1a1a2e;
  -webkit-text-fill-color: #1a1a2e;
}

.landing-body a.landing-btn-glass,
.landing-body a.landing-btn-signin {
  color: var(--landing-text);
  -webkit-text-fill-color: var(--landing-text);
}

.landing-container {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.landing-section {
  position: relative;
  padding: 120px 0;
}

/* Scroll reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger > .reveal {
  transition-delay: calc(var(--i, 0) * 0.08s);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.landing-section-alt {
  /* background handled by WebGL canvas — no per-section gradients to avoid seams */
}

.landing-section-heading {
  max-width: 760px;
  margin: 0 auto 64px;
  text-align: center;
}

.landing-section-eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  color: #667eea;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.landing-section-title,
.landing-section-title-left {
  font-size: clamp(2rem, 3.8vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
  background: linear-gradient(135deg, var(--landing-text) 40%, var(--landing-accent-start));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.landing-section-title {
  text-align: center;
}

.landing-section-title-left,
.landing-section-lead-left {
  text-align: left;
}

.landing-section-lead,
.landing-about-text,
.landing-community-text {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--landing-muted);
}

/* ── Button system: 3 tiers ──
   Primary (CTA):  purple gradient + white text  — main actions
   Secondary:      solid white + dark text        — supporting actions
   Glass:          frosted glass + dark text       — subtle / nav actions
*/
.landing-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.landing-btn:hover {
  transform: translateY(-2px);
}

/* ── Primary: purple gradient + white text ── */
.landing-btn-cta,
.landing-btn-primary,
.landing-btn-discord {
  background: linear-gradient(135deg, var(--landing-accent-start), var(--landing-accent-end));
  color: #ffffff;
  box-shadow:
    0 4px 12px rgba(102, 126, 234, 0.15),
    0 16px 32px rgba(102, 126, 234, 0.18);
}

.landing-btn-cta:hover,
.landing-btn-primary:hover,
.landing-btn-discord:hover {
  transform: translateY(-3px) scale(1.03);
  filter: brightness(1.08);
  box-shadow:
    0 4px 16px var(--landing-glow),
    0 20px 50px rgba(102, 126, 234, 0.28),
    0 0 40px rgba(102, 126, 234, 0.12);
}

/* ── Secondary: solid white + dark text ── */
.landing-btn-secondary {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(255, 255, 255, 0.6);
  color: #1a1a2e;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.landing-btn-secondary:hover {
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

/* ── Glass: frosted glassmorphism + dark text ── */
.landing-btn-glass,
.landing-btn-signin {
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: var(--landing-text);
}

.landing-btn-glass:hover,
.landing-btn-signin:hover {
  background: rgba(255, 255, 255, 0.45);
  border-color: rgba(255, 255, 255, 0.55);
  box-shadow: 0 8px 24px rgba(102, 126, 234, 0.1);
}

.landing-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(252, 252, 255, 0.78);
  backdrop-filter: blur(24px) saturate(1.2);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.landing-nav-scrolled {
  border-bottom-color: var(--landing-border);
  box-shadow: 0 4px 20px rgba(102, 126, 234, 0.06);
}

.landing-nav-inner {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  min-height: 86px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.landing-nav-logo {
  display: block;
  flex-shrink: 0;
}

.landing-nav-logo img {
  width: min(168px, 40vw);
  height: auto;
  max-width: 100%;
  display: block;
}

.landing-nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  margin-left: auto;
}

.landing-nav-links a,
.landing-mobile-menu a {
  color: var(--landing-text);
  font-weight: 600;
}

.landing-nav-links a:hover,
.landing-mobile-menu a:hover,
.landing-footer-links a:hover,
.landing-footer-social a:hover {
  color: var(--landing-accent-start);
}

.landing-hamburger {
  display: none;
  margin-left: auto;
  background: transparent;
  border: none;
  padding: 8px;
}

.landing-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px 0;
  background: var(--landing-text);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.landing-hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.landing-hamburger.active span:nth-child(2) {
  opacity: 0;
}

.landing-hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.landing-mobile-menu {
  display: none;
  flex-direction: column;
  gap: 16px;
  padding: 0 24px 20px;
}

.landing-mobile-menu.open {
  display: flex;
}

.landing-hero {
  position: relative;
  overflow: hidden;
  height: min(56.25vw, 100svh);
  min-height: 460px;
}

.landing-hero-bg {
  position: absolute;
  inset: 0;
  -webkit-mask-image: linear-gradient(to bottom, black 55%, transparent 100%);
  mask-image: linear-gradient(to bottom, black 55%, transparent 100%);
}

.landing-hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  max-width: none;
  display: block;
}

.landing-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.28) 100%),
    radial-gradient(ellipse 80% 40% at 50% 90%, rgba(0, 0, 0, 0.12), transparent);
  pointer-events: none;
}


.landing-hero-content {
  position: absolute;
  bottom: 5%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  width: 100%;
  max-width: 720px;
  text-align: center;
  padding: 0 24px;
}

.landing-hero-logo {
  width: min(560px, 90vw);
  margin-bottom: 24px;
}

.landing-hero-subtitle {
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  line-height: 1.7;
  color: #fff;
  margin-bottom: 16px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.landing-hero-intro {
  max-width: 640px;
  margin: 0 auto 28px;
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.3);
}

.landing-hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.landing-hero-account-link {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  padding-bottom: 1px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.landing-hero-account-link:hover {
  color: #fff;
  border-bottom-color: rgba(255, 255, 255, 0.75);
}

.landing-hero-helper {
  max-width: 620px;
  margin: 18px auto 0;
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.8);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.3);
}

.landing-hero-bird {
  position: absolute;
  right: 5%;
  bottom: 4%;
  width: clamp(120px, 18vw, 220px);
  z-index: 1;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.35));
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), filter 0.5s ease;
}

.landing-hero-bird:hover {
  transform: translateY(-8px) scale(1.05);
  filter: drop-shadow(0 28px 50px rgba(0, 0, 0, 0.3));
}

.landing-about-text {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.landing-screenshots,
.landing-gallery-grid,
.landing-features-grid,
.landing-steps-grid,
.landing-sticker-grid {
  display: grid;
  gap: 28px;
  perspective: 1200px;
}

.landing-screenshots {
  margin-top: 36px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.landing-screenshots img,
.landing-gallery-card img,
.landing-feature-card img,
.landing-step-card img,
.landing-sticker-card img {
  width: 100%;
  display: block;
}

.landing-screenshots img,
.landing-gallery-card,
.landing-feature-card,
.landing-step-card,
.landing-video-frame,
.landing-sticker-card,
.landing-sticker-copy,
.landing-community {
  border: 1px solid var(--landing-border);
  box-shadow: var(--landing-shadow-layered);
}

.landing-screenshots img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 24px;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.landing-screenshots img:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: var(--landing-shadow-elevated);
}

.landing-features-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 56px;
}

.landing-feature-card,
.landing-step-card,
.landing-sticker-card,
.landing-gallery-card {
  position: relative;
  background: var(--landing-surface);
  backdrop-filter: blur(12px);
  border-radius: 28px;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.landing-feature-card:hover,
.landing-step-card:hover,
.landing-sticker-card:hover,
.landing-gallery-card:hover {
  transform: translateY(-6px) scale(1.015) rotateX(2deg);
  box-shadow: var(--landing-shadow-elevated);
}

.landing-feature-card::before,
.landing-step-card::before,
.landing-gallery-card::before,
.landing-path-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.5px;
  background: linear-gradient(135deg, #667eea, #b4a0e8, #e8bcff, #667eea);
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 1;
}

.landing-feature-card:hover::before,
.landing-step-card:hover::before,
.landing-gallery-card:hover::before,
.landing-path-card:hover::before {
  opacity: 1;
}

.landing-feature-card {
  padding: 28px;
}

.landing-feature-card img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  margin-bottom: 20px;
}

.landing-step-card {
  padding: 0;
  overflow: hidden;
}

.landing-step-card .landing-step-number {
  margin: 24px 24px 0;
}

.landing-step-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  background: rgba(102, 126, 234, 0.04);
  margin-bottom: 0;
  display: block;
}

.landing-step-card h3,
.landing-step-card p {
  padding: 0 24px;
}

.landing-step-card h3 {
  padding-top: 16px;
}

.landing-step-card p {
  padding-bottom: 24px;
}

.landing-feature-card h3,
.landing-step-card h3,
.landing-gallery-card figcaption,
.landing-sticker-card span {
  color: var(--landing-text);
}

.landing-feature-card h3,
.landing-step-card h3 {
  margin-bottom: 12px;
  font-size: 1.2rem;
}

.landing-feature-card p,
.landing-step-card p,
.landing-gallery-card figcaption,
.landing-trailer-points li,
.landing-sticker-copy p {
  color: var(--landing-muted);
  line-height: 1.75;
}

.landing-gallery-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  perspective: 1200px;
}

.landing-gallery-card {
  position: relative;
}

.landing-gallery-card img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.landing-gallery-card figcaption {
  padding: 18px 18px 22px;
  font-size: 0.96rem;
}

.landing-gallery-card-wide {
  grid-column: span 3;
}

.landing-gallery-card-wide img {
  aspect-ratio: 16 / 9;
}

.landing-trailer-shell,
.landing-sticker-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 28px;
  align-items: center;
}

.landing-trailer-copy,
.landing-sticker-copy {
  padding: 36px;
  border-radius: 32px;
  background: var(--landing-surface);
}

.landing-video-frame {
  background: var(--landing-surface-strong);
  border-radius: 32px;
  padding: 18px;
}

.landing-video-frame video {
  width: 100%;
  border-radius: 22px;
  background: #1a1a2e;
}

.landing-trailer-points {
  list-style: none;
  margin-top: 24px;
}

.landing-trailer-points li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 14px;
}

.landing-trailer-points li::before {
  content: '';
  position: absolute;
  top: 11px;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--landing-accent-start), var(--landing-accent-end));
}

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

.landing-step-card {
  position: relative;
}

.landing-step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 20px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.12), rgba(118, 75, 162, 0.10));
  color: var(--landing-accent-start);
  font-weight: 800;
  letter-spacing: 0.08em;
}

.landing-sticker-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.landing-sticker-card {
  padding: 18px;
  text-align: center;
}

.landing-sticker-card img {
  width: 82px;
  height: 82px;
  margin: 0 auto 14px;
  object-fit: contain;
}

.landing-sticker-card span {
  font-weight: 700;
}

.landing-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.landing-chip-list span {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(102, 126, 234, 0.08);
  border: 1px solid var(--landing-border);
  color: var(--landing-text);
  font-weight: 600;
}

.landing-path-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  perspective: 1200px;
  justify-items: center;
}

.landing-path-grid:has(.landing-path-card:only-child) {
  grid-template-columns: minmax(0, 480px);
  justify-content: center;
}

.landing-path-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  padding: 32px;
  border-radius: 32px;
  background: var(--landing-surface);
  backdrop-filter: blur(12px);
  border: 1px solid var(--landing-border);
  box-shadow: var(--landing-shadow-layered);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.landing-path-card:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: var(--landing-shadow-elevated);
}

.landing-path-card-secondary {
  background: rgba(102, 126, 234, 0.04);
}

.landing-path-badge {
  display: inline-block;
  color: var(--landing-accent-start);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.landing-path-card h3 {
  font-size: 1.5rem;
  color: var(--landing-text);
}

.landing-path-card p {
  color: var(--landing-muted);
  line-height: 1.8;
}

.landing-path-card .landing-btn {
  margin-top: auto;
}


.landing-community {
  margin-top: 0;
  border-radius: 32px;
  background:
    radial-gradient(ellipse 60% 50% at 20% 20%, rgba(102, 126, 234, 0.08), transparent),
    radial-gradient(ellipse 50% 60% at 80% 80%, rgba(232, 188, 255, 0.06), transparent),
    linear-gradient(135deg, rgba(102, 126, 234, 0.08), rgba(118, 75, 162, 0.06));
  backdrop-filter: blur(12px);
  text-align: center;
}

.landing-community-text {
  max-width: 720px;
  margin: 0 auto 36px;
  text-align: center;
}

.landing-social-links,
.landing-footer-social,
.landing-footer-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

.landing-community-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.landing-social-links {
  margin-top: 0;
}

.landing-social-links a,
.landing-footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(102, 126, 234, 0.06);
  border: 1px solid var(--landing-border);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.landing-social-links a:hover,
.landing-footer-social a:hover {
  transform: translateY(-3px);
  background: rgba(102, 126, 234, 0.12);
  box-shadow: 0 8px 20px rgba(102, 126, 234, 0.15);
}

.landing-footer {
  padding: 32px 0 56px;
  border-top: 1px solid var(--landing-border);
  background: transparent;
}

.landing-footer-inner {
  display: grid;
  gap: 18px;
  justify-items: center;
  text-align: center;
}

.landing-footer-links a,
.landing-footer-copy {
  color: var(--landing-muted);
}

/* --- What Is It Section --- */
.landing-what-screenshots {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
  margin-top: 3.5rem;
}

.landing-what-screenshots img {
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
  aspect-ratio: 16 / 9;
  max-height: 180px;
}

.landing-what-trailer {
  margin-top: 4rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.landing-what-trailer video {
  width: 100%;
  border-radius: 22px;
  background: #1a1a2e;
}

/* --- Gallery Section (updated layout) --- */
.landing-gallery-hero {
  margin-top: 3.5rem;
  margin-bottom: 3rem;
  border-radius: 20px;
  overflow: hidden;
}

.landing-gallery-hero img {
  width: 100%;
  display: block;
  object-fit: cover;
  max-height: 480px;
}

/* --- Welcome Pack Section --- */
.landing-welcome-pack-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.landing-welcome-pack-copy .landing-btn {
  margin-top: 24px;
}

.landing-welcome-pack-card {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--landing-border);
  border-radius: 24px;
  padding: 36px;
  text-align: center;
  box-shadow: 0 8px 40px rgba(102, 126, 234, 0.08);
}

.landing-welcome-pack-badge {
  display: block;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--landing-text);
  margin-bottom: 6px;
}

.landing-welcome-pack-tagline {
  color: var(--landing-muted);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.landing-welcome-pack-preview {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.landing-welcome-pack-landscape {
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
  margin-bottom: 20px;
}

.landing-welcome-pack-preview img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  transition: transform 0.2s ease;
  cursor: default;
}

.landing-welcome-pack-preview img:hover {
  transform: translate(var(--emoji-dx, 6px), var(--emoji-dy, -6px)) scale(1.1);
}

.landing-welcome-pack-card .landing-btn {
  margin-top: 24px;
}

.landing-welcome-pack-copy .landing-btn {
  display: none;
}

@media (max-width: 768px) {
  .landing-welcome-pack-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* --- 404 Page --- */
.landing-404-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 180px);
  padding: 120px 24px 60px;
}

.landing-404-content {
  max-width: 560px;
  text-align: center;
}

.landing-404-content .landing-section-eyebrow {
  font-size: 1rem;
  margin-bottom: 24px;
}

.landing-404-content .landing-section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 18px;
}

.landing-404-content .landing-section-lead {
  margin-bottom: 32px;
}

.landing-404-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.cookie-consent-banner {
  position: fixed;
  right: 24px;
  bottom: 24px;
  left: 24px;
  z-index: 950;
  opacity: 0;
  pointer-events: none;
  transform: translateY(18px);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.cookie-consent-banner[hidden] {
  display: none;
}

.cookie-consent-banner.cookie-consent-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.cookie-consent-panel {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  max-width: 1120px;
  margin: 0 auto;
  padding: 20px 24px;
  border: 1px solid var(--landing-border);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 20px 48px rgba(102, 126, 234, 0.12);
  backdrop-filter: blur(18px);
}

.cookie-consent-copy {
  flex: 1;
}

.cookie-consent-title {
  margin: 0 0 8px;
  color: var(--landing-text);
  font-size: 1rem;
  font-weight: 700;
}

.cookie-consent-text {
  margin: 0;
  max-width: 720px;
  color: var(--landing-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.cookie-consent-link {
  color: var(--landing-accent-start);
  font-weight: 600;
}

.cookie-consent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.cookie-consent-button {
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.cookie-consent-button:hover,
.cookie-consent-button:focus-visible {
  transform: translateY(-1px);
}

.cookie-consent-button:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.42);
  outline-offset: 2px;
}

.cookie-consent-button-accept {
  color: #ffffff;
  background: linear-gradient(135deg, var(--landing-accent-start), var(--landing-accent-end));
  box-shadow: 0 12px 30px rgba(102, 126, 234, 0.28);
}

.cookie-consent-button-decline {
  color: var(--landing-muted);
  border-color: var(--landing-border);
  background: rgba(102, 126, 234, 0.05);
}

.cookie-consent-page-visible {
  padding-bottom: clamp(170px, 24vw, 220px);
}

@media (max-width: 1080px) {
  .landing-what-screenshots {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .landing-features-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .landing-sticker-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .landing-trailer-shell,
  .landing-sticker-shell {
    grid-template-columns: 1fr;
  }

  .landing-path-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 780px) {
  .landing-nav-inner {
    min-height: 76px;
    gap: 16px;
  }

  .landing-nav-links,
  .landing-btn-signin {
    display: none;
  }

  .landing-hamburger {
    display: block;
  }

  .landing-hero {
    height: auto;
    min-height: unset;
    padding: 0;
  }

  .landing-hero-bg {
    position: relative;
    inset: unset;
    width: 100%;
  }

  .landing-hero-bg-img {
    height: auto;
    object-fit: unset;
    object-position: unset;
  }

  .landing-hero-content {
    position: relative;
    bottom: auto;
    left: auto;
    transform: none;
    padding: 28px 24px 36px;
  }

  .landing-hero-subtitle {
    color: var(--landing-text);
    text-shadow: none;
  }

  .landing-hero-intro {
    color: var(--landing-muted);
    text-shadow: none;
  }

  .landing-hero-helper {
    color: var(--landing-muted);
    text-shadow: none;
  }

  .landing-hero-bird {
    position: static;
    margin-top: 24px;
    width: 140px;
  }

  .landing-hero-intro,
  .landing-hero-helper {
    font-size: 0.98rem;
  }

  .landing-section {
    padding: 84px 0;
  }

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

  .landing-sticker-grid {
    grid-template-columns: 1fr;
  }

  .landing-screenshots {
    grid-template-columns: repeat(2, 1fr);
  }

  .landing-gallery-card-wide {
    grid-column: span 3;
  }

  .landing-feature-card,
  .landing-trailer-copy,
  .landing-sticker-copy,
  .landing-path-card {
    padding: 24px;
  }

  .cookie-consent-banner {
    right: 16px;
    bottom: 16px;
    left: 16px;
  }

  .cookie-consent-panel {
    padding: 18px;
  }

  .cookie-consent-page-visible {
    padding-bottom: 240px;
  }
}

@media (max-width: 620px) {
  .landing-what-screenshots {
    grid-template-columns: 1fr;
  }

  .landing-gallery-grid {
    grid-template-columns: 1fr;
  }

  .landing-steps-grid {
    grid-template-columns: 1fr;
  }

  .landing-hero-actions {
    gap: 12px;
  }

  .landing-hero-actions .landing-btn,
  .landing-path-card .landing-btn {
    width: 100%;
  }

  .cookie-consent-panel,
  .cookie-consent-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-consent-actions {
    width: 100%;
  }

  .cookie-consent-button {
    width: 100%;
  }

  .cookie-consent-page-visible {
    padding-bottom: 280px;
  }
}
