/* CSS Variables - Casino Theme */
:root {
  --navy: #0a1941;
  --navy-dark: #060f2b;
  --navy-lighter: #1a2f5c;
  --gold: #f5b800;
  --gold-dark: #d4a000;
  --white: #ffffff;
  --gray-light: #b0b8c4;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  background-color: var(--navy);
  color: var(--white);
  line-height: 1.6;
}

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

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--navy);
  border-bottom: 1px solid var(--navy-lighter);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  font-weight: bold;
  font-size: 1.25rem;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-main {
  color: var(--white);
  font-weight: bold;
  font-size: 1.125rem;
  line-height: 1;
}

.logo-sub {
  color: var(--gold);
  font-size: 0.75rem;
  line-height: 1;
}

.nav {
  display: none;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .nav {
    display: flex;
  }
}

.nav-link {
  color: var(--white);
  text-decoration: none;
  transition: color 0.3s;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-link:hover {
  color: var(--gold);
}

.icon {
  width: 1rem;
  height: 1rem;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.btn-icon {
  background: none;
  border: none;
  color: var(--white);
  cursor: pointer;
  padding: 0.5rem;
  transition: color 0.3s;
}

.btn-icon:hover {
  color: var(--gold);
}

.btn {
  padding: 0.5rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s;
  display: inline-block;
  border: none;
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold);
}

.btn-outline:hover {
  background: var(--gold);
  color: var(--navy);
}

.btn-primary {
  background: var(--gold);
  color: var(--navy);
}

.btn-primary:hover {
  background: var(--gold-dark);
}

.btn-cta {
  background: var(--gold);
  color: var(--navy);
  padding: 0.75rem 2rem;
  font-size: 1.125rem;
}

.btn-cta:hover {
  background: var(--gold-dark);
}

/* Hero Carousel */
.hero {
  background: linear-gradient(to bottom, var(--navy-dark), var(--navy));
  padding: 3rem 0;
}

.carousel {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
}

.carousel-track {
  position: relative;
  height: 500px;
}

.carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.7s;
}

.carousel-slide.active {
  opacity: 1;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.carousel-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem 4rem;
  max-width: 600px;
}

.carousel-content h2 {
  font-size: 3rem;
  font-weight: bold;
  color: var(--white);
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.carousel-content p {
  font-size: 1.25rem;
  color: var(--gold);
  margin-bottom: 2rem;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(10, 25, 65, 0.8);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(245, 184, 0, 0.3);
  color: var(--gold);
  font-size: 2rem;
  cursor: pointer;
  transition: all 0.3s;
}

.carousel-btn:hover {
  background: var(--gold);
  color: var(--navy);
}

.carousel-prev {
  left: 1rem;
}

.carousel-next {
  right: 1rem;
}

.carousel-dots {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 0.5rem;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.3s;
  border: none;
  padding: 0;
}

.carousel-dot.active {
  width: 32px;
  background: var(--gold);
}

/* Sections */
.section {
  padding: 4rem 0;
  background: var(--navy);
}

.section-dark {
  background: var(--navy-dark);
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.section-title {
  font-size: 2rem;
  font-weight: bold;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.section-title.centered {
  justify-content: center;
  text-align: center;
  margin-bottom: 3rem;
}

.icon-flame {
  width: 2rem;
  height: 2rem;
  color: var(--gold);
}

/* Slots Grid */
.slots-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 768px) {
  .slots-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .slots-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.slot-card {
  background: var(--navy-lighter);
  border: 1px solid var(--navy-lighter);
  border-radius: 0.5rem;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s;
}

.slot-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
}

.slot-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.5s;
}

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

.slot-info {
  padding: 1rem;
}

.slot-info h3 {
  color: var(--white);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.slot-info p {
  color: var(--gray-light);
  font-size: 0.875rem;
}

/* Providers Grid */
.providers-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .providers-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.provider-card {
  background: var(--navy-lighter);
  border: 1px solid var(--navy-lighter);
  border-radius: 0.5rem;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
}

.provider-card:hover {
  border-color: var(--gold);
}

.provider-card img {
  width: 100%;
  height: 48px;
  object-fit: contain;
  opacity: 0.7;
  transition: opacity 0.3s;
}

.provider-card:hover img {
  opacity: 1;
}

/* Content Section */
.content-section {
  background: var(--navy);
}

.content-wrapper {
  max-width: 900px;
  margin: 0 auto;
  color: var(--gray-light);
}

.content-title {
  font-size: 2.5rem;
  font-weight: bold;
  color: var(--gold);
  text-align: center;
  margin-bottom: 2rem;
}

.content-wrapper h2 {
  font-size: 1.875rem;
  font-weight: bold;
  color: var(--gold);
  margin: 2rem 0 1.5rem;
}

.content-wrapper h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--gold);
  margin: 1.5rem 0 1rem;
}

.content-wrapper p {
  margin-bottom: 1rem;
  line-height: 1.7;
}

.content-wrapper hr {
  border: none;
  border-top: 1px solid rgba(245, 184, 0, 0.3);
  margin: 2rem 0;
}

.content-wrapper ul,
.content-wrapper ol {
  margin: 1rem 0 1rem 2rem;
}

.content-wrapper li {
  margin-bottom: 0.5rem;
}

.content-wrapper table {
  width: 100%;
  border-collapse: collapse;
  background: var(--navy-lighter);
  border-radius: 0.5rem;
  overflow: hidden;
  margin: 1.5rem 0;
}

.content-wrapper th,
.content-wrapper td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid rgba(245, 184, 0, 0.2);
}

.content-wrapper th {
  color: var(--gold);
  font-weight: 600;
}

.content-wrapper strong {
  color: var(--gold);
}

/* Footer */
.footer {
  background: var(--navy-dark);
  border-top: 1px solid var(--navy-lighter);
  padding: 3rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.footer-col h3 {
  color: var(--gold);
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 0.5rem;
}

.footer-col a {
  color: var(--gray-light);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.3s;
}

.footer-col a:hover {
  color: var(--gold);
}

.payment-methods {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.payment-methods span {
  background: var(--navy-lighter);
  padding: 0.25rem 0.75rem;
  border-radius: 0.25rem;
  color: var(--gray-light);
  font-size: 0.75rem;
}

.footer-disclaimer {
  border-top: 1px solid var(--navy-lighter);
  padding-top: 2rem;
}

.disclaimer-box {
  background: var(--navy-lighter);
  border-radius: 0.5rem;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.disclaimer-box p {
  color: var(--white);
  font-size: 0.875rem;
  line-height: 1.6;
}

.disclaimer-box strong {
  color: var(--gold);
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  color: var(--gray-light);
  font-size: 0.875rem;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer-meta {
  display: flex;
  gap: 1rem;
}

/* Добавляем стиль для текста дисклеймера в контенте */
.disclaimer-text {
  font-style: italic;
  color: var(--gray-light);
  font-size: 0.875rem;
  text-align: center;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(245, 184, 0, 0.2);
}
