/* ============================================
   THE VISITOR'S GUIDE - Consistency & Final Touches
   ============================================ */

/* 1. Consistent Section Titles */
.section-title {
  font-family: var(--font-display) !important;
  font-size: 2.5rem !important;
  font-weight: 900 !important;
  text-align: center !important;
  margin-bottom: 2rem !important;
  color: var(--text-primary) !important;
  letter-spacing: 1px !important;
}

[data-theme="dark"] .section-title {
  color: var(--text-primary-dark) !important;
}

/* Special styling for Master the Art */
#about .section-title {
  font-size: 2.8rem !important;
  background: var(--brand-gradient) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  letter-spacing: 2px !important;
}

/* Kickstarter Campaign Title */
#kickstarter .section-title {
  color: var(--brand-primary) !important;
}

[data-theme="dark"] #kickstarter .section-title {
  color: var(--brand-secondary) !important;
}

/* Newsletter Title */
#newsletter .section-title {
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary)) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
}

/* FAQ Title - Centered */
#faq .section-title {
  text-align: center !important;
  margin: 0 auto 3rem !important;
}

/* Contact Title */
#contact .section-title {
  color: var(--brand-primary) !important;
  font-size: 2.2rem !important;
}

/* 2. Fix Newsletter Form Centering */
.newsletter-form-wrapper,
.emailoctopus-form-wrapper {
  max-width: 600px !important;
  margin: 0 auto !important;
  text-align: center !important;
}

.emailoctopus-form {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  width: 100% !important;
}

.emailoctopus-form-row {
  width: 100% !important;
  max-width: 500px !important;
  margin: 0 auto 12px !important;
}

.emailoctopus-form input[type="text"],
.emailoctopus-form input[type="email"] {
  width: 100% !important;
  text-align: left !important;
}

.emailoctopus-form input[type="submit"] {
  margin: 20px auto 0 !important;
  display: block !important;
}

/* 3. Three Button Layout for Kickstarter */
.cta-buttons {
  display: flex !important;
  gap: 1rem !important;
  justify-content: center !important;
  flex-wrap: wrap !important;
  margin-top: 2rem !important;
}

@media (min-width: 768px) {
  .cta-buttons {
    gap: 1.5rem !important;
  }
}

/* 4. Scroll to Top Button */
.scroll-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--brand-gradient);
  border: 2px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 20px rgba(255, 107, 107, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
}

.scroll-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-to-top:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(255, 107, 107, 0.4);
}

.scroll-to-top svg {
  width: 24px;
  height: 24px;
  color: white;
}

[data-theme="dark"] .scroll-to-top {
  background: linear-gradient(135deg, #FF6B6B, #FF8A8A);
  border: 2px solid rgba(255, 255, 255, 0.1);
}

/* Ornate Arrow SVG */
.scroll-to-top::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid;
  border-color: transparent;
  background: linear-gradient(135deg, 
    rgba(255, 107, 107, 0.3) 0%, 
    transparent 30%, 
    transparent 70%, 
    rgba(255, 183, 0, 0.3) 100%);
  /* animation: rotate-border 4s linear infinite; */ /* Disabled - too distracting */
  z-index: -1;
}

@keyframes rotate-border {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* 5. Responsive Adjustments */
@media (max-width: 768px) {
  .section-title {
    font-size: 2rem !important;
  }
  
  #about .section-title {
    font-size: 1.8rem !important;
    white-space: normal !important;
  }
  
  .scroll-to-top {
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
  }
}