:root {
  --bg-primary: #08090f;
  --bg-secondary: #10121d;
  --bg-tertiary: #161929;
  
  --accent-cyan: #00e5ff;
  --accent-pink: #2979ff;
  --accent-purple: #7a00ff;
  --accent-yellow: #ffb703;
  
  --gradient-dance: linear-gradient(135deg, #1e3b72 0%, #2979ff 50%, #00e5ff 100%);
  --gradient-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
  
  --text-primary: #ffffff;
  --text-secondary: #e2e8f0;
  --text-muted: #a0aec0;
  
  --glass-bg: rgba(16, 18, 29, 0.65);
  --glass-border: rgba(255, 255, 255, 0.06);
  --glass-border-focus: rgba(0, 242, 254, 0.3);
  --glass-blur: blur(14px);
  
  --transition-smooth: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
  --transition-fast: all 0.15s ease;
  
  --glow-cyan: 0 0 15px rgba(0, 229, 255, 0.35);
  --glow-pink: 0 0 15px rgba(41, 121, 255, 0.35);
  --glow-purple: 0 0 15px rgba(122, 0, 255, 0.25);
  
  --shadow-dark: 0 8px 32px 0 rgba(0, 0, 0, 0.5);
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */
body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  overflow-x: hidden;
  line-height: 1.6;
  position: relative;
}

body::before {
  content: '';
  position: absolute;
  top: 15%;
  left: -10%;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, rgba(127, 0, 255, 0.12) 0%, rgba(0, 0, 0, 0) 70%);
  pointer-events: none;
  z-index: -1;
}

body::after {
  content: '';
  position: absolute;
  top: 60%;
  right: -10%;
  width: 45vw;
  height: 45vw;
  background: radial-gradient(circle, rgba(0, 242, 254, 0.08) 0%, rgba(0, 0, 0, 0) 70%);
  pointer-events: none;
  z-index: -1;
}

h1, h2, h3, h4, h5, h6, .navbar-brand {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* Scrollbar personalizado */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: var(--bg-tertiary);
  border: 2px solid var(--bg-primary);
  border-radius: 6px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-cyan);
}

/* Override default text-muted for readability on dark background */
.text-muted {
  color: var(--text-muted) !important;
}

/* ==========================================================================
   UTILITIES & REUSABLE CLASSES
   ========================================================================== */
.text-gradient {
  background: var(--gradient-dance);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

.glass-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  box-shadow: var(--shadow-dark);
  transition: var(--transition-smooth);
  overflow: hidden;
}

.glass-card:hover {
  border-color: rgba(0, 242, 254, 0.2);
  transform: translateY(-5px);
  box-shadow: 0 12px 40px 0 rgba(0, 242, 254, 0.1);
}

.btn-neon-pink, .btn-neon-cyan {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 12px;
  text-decoration: none;
  transition: var(--transition-smooth);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
  cursor: pointer;
}

.btn-neon-pink {
  background: var(--accent-pink);
  color: white;
  box-shadow: 0 4px 15px rgba(41, 121, 255, 0.3);
}

.btn-neon-pink:hover {
  background: #1976d2;
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--glow-pink);
}

.btn-neon-cyan {
  background: transparent;
  color: var(--accent-cyan);
  border: 2px solid rgba(0, 242, 254, 0.4);
  box-shadow: 0 4px 15px rgba(0, 242, 254, 0.05);
}

.btn-neon-cyan:hover {
  background: rgba(0, 242, 254, 0.1);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  transform: translateY(-2px);
  box-shadow: var(--glow-cyan);
}

/* ==========================================================================
   HEADER / NAVIGATION
   ========================================================================== */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(8, 9, 15, 0.8) !important;
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--glass-border);
  transition: var(--transition-smooth);
}

