/* Support Page Styles - Dreamy Theme */

:root {
  --primary-color: #5c318c;
  --secondary-color: #8e44ad;
  --text-color: #333;
  --light-text: #fff;
  --dark-bg: #1a1a2e;
  --transition-speed: 0.3s;
}

body {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  margin: 0;
  padding: 0;
  min-height: 100vh;
  background: linear-gradient(135deg, var(--dark-bg) 0%, #2c2c54 100%);
  color: var(--light-text);
  overflow-x: hidden;
}

.support-container {
  position: relative;
  min-height: 100vh;
  padding: 2rem 1rem;
  overflow: hidden;
}

/* Animated Sky Elements */
.night-sky {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.moon {
  position: absolute;
  top: 10%;
  right: 15%;
  width: 150px;
  height: 150px;
  filter: drop-shadow(0 0 30px rgba(255, 255, 255, 0.6));
  animation: glow 4s ease-in-out infinite;
  z-index: 1;
}

.star {
  position: absolute;
  width: 40px;
  height: 40px;
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.8));
  animation: twinkle 3s ease-in-out infinite;
}

.star-1 { top: 20%; left: 10%; animation-delay: 0s; }
.star-2 { top: 15%; left: 40%; animation-delay: 0.5s; }
.star-3 { top: 30%; left: 25%; animation-delay: 1s; }
.star-4 { top: 25%; right: 30%; animation-delay: 1.5s; }
.star-5 { top: 40%; right: 20%; animation-delay: 2s; }
.star-6 { top: 35%; left: 60%; animation-delay: 2.5s; }

.cloud {
  position: absolute;
  width: 200px;
  opacity: 0.7;
  filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.3));
}

.cloud-1 {
  top: 20%;
  left: -200px;
  animation: floatRight 60s infinite linear;
}

.cloud-2 {
  top: 40%;
  right: -200px;
  animation: floatLeft 80s infinite linear;
}

.cloud-3 {
  top: 60%;
  left: -200px;
  animation: floatRight 100s infinite linear;
}

.cloud-4 {
  top: 30%;
  right: -200px;
  animation: floatLeft 70s infinite linear;
  animation-delay: 10s;
}

.cloud-5 {
  top: 50%;
  left: -200px;
  animation: floatRight 90s infinite linear;
  animation-delay: 20s;
}

.cloud-6 {
  top: 70%;
  right: -200px;
  animation: floatLeft 110s infinite linear;
  animation-delay: 30s;
}

/* Animations */
@keyframes glow {
  0%, 100% {
    filter: drop-shadow(0 0 30px rgba(255, 255, 255, 0.6));
    transform: scale(1);
  }
  50% {
    filter: drop-shadow(0 0 40px rgba(255, 255, 255, 0.8));
    transform: scale(1.05);
  }
}

@keyframes twinkle {
  0%, 100% {
    opacity: 0.3;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.2);
  }
}

@keyframes floatRight {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(100vw + 400px));
  }
}

@keyframes floatLeft {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-100vw - 400px));
  }
}

.support-content {
  position: relative;
  z-index: 10;
  max-width: 900px;
  margin: 50px auto;
  background-color: rgba(0, 0, 0, 0.4);
  border-radius: 15px;
  backdrop-filter: blur(3px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  padding: 50px 20px;
}

.support-content h1 {
  color: var(--light-text);
  font-size: 3.5rem;
  margin-bottom: 1rem;
  text-align: center;
  text-shadow: 0 0 10px rgba(138, 43, 226, 0.7);
}

.support-intro {
  text-align: center;
  font-size: 1.4rem;
  color: var(--light-text);
  margin-bottom: 2rem;
  opacity: 0.9;
  line-height: 1.5;
}

.support-sections {
  display: grid;
  gap: 3rem;
  margin-top: 2rem;
}

/* FAQ Section */
.faq-section {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 12px;
  transition: transform var(--transition-speed);
  margin-bottom: 30px;
}

.faq-section:hover {
  transform: translateY(-5px);
  background-color: rgba(255, 255, 255, 0.15);
}

.faq-section h2 {
  color: var(--light-text);
  font-size: 2.2rem;
  margin-bottom: 2rem;
  text-align: center;
  font-weight: 600;
}

.faq-item {
  margin-bottom: 1.5rem;
  padding: 20px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.faq-item:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateX(5px);
  border-color: rgba(255, 255, 255, 0.2);
}

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

.faq-item h3 {
  color: var(--light-text);
  font-size: 1.4rem;
  margin-bottom: 0.8rem;
  font-weight: 600;
}

.faq-item p {
  color: var(--light-text);
  line-height: 1.6;
  font-size: 1.1rem;
  opacity: 0.9;
}

/* Contact Section */
.contact-section {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 12px;
  transition: transform var(--transition-speed);
  position: relative;
  overflow: hidden;
}

.contact-section:hover {
  transform: translateY(-5px);
  background-color: rgba(255, 255, 255, 0.15);
}

.contact-section h2 {
  color: var(--light-text);
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
  text-align: center;
  font-weight: 600;
}

.contact-section > p {
  color: var(--light-text);
  margin-bottom: 2rem;
  text-align: center;
  font-size: 1.2rem;
  opacity: 0.9;
}

/* Form Styles */
.support-contact-form {
  margin-top: 2rem;
  position: relative;
  z-index: 1;
}

.form-row {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.half-width {
  flex: 1;
}

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

.form-group label {
  display: block;
  margin-bottom: 0.8rem;
  font-weight: 600;
  color: var(--light-text);
  font-size: 1.1rem;
}

.form-control {
  width: 100%;
  padding: 15px 20px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  font-size: 16px;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  color: var(--light-text);
  font-family: 'Helvetica Neue', Arial, sans-serif;
}

.form-control::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.form-control:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.15);
}

textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

select.form-control {
  cursor: pointer;
}

select.form-control option {
  background-color: var(--dark-bg);
  color: var(--light-text);
}

/* Challenge Section */
.challenge-section {
  background: rgba(255, 255, 255, 0.08);
  padding: 25px;
  border-radius: 12px;
  margin-bottom: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.challenge-section p {
  margin-bottom: 15px;
  font-weight: 500;
  color: var(--light-text);
  font-size: 1.1rem;
}

.challenge-section .form-control {
  width: 120px;
  display: inline-block;
  margin-left: 10px;
}

/* Submit Button - Matching home page style */
.submit-button {
  background-color: var(--primary-color);
  color: var(--light-text);
  padding: 15px 30px;
  border: none;
  border-radius: 50px;
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-speed);
  display: inline-block;
  width: 100%;
  margin-top: 1rem;
  text-decoration: none;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  font-family: 'Helvetica Neue', Arial, sans-serif;
}

.submit-button:hover {
  background-color: var(--secondary-color);
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

/* Success/Error Messages */
.success-message {
  background: rgba(39, 174, 96, 0.2);
  border: 2px solid rgba(39, 174, 96, 0.4);
  color: #90EE90;
  padding: 1.5rem;
  border-radius: 12px;
  margin-bottom: 2rem;
  font-weight: 500;
  text-align: center;
}

.error-message {
  background: rgba(231, 76, 60, 0.2);
  border: 2px solid rgba(231, 76, 60, 0.4);
  color: #FFB6C1;
  padding: 1.5rem;
  border-radius: 12px;
  margin-bottom: 2rem;
  font-weight: 500;
  text-align: center;
}

/* Support Footer */
.support-footer {
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  text-align: center;
  font-size: 0.9rem;
  opacity: 0.7;
}

.support-footer h3 {
  color: var(--light-text);
  font-size: 1.3rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.support-footer ul {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}

.support-footer li {
  display: inline-block;
  margin: 0 0.5rem;
}

.support-link {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.support-link:hover {
  color: #fff;
  text-decoration: underline;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .support-content {
    padding: 30px 15px;
    margin: 30px 10px;
  }
  
  .support-content h1 {
    font-size: 2.5rem;
  }
  
  .support-intro {
    font-size: 1.2rem;
  }
  
  .form-row {
    flex-direction: column;
    gap: 0;
  }
  
  .support-footer li {
    display: block;
    margin: 0.5rem 0;
  }
  
  .faq-section,
  .contact-section {
    padding: 20px;
  }
  
  .faq-section h2,
  .contact-section h2 {
    font-size: 1.8rem;
  }
  
  .faq-item {
    padding: 15px;
  }
  
  .faq-item h3 {
    font-size: 1.2rem;
  }
  
  .faq-item p {
    font-size: 1rem;
  }
  
  .moon {
    width: 120px;
    height: 120px;
  }
  
  .cloud {
    width: 180px;
  }
  
  .star {
    width: 35px;
    height: 35px;
  }
  
  .submit-button {
    padding: 14px 25px;
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  .support-content h1 {
    font-size: 2rem;
  }
  
  .support-intro {
    font-size: 1.1rem;
  }
}