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

body {
  font-family: 'Roboto', sans-serif;
  background-color: #f5f5f5;
  color: #333;
  line-height: 1.6;
}

header {
  position: relative;
  color: white;
  text-align: center;
  padding: 60px 20px;
  overflow: hidden;
}

header::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), rgb(27 13 13));
  z-index: 1;
}

main{
  background-image: url(../images/bg.webp);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.header-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo img {
  height: 90px;
  margin-right: 10px;
}

.logo span {
  font-size: 24px;
  font-weight: 700;
  color: #fff;
}

h1 {
  font-size: 36px;
  margin-bottom: 15px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.6);
}

.subtitle {
  font-size: 18px;
  max-width: 800px;
  margin: 0 auto 30px;
  opacity: 0.95;
}

.filters {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.filter-btn {
  background: rgba(255,255,255,0.2);
  border: 1px solid rgba(255,255,255,0.3);
  color: white;
  padding: 10px 20px;
  border-radius: 25px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s;
}

.filter-btn:hover {
  background: rgba(255,255,255,0.3);
  transform: translateY(-2px);
}

.update-info {
  font-size: 14px;
  opacity: 0.8;
}

.casino-list {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  display: grid;
  gap: 20px;
}

.casino-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s;

}

.casino-card:hover {
  transform: translateY(-5px);
}

