

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  opacity: 1 !important;
  visibility: visible !important;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Roboto', sans-serif;
  line-height: 1.6;
  color: #333;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  overflow-x: hidden;
}

/* Улучшенные анимации */
[data-aos] { 
  opacity: 1 !important; 
  transition: all 0.6s ease-out !important;
}

.menu-item, .card, .content-block { 
  display: block !important; 
  opacity: 1 !important; 
}

/* Плавные переходы для всех элементов */
* {
  transition: all 0.3s ease;
}

/* Улучшенные анимации при наведении */
.card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

/* Анимация для кнопок */
.btn {
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s;
}

.btn:hover::before {
  left: 100%;
}

:root {
  --primary-purple: #667eea;
  --primary-blue: #764ba2;
  --accent-gold: #ffd700;
  --accent-pink: #f093fb;
  --dark-purple: #4c63d2;
  --light-purple: #e8e2ff;
  --text-dark: #2d3748;
  --text-light: #718096;
  --bg-white: #ffffff;
  --bg-gray: #f7fafc;
  --shadow: 0 4px 6px rgba(102, 126, 234, 0.1);
  --shadow-hover: 0 8px 25px rgba(102, 126, 234, 0.2);
  --border-radius: 12px;
  --transition: all 0.3s ease;
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Roboto', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
  margin-bottom: 1rem;
  color: var(--text-light);
}

a {
  color: var(--primary-blue);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--primary-purple);
  text-decoration: underline;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -15px;
}

.col {
  flex: 1;
  padding: 0 15px;
}

.col-md-6 { flex: 0 0 50%; max-width: 50%; }
.col-md-4 { flex: 0 0 33.333%; max-width: 33.333%; }
.col-md-3 { flex: 0 0 25%; max-width: 25%; }

.navbar {
  background: var(--bg-white);
  box-shadow: var(--shadow);
  padding: 1rem 0;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.navbar-brand {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-purple);
}

.navbar-nav {
  list-style: none;
  display: flex;
  margin: 0;
}

.nav-item {
  margin-left: 2rem;
}

.nav-link {
  color: var(--text-dark);
  font-weight: 500;
  transition: var(--transition);
}

.nav-link:hover {
  color: var(--primary-purple);
}

.hero {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
  color: white;
  padding: 120px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>') repeat;
  opacity: 0.1;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  color: rgba(255,255,255,0.9);
}

.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: var(--border-radius);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition);
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
  color: var(--text-dark);
  border: none;
  position: relative;
  overflow: hidden;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #e6c200 0%, #f4d03f 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
}

.btn-secondary {
  background: transparent;
  color: white;
  border: 2px solid white;
  position: relative;
  overflow: hidden;
}