header.scrolled {
  padding: 8px 0;
  background: rgba(8, 9, 15, 0.95) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.navbar-brand {
  font-size: 1.5rem;
  color: white !important;
  display: flex;
  align-items: center;
  gap: 12px;
}

.navbar-brand img {
  transition: var(--transition-smooth);
  object-fit: contain;
  border-radius: 50%;
}

.navbar-brand:hover img {
  transform: scale(1.05);
}

.nav-link {
  color: var(--text-secondary) !important;
  font-weight: 500;
  padding: 8px 16px !important;
  border-radius: 8px;
  transition: var(--transition-smooth);
}

.nav-link:hover, .nav-item.active .nav-link {
  color: white !important;
  background: rgba(255, 255, 255, 0.05);
}

.nav-item.active .nav-link {
  color: var(--accent-cyan) !important;
  border-bottom: 2px solid var(--accent-cyan);
  border-radius: 8px 8px 0 0;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
#home {
  padding-top: 60px;
  padding-bottom: 60px;
}

.hero-video-wrap {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-dark);
  border: 1px solid var(--glass-border);
  transition: var(--transition-smooth);
}

.hero-video-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.5);
  pointer-events: none;
}

.hero-video-wrap:hover {
  border-color: rgba(255, 0, 127, 0.3);
  box-shadow: 0 15px 45px rgba(255, 0, 127, 0.15);
}

.hero-video-wrap video {
  width: 100%;
  display: block;
  object-fit: cover;
}

.intro-text-glass {
  background: rgba(16, 18, 29, 0.4);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  padding: 35px;
  border-radius: 20px;
  margin-bottom: 25px;
}

.intro-text-glass p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
}

.intro-text-glass p:last-child {
  margin-bottom: 0;
}

/* ==========================================================================
   DYNAMIC COURSES SECTION
   ========================================================================== */
.courses-filter {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 40px;
}

.filter-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  color: var(--text-secondary);
  padding: 8px 20px;
  border-radius: 30px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.filter-btn.active, .filter-btn:hover {
  background: var(--gradient-dance);
  color: white;
  border-color: transparent;
  box-shadow: var(--glow-cyan);
}

.course-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.course-image-wrap {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.course-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.course-card:hover .course-image {
  transform: scale(1.08);
}

.course-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background: rgba(16, 18, 29, 0.85);
  backdrop-filter: blur(5px);
  color: var(--accent-cyan);
  border: 1px solid var(--accent-cyan);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
}

.course-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.course-title {
  font-size: 1.3rem;
  margin-bottom: 12px;
  color: white;
}

.course-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 20px;
  flex-grow: 1;
}

.course-details {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 15px;
  margin-bottom: 20px;
  font-size: 0.9rem;
}

.course-detail-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  color: var(--text-secondary);
}

.course-detail-item:last-child {
  margin-bottom: 0;
}

.course-detail-item i {
  color: var(--accent-cyan);
  width: 16px;
  text-align: center;
}

/* ==========================================================================
   INSTAGRAM FEED SECTION
   ========================================================================== */
.instagram-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.instagram-post {
  position: relative;
  aspect-ratio: 1;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-dark);
  border: 1px solid var(--glass-border);
  cursor: pointer;
}

.instagram-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.instagram-overlay {
  position: absolute;
  inset: 0;
  background: rgba(16, 18, 29, 0.85);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: var(--transition-smooth);
  backdrop-filter: blur(4px);
  padding: 20px;
  text-align: center;
}

.instagram-post:hover .instagram-overlay {
  opacity: 1;
}

.instagram-post:hover .instagram-media {
  transform: scale(1.05);
}

.instagram-stats {
  display: flex;
  gap: 25px;
  margin-bottom: 15px;
  font-size: 1.1rem;
  font-weight: 600;
}

.instagram-stat {
  display: flex;
  align-items: center;
  gap: 8px;
}

.instagram-stat.likes {
  color: var(--accent-pink);
}

.instagram-stat.comments {
  color: var(--accent-cyan);
}

.instagram-caption {
  font-size: 0.88rem;
  color: var(--text-primary);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 15px;
}

.instagram-icon {
  font-size: 1.8rem;
  color: white;
  background: var(--gradient-dance);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: var(--glow-pink);
}

/* Post Type Badge */
.post-type-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 0.9rem;
  z-index: 2;
}

