/* Общие стили */
body {
  margin: 0;
  font-family: 'Arial', sans-serif;
  background-color: #000;
  color: #fff;
  line-height: 1.6;
  padding-top: 70px; /* отступ для баннера */
}

/* --- Баннер 18+ --- */
.age-banner {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #d00000;
  color: #fff;
  text-align: center;
  padding: 8px;
  font-weight: bold;
  font-size: 14px;
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0,0,0,0.5);
}

/* --- Хедер --- */
.site-header {
  position: fixed;
  top: 32px; 
  left: 0;
  width: 100%;
  padding: 15px 30px;
  display: flex;
  justify-content: center; 
  align-items: center;
  background: rgba(0, 0, 0, 0.8); 
  box-shadow: 0 2px 10px rgba(0,0,0,0.5);
  z-index: 999;
}

/* Логотип */
.logo img {
  height: 55px;
  transition: transform 0.3s ease, filter 0.3s ease;
}

/* Эффект при наведении */
.logo img:hover {
  transform: scale(1.08);
  filter: drop-shadow(0 0 6px rgba(255, 215, 0, 0.7));
}



/* --- Hero --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
   background: linear-gradient(
    to right,
    rgba(255, 105, 180, 0.4) 0%,   /* розовый оттенок слева */
    rgba(0, 0, 0, 0.9) 50%,        /* глубокий чёрный в центре */
    rgba(70, 130, 180, 0.4) 100%  /* синий оттенок справа */
  ), 
  #000; /* основной фон на всякий случай */
  padding: 60px 20px;
}

.hero-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: auto;
  gap: 40px;
  flex-wrap: wrap; /
}

.hero-content {
  flex: 1;
  color: #fff;
}

.hero-content h1 {
  font-size: 2.8rem;
  margin-bottom: 20px;
}
.hero-content h1 span {
  color: #ffd700;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.hero-image {
  flex: 1;
  text-align: right;
}

.hero-image img {
  max-width: 50%;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.6);
}

/* --- Кнопка --- */
.btn {
  display: inline-block;
  padding: 12px 25px;
  background: #ffd700;
  color: #000;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
  transition: 0.3s;
}
.btn:hover {
  background: #ff9900;
  transform: scale(1.05);
}

/* --- Адаптив --- */
@media (max-width: 768px) {
  .hero-container {
    flex-direction: column-reverse; /* сначала картинка, потом текст */
    text-align: center;
  }
  .hero-image {
    text-align: center;
  }
  .hero-content h1 {
    font-size: 2rem;
  }
  .hero-content p {
    font-size: 1rem;
  }
}

/* --- Section --- */
.casinos {
  padding: 80px 20px;
  text-align: center;
  background: radial-gradient(circle at top, rgba(255,105,180,0.3), rgba(0,0,0,1) 70%);
}

.casinos h2 {
  font-size: 2.2rem;
  margin-bottom: 50px;
  color: #ffd700;
  text-shadow: 0 0 15px rgba(255, 215, 0, 0.6);
  letter-spacing: 1px;
}

/* --- Grid --- */
.casino-grid {
  display: flex;
  gap: 35px;
  justify-content: center;
  flex-wrap: wrap;
}

/* --- Card --- */
/* --- Card --- */
.casino-card {
  background: #121212;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 30px 20px;
  width: 320px;
  text-align: left;
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.5);
}

/* Эффект при наведении */
.casino-card:hover {
  transform: translateY(-8px);
  border-color: #ffd700;
  box-shadow: 0 8px 25px rgba(255, 215, 0, 0.3);
}

/* Сверху цветная полоска */
.casino-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 6px;
  background: linear-gradient(90deg, #ff0077, #ff9900, #00c6ff);
  border-radius: 20px 20px 0 0;
}

/* --- Image --- */
.casino-card img {
  width: 100%;
  border-radius: 14px;
  margin-bottom: 15px;
  transition: transform 0.4s ease;
}
.casino-card:hover img {
  transform: scale(1.08);
}

/* --- Title --- */
.casino-card h3 {
  margin: 10px 0;
  font-size: 1.4rem;
  color: #fff;
  font-weight: bold;
  letter-spacing: 0.5px;
}

