body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background-color: #1b1b1b;
  color: #fff;
}

a {
  text-decoration: none;
}

.main-header {
  background-color: #2c0000;
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 999;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

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

.logo {
  font-size: 1.5rem;
  color: #ff3c3c;
  font-weight: bold;
}

.logo a {
  color: white;
}

.nav ul {
  list-style: none;
  display: flex;
  gap: 25px;
  margin: 0;
  padding: 0;
}

.nav a {
  color: #ffffffcc;
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.3s;
}

.nav a:hover {
  color: #ff3c3c;
}

/* Бургер-іконка */
.menu-icon {
  display: none;
  font-size: 2rem;
  color: #fff;
  cursor: pointer;
}

/* Приховуємо чекбокс */
#menu-toggle {
  display: none;
}

/* Адаптація */
@media (max-width: 768px) {
  .nav {
    width: 100%;
  }

  .nav ul {
    flex-direction: column;
    background-color: #2c0000;
    width: 100%;
    display: none;
    padding: 20px 0;
    text-align: center;
  }

  #menu-toggle:checked+.menu-icon+.nav ul {
    display: flex;
  }

  .menu-icon {
    display: block;
  }
}


.hero {
  background-color: #2c0000;
  padding: 60px 20px 30px;
  text-align: center;
}

.hero-content h1 {
  font-size: 2.4rem;
  color: #ffffff;
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 1.1rem;
  color: #ffffffcc;
  margin: 10px auto;
  max-width: 700px;
}

.hero-content .highlight {
  color: #ff4d4d;
  font-weight: bold;
  margin-top: 20px;
}

.hero-image {
  margin-top: 30px;
}

.hero-image img {
  max-width: 100%;
  height: auto;
  max-height: 250px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(255, 76, 76, 0.3);
}

.about-section {
  background-color: #1a0a0a;
  color: #f1f1f1;
  padding: 80px 20px;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 2.5rem;
  color: #ff3c3c;
  margin-bottom: 10px;
}

.section-header .subtitle {
  font-size: 1.1rem;
  color: #cccccc;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
}

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

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

.about-text {
  flex: 1 1 50%;
  font-size: 1rem;
  line-height: 1.7;
}

.about-text h3 {
  font-size: 1.5rem;
  color: #ff4d4d;
  margin-bottom: 15px;
}

.about-text p {
  margin-bottom: 15px;
  color: #e0e0e0;
}

.about-image {
  flex: 1 1 45%;
  position: relative;
}

.about-image img {
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 0 20px rgba(255, 60, 60, 0.4);
  transition: transform 0.3s ease;
}

.about-image img:hover {
  transform: scale(1.02);
}

/* Mobile responsive */
@media (max-width: 768px) {

  .about-block,
  .about-block.reverse {
    flex-direction: column;
  }

  .about-text,
  .about-image {
    flex: 1 1 100%;
  }

  .about-image {
    margin-top: 25px;
  }
}

.section-header.centered {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 60px auto;
}

.section-header.centered h2 {
  font-size: 2.5rem;
  color: #ff3c3c;
  margin-bottom: 10px;
}

.section-header.centered .subtitle {
  font-size: 1.1rem;
  color: #cccccc;
  line-height: 1.6;
}

.features-section {
  background-color: #2c0000;
  padding: 80px 20px;
  color: #fff;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 40px;
}

@media (max-width: 992px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
}


.feature-item {
  background-color: #1a0a0a;
  border: 1px solid #3a0a0a;
  padding: 25px;
  border-radius: 12px;
  transition: transform 0.3s ease;
  box-shadow: 0 0 12px rgba(255, 76, 76, 0.1);
}

.feature-item:hover {
  transform: translateY(-5px);
}

.feature-icon {
  font-size: 2.2rem;
  margin-bottom: 15px;
  color: #ff4d4d;
}

.feature-item h4 {
  font-size: 1.2rem;
  color: #ff9999;
  margin-bottom: 10px;
}

.feature-item p {
  font-size: 1rem;
  color: #dddddd;
  line-height: 1.6;
}

.why-section {
  background-color: #1a0a0a;
  padding: 80px 20px;
  color: #f5f5f5;
}

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

.why-text {
  flex: 1 1 55%;
  font-size: 1.05rem;
  line-height: 1.7;
}

.why-text h2 {
  color: #ff3c3c;
  font-size: 2.3rem;
  margin-bottom: 25px;
}

.why-text p {
  color: #dddddd;
  margin-bottom: 18px;
}

.why-text strong {
  color: #ff6666;
}

.why-image {
  flex: 1 1 40%;
}

.why-image img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 0 12px rgba(255, 76, 76, 0.2);
  object-fit: cover;
}

