/*
Theme Name: DymNaDom Premium
Author: G Space
Version: 1.0
*/


body {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  background: #08080c;
  color: #fff;
  overflow-x: hidden; /* предотвращаем горизонтальный скролл */
}

/* Золотой текст */
.gold {
  background: linear-gradient(45deg, #f5b642, #ffdb8a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Хедер */
header {
  position: fixed;
  width: 100%;
  padding: 20px 6%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(15px);
  z-index: 999;
  transition: 0.4s;
}

header.scrolled {
  background: rgba(0, 0, 0, 0.9);
}

/* Меню */
nav a {
  margin-left: 25px;
  color: #fff;
  text-decoration: none;
  position: relative;
}

nav a:after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: #f5b642;
  transition: 0.3s;
}

nav a:hover:after {
  width: 100%;
}

/* Секции */
.section {
  padding: 20px 6%;
}

/* Кнопки */
.btn-gold {
  display: inline-block;
  padding: 15px 35px;
  border-radius: 50px;
  background: linear-gradient(45deg, #f5b642, #ffdb8a);
  color: #000;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 0 25px rgba(245, 182, 66, 0.6);
  transition: 0.3s;
}

.btn-gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 40px rgba(255, 219, 138, 1);
}

/* Карточки */
.card {
  background: rgba(20, 20, 30, 0.6);
  padding: 35px;
  border-radius: 25px;
  backdrop-filter: blur(10px);
  transition: 0.4s;
}

.card:hover {
  box-shadow: 0 0 40px rgba(245, 182, 66, 0.6);
  transform: translateY(-10px);
}

/* Прелоадер */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.loader {
  width: 60px;
  height: 60px;
  border: 4px solid #222;
  border-top: 4px solid #f5b642;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

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

body::before {
  content: "";
  position: fixed;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(245, 182, 66, 0.1), transparent 70%);
  z-index: -2;
}

/* ------------------- */
/* Адаптив для мобильных */
/* ------------------- */
@media screen and (max-width: 768px) {
  header {
    padding: 15px 5%;
    flex-direction: column;
    align-items: flex-start;
  }

  nav a {
    margin: 10px 0 0 0;
    font-size: 16px;
  }

  .section {
    padding: 15px 5%;
  }

  .btn-gold {
    padding: 12px 25px;
    font-size: 14px;
  }

  .card {
    padding: 20px;
    border-radius: 15px;
  }
}
/* LOCAL MONTSERRAT FIX */

@font-face {
  font-family: 'Montserrat';
  src: url('/wp-content/uploads/fonts/montserrat-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Montserrat';
  src: url('/wp-content/uploads/fonts/montserrat-600.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* Применяем шрифт ко всему сайту */
body, button, input, textarea {
  font-family: 'Montserrat', Arial, sans-serif !important;
}
.faq-container{
max-width:800px;
margin:auto;
}

.faq-title{
text-align:center;
margin-bottom:30px;
}

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

.faq-q{
width:100%;
background:none;
border:none;
padding:18px 0;
font-size:18px;
cursor:pointer;
display:flex;
justify-content:space-between;
align-items:center;
}

.faq-a{
display:none;
padding-bottom:15px;
color:#ccc;
}

.faq-item.active .faq-a{
display:block;
}