/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", sans-serif;
}
body {
  background-color: #2e3160;
  color: #f0f0f5;
  line-height: 1.6;
}
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Header */
.header {
  position: relative;
  background: #2e3160;
  z-index: 1000;
}
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}
.logo img {
  vertical-align: middle;
  margin-right: 10px;
}
.nav ul {
  display: flex;
  gap: 20px;
  list-style: none;
}
.nav ul li a {
  color: #f0f0f5;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}
.nav ul li a:hover {
  color: #e0e0e0;
}
.burger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}
.burger span {
  height: 3px;
  width: 25px;
  background: #f0f0f5;
  margin: 4px 0;
  border-radius: 2px;
}

/* Hero */
.hero {
  position: relative;
  padding: 120px 0;
  text-align: center;
  color: #fff;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: url('../img/hero-bg.jpg') center/cover no-repeat;
  filter: blur(6px);
  z-index: -1;
}


.hero::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.4);
  z-index: 0;
}
.hero-overlay {
  position:absolute;
  top:0; left:0;
  width:100%; height:100%;
  background:rgba(0,0,0,0.4);
  z-index:0;
}

.hero-inner > * {
  position:relative;
  z-index:1;
}

.hero-advantages {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  padding:20px;
  border-radius:12px;
}

.advantage-item {
  display:flex;
  align-items:center;
  gap:12px;
}

.advantage-icon {
  font-size:1.8rem;
  color:#ffd84d;
  flex-shrink:0;
}

.advantage-item p {
  margin:0;
  color:#fff;
  font-size:0.9rem;
  line-height:1.4;
}

