/* ============================================================
   CS CINEMATIC FOOTER - COMPLETE STYLES
   ConincStudio™ Brand Identity v2.0
   ============================================================ */

/* === FOOTER CONTAINER === */
.cs-cinematic-footer {
  background: #0F0A1A;
  padding: 60px 0 20px;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(245, 179, 1, 0.1);
}

/* Cinematic Glow Effect - Top Border */
.cs-cinematic-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(245, 179, 1, 0.3) 20%,
    #F5B301 50%,
    rgba(245, 179, 1, 0.3) 80%,
    transparent 100%
  );
  box-shadow: 0 0 30px rgba(245, 179, 1, 0.15);
}

/* Subtle Radial Glow */
.cs-cinematic-footer::after {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 200px;
  background: radial-gradient(ellipse at center, 
    rgba(245, 179, 1, 0.05) 0%, 
    transparent 70%
  );
  pointer-events: none;
}

.footer-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 30px;
  position: relative;
  z-index: 2;
}

/* === ACCORDION GRID === */
.footer-accordion-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-bottom: 40px;
}

/* === FOOTER COLUMN BASE === */
.footer-col {
  background: rgba(27, 19, 51, 0.5);
  border-radius: 12px;
  padding: 10px 0;
  border: 1px solid rgba(245, 179, 1, 0.06);
  backdrop-filter: blur(10px);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
}

.footer-col:hover {
  border-color: rgba(245, 179, 1, 0.15);
  box-shadow: 0 0 30px rgba(157, 77, 255, 0.05);
}

/* === ACCORDION HEADER === */
.footer-header {
  padding: 15px 20px;
  cursor: pointer;
  user-select: none;
  position: relative;
  transition: all 0.3s ease;
}

.footer-header:hover {
  background: rgba(245, 179, 1, 0.04);
}

.footer-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #FFFFFF;
  margin: 0;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 1.5px;
  position: relative;
}

.title-icon {
  font-size: 14px;
  opacity: 0.7;
}

/* Gold Gradient Text for Active Header */
.active-header .footer-title {
  background: linear-gradient(90deg, #F5B301, #FF8C42);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.active-header .footer-title .title-icon {
  -webkit-text-fill-color: #F5B301;
}

/* === ACCORDION INDICATOR === */
.accordion-indicator {
  margin-left: auto;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.3);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
}

.accordion-trigger:hover .accordion-indicator {
  color: #F5B301;
  background: rgba(245, 179, 1, 0.08);
}

.accordion-trigger.active .accordion-indicator {
  transform: rotate(90deg);
  color: #F5B301;
  background: rgba(245, 179, 1, 0.1);
}

/* Always Open Indicator */
.open-indicator {
  color: #F5B301;
  background: rgba(245, 179, 1, 0.08);
}

/* === ACCORDION CONTENT === */
.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              opacity 0.4s ease,
              padding 0.4s ease;
  opacity: 0;
  padding: 0 20px;
}

.accordion-content.open {
  max-height: 800px;
  opacity: 1;
  padding: 5px 20px 20px;
}

/* About Content - Always Open */
.about-content {
  max-height: 800px;
  opacity: 1;
  padding: 5px 20px 20px;
}

/* === ABOUT COLUMN - ALWAYS OPEN === */
.footer-about-col {
  border-color: rgba(245, 179, 1, 0.15);
  background: linear-gradient(135deg, 
    rgba(27, 19, 51, 0.6), 
    rgba(18, 10, 31, 0.8)
  );
  position: relative;
}

.footer-about-col::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 30%;
  right: 30%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #F5B301, transparent);
  opacity: 0.4;
}

.studio-description {
  font-size: 14px;
  line-height: 1.8;
  color: #BBBBBB;
  margin: 0 0 16px;
}

/* === FOOTER LINKS === */
.footer-link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #BBBBBB;
  text-decoration: none;
  padding: 6px 0;
  font-size: 14px;
  transition: all 0.3s ease;
  font-family: 'Roboto', sans-serif;
}

.footer-link:hover {
  color: #F5B301;
  padding-left: 4px;
}

.footer-link .link-bullet {
  color: rgba(245, 179, 1, 0.3);
  font-size: 8px;
  transition: all 0.3s ease;
}

.footer-link:hover .link-bullet {
  color: #F5B301;
  transform: scale(1.2);
}

.highlight-link {
  color: #F5B301;
}

.highlight-link .link-bullet {
  color: #F5B301;
}

/* === CONTACT LINKS === */
.footer-contact-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 10px;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #BBBBBB;
  text-decoration: none;
  font-size: 13px;
  transition: all 0.3s ease;
  padding: 8px 12px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.02);
}

.contact-link:hover {
  color: #F5B301;
  background: rgba(245, 179, 1, 0.05);
}

.contact-link .link-icon {
  font-size: 14px;
}

.btn-gold-outline {
  border: 1px solid rgba(245, 179, 1, 0.3);
  background: transparent;
  color: #F5B301;
  justify-content: center;
  font-weight: 500;
  padding: 10px 16px;
}

