/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", sans-serif;
  background: #f0f4f8; /* светлый голубой фон */
  color: #1a1f36; /* темно-синий графит */
  line-height: 1.6;
}

/* Container */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: linear-gradient(135deg, #1e3a8a, #3b82f6);
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  transition: background 0.3s, box-shadow 0.3s;
}



/* Logo */
.logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.logo-img {
  width: 50px;
  height: auto;
  filter: drop-shadow(0 0 5px rgba(255,255,255,0.6));
}
.logo-text {
  font-size: 26px;
  font-weight: 800;
  color: #fff;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.3);
}
.logo-text span {
  color: #ffd700;
}

/* Navigation */
.nav {
  display: flex;
}
.nav-list {
  display: flex;
  gap: 30px;
  list-style: none;
}
.nav-link {
  text-decoration: none;
  color: #fff;
  font-weight: 600;
  font-size: 16px;
  position: relative;
  transition: all 0.3s;
}
.nav-link::after {
  content: '';
  position: absolute;
  width: 0%;
  height: 2px;
  background: #ffd700;
  bottom: -5px;
  left: 0;
  transition: 0.3s;
}
.nav-link:hover::after {
  width: 100%;
}
.nav-link:hover {
  color: #ffd700;
}
/* Burger menu */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}
.burger span {
  width: 28px;
  height: 3px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s;
}
.burger.active span:nth-child(1) {
  transform: rotate(45deg) translateY(8px);
}
.burger.active span:nth-child(2) {
  opacity: 0;
}
.burger.active span:nth-child(3) {
  transform: rotate(-45deg) translateY(-8px);
}
/* Hero */
.hero {
  position: relative;
  padding: 12% 20px;
  background: linear-gradient(135deg, rgba(30,58,138,0.8), rgba(59,130,246,0.8)), url('../img/casino-bg.jpg') center/cover no-repeat;
  color: #fff;
  text-align: center;
  overflow: hidden;
}

.hero-wrapper {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
a {
  text-decoration: none;
}
/* Заголовок */
.hero-title {
  font-size: 44px;
  font-weight: 900;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #fff;
  text-shadow: 0 0 20px rgba(255,255,255,0.3);
}
.hero-title span {
  color: #ffd700;
  text-shadow: 0 0 15px #ffd700, 0 0 30px #ffcc00;
}

/* Подзаголовок */
.hero-subtitle {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 35px;
  color: #e0e7ff;
}

/* Кнопки */
.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}
.btn-primary {
  background: #ffd700;
  color: #1e3a8a;
  font-weight: 700;
  padding: 12px 28px;
  border-radius: 30px;
  text-decoration: none;
  transition: all 0.3s;
}
.btn-primary:hover {
  background: #ffcc00;
  transform: translateY(-3px);
}
.btn-outline {
  background: transparent;
  border: 2px solid #ffd700;
  color: #ffd700;
  padding: 12px 28px;
  border-radius: 30px;
  font-weight: 700;
  transition: all 0.3s;
}
.btn-outline:hover {
  background: #ffd700;
  color: #1e3a8a;
  transform: translateY(-3px);
}

/* Декоративные spark-эффекты */
.hero-decor span.spark {
  position: absolute;
  display: block;
  border-radius: 50%;
  background: radial-gradient(circle, #ffd700 0%, rgba(255,255,255,0) 70%);
  width: 8px;
  height: 8px;
  animation: sparkAnim 4s infinite ease-in-out;
  opacity: 0.6;
}
.spark1 { top: 20%; left: 15%; animation-delay: 0s; }
.spark2 { top: 40%; right: 20%; animation-delay: 1s; }
.spark3 { bottom: 25%; left: 35%; animation-delay: 2s; }

@keyframes sparkAnim {
  0%, 100% { transform: scale(1) translateY(0); opacity: 0.6; }
  50% { transform: scale(1.8) translateY(-15px); opacity: 0.3; }
}

/* Offers */
.offers {
  padding: 60px 20px;
  background: linear-gradient(180deg, #1e3a8a 0%, #3b82f6 100%);
  color: #f0f4ff;
}

.offers h2 {
  text-align: center;
  font-size: 32px;
  margin-bottom: 50px;
  color: #ffd700;
}

.offer-item {
  background: rgba(255,255,255,0.05);
  border-radius: 16px;
  padding: 25px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin: 0 auto;
  max-width: 900px;
  transition: transform 0.3s, box-shadow 0.3s;
}
.offer-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.3);
}

