/* SUPPORT MODAL */
.support-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.support-modal.active {
  display: flex;
}

.support-modal-content {
  background: #181818;
  width: 100%;
  max-width: 700px;
  max-height: 80vh;
  overflow-y: auto;
  border-radius: 20px;
  padding: 40px;
  position: relative;
  animation: modalUp 0.3s ease;
}

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

.support-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  color: white;
  font-size: 22px;
  cursor: pointer;
}

.modal-faq {
  margin-top: 32px;
}

.modal-faq-item {
  border-bottom: 1px solid #2a2a2a;
}

.modal-faq-question {
  width: 100%;
  padding: 20px 0;
  background: none;
  border: none;
  color: white;
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-faq-answer {
  max-height: 0;
  overflow: hidden;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.6;
  transition: max-height 0.3s ease;
}

.modal-faq-item.active .modal-faq-answer {
  max-height: 300px;
  padding-bottom: 16px;
}

.contact-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(4px);
  justify-content: center;
  align-items: center;
  z-index: 10000;
}

.contact-modal.active {
  display: flex;
}

.contact-modal-content {
  background: #181818;
  padding: 32px;
  border-radius: 16px;
  width: 400px;
  max-width: 90%;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  color: white;
}

.contact-modal-content textarea {
  width: 100%;
  height: 120px;
  padding: 12px;
  border-radius: 8px;
  border: none;
  outline: none;
  background: #282828;
  color: white;
  font-size: 14px;
  resize: none;
}

.contact-modal-content button {
  padding: 12px;
  border-radius: 999px;
  border: none;
  background: var(--primary);
  color: #000;
  font-weight: 600;
  cursor: pointer;
  transition: 0.2s;
}

.contact-modal-content button:hover {
  background: #1ed760;
}

.close-contact {
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 28px;
  cursor: pointer;
}

.contact-modal-content input,
.contact-modal-content textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: none;
  margin-bottom: 14px;
  font-size: 14px;
  resize: none;
}

.contact-modal-content textarea {
  height: 120px;
}

.contact-modal-content button {
  width: 100%;
  background: var(--primary);
  border: none;
  padding: 12px;
  border-radius: 20px;
  font-weight: 700;
  cursor: pointer;
}



/* ================= SUPPORT PAGE ================= */

body {
  background: var(--dark-bg);
  color: var(--text-primary);
}

/* HERO */
.support-hero {
  padding: 120px 24px 90px;
  text-align: center;
  background: linear-gradient(180deg, #1e3264 0%, #121212 70%);
}

.support-hero h1 {
  font-size: 56px;
  font-weight: 900;
  margin-bottom: 16px;
}

.support-hero p {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 36px;
}

/* SEARCH */
.support-search {
  max-width: 700px;
  margin: 0 auto;
  background: #fff;
  border-radius: 500px;
  padding: 16px 22px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.support-search i {
  color: #555;
}

.support-search input {
  border: none;
  outline: none;
  flex: 1;
  font-size: 16px;
}

/* CATEGORIES */
.support-categories {
  max-width: 1300px;
  margin: 80px auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}

.support-card {
  background: #181818;
  border-radius: 16px;
  padding: 32px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.support-card:hover {
  background: #282828;
  transform: translateY(-6px);
}

.support-card i {
  font-size: 30px;
  color: var(--primary);
  margin-bottom: 18px;
}

.support-card h3 {
  font-size: 22px;
  margin-bottom: 10px;
}

.support-card p {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.5;
}

/* FAQ */
.support-faq {
  max-width: 900px;
  margin: 100px auto;
  padding: 0 24px;
}

.support-faq h2 {
  font-size: 34px;
  margin-bottom: 40px;
}

.faq-item {
  border-bottom: 1px solid #2a2a2a;
}

.faq-question {
  width: 100%;
  padding: 26px 0;
  background: none;
  border: none;
  color: white;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question i {
  transition: transform 0.3s;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.6;
  transition: max-height 0.4s ease;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding-bottom: 24px;
}

/* CONTACT */
.support-contact {
  max-width: 1000px;
  margin: 120px auto;
  padding: 60px 32px;
  background: #181818;
  border-radius: 20px;
  text-align: center;
}

.support-contact h2 {
  font-size: 32px;
  margin-bottom: 16px;
}

.support-contact p {
  color: var(--text-secondary);
  margin-bottom: 32px;
}

.support-contact button {
  background: var(--primary);
  color: #000;
  border: none;
  padding: 14px 44px;
  border-radius: 500px;
  font-weight: 700;
  cursor: pointer;
}

.support-contact button:hover {
  transform: scale(1.05);
}

/* RESPONSIVE */
@media (max-width: 600px) {
  .support-hero h1 {
    font-size: 40px;
  }
}