/* --- Description --- */
.casino-desc {
  font-size: 0.95rem;
  color: #ccc;
  margin: 10px 0 20px;
  line-height: 1.5;
}

/* --- Meta Info --- */
.casino-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  margin-bottom: 15px;
  font-weight: 500;
}

.casino-meta .bonus {
  color: #4ade80; /* зелёный акцент */
  font-weight: bold;
}

.casino-meta .rating {
  color: #facc15; /* золотой акцент */
  font-weight: bold;
}

/* --- Button --- */
.casino-card .btn {
  display: inline-block;
  padding: 12px 25px;
  background: #ffd700;
  color: #000;
  text-decoration: none;
  border-radius: 10px;
  font-weight: bold;
  transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
}
.casino-card .btn:hover {
  background: #ff9900;
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(255, 153, 0, 0.6);
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .casino-grid {
    flex-direction: column;
    align-items: center;
  }
  .casino-card {
    width: 90%;
  }
}


/* --- Футер --- */
.site-footer {
  background: #111;
  padding: 20px;
  text-align: center;
  margin-top: 40px;
}
.footer-text.small {
  font-size: 0.85rem;
  color: #bbb;
  margin-top: 10px;
  line-height: 1.5;
}
.footer-links {
  margin-bottom: 10px;
}
.footer-links a {
  color: #ccc;
  margin: 0 5px;
  text-decoration: none;
}
.footer-links a:hover {
  color: #ffd700;
  transition: 0.5s;
}
.footer-logos img {
  height: 50px;
  margin: 0 10px;
  text-decoration: none;
}

.footer-logos img:hover{
    scale: 1.1;
    transition: 0.5s;
}
/* --- Адаптив --- */
@media (max-width: 768px) {
  .main-nav {
    position: absolute;
    top: 70px;
    right: 0;
    width: 100%;
    flex-direction: column;
    background: #000;
    display: none;
    padding: 20px;
  }
  .main-nav.open {
    display: flex;
  }
  .burger {
    display: block;
  }
}

/* --- Jeu Responsable --- */
.responsable {
  background: #1a1a1a;
  padding: 60px 20px;
  margin-top: 50px;
  color: #eee;
  text-align: left;
}

.responsable .container {
  max-width: 900px;
  margin: auto;
}

.responsable h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #ffd700;
  text-align: center;
}

.responsable h3 {
  margin-top: 25px;
  color: #ff9900;
}

.responsable ul {
  margin: 15px 0;
  padding-left: 20px;
}

.responsable ul li {
  margin-bottom: 10px;
  line-height: 1.5;
}

.responsable a {
  color: #00ffcc;
  text-decoration: none;
  font-weight: bold;
}
.responsable a:hover {
  text-decoration: underline;
}


/* --- Popup 18+ --- */
.popup {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.85);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.popup.active {
  visibility: visible;
  opacity: 1;
}

.popup-content {
  background: #1a1a1a;
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  max-width: 400px;
  color: #fff;
  box-shadow: 0 0 20px rgba(255,215,0,0.5);
}

.popup-content h2 {
  margin-bottom: 15px;
  color: #ffd700;
}

.popup-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 20px;
}

.popup-buttons button {
  padding: 10px 20px;
  border: none;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

#enter-site {
  background: #ffd700;
  color: #000;
}
#enter-site:hover {
  background: #ff9900;
}

#leave-site {
  background: #555;
  color: #fff;
}
#leave-site:hover {
  background: #333;
}

/* --- Страница Cookies/Legal --- */
.legal-container {
  max-width: 900px;
  margin: 120px auto 60px;
  padding: 20px;
  background: rgba(43, 0, 0, 0.9);
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(0,0,0,0.8);
  color: #eee;
}

.legal-container h1 {
  font-size: 2rem;
  color: #ffd700;
  margin-bottom: 20px;
  text-align: center;
}

.legal-container h2 {
  color: #ff9900;
  margin-top: 25px;
}

.legal-container p,
.legal-container ul {
  margin: 10px 0;
  line-height: 1.6;
}

.legal-container ul li {
  margin-bottom: 8px;
}