.offer-logo img {
  width: 100px;
  height: auto;
  border-radius: 8px;
}

.offer-bonus {
  text-align: center;
}
.bonus-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 6px;
  color: #ffd700;
}


.offer-payments {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.offer-payments img {
  width: 50px;
  height: auto;
  opacity: 0.9;
  transition: 0.3s;
}
.offer-payments img:hover {
  opacity: 1;
}

.offer-rating {
  text-align: center;
}
.stars {
  color: #ffd700;
  font-size: 20px;
  margin-bottom: 5px;
}
.offer-rating p {
  font-size: 14px;
  color: #f0f4ff;
}

.offer-action .btn {
  background: #ffd700;
  color: #1e3a8a;
  padding: 12px 25px;
  border-radius: 25px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s;
}
.offer-action .btn:hover {
  background: #ffcc00;
  transform: translateY(-3px);
}

/* About */
.about {
  padding: 60px 0;
}

.about-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 60px;
  gap: 40px;
}

.about-row.reverse {
  flex-direction: row-reverse;
}

.about-text {
  flex: 1;
}

.about-text h2 {
  font-size: 28px;
  margin-bottom: 20px;
  color: #1e3a8a;
}

.about-text p {
  font-size: 18px;
  line-height: 1.6;
  color: #1a1f36;
}

.about-img {
  flex: 1;
  text-align: center;
}

.about-img img {
  max-width: 100%;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.1);
}

/* FAQ */
.faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
 
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.faq-question {
  display: block;
  width: 100%;
  text-align: left;
  background: #f8f8f8;
  border: none;
  padding: 15px 20px;
  font-weight: 600;
   font-size: 15px;
  cursor: pointer;
  position: relative;
  transition: background 0.3s;
  border-bottom: 1px solid #e0e0e0;
  border-radius: 8px;
}

.faq-question:hover {
  background: #f1f1f1;
}
.faq h2 {
  margin-bottom: 20px;
}
.faq-question::after {
  content: '+';
  position: absolute;
  right: 20px;
  font-size: 18px;
  transition: transform 0.3s;
}

.faq-question.active::after {
  content: '−';
}
section#faq {
  padding: 5% 0;
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease, padding 0.3s ease;
  background: #fff;
  padding: 0 20px;
}

.faq-answer p {
  padding: 15px 0;
  margin: 0;
}