.btn-gold-outline:hover {
  background: linear-gradient(90deg, #F5B301, #FF8C42);
  color: #120A1F;
  border-color: transparent;
  box-shadow: 0 0 30px rgba(245, 179, 1, 0.15);
}

/* ============================================================
   🔥 AMBIENT SOUND BUTTON - CINEMATIC
   ============================================================ */
.ambient-sound-wrapper {
  margin: 16px 0 10px;
}

.ambient-toggle {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(245, 179, 1, 0.12);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  font-family: 'Roboto', sans-serif;
  position: relative;
  overflow: hidden;
}

.ambient-toggle:hover {
  background: rgba(245, 179, 1, 0.06);
  border-color: rgba(245, 179, 1, 0.25);
  color: #FFFFFF;
}

.ambient-toggle.active {
  background: rgba(245, 179, 1, 0.08);
  border-color: rgba(245, 179, 1, 0.3);
  box-shadow: 0 0 30px rgba(245, 179, 1, 0.05);
}

.ambient-toggle .sound-icon {
  font-size: 18px;
  flex-shrink: 0;
}

/* Animated Wave Bars */
.sound-wave-container {
  display: flex;
  align-items: center;
  gap: 2px;
  height: 20px;
  flex-shrink: 0;
}

.wave-bar {
  width: 3px;
  background: rgba(245, 179, 1, 0.3);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.wave-bar:nth-child(1) { height: 8px; }
.wave-bar:nth-child(2) { height: 14px; }
.wave-bar:nth-child(3) { height: 10px; }
.wave-bar:nth-child(4) { height: 16px; }

.ambient-toggle.active .wave-bar {
  background: #F5B301;
}

.ambient-toggle.active .wave-bar:nth-child(1) {
  animation: wave-anim 1.2s ease-in-out infinite 0s;
}
.ambient-toggle.active .wave-bar:nth-child(2) {
  animation: wave-anim 1.2s ease-in-out infinite 0.2s;
}
.ambient-toggle.active .wave-bar:nth-child(3) {
  animation: wave-anim 1.2s ease-in-out infinite 0.4s;
}
.ambient-toggle.active .wave-bar:nth-child(4) {
  animation: wave-anim 1.2s ease-in-out infinite 0.6s;
}

@keyframes wave-anim {
  0%, 100% { height: 8px; }
  50% { height: 20px; }
}

.ambient-toggle .sound-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
  flex-grow: 1;
}

.ambient-toggle .sound-status {
  font-size: 10px;
  padding: 2px 10px;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.ambient-toggle.active .sound-status {
  background: rgba(245, 179, 1, 0.15);
  color: #F5B301;
}

/* ============================================================
   🔥 LIVE SESSION COUNTER
   ============================================================ */
.live-session-counter {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 8px;
  border: 1px solid rgba(0, 230, 215, 0.08);
  margin-bottom: 16px;
  position: relative;
  overflow: hidden;
}

.live-session-counter::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, 
    rgba(0, 230, 215, 0.03),
    transparent 50%
  );
  pointer-events: none;
}

.live-indicator {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #00E6D7;
  animation: live-pulse 1.5s infinite;
  box-shadow: 0 0 12px rgba(0, 230, 215, 0.3);
}

@keyframes live-pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.4;
    transform: scale(0.7);
  }
}

.live-text {
  font-size: 10px;
  font-weight: 700;
  color: #00E6D7;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.live-stats {
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex-grow: 1;
}

.live-count {
  font-size: 22px;
  font-weight: 700;
  color: #FFFFFF;
  font-family: 'Inter', sans-serif;
  line-height: 1;
}

.live-count.increment {
  animation: count-pop 0.3s ease;
}

@keyframes count-pop {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.2); color: #00E6D7; }
}

.live-label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
  font-weight: 400;
}

.live-session-pulse {
  position: relative;
  width: 30px;
  height: 30px;
  flex-shrink: 0;
}

.pulse-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid rgba(0, 230, 215, 0.15);
  animation: pulse-ring 2s infinite;
}

.pulse-ring:nth-child(2) {
  animation-delay: 1s;
}

@keyframes pulse-ring {
  0% {
    width: 30px;
    height: 30px;
    opacity: 1;
  }
  100% {
    width: 50px;
    height: 50px;
    opacity: 0;
  }
}

/* === MEMBER BADGE === */
.member-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding: 6px 14px;
  border-radius: 50px;
  background: rgba(157, 77, 255, 0.06);
  border: 1px solid rgba(157, 77, 255, 0.08);
}

.member-icon {
  font-size: 12px;
}

.member-text {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.3);
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* === STUDIO BADGE === */
.studio-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding: 6px 14px;
  border-radius: 50px;
  background: rgba(245, 179, 1, 0.06);
  border: 1px solid rgba(245, 179, 1, 0.1);
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #00E6D7;
  animation: pulse-dot 2s infinite;
}

.badge-text {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 400;
}

