/* ==========================================================================
   YAYASAN PEMUKA ADAT KAPRABUAN SUMEDANG LARANG
   Front-End Architecture, Styling & Responsive Layouts
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;700;900&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
  /* Color Palette - Royal Sundanese Emerald & Gold */
  --bg-main: #071712;
  --bg-surface: #0E261E;
  --bg-card: #15352A;
  --bg-glass: rgba(14, 38, 30, 0.75);
  --border-gold: rgba(212, 175, 55, 0.3);
  --border-gold-glow: rgba(245, 215, 127, 0.6);
  
  --gold-primary: #D4AF37;
  --gold-light: #F5D77F;
  --gold-dark: #A1801E;
  --emerald-light: #215A48;
  --emerald-accent: #059669;
  --terracotta: #C85A32;
  
  --text-main: #F4EFE6;
  --text-muted: #9BB3A7;
  --text-inverse: #071712;
  
  --shadow-gold: 0 10px 30px rgba(212, 175, 55, 0.15);
  --shadow-dark: 0 15px 35px rgba(0, 0, 0, 0.5);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  
  --font-royal: 'Cinzel', serif;
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
}

/* Light Theme Variables */
[data-theme="light"] {
  --bg-main: #FAF6EE;
  --bg-surface: #F2EAD8;
  --bg-card: #FFFFFF;
  --bg-glass: rgba(250, 246, 238, 0.85);
  --border-gold: rgba(170, 128, 30, 0.25);
  --border-gold-glow: rgba(212, 175, 55, 0.5);
  
  --gold-primary: #B88E18;
  --gold-light: #D4AF37;
  --gold-dark: #7A5B0B;
  
  --text-main: #1A2E25;
  --text-muted: #4A6357;
  --text-inverse: #FFFFFF;
  --shadow-dark: 0 15px 35px rgba(26, 46, 37, 0.08);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color 0.4s ease, color 0.4s ease;
}

a {
  color: inherit;
  text-decoration: none;
}

button, input, select, textarea {
  font-family: inherit;
}

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

/* Container */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Typography Utilities */
.font-royal { font-family: var(--font-royal); }
.text-gold { color: var(--gold-light); }
.text-gradient {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold-primary) 50%, var(--terracotta) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-royal);
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold-primary);
  padding: 0.35rem 1rem;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid var(--border-gold);
  border-radius: 50px;
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.section-desc {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 680px;
  margin-bottom: 2.5rem;
}

/* Megamendung Pattern Overlay */
.pattern-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.05;
  background-image: radial-gradient(var(--gold-primary) 1px, transparent 1px);
  background-size: 24px 24px;
}

