/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f5f5f5;
}

.main {
  min-height: 100vh;
}

.main-index {
  position: relative;
}

.main-index::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("../images/bg12.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
  pointer-events: none;
}

/* Альтернативный вариант - фон на самом main */
.main-index {
  background-image: url("../images/bg12.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

/* Дополнительное затемнение через overlay */
.main-index::after {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.3);
  z-index: 0;
  pointer-events: none;
}

.main-index > * {
  position: relative;
  z-index: 1;
}

.main-index .footer {
  z-index: 10;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.header {
  background-color: #fff;
  border-bottom: 1px solid #e0e0e0;
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo {
  display: inline-block;
}

.logo-img {
  height: 50px;
  width: auto;
  display: block;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  padding: 60px 0;
  text-align: center;
}

.hero-title {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 15px;
  line-height: 1.2;
}

.hero-title strong {
  font-weight: 800;
}

.hero-subtitle {
  font-size: 18px;
  margin-bottom: 30px;
  opacity: 0.95;
}

.hero-features {
  list-style: none;
  margin: 30px 0;
  text-align: left;
  display: inline-block;
}

.hero-features li {
  padding: 10px 0;
  padding-left: 25px;
  position: relative;
}

.hero-features li:before {
  content: "✓";
  position: absolute;
  left: 0;
  font-weight: bold;
  color: #4ade80;
}

.hero-badges {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin: 30px 0;
  flex-wrap: wrap;
}

.badge {
  background-color: rgba(255, 255, 255, 0.2);
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  backdrop-filter: blur(10px);
}

.hero-disclaimer {
  margin-top: 30px;
  font-size: 14px;
  opacity: 0.9;
}

/* Betting Sites Section */
.betting-sites {
  padding: 60px 0;
  background-color: #f5f5f5;
  background-image: radial-gradient(
      circle at 20% 50%,
      rgba(102, 126, 234, 0.05) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 80%,
      rgba(118, 75, 162, 0.05) 0%,
      transparent 50%
    );
}

.main-index .betting-sites {
  background-color: transparent;
  background-image: none;
}

.main-index .hero {
  background: linear-gradient(
    135deg,
    rgba(102, 126, 234, 0.1) 0%,
    rgba(118, 75, 162, 0.1) 100%
  );
}

.main-index .info-section {
  background-color: transparent;
}

.main-index .about-section {
  background-color: transparent;
}

.section-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 40px;
  text-align: center;
  color: #ffffff;
}

.sites-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

.site-card {
  background-color: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  margin-bottom: 30px;
  width: 100%;
  box-sizing: border-box;
}

.site-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.site-card.featured {
  border: 2px solid #667eea;
}

.card-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background-color: #667eea;
  color: #fff;
  padding: 6px 15px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  z-index: 10;
}

.card-main {
  display: flex;
  align-items: stretch;
  background: linear-gradient(135deg, #4a5568 0%, #2d3748 100%);
  border-radius: 12px 12px 0 0;
  min-height: 180px;
  position: relative;
  padding: 0;
  width: 100%;
  margin: 0;
  box-sizing: border-box;
  flex: 1 1 100%;
  justify-content: stretch;
}

.card-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 25px 20px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  flex: 1 1 auto;
}

.card-section:last-child {
  border-right: none;
}

.card-logo {
  flex: 0 0 200px;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-logo a {
  display: block;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-logo {
  max-width: 100%;
  max-height: 80px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.logo-placeholder {
  background: linear-gradient(135deg, #dc2626 0%, #2563eb 100%);
  color: #fff;
  padding: 25px 20px;
  border-radius: 8px;
  text-align: center;
  font-weight: 700;
  font-size: 24px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.card-score {
  flex: 0 0 120px;
  background-color: #fff;
  text-align: center;
}

.score-label {
  font-size: 12px;
  color: #666;
  margin-bottom: 8px;
  font-weight: 500;
}

.score-value {
  font-size: 42px;
  font-weight: 700;
  color: #2563eb;
  line-height: 1;
}

.card-rating {
  flex: 1 1 180px;
  background-color: #fff;
  text-align: center;
}

.star-rating {
  margin-bottom: 10px;
}

.star {
  font-size: 20px;
  color: #d1d5db;
  margin: 0 2px;
}

.star.filled {
  color: #fbbf24;
}

.star.half {
  background: linear-gradient(90deg, #fbbf24 50%, #d1d5db 50%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.rating-info {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-bottom: 8px;
  font-size: 12px;
  color: #666;
}

.info-icon {
  font-size: 14px;
  color: #666;
}

.views-count {
  color: #666;
}

.quick-view {
  color: #2563eb;
  text-decoration: underline;
  font-size: 13px;
  font-weight: 500;
  transition: color 0.2s ease;
}

.quick-view:hover {
  color: #1d4ed8;
}

.card-bonus {
  flex: 1 1 200px;
  background-color: #fff;
  text-align: center;
}

.bonus-label {
  font-size: 12px;
  color: #666;
  margin-bottom: 10px;
  font-weight: 500;
}

.bonus-text {
  font-size: 18px;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.4;
}

.card-button {
  flex: 0 0 auto;
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 25px 20px;
}

.btn-bonus {
  display: inline-block;
  background: linear-gradient(135deg, #f97316 0%, #fbbf24 100%);
  color: #fff;
  padding: 18px 40px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 12px rgba(249, 115, 22, 0.3);
  text-align: center;
  white-space: nowrap;
  border: none;
  cursor: pointer;
}

.btn-bonus:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(249, 115, 22, 0.4);
}

.card-disclaimer {
  background-color: #374151;
  color: #fff;
  padding: 18px 25px;
  font-size: 11px;
  line-height: 1.6;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.card-details {
  padding: 30px;
  background-color: #fff;
}

.site-highlights {
  margin: 25px 0;
}

.site-highlights h4 {
  font-size: 16px;
  margin-bottom: 12px;
  color: #1a1a1a;
}

.site-highlights ul {
  list-style: none;
  padding-left: 0;
}

.site-highlights li {
  padding: 8px 0;
  padding-left: 25px;
  position: relative;
  color: #555;
}

.site-highlights li:before {
  content: "•";
  position: absolute;
  left: 0;
  color: #667eea;
  font-weight: bold;
  font-size: 20px;
}

.expert-review {
  margin-top: 25px;
  padding-top: 25px;
  border-top: 1px solid #e0e0e0;
}

.expert-review h4 {
  font-size: 16px;
  margin-bottom: 12px;
  color: #1a1a1a;
}

.expert-review p {
  color: #555;
  line-height: 1.7;
  font-size: 14px;
}

/* Responsive for cards */
@media (max-width: 1200px) {
  .card-main {
    flex-wrap: wrap;
  }

  .card-section {
    flex: 1 1 50%;
    min-width: 150px;
  }

  .card-button {
    flex: 1 1 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }
}

@media (max-width: 768px) {
  .card-main {
    flex-direction: column;
  }

  .card-section {
    flex: 1 1 100%;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .card-logo,
  .card-score,
  .card-rating,
  .card-bonus {
    min-width: 100%;
  }

  .card-button {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .btn-bonus {
    max-width: 100%;
  }
}

/* Info Section */
.info-section {
  padding: 60px 0;
  background-color: #f8f9fa;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.info-card {
  background-color: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  text-align: center;
}

.info-card h3 {
  font-size: 20px;
  margin-bottom: 15px;
  color: #1a1a1a;
}

.info-card p {
  color: #555;
  line-height: 1.7;
}

/* About Section */
.about-section {
  padding: 60px 0;
  background-color: #fff;
}

.about-content {
  max-width: 800px;
  margin: 0 auto;
}

.about-content p {
  margin-bottom: 20px;
  color: #ffffff;
  line-height: 1.8;
  font-size: 16px;
}

/* Footer */
.footer {
  background-color: #1a1a1a;
  color: #ccc;
  padding: 50px 0 30px;
  position: relative;
  z-index: 10;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-section h3 {
  color: #fff;
  font-size: 18px;
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.2s ease;
  font-size: 14px;
}

.footer-links a:hover {
  color: #667eea;
}

.footer-bottom {
  border-top: 1px solid #333;
  padding-top: 30px;
  margin-top: 30px;
}

.footer-disclaimer {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 20px;
}

.footer-text {
  font-size: 12px;
  color: #999;
  line-height: 1.7;
  margin-bottom: 15px;
}

.footer-copyright {
  font-size: 12px;
  color: #999;
  margin-top: 20px;
}

/* Page Styles */
.page-content {
  padding: 60px 0;
  background-color: #fff;
  min-height: 60vh;
}

.page-title {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 30px;
  color: #1a1a1a;
}

.page-content h2 {
  font-size: 24px;
  margin-top: 30px;
  margin-bottom: 15px;
  color: #1a1a1a;
}

.page-content h3 {
  font-size: 20px;
  margin-top: 25px;
  margin-bottom: 12px;
  color: #1a1a1a;
}

.page-content p {
  margin-bottom: 15px;
  color: #555;
  line-height: 1.8;
}

.page-content ul,
.page-content ol {
  margin: 20px 0;
  padding-left: 30px;
}

.page-content li {
  margin-bottom: 10px;
  color: #555;
  line-height: 1.7;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-title {
    font-size: 28px;
  }

  .hero-subtitle {
    font-size: 16px;
  }

  .site-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-rating {
    text-align: left;
  }

  .sites-grid {
    grid-template-columns: 1fr;
  }

  .info-grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }
}