/* Parallax Section */
.responsible {
  background: linear-gradient(135deg, #fff7e6, #fff);
  color: #333;
  padding: 80px 20px;
  border-radius: 20px;
  margin: 60px 0;
  box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.responsible-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  flex-wrap: wrap;
}

.responsible-text {
  flex: 1;
  min-width: 250px;
}

.responsible-text h2 {
  font-size: 32px;
  margin-bottom: 20px;
  color: #d4af37;
}

.responsible-text p {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 25px;
}

.responsible-graphic {
  flex: 1;
  min-width: 200px;
  text-align: center;
}

.responsible-graphic svg {
  width: 100%;
  max-width: 200px;
  height: auto;
  animation: rotateCircle 10s linear infinite;
}

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

/* Contact Card */
.contacts {
  background: linear-gradient(135deg, #fff7f0, #fff);
  padding: 80px 20px;
  border-radius: 20px;
  margin: 60px 0;
  box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.contacts-content {
  max-width: 1200px;
  margin: 0 auto;
}

.contact-header {
  text-align: center;
  margin-bottom: 50px;
}

.contact-header h2 {
  font-size: 32px;
  color: #d4af37;
  margin-bottom: 15px;
}

.contact-header p {
  font-size: 18px;
  color: #333;
  line-height: 1.6;
}

.contact-card {
  display: flex;
  gap: 50px;
  flex-wrap: wrap;
  background: #fff;
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.contact-info {
  flex: 1;
  min-width: 250px;
}

.contact-info h3 {
  font-size: 24px;
  color: #d4af37;
  margin-bottom: 15px;
}

.contact-info ul {
  list-style: none;
  padding: 0;
  color: #333;
  font-size: 16px;
  line-height: 2;
}

.contact-form {
  flex: 1;
  min-width: 250px;
}

.contact-form h3 {
  font-size: 24px;
  color: #d4af37;
  margin-bottom: 15px;
}

.contact-form form .form-group {
  margin-bottom: 20px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 15px;
  border-radius: 12px;
  border: 1px solid #ddd;
  font-size: 16px;
  transition: 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #d4af37;
  outline: none;
}

.contact-form button.btn {
  background: #d4af37;
  color: #fff;
  padding: 12px 25px;
  border-radius: 30px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
}

.contact-form button.btn:hover {
  background: #b9962e;
}

/* Footer */
.footer {
  background: linear-gradient(135deg, #1e3a8a, #3b82f6);
  color: #f9f9f9;
  font-family: 'Inter', sans-serif;
  padding: 60px 20px 40px 20px;
}
.footer p {
  color: #fff;
}
.footer-top.container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
}

.footer-about,
.footer-links,
.footer-contact {
  flex: 1 1 250px;
  min-width: 220px;
}

.footer-about h4,
.footer-links h4,
.footer-contact h4 {
  font-size: 1.2rem;
  margin-bottom: 15px;
  color: #d4af37;
}

.footer-about p,
.footer-contact p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #e5e7eb;
  margin-bottom: 15px;
}

.footer-seals {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 15px;
}

.footer-seals img {
  height: 40px;
  transition: transform 0.3s;
}

.footer-seals img:hover {
  transform: scale(1.1);
}

.footer-links ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

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

.footer-links ul li a:hover {
  color: #d4af37;
}

.footer-contact p {
  margin-bottom: 8px;
}

/* Offer Items */
.offer-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border: 1px solid #cbd5e1;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 3px 10px rgba(26,31,54,0.08);
  margin-bottom: 20px;
  background: #fff;
}
.offer-logo img {
  max-width: 120px;
  height: auto;
}
.offer-bonus {
  flex: 1;
  text-align: center;
  color: #1a1f36;
}
.bonus-title {
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 8px;
}
.bonus-text {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
}
.offer-payments {
  flex: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.offer-payments img {
  width: 50px;
  height: auto;
  opacity: 0.9;
  transition: 0.3s;
}
.offer-payments img:hover {
  opacity: 1;
}
.offer-rating {
  text-align: center;
  flex: 0.5;
}
.stars {
  color: #3b82f6;
  font-size: 20px;
  margin-bottom: 5px;
}
.offer-rating p {
  font-size: 14px;
  color: #1a1f36;
}
.offer-action {
  flex: 0.7;
  text-align: center;
}
.offer-action .btn {
  background: #1e3a8a;
  color: #fff;
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s;
}
.offer-action .btn:hover {
  background: #2563eb;
}

/* Stats */
.stats {
  background: linear-gradient(135deg,#3b82f6,#60a5fa);
  color: #fff;
  padding: 100px 20px;
  text-align: center;
}

.stats h2 {
  font-size: 36px;
  margin-bottom: 15px;
  color: #fff;
}
.stats p {
  max-width: 700px;
  margin: 0 auto 60px;
  font-size: 18px;
  color: #e0f2fe;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(180px,1fr));
  gap: 40px;
  justify-items: center;
}

.stat-item {
  background: rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 25px;
  width: 100%;
  transition: transform 0.3s, background 0.3s;
}

.stat-item:hover {
  transform: translateY(-10px);
  background: rgba(255,255,255,0.2);
}

.stat-item .icon {
  font-size: 40px;
  margin-bottom: 15px;
}

.stat-item h3 {
  font-size: 28px;
  margin-bottom: 10px;
  font-weight: 700;
}

.stat-item p {
  font-size: 16px;
  margin-bottom: 20px;
}

.progress-bar {
  width: 100%;
  height: 12px;
  background: rgba(255,255,255,0.3);
  border-radius: 8px;
  overflow: hidden;
  position: relative;
}

.progress-bar::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: var(--progress);
  height: 100%;
  background: linear-gradient(90deg, #facc15, #fbbf24);
  border-radius: 8px;
  transition: width 1s ease;
}

.stat-item:hover .progress-bar::after {
  width: 100%;
}

/* Guide */
.guide {
  padding: 60px 20px;
  background-color: #f9f9f9;
  font-family: 'Inter', sans-serif;
  color: #1f2233;
}

.guide-title {
  font-size: 1.6rem;
  font-weight: 600;
  line-height: 1.5;
  max-width: 900px;
  margin: 0 auto 40px auto;
  color: #111827;
}

.guide-articles {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.guide-block {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 25px 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.guide-block:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.guide-block h4 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: #1e3a8a;
}

.guide-block p {
  font-size: 1rem;
  line-height: 1.6;
  color: #374151;
  margin: 0;
}

.guide-block.final {
  border-left: 4px solid #d4af37;
}
/* Footer seals */
.footer-seals img {
    width: 100%;
}
.footer-seals {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(60px, 1fr));
    gap: 14px;
    align-items: center;
    justify-items: center;
    margin-top: 2rem;
}
.nav-list li {
  padding: 4px;
}
.top-banner {
    background-color: #ffd700;
    color: #000;
    text-align: center;
    font-size: 14px;
    padding: 5px 0;
}
.age-popup {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.8);
  z-index: 99999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.age-popup.active {
  opacity: 1;
  pointer-events: auto;
}

.age-card {
  position: relative;
  background: #fff;
  padding: 30px 20px;
  max-width: 400px;
  width: 90%;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  transform: scale(0.8);
  transition: transform 0.3s ease;
}

.age-popup.active .age-card {
  transform: scale(1);
}

.age-close {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 22px;
  background: none;
  border: none;
  cursor: pointer;
}

.age-actions {
  margin-top: 20px;
}

.age-actions button {
  margin: 0 5px;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
}

.btn-primary {
  background-color: #d4af37;
  color: #000;
  border: none;
}

.btn-ghost {
  background-color: #f0f0f0;
  color: #333;
  border: 1px solid #ccc;
}
.age-warning {
  background: linear-gradient(180deg, #eaf2ff 0%, #d6e4ff 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 80px 20px;
  text-align: center;
}

.age-container {
  max-width: 800px;
  background: #ffffff;
  box-shadow: 0 4px 30px rgba(0, 60, 150, 0.1);
  border-radius: 16px;
  padding: 40px 30px;
  border: 1px solid rgba(0, 60, 150, 0.1);
}

.age-image img {
  width: 140px;
  height: auto;
  margin-bottom: 25px;
  filter: drop-shadow(0 0 10px rgba(0, 60, 150, 0.3));
}

.age-text h2 {
  color: #1e3a8a;
  font-size: 1.8rem;
  margin-bottom: 15px;
}

.age-text p {
  color: #334155;
  font-size: 1rem;
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto;
}

.age-text strong {
  color: #2563eb;
  font-weight: 700;
}
/* Responsive */
@media(max-width: 992px) {
   .guide-articles {
    gap: 30px;
  }

  .guide-block {
    padding: 30px 35px;
  }

  .guide-block h4 {
    font-size: 1.4rem;
  }

  .guide-title {
    font-size: 1.8rem;
  }
  .contact-card {
    flex-direction: column;
  }
  .contact-card > div {
    text-align: center;
  }
  .hero-title { font-size: 32px; }
  .hero-subtitle { font-size: 16px; }
  .hero-buttons { flex-direction: column; gap: 15px; }
  
  .header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
   .about-row, .about-row.reverse {
    flex-direction: column;
    text-align: center;
  }
  .offer-item {
    flex-direction: column;
    text-align: center;
  }
  .offer-payments {
    justify-content: center;
  }
}
@media(max-width: 768px) {
  .contact-card {
    flex-direction: column;
  }
  .nav {
    position: absolute;
    top: 70px;
    right: 0;
    background: #fff;
    width: 200px;
    transition: right 0.3s;
    padding: 20px;
    display: none;
    border-left: 2px solid #1e3a8a;
  }
  .nav ul {
    flex-direction: column;
    gap: 15px;
  }
  .nav a {
    color: #1a1f36;
  }
  .nav.active {
    right: 0;
    margin-top: 10px;
    display: block;
    border-bottom: 2px solid #1e3a8a;
  }
  .burger {
    display: flex;
  }
  .burger.active span:nth-child(1) {
    transform: rotate(45deg) translateY(11px);
  }
  .burger.active span:nth-child(2) {
    opacity: 0;
  }
  .burger.active span:nth-child(3) {
    transform: rotate(-45deg) translateY(-11px);
  }
}