/* ==========================================================================
   NAVIGATION BAR
   ========================================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1rem 0;
  transition: var(--transition);
}

.navbar.scrolled {
  padding: 0.65rem 0;
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-gold);
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  width: 100%;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: clamp(0.4rem, 0.9vw, 0.75rem);
  font-family: var(--font-royal);
  font-weight: 700;
  text-decoration: none;
  flex-shrink: 0 !important;
  min-width: max-content;
}

.brand-emblem {
  width: clamp(32px, 2.6vw, 38px);
  height: clamp(36px, 2.9vw, 44px);
  flex-shrink: 0;
  object-fit: contain;
  background-image: url('../images/logo_kaprabuan.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.45));
  transition: transform 0.3s ease;
}

.brand-logo:hover .brand-emblem {
  transform: scale(1.06);
}

.brand-text-wrap {
  min-width: 0;
  flex-shrink: 0;
}

.brand-title {
  font-size: clamp(0.82rem, 1.05vw, 1.05rem);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: 0.3px;
  color: #FFF;
  white-space: nowrap !important;
}

.title-break {
  display: inline !important;
}

.brand-subtitle {
  font-size: clamp(0.54rem, 0.72vw, 0.62rem);
  color: var(--gold-light);
  letter-spacing: 0.5px;
  display: block;
  white-space: nowrap !important;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: clamp(0.35rem, 0.75vw, 0.9rem);
  list-style: none;
  flex-shrink: 1;
}

.nav-link {
  font-size: clamp(0.74rem, 0.8vw, 0.84rem);
  font-weight: 500;
  color: var(--text-main);
  transition: var(--transition);
  position: relative;
  padding: 0.4rem 0;
  white-space: nowrap;
}

.nav-link:hover, .nav-link.active {
  color: var(--gold-light);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--gold-primary);
  transition: var(--transition);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: clamp(0.35rem, 1.2vw, 0.85rem);
  flex-shrink: 0;
}

.btn-icon {
  width: clamp(32px, 6.5vw, 40px);
  height: clamp(32px, 6.5vw, 40px);
  border-radius: 50%;
  border: 1px solid var(--border-gold);
  background: rgba(212, 175, 55, 0.05);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  font-size: clamp(0.8rem, 2vw, 1rem);
}

.btn-icon:hover {
  background: var(--gold-primary);
  color: var(--text-inverse);
  transform: translateY(-2px);
}

.lang-toggle {
  display: flex;
  background: rgba(0,0,0,0.3);
  border: 1px solid var(--border-gold);
  border-radius: 50px;
  padding: 3px;
}

.lang-btn {
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.75rem;
  padding: 0.3rem 0.75rem;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
}

.lang-btn.active {
  background: var(--gold-primary);
  color: var(--text-inverse);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, var(--gold-primary), var(--gold-dark));
  color: #071712;
  font-weight: 700;
  padding: 0.6rem 1.4rem;
  font-size: 0.88rem;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.5);
  background: linear-gradient(135deg, var(--gold-light), var(--gold-primary));
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 1.5rem;
  cursor: pointer;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 7rem 0 3.5rem;
  overflow: hidden;
  background-color: var(--bg-main);
}

.hero-bg-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-bg-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 1.2s ease-in-out, transform 8s ease-out;
}

.hero-bg-slide.active {
  opacity: 1;
  transform: scale(1);
}

.hero-text-slide {
  display: none;
}

.hero-text-slide.active {
  display: block;
  animation: heroFadeIn 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

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

.hero-slider-controls {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.hero-slider-prev, .hero-slider-next {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(14, 38, 30, 0.7);
  border: 1px solid var(--border-gold);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.85rem;
  transition: var(--transition);
  backdrop-filter: blur(5px);
}

.hero-slider-prev:hover, .hero-slider-next:hover {
  background: var(--gold-primary);
  color: var(--bg-main);
  transform: scale(1.1);
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
}

.hero-slider-dots {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(245, 215, 127, 0.3);
  border: 1px solid var(--border-gold);
  cursor: pointer;
  transition: all 0.3s ease;
}

.hero-dot.active {
  width: 26px;
  border-radius: 20px;
  background: var(--gold-light);
  box-shadow: 0 0 10px rgba(245, 215, 127, 0.6);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid var(--gold-primary);
  padding: 0.35rem 1rem;
  border-radius: 50px;
  font-family: var(--font-royal);
  color: var(--gold-light);
  font-size: 0.78rem;
  letter-spacing: 1.2px;
  margin-bottom: 1rem;
  backdrop-filter: blur(8px);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.6vw, 2.75rem);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 1rem;
  text-shadow: 0 10px 30px rgba(0,0,0,0.8);
}

.hero-subtitle {
  font-size: clamp(0.92rem, 1.35vw, 1.05rem);
  color: var(--text-muted);
  margin-bottom: 1.75rem;
  max-width: 680px;
  line-height: 1.65;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.05);
  color: var(--text-main);
  border: 1px solid var(--border-gold);
  padding: 0.6rem 1.4rem;
  font-size: 0.88rem;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(212, 175, 55, 0.2);
  border-color: var(--gold-light);
  color: var(--gold-light);
  transform: translateY(-3px);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 1.5rem;
  margin-top: 2.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.stat-item h3 {
  font-family: var(--font-royal);
  font-size: 1.65rem;
  color: var(--gold-light);
  margin-bottom: 0.15rem;
}

.stat-item p {
  color: var(--text-muted);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ==========================================================================
   SECTIONS GENERAL
   ========================================================================== */
section {
  padding: 6rem 0;
  position: relative;
}