/* ==========================================================================
   MERCHANDISING SHOP SECTION
   ========================================================================== */
.product-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.product-image-wrap {
  position: relative;
  height: 250px;
  background: #0f1019;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.product-image {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: var(--transition-smooth);
}

.product-image-back {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(1);
  max-width: calc(100% - 30px);
  max-height: calc(100% - 30px);
  object-fit: contain;
  opacity: 0;
  transition: opacity 0.3s ease-in-out, transform var(--transition-smooth);
  pointer-events: none;
}

.product-card:hover .product-image {
  transform: scale(1.05);
  opacity: 0.1;
}

.product-card:hover .product-image-back {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.05);
}

.product-price-badge {
  position: absolute;
  bottom: 15px;
  right: 15px;
  background: var(--gradient-dance);
  color: white;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 1.1rem;
  box-shadow: var(--glow-pink);
}

.product-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-name {
  font-size: 1.25rem;
  margin-bottom: 8px;
  color: white;
}

.product-desc {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 20px;
  flex-grow: 1;
}

.product-options {
  margin-bottom: 20px;
}

.size-select-wrap {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.size-select-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
}

.size-options {
  display: flex;
  gap: 8px;
}

.size-option-btn {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
  border: 1px solid var(--glass-border);
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
}

.size-option-btn.selected, .size-option-btn:hover {
  background: var(--accent-cyan);
  color: var(--bg-primary);
  border-color: var(--accent-cyan);
  font-weight: 700;
}

/* ==========================================================================
   SHOPPING CART DRAWER (SLIDE-OUT)
   ========================================================================== */
.cart-drawer {
  position: fixed;
  top: 0;
  right: -420px;
  width: 100%;
  max-width: 420px;
  height: 100%;
  background: rgba(16, 18, 29, 0.95);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-left: 1px solid var(--glass-border);
  box-shadow: -10px 0 40px rgba(0,0,0,0.7);
  z-index: 1050;
  transition: right 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  display: flex;
  flex-direction: column;
}

.cart-drawer.open {
  right: 0;
}

.cart-drawer-header {
  padding: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-drawer-title {
  font-size: 1.4rem;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.cart-close-btn {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 1.5rem;
  cursor: pointer;
  transition: var(--transition-fast);
  padding: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-close-btn:hover {
  color: white;
  background: rgba(255, 255, 255, 0.05);
}

.cart-items-container {
  padding: 24px;
  overflow-y: auto;
  flex-grow: 1;
}

.cart-item {
  display: flex;
  gap: 15px;
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
}

.cart-item-img {
  width: 70px;
  height: 70px;
  background: #0f1019;
  border-radius: 8px;
  object-fit: contain;
  padding: 5px;
}

.cart-item-info {
  flex-grow: 1;
}

.cart-item-name {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 4px;
  color: white;
}

.cart-item-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.cart-item-price {
  font-weight: 700;
  color: var(--accent-cyan);
}

.cart-item-qty {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
}

.qty-btn {
  background: rgba(255, 255, 255, 0.05);
  color: white;
  border: 1px solid var(--glass-border);
  width: 24px;
  height: 24px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.8rem;
  transition: var(--transition-fast);
}

.qty-btn:hover {
  background: var(--accent-cyan);
  color: var(--bg-primary);
  border-color: var(--accent-cyan);
}

.cart-item-remove {
  position: absolute;
  top: 0;
  right: 0;
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 1.1rem;
  transition: var(--transition-fast);
}

.cart-item-remove:hover {
  color: var(--accent-pink);
}

.cart-drawer-footer {
  padding: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(16, 18, 29, 0.98);
}

.cart-summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.cart-summary-total {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  color: white;
}

.cart-checkout-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.btn-checkout-wa {
  background: #25d366;
  color: white !important;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  padding: 12px;
  border-radius: 12px;
  text-align: center;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.2);
}

.btn-checkout-wa:hover {
  background: #1ebd54;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.btn-checkout-mail {
  background: rgba(255, 255, 255, 0.05);
  color: white !important;
  border: 1px solid var(--glass-border);
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  padding: 12px;
  border-radius: 12px;
  text-align: center;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: var(--transition-smooth);
}

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

.cart-empty-state {
  text-align: center;
  padding: 40px 0;
  color: var(--text-muted);
}

.cart-empty-state i {
  font-size: 3rem;
  margin-bottom: 15px;
  color: rgba(255, 255, 255, 0.05);
}

/* Floating Cart Trigger Button */
.floating-cart-trigger {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--gradient-dance);
  box-shadow: var(--glow-pink);
  z-index: 999;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  cursor: pointer;
  border: none;
  transition: var(--transition-smooth);
}

.floating-cart-trigger:hover {
  transform: scale(1.1) rotate(5deg);
}

.cart-badge-count {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--accent-cyan);
  color: var(--bg-primary);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 800;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: var(--glow-cyan);
}