.card-header {
  background: linear-gradient(135deg, #1a1a2e, #16213e);
  color: white;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.casino-logo {
  width: 80px;
  height: 80px;
  background: #333;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.casino-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.casino-info {
  flex: 1;
}

.casino-name {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 5px;
}

.bonus-text {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 8px;
}

.bonus-details {
  font-size: 14px;
  opacity: 0.9;
  margin-bottom: 10px;
}

.rating {
  gap: 8px;
  font-size: 20px;
  font-weight: 700;
}

.rating-score {
  color: #FFD700;
}

.min-deposit {
  font-size: 14px;
  opacity: 0.8;
}

.cta-button {
  background: linear-gradient(135deg, #FFD700, #FFA500);
  color: #1a1a2e;
  border: none;
  padding: 12px 24px;
  border-radius: 25px;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s;
  align-self: flex-start;
  margin-top: 10px;
}

.cta-button:hover {
  transform: scale(1.05);
  box-shadow: 0 5px 15px rgba(255,215,0,0.4);
}

.cta-button.red {
  background: linear-gradient(135deg, #ff4444, #cc0000);
  color: white;
}

.cta-button.red:hover {
  box-shadow: 0 5px 15px rgba(255,68,68,0.4);
}

.visit-link {
  font-size: 12px;
  color: #aaa;
  text-decoration: none;
  margin-top: 8px;
  display: block;
}

.visit-link:hover {
  color: #fff;
  text-decoration: underline;
}

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

.faq-title {
  text-align: center;
  font-size: 28px;
  margin-bottom: 30px;
  color: #1a1a2e;
}

.faq-dropdown {
  background: #1a1a2e;
  color: white;
  padding: 15px 20px;
  border-radius: 8px;
  cursor: pointer;
  margin-bottom: 10px;
  font-weight: 500;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-dropdown::after {
  content: '▼';
  font-size: 12px;
}

.guide-section {
  max-width: 1200px;
  margin: 0px auto;
  padding: 60px 20px;
}

.guide-title {
  text-align: center;
  font-size: 32px;
  margin-bottom: 40px;
  color: #1a1a2e;
}

.guide-cards {
  display: grid;
  gap: 20px;
}

.guide-card {
  background: #1a1a2e;
  color: white;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.1);
}

.guide-icon {
  width: 60px;
  height: 60px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 28px;
}

.guide-card h3 {
  font-size: 20px;
  margin-bottom: 15px;
}

.guide-card p {
  font-size: 15px;
  opacity: 0.9;
  line-height: 1.7;
}

footer {
  background: #0f0f1e;
  color: #aaa;
  padding: 50px 20px 30px;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.footer-logo img {
  height: 40px;
}

.footer-logo span {
  color: white;
  font-size: 20px;
  font-weight: 700;
}

.footer-text {
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-links a {
  color: #aaa;
  text-decoration: none;
  font-size: 14px;
}

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

.footer-badges {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.badge {
  height: 40px;
  filter: grayscale(100%) brightness(0) invert(1);
  opacity: 0.7;
}

.age-restriction {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #ff4444;
  font-weight: 500;
}

.copyright {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #333;
  font-size: 13px;
  color: #666;
}

@media (max-width: 768px) {
  h1 {
    font-size: 28px;
  }

  .card-header {
    flex-direction: column;
    text-align: center;
  }

  .casino-info {
    text-align: center;
  }

  .cta-button {
    align-self: center;
  }
}

.faq-accordion {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 10px;
  border-radius: 8px;
  overflow: hidden;
  background: #1a1a2e;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.faq-toggle {
  display: none;
}

.faq-trigger {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: #1a1a2e;
  color: white;
  cursor: pointer;
  transition: background 0.3s ease;
  user-select: none;
}

.faq-trigger h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
}

.faq-trigger svg {
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-left: 10px;
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  background: #16213e;
  color: #ddd;
  font-size: 15px;
  line-height: 1.6;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-toggle:checked ~ .faq-content {
  max-height: 200px;
  padding: 20px;
}

.faq-toggle:checked ~ .faq-trigger svg {
  transform: rotate(180deg);
}

.faq-toggle:checked ~ .faq-trigger {
  background: #0f1629;
}

/* Hover эффект */
.faq-trigger:hover {
  background: #0f1629;
}

.guide-icon img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  filter: brightness(0) invert(1); /* делает иконки белыми, если они цветные */
  transition: transform 0.3s ease;
}

.guide-card:hover .guide-icon img {
  transform: scale(1.1);
}


.casino-promo-card {
  position: relative;
  background: linear-gradient(135deg, #1a1a2e, #16213e);
  color: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  border: 3px solid #00d4ff;
  font-family: 'Roboto', sans-serif;

}

.badge-top {
  position: absolute;
  top: 12px;
  left: 12px;
  background: linear-gradient(135deg, #FFD700, #FFA500);
  color: #1a1a2e;
  font-weight: 700;
  font-size: 14px;
  padding: 6px 16px;
  border-radius: 20px;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(255,215,0,0.4);
}

.card-content {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
  padding: 25px;
  align-items: center;
}

.logo {
  text-align: center;
}

.casino-name {
  font-size: 48px;
  font-weight: 700;
  background: linear-gradient(135deg, #00ff88, #00cc66);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0;
  line-height: 1;
}

.bonus-info {
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.bonus-text {
  font-size: 20px;
  font-weight: 600;
  color: #e0e0e0;
}

.rating {
  margin-top: 8px;
}

.stars {
  color: #FFD700;
  font-size: 22px;
  letter-spacing: 2px;
}

.rating-score {
  font-size: 36px;
  font-weight: 700;
  color: white;
  margin: 5px 0;
}

.votes {
  font-size: 13px;
  color: #aaa;
}

.action-area {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.min-deposit {
  text-align: center;
  font-size: 14px;
  color: #ccc;
}

.min-deposit strong {
  font-size: 18px;
  color: white;
  display: block;
  margin-top: 2px;
}

.btn-bonus {
  background: linear-gradient(135deg, #FFD700, #FFA500);
  color: #1a1a2e;
  border: none;
  padding: 14px 28px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 18px;
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(255,215,0,0.4);
  transition: all 0.3s ease;
  width: 200px;
  display: block;
  text-align: center;
  text-decoration: none;
}

.btn-bonus:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(255,215,0,0.5);
}

.visit-link {
  color: #aaa;
  font-size: 13px;
  text-decoration: none;
  margin-top: 5px;
  text-align: center;
}

.visit-link:hover {
  color: #fff;
  text-decoration: underline;
}


.terms {
  grid-column: 1 / -1;
  text-align: center;
  font-size: 12px;
  color: #999;
  line-height: 1.5;
  padding: 15px 20px;
  background: rgba(0,0,0,0.2);
  border-top: 1px solid rgba(255,255,255,0.1);
}

.read-more {
  color: #FFD700;
  text-decoration: none;
  font-weight: 500;
}

.read-more:hover {
  text-decoration: underline;
}

@media (max-width: 992px) {
    .card-content {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
        padding: 20px;
    }

    .logo, .action-area {
        grid-column: 1 / -1;
        order: -1;
    }

    .casino-name {
        font-size: 38px;
    }

    .btn-bonus {
        width: 160px;
        font-size: 17px;
        padding: 12px 24px;
    }

    .rating-score {
        font-size: 32px;
    }
}

/* Мобильные (до 768px) */
@media (max-width: 768px) {
    .casino-promo-card {
        margin: 15px 10px;
        border-width: 2px;
    }

    .card-content {
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 18px;
        text-align: center;
    }

    .logo img {
        max-width: 100%;
      }

    .casino-name {
        font-size: 34px;
    }

    .bonus-text {
        font-size: 18px;
    }

    .rating-score {
        font-size: 30px;
    }

    .stars {
        font-size: 20px;
    }

    .btn-bonus {
        width: 100%;
        max-width: 180px;
        font-size: 16px;
        padding: 12px 20px;
    }

    .min-deposit {
        font-size: 13px;
    }

    .min-deposit strong {
        font-size: 16px;
    }

    .badge-top {
        font-size: 12px;
        padding: 5px 12px;
        top: 10px;
        left: 10px;
    }

    .terms {
        font-size: 11px;
        padding: 12px 15px;
    }
}

/* Маленькие мобильные (до 480px) */
@media (max-width: 480px) {
    .casino-name {
        font-size: 30px;
    }

    .bonus-text {
        font-size: 17px;
    }

    .rating-score {
        font-size: 28px;
    }

    .btn-bonus {
        font-size: 15px;
        padding: 11px 18px;
    }

    .badge-top {
        font-size: 11px;
        padding: 4px 10px;
    }
}

/* Адаптивность */
@media (max-width: 768px) {
  .card-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 20px;
    padding-top: 40px;
  }

  .casino-name {
    font-size: 36px;
  }

  .action-area {
    order: -1;
  }

  .badge-top {
    font-size: 12px;
    padding: 5px 12px;
  }
}

/* Красная кнопка для Unibet */
.btn-bonus.red {
  background: linear-gradient(135deg, #ff4444, #cc0000);
  color: white;
}

.btn-bonus.red:hover {
  box-shadow: 0 8px 20px rgba(255,68,68,0.5);
  transform: translateY(-3px);
}

h2{
  color: #fff!important;
}


.policy-page {
    padding: 40px 20px;
    background: #f8f9fa;
    min-height: 80vh;
}

.policy-page .container {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    line-height: 1.7;
}

.policy-page h1 {
    font-size: 32px;
    margin-bottom: 10px;
    color: #1a1a2e;
}

.update-date {
    color: #666;
    font-size: 14px;
    margin-bottom: 30px;
}

.policy-page h2 {
    margin-top: 35px;
    color: #006400;
    font-size: 22px;
}

.cookie-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.cookie-table th, .cookie-table td {
    border: 1px solid #ddd;
    padding: 12px;
    text-align: left;
}

.cookie-table th {
    background: #f0f0f0;
    font-weight: 600;
}

nav {
    margin-top: 20px;
}

nav a {
    color: white;
    text-decoration: none;
    margin: 0 15px;
    font-weight: 500;
}

nav a.active, nav a:hover {
    color: #FFD700;
    text-decoration: underline;
}