/* History Timeline Section */
.timeline-container {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.timeline-container::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, transparent, var(--gold-primary), transparent);
  transform: translateX(-50%);
}

.timeline-item {
  display: flex;
  justify-content: flex-end;
  padding-right: 3rem;
  position: relative;
  margin-bottom: 3rem;
  width: 50%;
}

.timeline-item:nth-child(even) {
  align-self: flex-end;
  justify-content: flex-start;
  padding-right: 0;
  padding-left: 3rem;
  margin-left: auto;
}

.timeline-dot {
  position: absolute;
  right: -10px;
  top: 1.5rem;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--gold-primary);
  border: 4px solid var(--bg-main);
  box-shadow: 0 0 15px var(--gold-light);
  z-index: 2;
}

.timeline-item:nth-child(even) .timeline-dot {
  right: auto;
  left: -10px;
}

.timeline-card {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  box-shadow: var(--shadow-dark);
  transition: var(--transition);
}

.timeline-card:hover {
  transform: translateY(-5px) scale(1.02);
  border-color: var(--gold-light);
}

.timeline-year {
  font-family: var(--font-royal);
  color: var(--gold-light);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.timeline-card h4 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

.timeline-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Artifacts Museum Grid */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 3rem;
}

.filter-btn {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-gold);
  color: var(--text-muted);
  padding: 0.6rem 1.5rem;
  border-radius: 50px;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition);
}

.filter-btn:hover, .filter-btn.active {
  background: var(--gold-primary);
  color: var(--text-inverse);
  border-color: var(--gold-light);
}

.artifact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

.artifact-card {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.artifact-card:hover {
  transform: translateY(-8px);
  border-color: var(--gold-light);
  box-shadow: 0 15px 35px rgba(212, 175, 55, 0.2);
}

.artifact-img-wrap {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: var(--bg-surface);
}

.artifact-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.artifact-card:hover .artifact-img-wrap img {
  transform: scale(1.08);
}

.artifact-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(7, 23, 18, 0.85);
  color: var(--gold-light);
  border: 1px solid var(--border-gold);
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-family: var(--font-royal);
  backdrop-filter: blur(6px);
}

.artifact-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.artifact-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.artifact-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 0.75rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  min-height: 2.7em;
}

.artifact-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid rgba(212, 175, 55, 0.15);
}

/* ==========================================================================
   YOUTUBE VIDEO SHOWCASE SECTION
   ========================================================================== */
.video-section {
  background: linear-gradient(180deg, var(--bg-main) 0%, var(--bg-surface) 100%);
  border-top: 1px solid var(--border-gold);
  border-bottom: 1px solid var(--border-gold);
}

.video-container {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
  align-items: start;
}

.video-player-wrap {
  background: #000;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-gold);
  box-shadow: var(--shadow-dark);
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  z-index: 5;
}

.video-player-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  z-index: 10;
  pointer-events: auto !important;
}

.playlist-wrap {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-height: 480px;
  overflow-y: auto;
  padding-right: 0.5rem;
  position: relative;
  z-index: 5;
}

.playlist-wrap::-webkit-scrollbar {
  width: 6px;
}
.playlist-wrap::-webkit-scrollbar-thumb {
  background: var(--gold-primary);
  border-radius: 4px;
}

.playlist-item {
  display: flex;
  gap: 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-sm);
  padding: 0.75rem;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  z-index: 5;
}

.playlist-item * {
  pointer-events: none;
}

.playlist-item:hover, .playlist-item.active {
  border-color: var(--gold-light);
  background: rgba(212, 175, 55, 0.15);
  transform: translateX(5px);
}

.playlist-thumb {
  width: 100px;
  height: 65px;
  border-radius: 4px;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
}

.playlist-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.playlist-play-icon {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
  font-size: 1.2rem;
}

.playlist-info h5 {
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
  line-height: 1.3;
}

.playlist-info span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ==========================================================================
   KEWIRAUSAHAAN & DONASI YAYASAN SECTIONS
   ========================================================================== */
.wirausaha-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}