/* Мобільна адаптація */
@media (max-width: 768px) {
  .why-content {
    flex-direction: column;
  }

  .why-image {
    margin-top: 30px;
  }
}

.bookmakers-section {
  background-color: #2c0000;
  padding: 80px 20px;
  color: #fff;
}

.bookmakers-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  margin-top: 40px;
}

.bookmaker-card {
  background-color: #1a0a0a;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 0 12px rgba(255, 76, 76, 0.1);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.bookmaker-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.bookmaker-card h4 {
  font-size: 1.3rem;
  color: #ff6666;
  margin-bottom: 12px;
}

.bookmaker-card .icon {
  margin-right: 6px;
}

.bookmaker-card p {
  font-size: 1rem;
  color: #dddddd;
  line-height: 1.6;
  margin-bottom: 20px;
}

.bookmaker-btn {
  display: inline-block;
  padding: 10px 20px;
  background-color: #ff3c3c;
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  transition: background-color 0.3s ease;
}

.bookmaker-btn:hover {
  background-color: #ff1f1f;
}

/* Mobile adaptation */
@media (max-width: 768px) {
  .bookmakers-grid {
    grid-template-columns: 1fr;
  }

  .bookmaker-card img {
    height: auto;
  }
}

.testimonials-section {
  background-color: #1b0a0a;
  padding: 80px 20px;
  color: #fff;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.testimonial-card {
  background-color: #2c0000;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 0 10px rgba(255, 60, 60, 0.1);
  transition: transform 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-4px);
}

.testimonial-text {
  font-style: italic;
  font-size: 1rem;
  color: #e6e6e6;
  margin-bottom: 15px;
  line-height: 1.6;
}

.testimonial-author {
  text-align: right;
  font-weight: bold;
  color: #ff6666;
}

/* Responsive */
@media (max-width: 768px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}

.contact-section {
  background-color: #2c0000;
  padding: 80px 20px;
  color: #fff;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.contact-info h2 {
  font-size: 2rem;
  color: #ff3c3c;
  margin-bottom: 10px;
}

.contact-info .subtitle {
  font-size: 1rem;
  margin-bottom: 25px;
  color: #dddddd;
}

.contact-details {
  list-style: none;
  padding: 0;
  font-size: 1rem;
  color: #dddddd;
  line-height: 1.8;
}

.contact-details a {
  color: #ff7777;
  text-decoration: none;
}

.contact-details a:hover {
  text-decoration: underline;
}

/* Форма */
.contact-form form {
  background-color: #1a0a0a;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(255, 60, 60, 0.1);
}

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

.form-group label {
  display: block;
  margin-bottom: 6px;
  color: #ff9999;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 10px;
  background-color: #2c0f0f;
  border: 1px solid #444;
  border-radius: 6px;
  color: #fff;
  font-size: 1rem;
}

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

.btn-submit {
  background-color: #ff3c3c;
  color: #fff;
  padding: 12px 20px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.btn-submit:hover {
  background-color: #e62a2a;
}

/* Responsive */
@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-form form {
    padding: 20px;
  }
}

.important-message {
  background-color: #1a0a0a;
  padding: 60px 20px;
}

.message-box {
  border: 2px solid #ff3c3c;
  border-radius: 12px;
  padding: 30px;
  background-color: #2c0000;
  color: #f0f0f0;
  box-shadow: 0 0 10px rgba(255, 60, 60, 0.15);
}

.message-box h3 {
  font-size: 1.6rem;
  color: #ff6666;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.message-box .icon {
  font-size: 1.8rem;
}

.message-box p {
  font-size: 1rem;
  color: #dddddd;
  line-height: 1.6;
  margin-bottom: 15px;
}

.message-box .last-line {
  margin-top: 25px;
  color: #ffbbbb;
  font-weight: bold;
}

/* Responsive */
@media (max-width: 768px) {
  .message-box {
    padding: 20px;
  }
}

.footer-section {
  background-color: #1a0a0a;
  padding: 40px 20px 20px;
  color: #ddd;
  font-size: 0.95rem;
}

.footer-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 30px;
}

.footer-logos a {
  text-decoration: none;
}

.img-container {
  background-color: #fff;
  border-radius: 12px;
  padding: 10px;
  width: 180px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}

.img-container:hover {
  transform: scale(1.03);
}

.img-container img {
  max-height: 60px;
  max-width: 100%;
  object-fit: contain;
}

.footer-links {
  text-align: center;
}

.footer-links a {
  color: #ff6666;
  text-decoration: none;
  margin: 0 5px;
}

.footer-links a:hover {
  text-decoration: underline;
}