/* ============================================================
   Royal Reels — Main Stylesheet
   Brand: Dark Navy #12131f | Gold #FFB800 | White #FFFFFF
   ============================================================ */

:root {
  --bg-primary: #12131f;
  --bg-secondary: #1a1c2e;
  --bg-card: #1f2235;
  --bg-card2: #252840;
  --gold: #FFB800;
  --gold-dark: #e0a000;
  --gold-light: #ffd255;
  --white: #ffffff;
  --text-muted: #9da3c0;
  --border: #2d3055;
  --red: #e63946;
  --green: #2dc653;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
  --transition: 0.25s ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
  background-color: var(--bg-primary);
  color: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

a {
  color: var(--gold);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--gold-light);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* ── TYPOGRAPHY ── */
h1,
h2,
h3,
h4,
h5 {
  font-weight: 700;
  line-height: 1.25;
  color: var(--white);
}

h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
}

h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
}

h3 {
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
}

h4 {
  font-size: 1.1rem;
}

p {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

p:last-child {
  margin-bottom: 0;
}

.gold {
  color: var(--gold);
}

.text-center {
  text-align: center;
}

/* ── CONTAINER ── */
.container {
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: #12131f;
  border-color: var(--gold);
  box-shadow: 0 4px 20px rgba(255, 184, 0, 0.35);
}

.btn-gold:hover {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
  color: #12131f;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(255, 184, 0, 0.5);
}

.btn-outline {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold);
}

.btn-outline:hover {
  background: var(--gold);
  color: #12131f;
  transform: translateY(-2px);
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 18px 40px;
  font-size: 1.05rem;
}

/* ── HEADER ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(18, 19, 31, 0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: 1260px;
  margin: 0 auto;
  gap: 16px;
}

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo-wrap img {
  height: 52px;
  width: auto;
}

/* Desktop Nav */
.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.main-nav a {
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 8px;
  transition: all var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--gold);
  background: rgba(255, 184, 0, 0.1);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.header-tracker {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #12131f !important;
  font-weight: 800;
  padding: 12px 22px;
  border-radius: 50px;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  box-shadow: 0 4px 18px rgba(255, 184, 0, 0.4);
  animation: pulse-gold 2.5s infinite;
  white-space: nowrap;
}

.header-tracker:hover {
  color: #12131f !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 26px rgba(255, 184, 0, 0.55);
}

@keyframes pulse-gold {

  0%,
  100% {
    box-shadow: 0 4px 18px rgba(255, 184, 0, 0.4);
  }

  50% {
    box-shadow: 0 4px 30px rgba(255, 184, 0, 0.7);
  }
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  border: none;
  background: none;
  flex-shrink: 0;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--gold);
  border-radius: 3px;
  transition: all 0.3s;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(18, 19, 31, 0.99);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 80px 24px 40px;
}

.mobile-nav.open {
  display: flex;
}

.mobile-nav a {
  color: var(--white);
  font-size: 1.4rem;
  font-weight: 700;
  text-align: center;
  padding: 14px 24px;
  width: 100%;
  max-width: 320px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}

.mobile-nav a:hover {
  color: var(--gold);
  background: rgba(255, 184, 0, 0.1);
}

.mobile-nav .mobile-tracker {
  margin-top: 16px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #12131f !important;
  font-weight: 800;
  font-size: 1.1rem;
  padding: 18px 40px;
  border-radius: 50px;
  text-transform: uppercase;
}

.mobile-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
}

/* ── FOOTER ── */
.site-footer {
  background: #0d0e1a;
  border-top: 1px solid var(--border);
  padding: 60px 0 30px;
  margin-top: 80px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand img {
  height: 50px;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.88rem;
  max-width: 300px;
}

.footer-col h5 {
  color: var(--gold);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: var(--text-muted);
  font-size: 0.88rem;
  transition: color var(--transition);
}

.footer-col ul li a:hover {
  color: var(--gold);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0;
}

.footer-badges {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.badge-18 {
  background: var(--red);
  color: white;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 6px;
}

.badge-ssl {
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: 6px;
}

/* ── SECTION HELPERS ── */
.section {
  padding: 80px 0;
}

.section-sm {
  padding: 48px 0;
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 56px;
}

.section-header .eyebrow {
  display: inline-block;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 12px;
}

.divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), transparent);
  margin: 16px auto 0;
  border-radius: 2px;
}

