/* Общие стили */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: linear-gradient(135deg, #0f172a 0%, #1f2937 100%);
  min-height: 100vh;
  color: #0d1224;
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Стили для bahis_google.html */
header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.h1 {
  text-align: center;
}

.h1 h1 {
  font-size: 32px;
  font-weight: 700;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0;
}

.contai {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.content {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  padding: 50px 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.content img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 20px 0;
  display: block;
  object-fit: cover;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

.content h2 {
  font-size: 28px;
  font-weight: 700;
  color: #0d1224;
  margin: 40px 0 20px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.content h3 {
  font-size: 24px;
  font-weight: 700;
  color: #0d1224;
  margin: 30px 0 15px;
}

.content p {
  font-size: 18px;
  color: #1f2a44;
  margin-bottom: 20px;
  line-height: 1.8;
}

.content ul, .content ol {
  margin: 20px 0 30px 30px;
}

.content ul li, .content ol li {
  font-size: 18px;
  color: #1f2a44;
  margin-bottom: 12px;
  line-height: 1.6;
}

.content table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  background: rgba(255, 255, 255, 0.98);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.content table th {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  padding: 15px;
  text-align: left;
  font-weight: 700;
  font-size: 16px;
}

.content table td {
  padding: 12px 15px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  font-size: 16px;
  color: #1f2a44;
}

.content table tr:last-child td {
  border-bottom: none;
}

.content table tr:hover {
  background: rgba(102, 126, 234, 0.05);
}

.brand-table {
  margin: 20px 0;
}

footer {
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  text-align: center;
  padding: 30px 0;
  margin-top: 60px;
}

footer p {
  margin: 10px 0;
  font-size: 16px;
}

@media (max-width: 768px) {
  .h1 h1 {
    font-size: 24px;
  }
  
  .contai {
    padding: 20px 15px;
  }
  
  .content {
    padding: 30px 20px;
    border-radius: 15px;
  }
  
  .content h2 {
    font-size: 22px;
  }
  
  .content h3 {
    font-size: 20px;
  }
  
  .content p, .content ul li, .content ol li {
    font-size: 16px;
  }
  
  .content table {
    font-size: 14px;
  }
  
  .content table th, .content table td {
    padding: 10px;
    font-size: 14px;
  }
}

/* Header */
.header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
}

.logo {
  max-height: 60px;
  max-width: 200px;
  width: auto;
  height: auto;
  display: block;
  object-fit: contain;
}

.logo-text {
  font-size: 28px;
  font-weight: 700;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0;
}

/* Main content */
.main {
  padding: 40px 0;
}

/* Cards grid */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 25px;
  margin-bottom: 60px;
  padding: 0 10px;
}

/* Card styles */
.card {
  background: rgba(255, 255, 255, 0.98);
  border-radius: 20px;
  padding: 30px 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.card__img {
  width: 100%;
  margin-bottom: 20px;
}

.card__img .img {
  width: 100%;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(13, 18, 36, 0.06);
  border-radius: 12px;
  padding: 0;
  overflow: hidden;
}

.card__img .img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.3s ease;
}

.card:hover .card__img .img img {
  transform: scale(1.05);
}

.card__img .title {
  font-size: 24px;
  font-weight: 700;
  color: #0d1224;
  margin-top: 10px;
}

.card__bonus {
  font-size: 16px;
  color: #1a2341;
  margin: 15px 0 20px;
  padding: 12px;
  background: linear-gradient(135deg, #e8ecff 0%, #cdd7ff 100%);
  border: 1px solid rgba(13, 18, 36, 0.08);
  border-radius: 12px;
  font-weight: 600;
  line-height: 1.4;
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card__btn {
  width: 100%;
  margin-top: auto;
}

.card__btn a {
  display: block;
  width: 100%;
  padding: 15px 30px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  text-decoration: none;
  border-radius: 12px;
  font-weight: 700;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.card__btn a:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
}

/* Content section */
.content {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  padding: 50px 0;
  margin-top: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.content-text {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 30px;
}

.content-text h2 {
  font-size: 32px;
  font-weight: 700;
  color: #0d1224;
  margin: 40px 0 20px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.content-text h2:first-child {
  margin-top: 0;
}

.content-text p {
  font-size: 18px;
  color: #1f2a44;
  margin-bottom: 20px;
  line-height: 1.8;
}

.content-text ul {
  margin: 20px 0 30px 30px;
  list-style: none;
}

.content-text ul li {
  font-size: 18px;
  color: #1f2a44;
  margin-bottom: 12px;
  padding-left: 30px;
  position: relative;
  line-height: 1.6;
}

.content-text ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #667eea;
  font-weight: bold;
  font-size: 20px;
}

/* Footer */
.footer {
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  text-align: center;
  padding: 30px 0;
  margin-top: 60px;
}

.footer .container {
  font-size: 16px;
}

/* Мобильная адаптация */
@media (max-width: 768px) {
  .header .container {
    flex-wrap: wrap;
    justify-content: flex-start;
  }
  
  .logo {
    max-height: 50px;
    max-width: 150px;
  }
  
  .logo-text {
    font-size: 22px;
    text-align: left;
  }

  .main {
    padding: 20px 0;
  }

  .cards {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 15px;
  }

  .card {
    padding: 25px 15px;
  }

  .card__img .img {
    height: 120px;
  }

  .card__img .title {
    font-size: 20px;
  }

  .card__bonus {
    font-size: 14px;
    padding: 10px;
    min-height: 50px;
  }

  .card__btn a {
    padding: 12px 25px;
    font-size: 14px;
  }

  .content {
    padding: 30px 0;
    margin-top: 30px;
    border-radius: 15px;
  }

  .content-text {
    padding: 0 20px;
  }

  .content-text h2 {
    font-size: 24px;
    margin: 30px 0 15px;
  }

  .content-text p {
    font-size: 16px;
    margin-bottom: 15px;
  }

  .content-text ul {
    margin: 15px 0 20px 20px;
  }

  .content-text ul li {
    font-size: 16px;
    padding-left: 25px;
    margin-bottom: 10px;
  }

  .footer {
    padding: 20px 0;
    margin-top: 40px;
  }

  .footer .container {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

  .logo {
    max-height: 40px;
    max-width: 120px;
  }
  
  .logo-text {
    font-size: 18px;
  }

  .header {
    padding: 15px 0;
  }

  .cards {
    gap: 15px;
    padding: 0 10px;
  }

  .card {
    padding: 20px 15px;
    border-radius: 15px;
  }

  .card__img .img {
    height: 100px;
    margin-bottom: 10px;
  }

  .card__img .title {
    font-size: 18px;
  }

  .card__bonus {
    font-size: 13px;
    padding: 8px;
    min-height: 45px;
  }

  .content-text {
    padding: 0 15px;
  }

  .content-text h2 {
    font-size: 20px;
  }

  .content-text p {
    font-size: 15px;
  }

  .content-text ul li {
    font-size: 15px;
  }
}

/* Анимации */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.card {
  animation: fadeIn 0.5s ease-out;
}

.card:nth-child(1) { animation-delay: 0.1s; }
.card:nth-child(2) { animation-delay: 0.2s; }
.card:nth-child(3) { animation-delay: 0.3s; }
.card:nth-child(4) { animation-delay: 0.4s; }
.card:nth-child(5) { animation-delay: 0.5s; }
.card:nth-child(6) { animation-delay: 0.6s; }
.card:nth-child(7) { animation-delay: 0.7s; }
.card:nth-child(8) { animation-delay: 0.8s; }

/* FAQ Section Styles */
.faq-section {
  margin: 40px 0;
  padding: 30px;
  background: rgba(248, 249, 250, 0.8);
  border-radius: 15px;
  border-left: 4px solid #667eea;
}

.faq-section h3 {
  font-size: 22px;
  font-weight: 700;
  color: #0d1224;
  margin: 25px 0 15px;
  padding-bottom: 10px;
  border-bottom: 2px solid rgba(102, 126, 234, 0.2);
}

.faq-section h3:first-child {
  margin-top: 0;
}

.faq-section p {
  font-size: 17px;
  color: #1f2a44;
  margin-bottom: 20px;
  line-height: 1.8;
  padding-left: 10px;
}

@media (max-width: 768px) {
  .faq-section {
    padding: 20px;
    margin: 30px 0;
  }
  
  .faq-section h3 {
    font-size: 20px;
  }
  
  .faq-section p {
    font-size: 16px;
  }
}