/* --- Hero Section Background Image and Overlay --- */
.hero-bg-image {
  position: relative;
  background: url("images/bg.jpg") center center/cover no-repeat;
  min-height: 500px;
  width: 100%;
  z-index: 1;
}
.hero-bg-image::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(30, 58, 138, 0.6); /* navy с затемнением */
  z-index: 2;
}
.hero-bg-image > .hero-content {
  position: relative;
  z-index: 3;
}
:root {
  --primary-navy: #1e3a8a;
  --bronze: #cd7f32;
  --light-bronze: #daa520;
  --dark-navy: #1e40af;
}

body {
  font-family: "Georgia", serif;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.hero-bg {
  background: linear-gradient(
    135deg,
    var(--primary-navy) 0%,
    var(--dark-navy) 100%
  );
}

.bronze-gradient {
  background: linear-gradient(
    135deg,
    var(--bronze) 0%,
    var(--light-bronze) 100%
  );
}

.gem-shadow {
  box-shadow: 0 10px 25px rgba(205, 127, 50, 0.3);
}

.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
}

.modal-content {
  background-color: white;
  margin: 5% auto;
  padding: 20px;
  border-radius: 15px;
  width: 90%;
  max-width: 600px;
  position: relative;
}

.cookie-banner {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--primary-navy);
  color: white;
  padding: 20px;
  z-index: 999;
}

.age-modal {
  display: block;
  position: fixed;
  z-index: 1001;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
}

.btn-primary {
  background: var(--bronze);
  color: white;
  padding: 12px 30px;
  border-radius: 25px;
  font-weight: bold;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background: var(--light-bronze);
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: var(--primary-navy);
  /* color: var(--primary-navy); */
  border: 2px solid var(--primary-navy);
  padding: 10px 25px;
  border-radius: 25px;
  font-weight: bold;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-secondary:hover {
  background: var(--primary-navy);
  color: white;
}

.leaderboard-item {
  background: linear-gradient(
    90deg,
    rgba(205, 127, 50, 0.1) 0%,
    rgba(255, 255, 255, 0.8) 100%
  );
  border-left: 4px solid var(--bronze);
}

.testimonial-card {
  background: white;
  border-radius: 15px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
}

.faq-item {
  border-bottom: 1px solid #e2e8f0;
  padding: 20px 0;
}

.faq-question {
  cursor: pointer;
  font-weight: bold;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-answer {
  display: none;
  padding-top: 15px;
  color: #64748b;
  line-height: 1.6;
}

.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.close:hover {
  color: black;
}

@media (max-width: 768px) {
  .modal-content {
    width: 95%;
    margin: 10% auto;
  }
}