/* ── CARDS ── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: all var(--transition);
}

.card:hover {
  border-color: rgba(255, 184, 0, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

/* ── GRID LAYOUTS ── */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.grid-5 {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}

/* ── TABLE WRAP ── */
.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.rr-table {
  width: 100%;
  min-width: 580px;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.rr-table thead {
  background: linear-gradient(135deg, #1f2235, #252840);
}

.rr-table th {
  padding: 14px 18px;
  text-align: left;
  color: var(--gold);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.rr-table td {
  padding: 14px 18px;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  white-space: nowrap;
}

.rr-table tr:hover td {
  background: rgba(255, 184, 0, 0.04);
  color: var(--white);
}

.rr-table .highlight {
  color: var(--gold);
  font-weight: 700;
}

/* ── STAR RATING ── */
.stars {
  color: var(--gold);
  font-size: 1rem;
  letter-spacing: 2px;
}

/* ── BADGE / TAG ── */
.tag {
  display: inline-block;
  background: rgba(255, 184, 0, 0.12);
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 50px;
  border: 1px solid rgba(255, 184, 0, 0.25);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.tag-green {
  background: rgba(45, 198, 83, 0.12);
  color: var(--green);
  border-color: rgba(45, 198, 83, 0.25);
}

.tag-red {
  background: rgba(230, 57, 70, 0.12);
  color: var(--red);
  border-color: rgba(230, 57, 70, 0.25);
}

/* ── HERO BANNER ── */
.hero {
  position: relative;
  overflow: hidden;
  padding: 100px 0;
  background: linear-gradient(135deg, #0d0e1a 0%, #12131f 40%, #1a1c2e 100%);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 60% 50%, rgba(255, 184, 0, 0.08) 0%, transparent 70%);
}

.hero-content {
  position: relative;
  z-index: 1;
}

/* ── BREADCRUMB ── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.breadcrumb a {
  color: var(--text-muted);
}

.breadcrumb a:hover {
  color: var(--gold);
}

.breadcrumb span {
  color: var(--gold);
}

/* ── PROGRESS BAR ── */
.progress-bar {
  height: 8px;
  background: var(--border);
  border-radius: 50px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold));
  border-radius: 50px;
  transition: width 1s ease;
}

/* ── DONUT CHART ── */
.donut-wrap {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.donut-svg {
  flex-shrink: 0;
}

.donut-legend {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.donut-legend-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
}

.donut-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* ── STAT BOX ── */
.stat-box {
  text-align: center;
}

.stat-box .stat-num {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
}

.stat-box .stat-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 6px;
}

/* ── ACCORDION ── */
.accordion-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 8px;
  overflow: hidden;
}

.accordion-btn {
  width: 100%;
  background: var(--bg-card);
  border: none;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 600;
  transition: background var(--transition);
  text-align: left;
}

.accordion-btn:hover {
  background: var(--bg-card2);
}

.accordion-btn .acc-icon {
  color: var(--gold);
  font-size: 1.2rem;
  transition: transform 0.3s;
  flex-shrink: 0;
}

.accordion-btn.active .acc-icon {
  transform: rotate(45deg);
}

.accordion-body {
  display: none;
  padding: 20px 22px;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
}

.accordion-body.open {
  display: block;
}

.accordion-body p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ── ALERT BOX ── */
.alert {
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  border-left: 4px solid;
  margin-bottom: 20px;
  font-size: 0.88rem;
}

.alert-gold {
  border-color: var(--gold);
  background: rgba(255, 184, 0, 0.08);
  color: var(--gold-light);
}

.alert-info {
  border-color: #4a90e2;
  background: rgba(74, 144, 226, 0.08);
  color: #7ab3f5;
}

/* ── FORM ── */
.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.form-input {
  width: 100%;
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  color: var(--white);
  font-size: 0.95rem;
  outline: none;
  transition: border-color var(--transition);
}

.form-input:focus {
  border-color: var(--gold);
}

.form-input::placeholder {
  color: var(--text-muted);
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23FFB800' stroke-width='2' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

/* ── VERTICAL TABS ── */
.vtabs {
  display: flex;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.vtabs-nav {
  width: 220px;
  flex-shrink: 0;
  background: var(--bg-card);
  border-right: 1px solid var(--border);
}

.vtab-btn {
  display: block;
  width: 100%;
  padding: 16px 20px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  border-bottom: 1px solid var(--border);
  transition: all var(--transition);
}

.vtab-btn:hover,
.vtab-btn.active {
  color: var(--gold);
  background: rgba(255, 184, 0, 0.07);
  border-left: 3px solid var(--gold);
}

.vtabs-content {
  flex: 1;
  padding: 28px;
  background: var(--bg-secondary);
}

.vtab-panel {
  display: none;
}

.vtab-panel.active {
  display: block;
}

/* ── COMING SOON BANNER ── */
.coming-soon-strip {
  background: linear-gradient(90deg, var(--gold-dark), var(--gold), var(--gold-dark));
  color: #12131f;
  font-weight: 800;
  font-size: 0.8rem;
  text-align: center;
  padding: 8px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ── SEO TEXT SECTION ── */
.seo-section {
  padding: 60px 0;
}

.seo-section h2 {
  margin-bottom: 20px;
}

.seo-section h3 {
  color: var(--gold);
  margin: 28px 0 12px;
  font-size: 1.15rem;
}

.seo-section p {
  font-size: 0.93rem;
  line-height: 1.8;
}

.seo-section ul,
.seo-section ol {
  padding-left: 20px;
  margin-bottom: 16px;
}

.seo-section li {
  color: var(--text-muted);
  font-size: 0.93rem;
  line-height: 1.8;
  margin-bottom: 6px;
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-5 {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .vtabs-nav {
    width: 180px;
  }
}

@media (max-width: 768px) {

  .main-nav,
  .header-cta .btn-outline {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .logo-wrap img {
    height: 36px;
  }

  .header-tracker {
    padding: 8px 14px;
    font-size: 0.75rem;
    border-radius: 30px;
    letter-spacing: 0.02em;
  }

  .header-inner {
    gap: 8px;
    padding: 12px 14px;
  }

  .hero {
    padding: 60px 0;
  }

  .section {
    padding: 52px 0;
  }

  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }

  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-5 {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .vtabs {
    flex-direction: column;
  }

  .vtabs-nav {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid var(--border);
    display: flex;
    flex-wrap: wrap;
  }

  .vtab-btn {
    flex: 1;
    min-width: 120px;
    border-bottom: none;
    border-right: 1px solid var(--border);
    padding: 12px 14px;
    font-size: 0.82rem;
  }

  .donut-wrap {
    justify-content: center;
  }

  .table-wrap {
    margin-left: -20px;
    margin-right: -20px;
    border-radius: 0;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  body {
    font-size: 0.9rem;
  }

  .grid-4 {
    grid-template-columns: 1fr;
  }

  .grid-5 {
    grid-template-columns: 1fr 1fr;
  }

  .btn-lg {
    padding: 15px 28px;
    font-size: 1rem;
  }

  h1 {
    font-size: 1.9rem;
  }

  h2 {
    font-size: 1.5rem;
  }
}
/* ── Skip to content (accessibility) ── */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 9999;
  background: var(--gold, #FFB800);
  color: #111;
  padding: 10px 18px;
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: 0 0 8px 8px;
  text-decoration: none;
  transition: top 0.2s;
}
.skip-link:focus {
  top: 0;
}
