/* RoveAbility Coming Soon Styles
   Background: #001727
   Accents: #945EA8 (Purple) & #F9BB01 (Gold)
*/

:root {
  --bg-color: #001727;
  --purple: #945EA8;
  --purple-glow: rgba(148, 94, 168, 0.25);
  --gold: #F9BB01;
  --gold-hover: #ffc824;
  --gold-glow: rgba(249, 187, 1, 0.35);

  --text-main: #ffffff;
  --text-muted: #94a3b8;
  --border-color: rgba(148, 94, 168, 0.3);

  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
}

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

html, body {
  height: 100%;
  background-color: var(--bg-color);
  color: var(--text-main);
  font-family: var(--font-body);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Accessibility: Skip Link */
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  background: var(--gold);
  color: #001727;
  padding: 0.65rem 1.25rem;
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: 8px;
  text-decoration: none;
  z-index: 9999;
  transition: top 0.2s ease;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6);
}

.skip-link:focus {
  top: 1rem;
  outline: 3px solid var(--purple);
}

/* Keyboard Focus Indicators */
:focus-visible {
  outline: 2.5px solid var(--gold);
  outline-offset: 3px;
}

/* Reduced Motion for Vestibular Sensitivity */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Ambient Subtle Glow */
.ambient-glow {
  position: fixed;
  width: 550px;
  height: 550px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, var(--purple-glow) 0%, rgba(249, 187, 1, 0.08) 45%, transparent 70%);
  filter: blur(90px);
  pointer-events: none;
  z-index: 0;
}

/* Centered Main Container */
.main-container {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 2.5rem 1.5rem 1.5rem;
}

/* Centered Coming Soon Card */
.coming-soon-card {
  margin: auto 0;
  width: 100%;
  max-width: 560px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Logo - Enhanced Prominence */
.logo-wrapper {
  position: relative;
  margin-bottom: 2.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.logo-wrapper::before {
  content: '';
  position: absolute;
  width: 140%;
  height: 140%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(148, 94, 168, 0.3) 0%, rgba(249, 187, 1, 0.12) 40%, transparent 70%);
  filter: blur(40px);
  pointer-events: none;
  z-index: -1;
  border-radius: 50%;
}

.brand-logo {
  max-height: clamp(230px, 32vw, 320px);
  width: auto;
  max-width: 92vw;
  object-fit: contain;
  border-radius: 18px;
  filter: drop-shadow(0 12px 35px rgba(0, 0, 0, 0.6));
}

.brand-logo:hover {
  /* No glow or filter change on hover */
  transform: none;
}

/* Text */
.text-content {
  margin-bottom: 2.25rem;
}

.main-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 0.85rem;
  letter-spacing: -0.02em;
}

.gold-text {
  color: var(--gold);
}

.subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 480px;
  margin: 0 auto;
}

/* Simplified Single-Row Input Form */
.signup-form {
  width: 100%;
  max-width: 480px;
}

.input-group {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  background: rgba(4, 28, 47, 0.85);
  border: 1.5px solid var(--border-color);
  padding: 0.35rem;
  border-radius: 14px;
  backdrop-filter: blur(12px);
  transition: border-color 0.2s ease;
}

@media (min-width: 500px) {
  .input-group {
    flex-direction: row;
    padding: 0.4rem;
    border-radius: 50px;
  }
}

.input-group:focus-within {
  border-color: var(--gold);
}

.email-input {
  flex: 1;
  height: 48px;
  background: transparent;
  border: none;
  padding: 0 1.25rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-main);
  outline: none;
}

.email-input::placeholder {
  color: #64748b;
}

.submit-btn {
  height: 48px;
  padding: 0 1.75rem;
  background: var(--gold);
  color: #001727;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease, transform 0.15s ease;
  white-space: nowrap;
  box-shadow: none;
}

@media (min-width: 500px) {
  .submit-btn {
    border-radius: 40px;
  }
}

.submit-btn:hover {
  background: var(--gold-hover);
  box-shadow: none;
  transform: translateY(-1px);
}

.submit-btn:active {
  transform: translateY(0);
}

.submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

/* Spinner */
.btn-spinner {
  display: none;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(0, 23, 39, 0.3);
  border-top-color: #001727;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

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

.submit-btn.loading .btn-text {
  display: none;
}

.submit-btn.loading .btn-spinner {
  display: block;
}

/* Feedback Messages */
.form-feedback {
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: 8px;
  padding: 0;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
  margin-top: 0.75rem;
}

.form-feedback.show {
  padding: 0.65rem 1rem;
  opacity: 1;
  max-height: 80px;
}

.form-feedback.success {
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid rgba(34, 197, 94, 0.35);
  color: #4ade80;
}

.form-feedback.info {
  background: rgba(249, 187, 1, 0.15);
  border: 1px solid rgba(249, 187, 1, 0.35);
  color: var(--gold);
}

.form-feedback.error {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #f87171;
}

/* Social Media Section */
.social-section {
  margin-top: 2rem;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
}

.social-heading {
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.social-links-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  max-width: 600px;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.6rem 1.15rem;
  background: rgba(4, 28, 47, 0.75);
  border: 1.5px solid rgba(148, 94, 168, 0.3);
  border-radius: 50px;
  color: #f1f5f9;
  font-size: 0.925rem;
  font-weight: 600;
  text-decoration: none;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.social-btn svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  transition: transform 0.25s ease, color 0.25s ease;
}

.social-btn:hover {
  border-color: var(--gold);
  color: #ffffff;
  background: rgba(148, 94, 168, 0.25);
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5), 0 0 16px rgba(249, 187, 1, 0.3);
}

