/* OTT Move & AudioTube - Modern Ultra-Responsive Dark Theme CSS */

:root {
  --bg-dark: #0a0812;
  --bg-surface: #141024;
  --bg-card: #1c1633;
  --bg-card-hover: #261f44;
  --border-color: rgba(255, 255, 255, 0.1);
  --border-glow: rgba(124, 58, 237, 0.4);
  
  --primary: #7c3aed;
  --primary-glow: #9333ea;
  --accent-pink: #ec4899;
  --accent-cyan: #06b6d4;
  --text-main: #ffffff;
  --text-muted: #a1a1aa;
  --text-dim: #71717a;

  --font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-family: var(--font-family);
  background-color: var(--bg-dark);
  color: var(--text-main);
  overflow-x: hidden;
}

body {
  line-height: 1.6;
  background: radial-gradient(circle at 50% 0%, #1e1338 0%, #0a0812 70%);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Typography & Utilities */
a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

.gradient-text {
  background: linear-gradient(135deg, #a78bfa 0%, #ec4899 50%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-bg {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent-pink) 100%);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Animated Glow Background Elements */
.glow-sphere {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  z-index: 0;
  pointer-events: none;
  animation: pulseGlow 8s infinite alternate ease-in-out;
}

.glow-purple {
  width: 400px;
  height: 400px;
  background: rgba(124, 58, 237, 0.25);
  top: -100px;
  left: 20%;
}

.glow-pink {
  width: 350px;
  height: 350px;
  background: rgba(236, 72, 153, 0.2);
  top: 400px;
  right: 10%;
}

@keyframes pulseGlow {
  0% { transform: scale(1) translate(0, 0); opacity: 0.6; }
  100% { transform: scale(1.2) translate(30px, 20px); opacity: 0.9; }
}

/* Header Navigation */
.navbar {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(10, 8, 18, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  padding: 0.9rem 0;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.brand-icon {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--primary), var(--accent-pink));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(124, 58, 237, 0.4);
}

.brand-img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  border-radius: 10px;
  filter: drop-shadow(0 4px 12px rgba(124, 58, 237, 0.5));
}

.brand-icon svg, .brand-icon i {
  color: #ffffff;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.8rem;
  list-style: none;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  padding: 0.45rem 0.2rem;
  display: inline-block;
  transition: all 0.25s ease;
}

.nav-link:hover {
  color: #ffffff;
}

.nav-link.active {
  color: #ffffff;
  font-weight: 700;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2.5px;
  background: linear-gradient(90deg, var(--primary-light), var(--accent-pink));
  border-radius: 4px;
  box-shadow: 0 0 10px rgba(168, 85, 247, 0.7);
}

.btn-cta {
  padding: 0.65rem 1.4rem;
  border-radius: 30px;
  font-weight: 600;
  font-size: 0.9rem;
  background: linear-gradient(135deg, var(--primary), #9333ea);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 20px rgba(124, 58, 237, 0.35);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  cursor: pointer;
}

.btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(124, 58, 237, 0.5);
}

.mobile-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  width: 42px;
  height: 42px;
  color: var(--text-main);
  font-size: 1.25rem;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

/* Hero Section */
.hero {
  position: relative;
  padding: 4.5rem 0 3rem 0;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border-radius: 20px;
  background: rgba(124, 58, 237, 0.15);
  border: 1px solid rgba(124, 58, 237, 0.3);
  font-size: 0.85rem;
  color: #c084fc;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.2rem;
  letter-spacing: -0.5px;
}

.hero-description {
  font-size: clamp(0.98rem, 2vw, 1.15rem);
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto 2.5rem auto;
}

.hero-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-secondary {
  padding: 0.65rem 1.4rem;
  border-radius: 30px;
  font-weight: 600;
  font-size: 0.9rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

/* Glassmorphism Cards */
.glass-card {
  background: rgba(28, 22, 51, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: clamp(1.25rem, 3vw, 2rem);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.glass-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(124, 58, 237, 0.2);
}

/* Grid Layouts */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.feature-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.2), rgba(236, 72, 153, 0.2));
  border: 1px solid rgba(124, 58, 237, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.feature-icon svg, .feature-icon i {
  font-size: 1.4rem;
  color: #c084fc;
}

.feature-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.feature-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* Content Page Layout (Privacy, Terms, Disclaimer, About, Contact) */
.page-header {
  padding: 3.5rem 0 2rem 0;
  text-align: center;
}

.page-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.page-subtitle {
  color: var(--text-muted);
  font-size: clamp(0.9rem, 2vw, 1.05rem);
}

.legal-content {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: clamp(1.25rem, 4vw, 3rem);
  margin-bottom: 4rem;
}

.legal-section {
  margin-bottom: 2.2rem;
}

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

.legal-heading {
  font-size: clamp(1.15rem, 3vw, 1.4rem);
  font-weight: 700;
  color: #c084fc;
  margin-bottom: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.legal-text {
  color: #d4d4d8;
  font-size: 0.98rem;
  line-height: 1.7;
  margin-bottom: 0.85rem;
  word-break: break-word;
}

.legal-list {
  margin-left: 1.25rem;
  margin-bottom: 1rem;
  color: var(--text-muted);
}

.legal-list li {
  margin-bottom: 0.5rem;
}

/* Table Responsive Wrapper for Mobile Phones */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 1.25rem 0;
  border-radius: 14px;
  border: 1px solid var(--border-color);
  background: rgba(20, 16, 36, 0.9);
}

.table-responsive table {
  width: 100%;
  min-width: 600px !important; /* Ensures clean layout without text breaking or horizontal squishing */
  border-collapse: collapse;
}

.table-responsive th, .table-responsive td {
  padding: 0.8rem 1rem;
  border-bottom: 1px solid var(--border-color);
}

.table-responsive th {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.4), rgba(236, 72, 153, 0.3));
  color: #ffffff;
  font-weight: 700;
  font-size: 0.95rem;
  text-align: left;
}

.table-responsive td {
  color: #d4d4d8;
  font-size: 0.92rem;
}

.table-responsive code {
  white-space: nowrap;
  word-break: keep-all;
  background: rgba(0, 0, 0, 0.4);
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
  color: #38bdf8;
  font-family: monospace;
}

/* Scrollbar hint for mobile table container */
.table-responsive::-webkit-scrollbar {
  height: 6px;
}
.table-responsive::-webkit-scrollbar-track {
  background: rgba(10, 8, 18, 0.8);
  border-radius: 3px;
}
.table-responsive::-webkit-scrollbar-thumb {
  background: linear-gradient(90deg, var(--primary), var(--accent-pink));
  border-radius: 3px;
}

/* Contact Form */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2rem;
  margin: 2.5rem 0;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--text-main);
}

