html {
  scroll-behavior: smooth;
}

/* Smooth scrolling for anchor links */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px; /* Offset for fixed header */
}
/* Основные стили для CasinoQuestNet Casino */
:root {
  --deep-blue: #1e3a8a;
  --midnight-black: #0d0d0d;
  --crimson-red: #dc2626;
  --silver: #cbd5e1;
  --gold: #fbbf24;
  --emerald: #10b981;
}

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

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background-color: var(--midnight-black);
  color: white;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Контейнеры */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Заголовки */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

/* Кнопки */
.btn-primary {
  background: linear-gradient(45deg, var(--crimson-red), #ef4444);
  color: white;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 0.5rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  text-align: center;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(220, 38, 38, 0.3);
  background: linear-gradient(45deg, #ef4444, var(--crimson-red));
}

/* Game card link styles */
.game-card a.btn-primary {
  cursor: pointer;
  user-select: none;
}

/* Casino card link styles */
.casino-card a.btn-primary {
  cursor: pointer;
  user-select: none;
  text-decoration: none;
  display: inline-block;
}

/* SuperSport logo specific styling */
.supersport-logo {
  height: 5rem; /* 32px - оптимальный размер для SuperSport */
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

/* Карточки */
.casino-card {
  background: linear-gradient(145deg, #1f2937, #111827);
  border: 1px solid var(--silver);
  border-radius: 0.75rem;
  padding: 1.5rem;
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.casino-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  border-color: var(--gold);
}

/* Секции */
section {
  padding: 4rem 0;
}

.hero-bg {
  background: linear-gradient(
    135deg,
    var(--deep-blue) 0%,
    var(--midnight-black) 100%
  );
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero-background-image {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-bg::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.9) 0%,
    rgba(0, 0, 0, 0.95) 50%,
    rgba(0, 0, 0, 0.85) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
}

/* Формы */
input,
textarea,
select {
  background-color: #374151;
  border: 1px solid #4b5563;
  border-radius: 0.5rem;
  padding: 0.75rem;
  color: white;
  transition: all 0.3s ease;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* FAQ */
.faq-button {
  width: 100%;
  padding: 1.5rem;
  background: none;
  border: none;
  color: white;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-decoration: none;
}

.faq-button:hover {
  background-color: rgba(251, 191, 36, 0.1);
}

.faq-button i {
  transition: transform 0.3s ease;
}

.faq-button.active i {
  transform: rotate(180deg);
}

.faq-content {
  padding: 0 1.5rem 1.5rem;
  color: #d1d5db;
  line-height: 1.6;
  transition: all 0.3s ease;
}

/* Навигация */
nav {
  background-color: rgba(17, 24, 39, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

nav a {
  transition: all 0.3s ease;
}

nav a:hover {
  color: var(--gold) !important;
}

/* Звезды рейтинга */
.rating-stars {
  display: inline-flex;
  gap: 2px;
  color: var(--gold);
}

.rating-stars i {
  color: #fbbf24;
  transition: all 0.3s ease;
}

.rating-stars:hover i {
  transform: scale(1.1);
}

/* Адаптивность */
@media (max-width: 768px) {
  .container {
    padding: 0 0.5rem;
  }

  section {
    padding: 2rem 0;
  }

  .casino-card {
    margin-bottom: 1rem;
  }

  .hero-bg {
    min-height: 60vh;
    text-align: center;
  }

  .banner-card {
    min-height: 100px;
    padding: 12px;
  }

  .banner-image {
    max-height: 60px;
  }

  .casino-logo img {
    max-height: 40px;
  }

  .about-image-container {
    height: 40vh;
  }

  .hero-section {
    min-height: 60vh;
  }

  .casino-card,
  .game-card,
  .bonus-card {
    margin-bottom: 1rem;
  }

  .nav-menu {
    background: linear-gradient(145deg, #1f2937, #111827);
    border: 1px solid #374151;
    border-radius: 0.5rem;
    margin-top: 1rem;
  }

  .nav-menu a {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #374151;
  }

  .nav-menu a:last-child {
    border-bottom: none;
  }
}

/* Скроллбар */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #1f2937;
}

::-webkit-scrollbar-thumb {
  background: var(--crimson-red);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #ef4444;
}

/* Banner Section Styles */
.banner-card {
  background: var(--midnight-black);
  border-radius: 12px;
  padding: 16px;
  transition: all 0.3s ease;
  border: 1px solid var(--deep-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
  cursor: pointer;
}

.banner-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  border-color: var(--crimson-red);
}

.banner-card a {
  display: block;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.banner-image {
  max-width: 100%;
  max-height: 80px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.banner-card:hover .banner-image {
  transform: scale(1.05);
}

/* Responsive adjustments for banners */
@media (max-width: 480px) {
  .banner-card {
    min-height: 80px;
    padding: 8px;
  }

  .banner-image {
    max-height: 50px;
  }

  .casino-logo img {
    max-height: 35px;
  }
}

/* Casino Logo Styles */
.casino-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.casino-logo img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
  filter: brightness(1.1) contrast(1.1);
  transition: all 0.3s ease;
}

.casino-card:hover .casino-logo img {
  transform: scale(1.05);
  filter: brightness(1.2) contrast(1.2);
}

/* Trust section image */
.trust-image-container {
  text-align: center;
  margin-bottom: 2rem;
}

.trust-image {
  max-width: 100%;
  height: auto;
  border-radius: 1rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.trust-image:hover {
  transform: scale(1.02);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

/* About section image */
.about-image-container {
  height: 64vh;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.about-image-container:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.about-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

@media (max-width: 1024px) {
  .about-image-container {
    height: 50vh;
  }
}

/* Additional styles moved from inline HTML */

/* Hero section improvements */
.hero-section {
  position: relative;
  overflow: hidden;
}

/* Game cards */
.game-card {
  background: linear-gradient(145deg, #1f2937, #111827);
  border: 1px solid #374151;
  border-radius: 0.75rem;
  padding: 1.5rem;
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  border-color: #fbbf24;
}

.game-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}

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

/* Bonus cards */
.bonus-card {
  background: linear-gradient(145deg, #1f2937, #111827);
  border: 1px solid #374151;
  border-radius: 0.75rem;
  padding: 2rem;
  transition: all 0.3s ease;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.bonus-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    45deg,
    transparent 30%,
    rgba(255, 255, 255, 0.1) 50%,
    transparent 70%
  );
  transform: translateX(-100%);
  transition: transform 0.6s;
}

.bonus-card:hover::before {
  transform: translateX(100%);
}

.bonus-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Trust badges */
.trust-badge {
  background: linear-gradient(145deg, #1f2937, #111827);
  border: 1px solid #374151;
  border-radius: 0.75rem;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.trust-badge:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
  border-color: #10b981;
}

.trust-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
}

.trust-badge:hover .trust-icon {
  transform: scale(1.1);
}

.trust-badge h3 {
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.trust-badge p {
  line-height: 1.5;
  font-size: 0.9rem;
}

/* Review cards */
.review-card {
  background: linear-gradient(145deg, #1f2937, #111827);
  border: 1px solid #374151;
  border-radius: 0.75rem;
  padding: 2rem;
  transition: all 0.3s ease;
}

.review-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
  border-color: #3b82f6;
}

.user-avatar {
  width: 3rem;
  height: 3rem;
  background: linear-gradient(45deg, #3b82f6, #1d4ed8);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: white;
  flex-shrink: 0;
}

/* FAQ items */
.faq-item {
  background: linear-gradient(145deg, #1f2937, #111827);
  border: 1px solid #374151;
  border-radius: 0.75rem;
  margin-bottom: 1rem;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: #fbbf24;
}

/* Contact form */
.contact-form {
  background: linear-gradient(145deg, #1f2937, #111827);
  border: 1px solid #374151;
  border-radius: 0.75rem;
  padding: 2rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: #f9fafb;
}

.form-input {
  width: 100%;
  padding: 0.75rem;
  background-color: #374151;
  border: 1px solid #4b5563;
  border-radius: 0.5rem;
  color: white;
  transition: all 0.3s ease;
}

.form-input:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.checkbox-group input[type="checkbox"] {
  margin-top: 0.25rem;
}

.checkbox-group label {
  font-size: 0.875rem;
  color: #d1d5db;
  line-height: 1.5;
}

.checkbox-group a {
  color: #3b82f6;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.checkbox-group a:hover {
  color: #60a5fa;
}

/* Animations */
.fade-in {
  animation: fadeIn 0.6s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.slide-in-left {
  animation: slideInLeft 0.6s ease-out;
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.slide-in-right {
  animation: slideInRight 0.6s ease-out;
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Navigation improvements */
.nav-link {
  position: relative;
  transition: all 0.3s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(45deg, #dc2626, #fbbf24);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

/* Secondary buttons */
.btn-secondary {
  background: linear-gradient(45deg, #374151, #4b5563);
  color: white;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 0.5rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  text-align: center;
}

.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(75, 85, 99, 0.3);
  background: linear-gradient(45deg, #4b5563, #6b7280);
}

/* Footer improvements */
.footer-section {
  background: linear-gradient(135deg, #000000, #111827);
  border-top: 1px solid #374151;
}

.footer-link {
  transition: all 0.3s ease;
  position: relative;
}

.footer-link::before {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: #fbbf24;
  transition: width 0.3s ease;
}

.footer-link:hover::before {
  width: 100%;
}

/* Modal improvements */
.modal-content {
  background: linear-gradient(145deg, #1f2937, #111827);
  border: 1px solid #374151;
  border-radius: 0.75rem;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

.modal-icon {
  font-size: 4rem;
  color: #fbbf24;
  margin-bottom: 1rem;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

/* Cookie banner improvements */
.cookie-banner {
  background: linear-gradient(145deg, #1f2937, #111827);
  border-top: 1px solid #374151;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