/* Cart Overlay Background */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(4px);
  z-index: 1040;
  display: none;
}

.cart-overlay.open {
  display: block;
}

/* ==========================================================================
   REVIEWS & TESTIMONIALS SECTION
   ========================================================================== */
.review-card {
  padding: 30px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

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

.review-avatar-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.review-avatar {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: var(--gradient-dance);
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 700;
  color: white;
  font-size: 1.1rem;
}

.review-author {
  font-weight: 600;
  color: white;
}

.review-tag {
  font-size: 0.75rem;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.05);
  padding: 2px 8px;
  border-radius: 12px;
  display: inline-block;
  margin-top: 2px;
}

.review-stars {
  color: var(--accent-yellow);
  font-size: 0.9rem;
  display: flex;
  gap: 3px;
}

.review-text {
  color: var(--text-secondary);
  font-style: italic;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 0;
}

.review-date {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: right;
  margin-top: 15px;
}

/* Imagen adjunta en opiniones */
.review-photo-wrap {
  margin-top: 15px;
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  aspect-ratio: 16 / 10;
  max-height: 220px;
  transition: var(--transition-smooth);
}

.review-photo-wrap:hover {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 15px rgba(0, 229, 255, 0.15);
}

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

.review-photo-wrap:hover img {
  transform: scale(1.04);
}

/* Formulario de dejar opinión */
.stars-rating-input {
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
  gap: 5px;
  font-size: 1.8rem;
  margin-top: 5px;
}

.stars-rating-input input {
  display: none;
}

.stars-rating-input label {
  color: rgba(255, 255, 255, 0.15);
  cursor: pointer;
  transition: var(--transition-fast);
}

.stars-rating-input label:hover,
.stars-rating-input label:hover ~ label,
.stars-rating-input input:checked ~ label {
  color: var(--accent-yellow);
  text-shadow: 0 0 10px rgba(255, 183, 3, 0.4);
}

/* ==========================================================================
   CONTACT FORM SECTION
   ========================================================================== */
.contact-container {
  max-width: 800px;
  margin: 0 auto;
}

.form-label-glass {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.form-control-glass {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border);
  color: white !important;
  border-radius: 10px;
  padding: 12px 16px;
  transition: var(--transition-smooth);
}

.form-control-glass:focus {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--accent-cyan);
  box-shadow: var(--glow-cyan);
  outline: none;
}

.form-control-glass::placeholder {
  color: var(--text-muted);
}

select.form-control-glass {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a9adc1' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 16px;
  padding-right: 40px;
}

select.form-control-glass option {
  background-color: var(--bg-secondary);
  color: white;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--glass-border);
  padding: 40px 0;
  text-align: center;
}

footer p {
  color: var(--text-muted);
  margin-bottom: 12px;
}

footer a img, footer a.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin: 0 8px;
  color: var(--text-muted);
  transition: var(--transition-smooth);
  text-decoration: none;
}

footer .social-icon {
  width: 24px;
  height: 24px;
  color: var(--text-muted);
  transition: var(--transition-smooth);
}

footer a.social-link:hover {
  transform: translateY(-4px) scale(1.1);
  filter: drop-shadow(0 4px 8px rgba(0, 242, 254, 0.4));
}