.wirausaha-card {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.wirausaha-card:hover {
  transform: translateY(-8px);
  border-color: var(--gold-light);
  box-shadow: 0 15px 35px rgba(212, 175, 55, 0.25);
}

.wirausaha-img {
  height: 200px;
  position: relative;
  overflow: hidden;
  background: var(--bg-surface);
}

.wirausaha-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.wirausaha-card:hover .wirausaha-img img {
  transform: scale(1.08);
}

.wirausaha-price {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  background: linear-gradient(135deg, var(--gold-primary), var(--gold-dark));
  color: #071712;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.35rem 0.9rem;
  border-radius: 50px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.5);
}

.wirausaha-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.wirausaha-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.wirausaha-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
  line-height: 1.5;
}

/* Donasi Section Styling */
.donation-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.donation-preset-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
}

.donation-preset-card:hover, .donation-preset-card.active {
  background: rgba(212, 175, 55, 0.15);
  border-color: var(--gold-light);
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(212, 175, 55, 0.2);
}

.donation-preset-amount {
  font-family: var(--font-royal);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold-light);
  margin-bottom: 0.4rem;
}

.donation-preset-label {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.qris-box {
  background: #FFF;
  color: #000;
  border-radius: var(--radius-md);
  padding: 1.5rem;
  text-align: center;
  max-width: 260px;
  margin: 0 auto 1.5rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

/* ==========================================================================
   VIRTUAL 360 TOUR SECTION
   ========================================================================== */
.virtual-tour-box {
  position: relative;
  height: 500px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-gold);
  background-size: cover;
  background-position: center;
  transition: background-image 0.5s ease;
}

.virtual-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, transparent 30%, rgba(7,23,18,0.85) 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 2rem;
}

.tour-rooms {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.room-btn {
  background: rgba(7,23,18,0.8);
  border: 1px solid var(--border-gold);
  color: var(--text-main);
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  cursor: pointer;
  font-size: 0.85rem;
  backdrop-filter: blur(8px);
  transition: var(--transition);
}

.room-btn.active, .room-btn:hover {
  background: var(--gold-primary);
  color: var(--text-inverse);
}

.hotspot {
  position: absolute;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--gold-primary);
  color: #071712;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.7);
  animation: pulse-gold 2s infinite;
}

@keyframes pulse-gold {
  0% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.7); }
  70% { box-shadow: 0 0 0 15px rgba(212, 175, 55, 0); }
  100% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0); }
}

/* ==========================================================================
   E-TICKETING RESERVATION FORM
   ========================================================================== */
.ticketing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-dark);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

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

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

.form-control {
  width: 100%;
  padding: 0.85rem 1.25rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  font-size: 0.95rem;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--gold-light);
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

.summary-box {
  background: var(--bg-surface);
  border: 1px dashed var(--border-gold);
  border-radius: var(--radius-md);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(212, 175, 55, 0.1);
  font-size: 0.95rem;
}

.summary-row.total {
  border-bottom: none;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gold-light);
  margin-top: 1rem;
}

/* QR Code E-Ticket Pass Modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.8);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}

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

.modal-content {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  width: 90%;
  max-width: 550px;
  padding: 2.5rem;
  position: relative;
  transform: translateY(20px);
  transition: var(--transition);
}

.modal-backdrop.active .modal-content {
  transform: translateY(0);
}

/* Warta Sunda & Berita Interactive Modal */
#warta-modal {
  display: none;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}

#warta-modal.active {
  display: block !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}

#warta-modal .modal-dialog {
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

#warta-modal.active .modal-dialog {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
}

.ticket-pass {
  background: linear-gradient(135deg, #112E24, #0A1C16);
  border: 2px solid var(--gold-primary);
  border-radius: var(--radius-md);
  padding: 2rem;
  text-align: center;
  margin-top: 1.5rem;
  position: relative;
}

.ticket-qr {
  width: 160px;
  height: 160px;
  margin: 1.5rem auto;
  background: #FFF;
  padding: 10px;
  border-radius: 8px;
}

/* Ambient Audio Floating Widget */
.audio-widget {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--bg-glass);
  border: 1px solid var(--border-gold);
  padding: 0.75rem 1.25rem;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 999;
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-dark);
}

.soundwave {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 16px;
}

.soundwave span {
  width: 3px;
  background: var(--gold-light);
  border-radius: 3px;
  animation: sound-bounce 1.2s infinite ease-in-out;
}