.social-btn:hover svg {
  transform: scale(1.15);
  color: var(--gold);
}

/* Individual Brand Highlights on Hover */
.social-btn.instagram:hover {
  border-color: #E1306C;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4), 0 0 12px rgba(225, 48, 108, 0.35);
}
.social-btn.instagram:hover svg {
  color: #E1306C;
}

.social-btn.facebook:hover {
  border-color: #1877F2;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4), 0 0 12px rgba(24, 119, 242, 0.35);
}
.social-btn.facebook:hover svg {
  color: #1877F2;
}

.social-btn.tiktok:hover {
  border-color: #25F4EE;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4), 0 0 12px rgba(37, 244, 238, 0.35);
}
.social-btn.tiktok:hover svg {
  color: #25F4EE;
}

.social-btn.reddit:hover {
  border-color: #FF4500;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4), 0 0 12px rgba(255, 69, 0, 0.35);
}
.social-btn.reddit:hover svg {
  color: #FF4500;
}

.social-btn.youtube:hover {
  border-color: #FF0000;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4), 0 0 12px rgba(255, 0, 0, 0.35);
}
.social-btn.youtube:hover svg {
  color: #FF0000;
}

/* Minimalist Footer */
.footer {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: #64748b;
  margin-top: 2rem;
}

@media (min-width: 500px) {
  .footer {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.footer-link,
.admin-link-btn {
  color: #64748b;
  text-decoration: none;
  background: transparent;
  border: none;
  font-family: inherit;
  font-size: inherit;
  cursor: pointer;
  transition: color 0.2s ease;
}

.footer-link:hover,
.admin-link-btn:hover {
  color: var(--gold);
}

.dot {
  opacity: 0.4;
}

/* ==========================================================================
   Admin Modal
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 10, 18, 0.85);
  backdrop-filter: blur(8px);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-dialog {
  background: #021a2e;
  border: 1px solid var(--purple);
  border-radius: 16px;
  width: 100%;
  max-width: 700px;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 0 40px var(--purple-glow);
  transform: translateY(20px);
  transition: transform 0.25s ease;
  overflow: hidden;
}

.modal-backdrop.open .modal-dialog {
  transform: translateY(0);
}

.modal-header {
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(148, 94, 168, 0.2);
}

.modal-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--text-main);
}

.modal-close-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.75rem;
  cursor: pointer;
  line-height: 1;
}

.modal-toolbar {
  padding: 0.85rem 1.5rem;
  display: flex;
  gap: 0.75rem;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.search-input {
  flex: 1;
  max-width: 260px;
  background: rgba(0, 23, 39, 0.9);
  border: 1px solid rgba(148, 94, 168, 0.3);
  border-radius: 6px;
  padding: 0.45rem 0.75rem;
  color: #fff;
  font-size: 0.85rem;
  outline: none;
}

.search-input:focus {
  border-color: var(--gold);
}

.toolbar-btns {
  display: flex;
  gap: 0.5rem;
}

.btn-secondary,
.btn-danger,
.btn-gold {
  padding: 0.45rem 0.85rem;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  border: none;
}

.btn-secondary {
  background: rgba(148, 94, 168, 0.2);
  color: #e2e8f0;
}

.btn-secondary:hover {
  background: rgba(148, 94, 168, 0.35);
}

.btn-danger {
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.btn-danger:hover {
  background: rgba(239, 68, 68, 0.3);
  color: #ffffff;
}

.btn-gold {
  background: var(--gold);
  color: #001727;
}

.btn-gold:hover {
  background: var(--gold-hover);
}

.modal-body {
  padding: 1rem 1.5rem;
  overflow-y: auto;
  flex: 1;
}

.table-wrap {
  overflow-x: auto;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
  text-align: left;
}

.data-table th {
  padding: 0.6rem 0.85rem;
  color: var(--purple);
  border-bottom: 1px solid rgba(148, 94, 168, 0.3);
}

.data-table td {
  padding: 0.65rem 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.table-loading,
.table-empty {
  text-align: center;
  padding: 2rem !important;
  color: var(--text-muted);
}

.del-btn {
  background: transparent;
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #f87171;
  padding: 0.2rem 0.45rem;
  border-radius: 4px;
  font-size: 0.75rem;
  cursor: pointer;
}

.del-btn:hover {
  background: rgba(239, 68, 68, 0.2);
}

.modal-footer {
  padding: 0.85rem 1.5rem;
  border-top: 1px solid rgba(148, 94, 168, 0.2);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}

.modal-footer strong {
  color: var(--gold);
}

/* Info Modals (Privacy Policy & Accessibility Statement) */
.modal-dialog.modal-info {
  max-width: 600px;
}

.info-content {
  line-height: 1.7;
  color: #cbd5e1;
  font-size: 0.925rem;
  padding: 1.25rem 1.5rem;
}

.info-content p {
  margin-bottom: 0.9rem;
}

.info-content h3 {
  font-family: var(--font-heading);
  color: var(--gold);
  font-size: 1.05rem;
  margin-top: 1.25rem;
  margin-bottom: 0.4rem;
}

.info-content ul {
  padding-left: 1.25rem;
  margin-bottom: 1rem;
}

.info-content li {
  margin-bottom: 0.35rem;
}

.inline-link {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.inline-link:hover {
  color: var(--gold-hover);
}

.footer-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
}

.footer-btn {
  color: #64748b;
  background: transparent;
  border: none;
  font-family: inherit;
  font-size: inherit;
  cursor: pointer;
  transition: color 0.2s ease;
  padding: 0.2rem 0.4rem;
  border-radius: 4px;
}

.footer-btn:hover {
  color: var(--gold);
}