footer a.social-link:hover .social-icon {
  color: var(--accent-cyan);
}

/* ==========================================================================
   MODALS (GLASSMOPHISM OVERLAY)
   ========================================================================== */
.modal-content {
  background: rgba(16, 18, 29, 0.9) !important;
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border) !important;
  border-radius: 20px !important;
  color: white;
  box-shadow: var(--shadow-dark);
}

.modal-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
}

.modal-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
}

.btn-close {
  filter: invert(1) grayscale(100%) brightness(200%);
  transition: var(--transition-fast);
}

.btn-close:hover {
  transform: scale(1.1);
}

/* ==========================================================================
   INSTAGRAM FEED LIGHTBOX
   ========================================================================== */
.lightbox-body {
  display: flex;
  flex-direction: column;
}

@media (min-width: 768px) {
  .lightbox-body {
    flex-direction: row;
    height: 500px;
  }
}

.lightbox-media-container {
  flex: 1.2;
  background: #000;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
  height: 300px;
}

@media (min-width: 768px) {
  .lightbox-media-container {
    height: 100%;
  }
}

.lightbox-media {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.lightbox-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

@media (min-width: 768px) {
  .lightbox-details {
    border-top: none;
    border-left: 1px solid rgba(255, 255, 255, 0.05);
    height: 100%;
  }
}

.lightbox-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.lightbox-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--accent-pink);
}

.lightbox-username {
  font-weight: 600;
  font-size: 0.95rem;
}

.lightbox-caption-scroll {
  flex-grow: 1;
  overflow-y: auto;
  padding: 15px 0;
  font-size: 0.92rem;
  color: var(--text-secondary);
  white-space: pre-wrap;
}

.lightbox-footer {
  padding-top: 15px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.lightbox-stats-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
}

/* ==========================================================================
   TOAST NOTIFICATION (SYSTEM ALERTS)
   ========================================================================== */
.toast-container {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 1060;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.custom-toast {
  background: rgba(16, 18, 29, 0.9);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  color: white;
  padding: 15px 25px;
  border-radius: 12px;
  box-shadow: var(--shadow-dark);
  display: flex;
  align-items: center;
  gap: 12px;
  transform: translateY(100px);
  opacity: 0;
  animation: slideInUp 0.4s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
}

.custom-toast.success {
  border-left: 4px solid var(--accent-cyan);
}

.custom-toast.error {
  border-left: 4px solid var(--accent-pink);
}

.custom-toast-icon {
  font-size: 1.2rem;
}

.custom-toast.success .custom-toast-icon {
  color: var(--accent-cyan);
}

.custom-toast.error .custom-toast-icon {
  color: var(--accent-pink);
}

.custom-toast-msg {
  font-size: 0.9rem;
  font-weight: 500;
}

@keyframes slideInUp {
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.fade-out {
  animation: slideOutDown 0.4s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
}

@keyframes slideOutDown {
  to {
    transform: translateY(100px);
    opacity: 0;
  }
}

/* Fontawesome Icons integration helper (if not loaded) */
.icon-align {
  vertical-align: middle;
  margin-right: 5px;
}

/* ==========================================================================
   VIDEO LOADING SPINNER OVERLAY
   ========================================================================== */
.video-spinner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  background: rgba(8, 9, 15, 0.75);
  padding: 20px 30px;
  border-radius: 20px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: opacity 0.4s ease, visibility 0.4s ease;
  pointer-events: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.video-spinner .spinner {
  width: 45px;
  height: 45px;
  border: 3px solid rgba(0, 229, 255, 0.15);
  border-radius: 50%;
  border-top-color: var(--accent-cyan);
  border-right-color: var(--accent-pink);
  animation: spin 0.8s linear infinite;
  box-shadow: 0 0 15px rgba(0, 229, 255, 0.15);
}

.video-spinner span {
  color: var(--text-primary);
  font-family: 'Outfit', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.video-spinner.hide {
  opacity: 0;
  visibility: hidden;
}

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