.form-input, .form-textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border-radius: 12px;
  background: rgba(10, 8, 18, 0.6);
  border: 1px solid var(--border-color);
  color: #fff;
  font-family: inherit;
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition);
}

.form-input:focus, .form-textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 15px rgba(124, 58, 237, 0.3);
}

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

/* Footer */
.footer {
  margin-top: auto;
  background: #06040b;
  border-top: 1px solid var(--border-color);
  padding: 3rem 0 1.5rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 0.8rem;
  max-width: 300px;
}

.footer-col h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #fff;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.6rem;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
}

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

.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--text-dim);
}

/* Responsive Media Queries */
@media (max-width: 992px) {
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 768px) {
  .container {
    padding: 0 1.1rem;
  }

  .navbar {
    padding: 0.75rem 0;
  }

  .mobile-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 66px;
    left: 0;
    width: 100%;
    max-height: calc(100vh - 66px);
    overflow-y: auto;
    background: rgba(14, 10, 26, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 1.8rem 1.5rem;
    gap: 1.25rem;
    border-bottom: 1px solid var(--border-glow);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.8);
    transform: translateY(-150%);
    opacity: 0;
    pointer-events: none;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links li {
    width: 100%;
    text-align: center;
  }

  .nav-links .btn-cta {
    width: 100%;
    padding: 0.8rem;
  }

  .hero {
    padding: 3rem 0 2rem 0;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .hero-buttons .btn-cta, .hero-buttons .btn-secondary {
    width: 100%;
    text-align: center;
    padding: 0.85rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero-badge {
    font-size: 0.78rem;
    padding: 0.35rem 0.8rem;
  }

  .brand-logo span {
    font-size: 1.2rem;
  }

  .brand-icon {
    width: 32px;
    height: 32px;
  }

  .glass-card {
    border-radius: 16px;
    padding: 1.15rem;
  }

  .legal-content {
    padding: 1.1rem;
    border-radius: 16px;
  }
}

/* Modal Alert Overlay */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(4, 3, 10, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  background: rgba(20, 16, 36, 0.95);
  border: 1px solid rgba(168, 85, 247, 0.35);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.8), 0 0 30px rgba(124, 58, 237, 0.25);
  border-radius: 24px;
  padding: 2.5rem 2rem;
  max-width: 420px;
  width: 90%;
  text-align: center;
  color: #fff;
  transform: scale(0.8);
  transition: transform 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modal-overlay.active .modal-card {
  transform: scale(1);
}

.modal-icon-wrapper {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem auto;
  font-size: 2.5rem;
}

.modal-icon-wrapper.success {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
  border: 2px solid #10b981;
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.3);
}

.modal-icon-wrapper.error {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
  border: 2px solid #ef4444;
  box-shadow: 0 0 20px rgba(239, 68, 68, 0.3);
}

.modal-title-text {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  color: #ffffff;
}

.modal-desc-text {
  color: #d4d4d8;
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 1.5rem;
}