.soundwave.paused span {
  animation-play-state: paused;
  height: 4px !important;
}

.soundwave span:nth-child(1) { height: 12px; animation-delay: 0.1s; }
.soundwave span:nth-child(2) { height: 16px; animation-delay: 0.3s; }
.soundwave span:nth-child(3) { height: 8px;  animation-delay: 0.2s; }
.soundwave span:nth-child(4) { height: 14px; animation-delay: 0.4s; }

@keyframes sound-bounce {
  0%, 100% { height: 4px; }
  50% { height: 16px; }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
footer {
  background: #040E0B;
  border-top: 1px solid var(--border-gold);
  padding: 5rem 0 2rem;
  color: var(--text-muted);
}

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

.footer-brand h3 {
  font-family: var(--font-royal);
  color: var(--gold-light);
  font-size: 1.35rem;
  margin-bottom: 1rem;
}

.footer-col h4 {
  font-family: var(--font-royal);
  color: var(--text-main);
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
}

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

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

.footer-links a:hover {
  color: var(--gold-light);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(212, 175, 55, 0.1);
  font-size: 0.85rem;
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .video-container {
    grid-template-columns: 1fr;
  }
  .ticketing-card {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 1200px) {
  .navbar {
    background: rgba(7, 23, 18, 0.98) !important;
    backdrop-filter: blur(16px) !important;
    border-bottom: 1px solid var(--border-gold) !important;
    padding: 0.35rem 0 !important;
  }

  .navbar-inner {
    gap: 0.25rem !important;
  }

  .brand-logo {
    max-width: 68% !important;
    gap: 0.35rem !important;
  }

  .brand-emblem {
    width: 28px !important;
    height: 33px !important;
    flex-shrink: 0 !important;
  }

  .brand-text-wrap,
  .brand-logo > div:not(.brand-emblem) {
    min-width: 0;
    flex-shrink: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .brand-title,
  .brand-logo [data-i18n="brand_title"] {
    white-space: normal !important;
    overflow: visible !important;
    font-size: clamp(0.68rem, 3vw, 0.84rem) !important;
    line-height: 1.15 !important;
    letter-spacing: 0px !important;
    font-weight: 800 !important;
  }

  .title-break {
    display: block !important;
  }

  .brand-subtitle,
  .brand-logo [data-i18n="brand_subtitle"] {
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    font-size: clamp(0.48rem, 2vw, 0.56rem) !important;
    line-height: 1.15 !important;
    letter-spacing: -0.1px !important;
    display: block !important;
    margin-top: 1px !important;
  }

  .nav-actions {
    gap: 0.25rem !important;
    flex-shrink: 0 !important;
  }

  .lang-toggle {
    padding: 2px !important;
  }

  .lang-btn {
    padding: 0.15rem 0.38rem !important;
    font-size: 0.65rem !important;
  }

  .btn-icon {
    width: 30px !important;
    height: 30px !important;
    font-size: 0.8rem !important;
  }

  .mobile-toggle {
    display: flex !important;
    width: 32px !important;
    height: 32px !important;
    font-size: 0.85rem !important;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 82%;
    max-width: 320px;
    height: 100vh;
    background: rgba(7, 23, 18, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 5.5rem 2rem 2rem;
    gap: 1rem;
    transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    border-left: 1px solid var(--border-gold);
    box-shadow: -10px 0 35px rgba(0,0,0,0.9);
    overflow-y: auto;
    z-index: 2000;
  }
  
  .nav-menu.active {
    right: 0;
  }

  .nav-link {
    font-size: 1.05rem;
    width: 100%;
    display: block;
    padding: 0.6rem 0;
    border-bottom: 1px dashed rgba(212, 175, 55, 0.15);
  }
}

@media (max-width: 768px) {
  .hero {
    min-height: auto !important;
    padding: 6.5rem 0 2.5rem !important;
  }
  
  .hero-badge {
    font-size: 0.68rem;
    padding: 0.25rem 0.75rem;
    margin-bottom: 0.5rem;
  }

  .hero-title {
    font-size: clamp(1.25rem, 5.2vw, 1.65rem) !important;
    line-height: 1.25;
    margin-bottom: 0.6rem;
  }

  .hero-subtitle {
    font-size: clamp(0.78rem, 3.2vw, 0.88rem) !important;
    line-height: 1.5;
    margin-bottom: 1.25rem;
  }

  .hero-cta {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 0.5rem;
    margin-bottom: 1rem;
  }

  .hero-cta .btn-primary,
  .hero-cta .btn-secondary {
    width: 100%;
    justify-content: center;
    padding: 0.55rem 1rem;
    font-size: 0.82rem;
  }

  .hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    margin-top: 1.25rem;
    padding-top: 0.85rem;
    text-align: center;
  }

  .stat-item h3 {
    font-size: 1.15rem;
    margin-bottom: 0.1rem;
  }

  .stat-item p {
    font-size: 0.62rem;
  }

  .hero-slider-controls {
    margin-top: 1.25rem;
    justify-content: center;
    width: 100%;
  }

  .audio-widget {
    bottom: 0.75rem !important;
    right: 0.75rem !important;
    padding: 0.35rem 0.75rem !important;
    gap: 0.4rem !important;
    max-width: calc(100vw - 1.5rem) !important;
    z-index: 900 !important;
  }

  .audio-widget .audio-title,
  .audio-widget span:not(.soundwave span) {
    max-width: 110px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    font-size: 0.7rem !important;
  }

  .timeline-container::before {
    left: 20px;
  }
  
  .timeline-item, .timeline-item:nth-child(even) {
    width: 100%;
    padding-left: 3rem;
    padding-right: 0;
    margin-left: 0;
  }

  .timeline-dot, .timeline-item:nth-child(even) .timeline-dot {
    left: 10px;
  }

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

@media (max-width: 480px) {
  .brand-logo {
    max-width: 72% !important;
  }

  .brand-title,
  .brand-logo [data-i18n="brand_title"] {
    font-size: clamp(0.58rem, 3.1vw, 0.72rem) !important;
    letter-spacing: -0.3px !important;
  }

  .brand-subtitle,
  .brand-logo [data-i18n="brand_subtitle"] {
    font-size: clamp(0.44rem, 2.1vw, 0.51rem) !important;
    letter-spacing: -0.1px !important;
  }

  .hero {
    padding: 6.75rem 0 2rem !important;
  }

  .hero-title {
    font-size: 1.18rem !important;
  }

  .hero-subtitle {
    font-size: 0.75rem !important;
  }
}

/* ==========================================================================
   OFFICIAL REKENING DONASI CARD & RESPONSIVE MOBILE FONT SIZES
   ========================================================================== */
.rekening-card {
  background: linear-gradient(135deg, #112E24, #0A1C16);
  border: 2px solid var(--gold-primary);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.25rem;
  max-width: 600px;
  margin: 0 auto 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: var(--shadow-dark);
  width: 100%;
}

.rekening-card * {
  text-align: center !important;
}

.rekening-badge {
  font-family: var(--font-royal);
  color: var(--gold-light);
  font-size: 0.75rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-align: center;
  width: 100%;
}

.rekening-bank-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  margin: 0.35rem 0;
  color: #FFF;
  text-align: center;
  width: 100%;
}

.rekening-number-box {
  background: rgba(0, 0, 0, 0.35);
  border: 1px dashed var(--gold-primary);
  border-radius: 8px;
  padding: 0.5rem 1.25rem;
  margin: 0.6rem auto;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: fit-content;
  max-width: 100%;
}

.rekening-number {
  font-family: var(--font-royal);
  font-size: clamp(1.2rem, 5vw, 1.75rem);
  font-weight: 800;
  color: var(--gold-light);
  letter-spacing: 2px;
  word-break: break-all;
  user-select: all;
  text-align: center;
  width: 100%;
}

.rekening-holder {
  font-size: clamp(0.8rem, 3.2vw, 0.95rem);
  color: var(--text-main);
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
  width: 100%;
}

@media (max-width: 576px) {
  .rekening-card {
    padding: 1.25rem 1rem;
    margin-bottom: 2rem;
  }
  .rekening-badge {
    font-size: 0.7rem;
    letter-spacing: 1px;
  }
  .rekening-bank-title {
    font-size: 1.2rem;
  }
  .rekening-number {
    font-size: 1.25rem;
    letter-spacing: 1px;
  }
}

/* ==========================================================================
   INTERACTIVE MAP PINS & VIRTUAL TOUR HOTSPOTS (virtualtour.sumedangkab.go.id)
   ========================================================================== */
.map-pin-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(7, 23, 18, 0.92);
  border: 1px solid var(--gold-primary);
  color: var(--gold-light);
  padding: 0.4rem 0.9rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
  transition: all 0.3s ease;
  backdrop-filter: blur(8px);
  white-space: nowrap;
}

.map-pin-btn i {
  font-size: 1.1rem;
  color: var(--gold-light);
  animation: pulse-gold 2s infinite;
}

.map-pin-btn.active-pin {
  background: var(--gold-primary);
  color: #071712;
  border-color: var(--gold-light);
}

.map-pin-btn.active-pin i {
  color: #071712;
}

.map-pin-btn:hover {
  transform: scale(1.08) translateY(-2px);
  background: var(--gold-light);
  color: #071712;
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
}

.map-pin-btn:hover i {
  color: #071712;
}

@media (max-width: 768px) {
  .map-pins-container {
    height: 520px !important;
  }
  .map-pin-label {
    font-size: 0.75rem;
  }
  .map-pin-btn {
    padding: 0.35rem 0.7rem;
  }
}

/* ==========================================================================
   14. POP-UP MODAL IKLAN / EVENT RESMI KAPRABUAN
   ========================================================================== */
.site-popup-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(4, 15, 11, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.site-popup-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.site-popup-container {
  position: relative;
  max-width: 490px;
  width: 100%;
  max-height: 92vh;
  background: var(--bg-surface);
  border: 2px solid var(--gold-primary);
  border-radius: 16px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9), 0 0 35px rgba(212, 175, 55, 0.3);
  transform: scale(0.9);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: flex;
  flex-direction: column;
}

.site-popup-backdrop.active .site-popup-container {
  transform: scale(1);
}

.site-popup-close {
  position: absolute;
  top: -14px;
  right: -14px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--gold-primary);
  color: #071712;
  border: 2px solid #FFF;
  font-size: 1.1rem;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
  z-index: 30;
  transition: transform 0.2s ease, background 0.2s ease;
}

.site-popup-close:hover {
  transform: scale(1.12) rotate(90deg);
  background: var(--gold-light);
}

.site-popup-inner {
  overflow-y: auto;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  max-height: 90vh;
}

.site-popup-media {
  background: #000;
  position: relative;
  line-height: 0;
}

.site-popup-img {
  width: 100%;
  height: auto;
  max-height: 75vh;
  object-fit: contain;
  display: block;
}

.site-popup-footer {
  padding: 0.85rem 1.25rem;
  background: #071712;
  border-top: 1px solid var(--border-gold);
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.site-popup-cta {
  font-size: 0.82rem;
  padding: 0.45rem 1rem;
}

.site-popup-dismiss {
  font-size: 0.82rem;
  padding: 0.45rem 1rem;
  margin-left: auto;
}

@media (max-width: 576px) {
  .site-popup-container {
    max-width: 95%;
  }
  .site-popup-close {
    top: 8px;
    right: 8px;
    width: 32px;
    height: 32px;
    font-size: 0.95rem;
  }
  .site-popup-img {
    max-height: 68vh;
  }
  .site-popup-footer {
    padding: 0.65rem 0.85rem;
  }
}


/* ==========================================================================
   VISITOR CONTENT SUBMISSION & VERIFICATION TRACKING STYLES
   ========================================================================== */
.btn-kintun-nav {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1rem;
  background: linear-gradient(135deg, var(--gold-primary), #B8860B);
  color: #071712;
  font-weight: 700;
  font-size: 0.82rem;
  border-radius: 50px;
  border: 1px solid var(--gold-light);
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 2px 10px rgba(212, 175, 55, 0.25);
}
.btn-kintun-nav:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.45);
  filter: brightness(1.1);
}
.btn-track-nav {
  color: var(--gold-light) !important;
}
@media (max-width: 768px) {
  .nav-kintun-text {
    display: none;
  }
  .btn-kintun-nav {
    padding: 0.45rem 0.65rem;
    border-radius: 50%;
    width: 38px;
    height: 38px;
    justify-content: center;
  }
  .btn-kintun-nav i {
    font-size: 0.95rem;
  }
}

.upload-dropzone {
  transition: all 0.25s ease;
}
.upload-dropzone:hover, .upload-dropzone.dragover {
  border-color: var(--gold-light) !important;
  background: rgba(212, 175, 55, 0.08) !important;
}

.form-input-control:focus {
  outline: none;
  border-color: var(--gold-light) !important;
  box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.2);
}

.track-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 700;
}
.track-badge.pending {
  background: rgba(237, 137, 54, 0.15);
  color: #F6AD55;
  border: 1px solid rgba(237, 137, 54, 0.3);
}
.track-badge.approved {
  background: rgba(56, 161, 105, 0.15);
  color: #68D391;
  border: 1px solid rgba(56, 161, 105, 0.3);
}
.track-badge.rejected {
  background: rgba(229, 62, 62, 0.15);
  color: #FC8181;
  border: 1px solid rgba(229, 62, 62, 0.3);
}