.btn-secondary:hover {
  background: white;
  color: var(--primary-blue);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

/* Специальный стиль для кнопки в хедере */
.header-cta .btn-secondary {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: 2px solid transparent;
  font-weight: 600;
  text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.header-cta .btn-secondary:hover {
  background: linear-gradient(135deg, #5a6fd8 0%, #6a4190 100%);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

/* Специальный стиль для кнопки "Нет, мне нет 18" */
#reject-age {
  background: linear-gradient(135deg, #e53e3e 0%, #c53030 100%);
  color: white;
  border: 2px solid #e53e3e;
  font-weight: 600;
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
  box-shadow: 0 4px 12px rgba(229, 62, 62, 0.3);
}

#reject-age:hover {
  background: linear-gradient(135deg, #c53030 0%, #9c2626 100%);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(229, 62, 62, 0.4);
}

/* Специальный стиль для кнопки "Да, мне есть 18" */
#confirm-age {
  background: linear-gradient(135deg, #38a169 0%, #2f855a 100%);
  color: white;
  border: 2px solid #38a169;
  font-weight: 600;
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
  box-shadow: 0 4px 12px rgba(56, 161, 105, 0.3);
}

#confirm-age:hover {
  background: linear-gradient(135deg, #2f855a 0%, #276749 100%);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(56, 161, 105, 0.4);
}

.card {
  background: var(--bg-white);
  border-radius: 15px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  overflow: hidden;
  transition: all 0.3s ease;
  margin-bottom: 2rem;
  border: 1px solid rgba(255,255,255,0.2);
  backdrop-filter: blur(10px);
}

.card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
  border-color: var(--primary-blue);
}

.card-header {
  background: var(--primary-green);
  color: white;
  padding: 1rem;
  font-weight: 600;
}

.card-body {
  padding: 1.5rem;
}

.card-title {
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.card-text {
  color: var(--text-light);
}

.casino-card {
  position: relative;
}

.casino-card .card-body {
  text-align: center;
}

.casino-rating {
  color: var(--accent-gold);
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.casino-bonus {
  background: var(--primary-green);
  color: white;
  padding: 0.5rem;
  border-radius: 4px;
  font-weight: 600;
  margin-bottom: 1rem;
}

.filters {
  background: linear-gradient(135deg, var(--light-purple) 0%, #f7fafc 100%);
  padding: 3rem 0;
  border-radius: var(--border-radius);
  margin-bottom: 2rem;
  box-shadow: 0 4px 20px rgba(102, 126, 234, 0.1);
}

.filter-group {
  margin-bottom: 1rem;
}

.filter-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.filter-select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  background: white;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.filter-select:focus {
  outline: none;
  border-color: var(--primary-purple);
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
  transform: translateY(-2px);
}

/* Стили для сообщения "нет результатов" */
.no-results-message {
  text-align: center;
  padding: 3rem 2rem;
  background: linear-gradient(135deg, #f7fafc 0%, var(--light-purple) 100%);
  border-radius: 15px;
  margin: 2rem 0;
  box-shadow: 0 4px 20px rgba(102, 126, 234, 0.1);
}

.no-results-message h3 {
  color: var(--primary-purple);
  margin-bottom: 1rem;
}

.no-results-message p {
  color: var(--text-light);
  font-size: 1.1rem;
}

.testimonial {
  background: var(--bg-white);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  margin-bottom: 2rem;
}

.testimonial-author {
  font-weight: 600;
  color: var(--primary-blue);
  margin-top: 1rem;
}

.faq-item {
  border-bottom: 1px solid #eee;
  padding: 1rem 0;
}

.faq-question {
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-answer {
  display: none;
  margin-top: 1rem;
  color: var(--text-light);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.form-control {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: var(--font-body);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 2px rgba(0,123,255,0.25);
}

.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 2000;
  justify-content: center;
  align-items: center;
}

.modal.show {
  display: flex;
}

.modal-content {
  background: var(--bg-white);
  padding: 2rem;
  border-radius: var(--border-radius);
  max-width: 500px;
  width: 90%;
  text-align: center;
  position: relative;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.close-btn {
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  color: var(--text-light);
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.close-btn:hover {
  color: var(--text-dark);
}

.modal h3 {
  margin: 0;
}

.modal p {
  margin-bottom: 2rem;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--text-dark);
  color: white;
  padding: 1rem 0;
  z-index: 1500;
  display: none;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.3);
  animation: slideUp 0.5s ease-out;
}

.cookie-banner.show {
  display: block;
}

.cookie-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.cookie-content p {
  margin: 0;
  flex: 1;
  min-width: 300px;
}

.cookie-options {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.cookie-option {
  margin-right: 1rem;
}

@keyframes slideUp {
  from {
    transform: translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.footer {
  background: var(--text-dark);
  color: white;
  padding: 3rem 0 1rem;
  margin-top: 4rem;
}

.footer h4 {
  color: var(--accent-gold);
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 2rem;
  padding: 2rem 0;
}

.footer-logos a {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.7;
  transition: var(--transition);
  filter: grayscale(100%);
}

.footer-logos a:hover {
  opacity: 1;
  transform: scale(1.1);
  filter: grayscale(0%);
}

.footer-logos img {
  max-height: 40px;
  width: auto;
  object-fit: contain;
  transition: all 0.3s ease;
  filter: grayscale(100%) brightness(0.8);
}

.footer-logos a:hover img {
  filter: grayscale(0%) brightness(1);
  transform: scale(1.1);
}

.disclaimer {
  background: var(--primary-blue);
  color: white;
  padding: 1rem;
  text-align: center;
  font-size: 0.875rem;
}

.ad-notice {
  background: var(--accent-gold);
  color: var(--text-dark);
  padding: 0.5rem;
  text-align: center;
  font-weight: 600;
}

/* Бургер-меню */
.navbar-toggle {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1001;
}

.navbar-toggle span {
  width: 25px;
  height: 3px;
  background: var(--text-dark);
  margin: 3px 0;
  transition: 0.3s;
  border-radius: 2px;
}

.navbar-toggle.active span:nth-child(1) {
  transform: rotate(-45deg) translate(-5px, 6px);
}

.navbar-toggle.active span:nth-child(2) {
  opacity: 0;
}

.navbar-toggle.active span:nth-child(3) {
  transform: rotate(45deg) translate(-5px, -6px);
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }
  
  .navbar-toggle {
    display: flex;
  }
  
  .navbar-nav {
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-white);
    box-shadow: var(--shadow);
    display: none;
    z-index: 1000;
    padding: 1rem 0;
    border-radius: 0 0 15px 15px;
  }
  
  .navbar-nav.show {
    display: flex;
  }
  
  .nav-item {
    margin: 0;
  }
  
  .nav-link {
    padding: 1rem 2rem;
    border-bottom: 1px solid #eee;
    display: block;
    width: 100%;
    text-align: left;
  }
  
  .nav-link:hover {
    background: rgba(102, 126, 234, 0.1);
  }
  
  .header-cta {
    display: none;
  }
  
  .col-md-6, .col-md-4, .col-md-3 {
    flex: 0 0 100%;
    max-width: 100%;
  }
  
  .modal-content {
    margin: 1rem;
  }
  
  .cookie-content {
    flex-direction: column;
    text-align: center;
  }
  
  .cookie-options {
    justify-content: center;
    margin-top: 1rem;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes zoomIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

/* AOS анимации */
[data-aos="fade-up"] {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease-out;
}

[data-aos="fade-up"].aos-animate {
  opacity: 1;
  transform: translateY(0);
}

[data-aos="fade-left"] {
  opacity: 0;
  transform: translateX(-30px);
  transition: all 0.6s ease-out;
}

[data-aos="fade-left"].aos-animate {
  opacity: 1;
  transform: translateX(0);
}

[data-aos="fade-right"] {
  opacity: 0;
  transform: translateX(30px);
  transition: all 0.6s ease-out;
}

[data-aos="fade-right"].aos-animate {
  opacity: 1;
  transform: translateX(0);
}

[data-aos="zoom-in"] {
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.6s ease-out;
}

[data-aos="zoom-in"].aos-animate {
  opacity: 1;
  transform: scale(1);
}

.hover-lift:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.glow:hover {
  box-shadow: 0 0 20px rgba(40, 167, 69, 0.3);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.focus-visible:focus {
  outline: 2px solid var(--primary-blue);
  outline-offset: 2px;
}

/* Стили для секций */
.section {
  padding: 4rem 0;
  position: relative;
}

.section.bg-gray {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.section.bg-primary {
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-green) 100%);
  color: white;
}

/* Улучшенные стили для модальных окон */
.modal {
  background: rgba(0,0,0,0.8);
  backdrop-filter: blur(5px);
}

.modal-content {
  border-radius: 15px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

/* Улучшенные стили для форм */
.form-control {
  border-radius: 10px;
  border: 2px solid #e9ecef;
  transition: all 0.3s ease;
}

.form-control:focus {
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(0,123,255,0.1);
  transform: translateY(-2px);
}

/* Улучшенные стили для навигации */
.nav-link {
  position: relative;
  padding: 0.5rem 1rem;
  border-radius: 25px;
  transition: all 0.3s ease;
}

.nav-link:hover {
  background: rgba(0,123,255,0.1);
  transform: translateY(-2px);
}

.nav-link.active {
  background: var(--primary-purple);
  color: white;
}

/* Стили для карточек казино */
.casino-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0;
}

.casino-features span {
  background: linear-gradient(135deg, var(--primary-purple) 0%, var(--primary-blue) 100%);
  color: white;
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 500;
  box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
  transition: all 0.3s ease;
}

.casino-features span:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

/* Улучшенные стили для рейтингов */
.casino-rating {
  color: #ffd700;
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

@media print {
  .navbar, .footer, .btn, .modal {
    display: none !important;
  }
}