/* Button */
.btn-primary {
  background:linear-gradient(135deg,#ffd84d,#12d1b1);
  color:#0a3a36;
  padding:12px 25px;
  border-radius:6px;
  font-weight:600;
  text-decoration:none;
  transition:0.3s;
}

.btn-primary:hover {
  opacity:0.85;
}

.hero-inner {
  position: relative;
  z-index: 1;
}
.hero h1 {
  color: #e0e0e0;
  font-size: 48px;
  margin-bottom: 20px;
}
.hero p {
  font-size: 18px;
}
.btn-primary {
  background: linear-gradient(135deg, #e0e0e0, #e0e0e0);
  color: #1f2233;
  font-weight: 600;
  padding: 12px 25px;
  border-radius: 6px;
  text-decoration: none;
  display: inline-block;
  transition: 0.3s;
}
.btn-primary:hover {
  opacity: 0.85;
}

/* Offers */
.offers {
  padding: 80px 0;
  background: linear-gradient(180deg, #3b3f72 0%, #5c5fa0 100%);
}
.offer {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 40px;
  background: #464a8c;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.25);
}
.offer__left {
  flex: 2;
  display: flex;
  gap: 20px;
}
.offer__right {
  flex: 1;
  background: #2e3160;
  padding: 20px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.offer__logo img {
  max-width: 100px;
  object-fit: contain;
  border-radius: 8px;
  background: #fff;
  padding: 6px;
  border: 1px solid rgba(0,0,0,0.1);
}
.offer__meta h3 {
  color: #e0e0e0;
  margin-bottom: 6px;
  font-size: 1.3rem;
}
.rating i {
  color: #e0e0e0;
  margin-right: 2px;
}
.rating span {
  margin-left: 6px;
  color: #f0f0f5;
  font-weight: bold;
}
.offer__payments h4,
.offer__bonus h4 {
  color: #e0e0e0;
  margin-bottom: 10px;
}
.offer__payments ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.offer__payments ul li {
  background: linear-gradient(90deg, rgba(18,209,177,.25), rgba(255,216,77,.25));
  border: 1px solid rgba(18,209,177,.35);
  padding: .42rem .76rem;
  border-radius: 999px;
  font-size: .86rem;
  color: #fff;
}

/* About */
.about {
  padding: 80px 0;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.about-parallax {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  filter: brightness(0.6);
  z-index: -1;
}

.about-inner {
  position: relative;
  z-index: 1;
  text-align: center;
}

.about h2 {
  font-size: 2.2rem;
  margin-bottom: 20px;
  color: #ffd84d;
}

.about p {
  font-size: 1rem;
  margin-bottom: 40px;
  color: #fff;
}

/* Advantages Grid */
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.advantage-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 20px;
  border-radius: 12px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.advantage-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

.advantage-icon {
  font-size: 2.5rem;
  color: #ffd84d;
}

.advantage-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.advantage-card p {
  font-size: 0.9rem;
  color: #fff;
}
a {
  color: #fff;
  text-decoration: none;
}

/* FAQ */
.faq-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #5a5fcf, #3b3f72);
  border-radius: 12px;
}

.faq-section h2 {
  color: #ffd84d;
  text-align: center;
  font-size: 2rem;
  margin-bottom: 40px;
  letter-spacing: 0.5px;
}

.faq-item {
  margin-bottom: 20px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

.faq-question {
  width: 100%;
  background: linear-gradient(90deg, #12d1b1, #ffd84d);
  color: #1f2233;
  padding: 18px 20px;
  text-align: left;
  border: none;
  border-radius: 0;
  cursor: pointer;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.3s, color 0.3s;
  font-size: 1rem;
}

.faq-question:hover {
  background: linear-gradient(90deg, #ffd84d, #12d1b1);
  color: #fff;
}

.faq-question span {
  font-size: 1.5rem;
  transition: transform 0.3s;
}

.faq-answer {
  display: none;
  background: #1f2233;
  color: #e0e0e0;
  padding: 20px;
  font-size: 0.95rem;
  line-height: 1.7;
  border-left: 4px solid #ffd84d;
  transition: all 0.4s ease;
}

.faq-answer p {
  margin: 0;
}

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

.faq-item.active .faq-question span {
  transform: rotate(45deg);
  color: #ffd84d;
}

/* Parallax Section */
.parallax-section {
  background: linear-gradient(180deg, rgba(59,63,114,.6), rgba(92,95,160,.6)), url('../img/parallax-bg.jpg') center/cover no-repeat fixed;
  padding: 100px 0;
  color: #f0f0f5;
}
.parallax-section .overlay {
  background: rgba(0,0,0,0.4);
  padding: 50px 0;
}
.guide {
  padding: 80px 0;
  background: #1f2233;
  color: #e0e0e0;
  font-size: 1rem;
  line-height: 1.7;
}

.guide h2 {
  color: #d9a951;
  margin-bottom: 15px;
  font-size: 1.5rem;
}

.guide h3 {
  color: #fff;
  font-weight: 500;
  line-height: 1.4;
}

.guide p {
  color: #ccc;
  margin-bottom: 15px;
}

.guide ul.two-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px 20px;
  margin-bottom: 15px;
  padding-left: 0;
  list-style: none;
}

.guide ul.two-cols li {
  background: linear-gradient(90deg, rgba(18,209,177,.16), rgba(255,216,77,.16));
  border: 1px solid rgba(6,68,63,.18);
  padding: 10px 14px;
  border-radius: 999px;
  color: #fff;
  font-size: .9rem;
}

.guide-block {
  background: #2a2c44;
  padding: 25px 30px;
  border-radius: 12px;
  margin-bottom: 30px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
  transition: transform 0.3s, box-shadow 0.3s;
}

.guide-block:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(0,0,0,0.25);
}

.guide-block.final {
  background: linear-gradient(135deg, #ffd84d, #12d1b1);
  color: #0a3a36;
}

.guide-block.final h2 {
  color: #0a3a36;
}

.guide-block.final p {
  color: #0a3a36;
}

.text-center {
  text-align: center;
}
/* Responsible Play */
.responsible {
  padding: 60px 0;
  background: #5c5fa0;
}
.responsible h2 {
  color: #e0e0e0;
  margin-bottom: 20px;
}
.responsible p,
.responsible ul li {
  color: #f0f0f5;
  font-size: .95rem;
}
.responsible ul {
  margin-top: 15px;
  list-style: disc inside;
}
.responsible {
  padding: 80px 0;
  background: #1f2233;
  color: #e0e0e0;
}

.responsible-title {
  color: #d9a951;
  text-align: center;
  margin-bottom: 20px;
  font-size: 2rem;
}

.responsible-lead {
  text-align: center;
  color: #ccc;
  font-size: 1rem;
  margin-bottom: 40px;
  line-height: 1.6;
}

.responsible-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.responsible-block {
  background: #2a2c44;
  padding: 25px 20px;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
  transition: transform 0.3s, box-shadow 0.3s;
}

.responsible-block:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(0,0,0,0.25);
}

.responsible-block h3 {
  color: #ffd84d;
  margin-bottom: 12px;
  font-size: 1.2rem;
}

.responsible-block p {
  color: #ccc;
  font-size: .95rem;
  margin-bottom: 12px;
  line-height: 1.6;
}

.responsible-block ul {
  list-style: none;
  padding-left: 0;
}

.responsible-block ul li {
  background: linear-gradient(90deg, rgba(18,209,177,.16), rgba(255,216,77,.16));
  border: 1px solid rgba(6,68,63,.18);
  padding: 10px 14px;
  color: #fff;
  margin-bottom: 8px;
  font-size: .9rem;
}

.responsible-block a {
  color: #12d1b1;
  text-decoration: underline;
  transition: 0.3s;
}

.responsible-block a:hover {
  color: #ffd84d;
}
/* Footer */
.site-footer {
  background: #1f2233;
  color: #e0e0e0;
  padding: 60px 0 30px 0;
  font-size: 0.9rem;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: bold;
  font-size: 1.2rem;
}

.footer-logo img {
  vertical-align: middle;
}

.footer-age {
  font-weight: 600;
  color: #d9a951;
}

.footer-links {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
}

.footer-column h4 {
  color: #d9a951;
  margin-bottom: 12px;
}

.footer-column ul {
  list-style: none;
  padding: 0;
}

.footer-column ul li {
  margin-bottom: 8px;
}

.footer-column ul li a {
  color: #e0e0e0;
  text-decoration: none;
  transition: 0.3s;
}

.footer-column ul li a:hover {
  color: #12d1b1;
}

.footer-logos {
  display: flex;
  gap: 10px;
  align-items: center;
}

.footer-logos li img {
  width: 50px;
  height: auto;
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  color: #aaa;
}
.nav {
  display: flex;
  gap: 20px;
}
.burger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  z-index: 1001;
  width: 30px;
  height: 25px;
  justify-content: space-between;
}
.burger span {
  height: 3px;
  width: 100%;
  background: #fff;
  border-radius: 2px;
  transition: all 0.4s ease;
}
.burger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.burger.active span:nth-child(2) {
  opacity: 0;
}
.burger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}
.nav.open {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 60px; /* ниже хедера */
  right: 20px;
  background: #2e3160;
  padding: 15px;
  border-radius: 8px;
  gap: 15px;
  z-index: 1000;
}
.footer-seals {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(60px,1fr));
  gap: 14px;
  align-items: center;
  justify-items: center;
  margin-top: 2rem;
}

.footer-seals figure {
  margin: 0;
  padding: 10px;
  background: rgba(255,255,255,0.06);
  border-radius: 12px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.footer-seals figure:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
  background: rgba(255,255,255,0.1);
}

.footer-seals img {
  height: 34px;
  width: auto;
  object-fit: contain;
}

.footer-note {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.9rem;
  color: #999;
}

.nav.open ul {
  flex-direction: column;
  gap: 15px;
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  background: #1f2233;
  color: #e0e0e0;
  padding: 0 20px; /* по горизонтали, вертикаль будет анимироваться */
  font-size: 0.95rem;
  line-height: 1.7;
  border-left: 4px solid #ffd84d;
}

.faq-item.active .faq-answer {
  padding: 15px 20px;
  max-height: 500px; /* достаточно большое значение, чтобы вместить текст */
}
/* Media Queries */
@media(max-width:992px) {
      .footer-seals {
        flex-direction: column;
        grid-template-columns: none;
    }
  .hero-inner {
    flex-direction:column;
  }
  .hero-advantages {
    margin-top:30px;
  }
}
@media (max-width: 768px) {
  
  .top-banner {
    font-size: 12px!important;
  }
  .responsible-info {
    grid-template-columns: 1fr;
  }
  .nav {display: none;}
  .burger {display: flex;}
  .offer {
    flex-direction: column;
  }
  .hero-text h1 {
    font-size:2rem;
  }
  .hero p {
    text-align: left;
  }
}