.kontribusi-banner-box {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.kontribusi-banner-box:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.6);
}


/* ==========================================================================
   SLIDE PUZZLE CAPTCHA WIDGET STYLES (FRONT-END & MODALS)
   ========================================================================== */
.captcha-wrap {
  margin: 0.5rem auto;
  max-width: 340px;
  background: #091C15;
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 10px;
  padding: 10px;
  user-select: none;
  -webkit-user-select: none;
}
.captcha-box {
  position: relative;
  width: 100%;
  max-width: 320px;
  height: 140px;
  margin: 0 auto 10px;
  border-radius: 8px;
  overflow: hidden;
  background: #000;
}
.captcha-box canvas {
  position: absolute;
  top: 0;
  left: 0;
}
#visitorCaptchaPiece {
  z-index: 2;
}
.captcha-refresh-btn {
  position: absolute;
  top: 6px;
  right: 6px;
  z-index: 5;
  background: rgba(7, 23, 18, 0.75);
  border: 1px solid rgba(212, 175, 55, 0.5);
  color: #F5D77F;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.75rem;
  transition: all 0.2s;
}
.captcha-refresh-btn:hover {
  background: #D4AF37;
  color: #071712;
  transform: rotate(180deg);
}

.captcha-slider-track {
  position: relative;
  width: 100%;
  max-width: 320px;
  height: 42px;
  margin: 0 auto;
  background: #15352A;
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 50px;
  display: flex;
  align-items: center;
  overflow: hidden;
  touch-action: none;
}
.captcha-slider-bar {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 0px;
  background: rgba(212, 175, 55, 0.25);
  transition: background 0.2s;
}
.captcha-slider-text {
  width: 100%;
  text-align: center;
  font-size: 0.76rem;
  color: #9BB3A7;
  font-weight: 500;
  pointer-events: none;
  z-index: 2;
}
.captcha-slider-btn {
  position: absolute;
  left: 0;
  top: 0;
  width: 44px;
  height: 42px;
  background: linear-gradient(135deg, #D4AF37, #A1801E);
  color: #071712;
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: grab;
  z-index: 3;
  box-shadow: 0 2px 8px rgba(0,0,0,0.4);
  transition: background 0.2s;
  touch-action: none;
}
.captcha-slider-btn:active {
  cursor: grabbing;
}

/* CAPTCHA Success State */
.captcha-slider-track.success {
  border-color: #2ECC71 !important;
}
.captcha-slider-track.success .captcha-slider-bar {
  background: rgba(46, 204, 113, 0.3) !important;
}
.captcha-slider-track.success .captcha-slider-btn {
  background: #2ECC71 !important;
  color: #FFF !important;
  cursor: default !important;
}
.captcha-slider-track.success .captcha-slider-text {
  color: #2ECC71 !important;
  font-weight: 700 !important;
}

#btn-submit-action:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}