.badge-divider {
  color: rgba(255, 255, 255, 0.1);
  font-size: 10px;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.3; transform: scale(0.8); }
}

/* === GROWTH SECTION === */
.growth-tagline {
  color: #BBBBBB;
  font-size: 13px;
  line-height: 1.6;
  margin-bottom: 12px;
}

.growth-form-wrapper {
  margin: 8px 0;
}

.growth-form-wrapper .fluentform {
  background: transparent !important;
}

/* FluentForm Override for Dark Background */
.growth-form-wrapper .fluentform .ff-el-form-control {
  background: rgba(255, 255, 255, 0.05) !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
  color: #FFFFFF !important;
}

.growth-form-wrapper .fluentform .ff-el-form-control:focus {
  border-color: #F5B301 !important;
  box-shadow: 0 0 20px rgba(245, 179, 1, 0.05) !important;
}

.growth-form-wrapper .fluentform .ff-btn-submit {
  background: linear-gradient(90deg, #F5B301, #FF8C42) !important;
  color: #120A1F !important;
  font-weight: 600 !important;
}

.growth-form-wrapper .fluentform .ff-btn-submit:hover {
  box-shadow: 0 0 30px rgba(245, 179, 1, 0.2) !important;
}

.privacy-note {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.3);
  margin: 10px 0 14px;
}

.shield-icon {
  font-size: 12px;
}

/* === CINEMATIC SOCIAL LINKS === */
.cinematic-social {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.4);
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  font-size: 15px;
}

.social-icon:hover {
  background: rgba(245, 179, 1, 0.1);
  border-color: rgba(245, 179, 1, 0.2);
  color: #F5B301;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(245, 179, 1, 0.08);
}

.social-icon.linktree-icon {
  background: rgba(245, 179, 1, 0.05);
  border-color: rgba(245, 179, 1, 0.1);
}

.social-icon.linktree-icon:hover {
  background: rgba(245, 179, 1, 0.15);
  border-color: rgba(245, 179, 1, 0.3);
}

.social-icon.linktree-icon img {
  filter: brightness(0.7) saturate(0.5);
  transition: all 0.3s ease;
}

.social-icon.linktree-icon:hover img {
  filter: brightness(1) saturate(1);
}

/* === FOOTER BOTTOM === */
.cinematic-divider {
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding-top: 20px;
  margin-top: 10px;
  position: relative;
}

.cinematic-divider::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 40%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(245, 179, 1, 0.15), transparent);
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.25);
  font-family: 'Roboto', sans-serif;
  letter-spacing: 0.5px;
}

.studio-tagline {
  color: rgba(245, 179, 1, 0.2);
  font-size: 11px;
  letter-spacing: 1px;
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .footer-accordion-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .footer-accordion-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  
  .footer-col {
    border-radius: 8px;
  }
  
  .footer-container {
    padding: 0 16px;
  }
  
  .footer-title {
    font-size: 12px;
  }
  
  .footer-bottom-content {
    flex-direction: column;
    text-align: center;
  }
  
  .cs-cinematic-footer {
    padding: 30px 0 16px;
  }
  
  .live-session-counter {
    flex-wrap: wrap;
    gap: 8px;
  }
  
  .live-stats {
    flex-basis: 100%;
    justify-content: center;
  }
}

/*======================================
ACCORDION CONTENTS
======================================*/
.no-js .accordion-content {
  display: block !important;
}

/* =======================================
Fallback - Show content if JS fails 
========================================*/
.no-js .accordion-content {
  max-height: 800px !important;
  opacity: 1 !important;
  padding: 5px 20px 20px !important;
}

/* ============================================================
   CRITICAL FIX - ACCORDION CONTENT VISIBILITY
   ============================================================ */

/* Make sure content is visible */
.footer-content {
  display: block !important;
}

/* Accordion content - default hidden */
.accordion-content {
  max-height: 0 !important;
  overflow: hidden !important;
  opacity: 0 !important;
  padding: 0 20px !important;
  transition: max-height 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              opacity 0.4s ease,
              padding 0.4s ease !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* Accordion content - open state */
.accordion-content.open {
  max-height: 800px !important;
  opacity: 1 !important;
  padding: 5px 20px 20px !important;
  visibility: visible !important;
  pointer-events: all !important;
  overflow: visible !important;
}

/* About content - always open */
.about-content {
  max-height: 800px !important;
  opacity: 1 !important;
  padding: 5px 20px 20px !important;
  visibility: visible !important;
  pointer-events: all !important;
  overflow: visible !important;
}

/* Ensure footer header is clickable */
.footer-header {
  cursor: pointer !important;
  position: relative !important;
  z-index: 10 !important;
}

.accordion-trigger {
  cursor: pointer !important;
}

/* Debug outline - REMOVE AFTER TESTING */
.footer-col {
  outline: 1px solid rgba(245, 179, 1, 0.1);
}

.accordion-content {
  outline: 1px solid rgba(0, 230, 215, 0.1);
}