/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  color: #e0e0e0;
  background: #0a0a0f;
  overflow-x: hidden;
  position: relative;
}

/* Site Background Image */
.site-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -3;
  overflow: hidden;
}

.site-background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
  filter: blur(0px);
}

body::after {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(
      2px 2px at 20% 30%,
      rgba(255, 215, 0, 0.4),
      transparent
    ),
    radial-gradient(2px 2px at 60% 70%, rgba(255, 215, 0, 0.3), transparent),
    radial-gradient(1px 1px at 50% 50%, rgba(255, 255, 255, 0.3), transparent),
    radial-gradient(1px 1px at 80% 10%, rgba(255, 255, 255, 0.2), transparent),
    radial-gradient(2px 2px at 90% 60%, rgba(138, 43, 226, 0.3), transparent);
  background-size: 200% 200%, 200% 200%, 100% 100%, 100% 100%, 200% 200%;
  background-position: 0% 0%, 20% 20%, 50% 50%, 80% 80%, 100% 100%;
  animation: starsMove 120s linear infinite;
  pointer-events: none;
  z-index: -1;
}

@keyframes starsMove {
  0% {
    background-position: 0% 0%, 20% 20%, 50% 50%, 80% 80%, 100% 100%;
  }
  100% {
    background-position: 100% 100%, 120% 120%, 150% 150%, 180% 180%, 200% 200%;
  }
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
#header {
  background: rgba(10, 10, 15, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 215, 0, 0.2);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

#header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 20px;
}

.logo a {
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffd700;
  text-decoration: none;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.nav {
  display: flex;
  gap: 2rem;
}

.nav a {
  color: #e0e0e0;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s, text-shadow 0.3s;
  position: relative;
}

.nav a:hover {
  color: #ffd700;
  text-shadow: 0 0 8px rgba(255, 215, 0, 0.6);
}

.nav a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #ffd700, #8a2be2);
  transition: width 0.3s;
}

.nav a:hover::after {
  width: 100%;
}

/* Burger Menu */
.burger-toggle {
  display: none;
}

.burger-menu {
  display: none;
  flex-direction: column;
  cursor: pointer;
  z-index: 1001;
}

.burger-line {
  width: 25px;
  height: 3px;
  background: #ffd700;
  margin: 3px 0;
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  position: relative;
}

/* Burger Menu Animation */
.burger-toggle:checked ~ .burger-menu .burger-line:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.burger-toggle:checked ~ .burger-menu .burger-line:nth-child(2) {
  transform: scale(0);
}

.burger-toggle:checked ~ .burger-menu .burger-line:nth-child(3) {
  transform: rotate(-45deg) translate(8px, -8px);
}

/* Hero Section */
.hero {
  padding: 100px 0 80px;
  text-align: center;
  position: relative;
}

.hero-image {
  max-width: 600px;
  margin: 0 auto 2rem;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(138, 43, 226, 0.4);
  border: 2px solid rgba(255, 215, 0, 0.3);
}

.hero-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s;
}

.hero-image:hover img {
  transform: scale(1.05);
}

.hero h1 {
  font-size: 3rem;
  font-weight: 800;
  background: linear-gradient(135deg, #ffd700 0%, #8a2be2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1.5rem;
  text-shadow: 0 0 30px rgba(255, 215, 0, 0.3);
  animation: heroGlow 3s ease-in-out infinite;
}

@keyframes heroGlow {
  0%,
  100% {
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.3));
  }
  50% {
    filter: drop-shadow(0 0 20px rgba(138, 43, 226, 0.4));
  }
}

.hero-subtitle {
  font-size: 1.3rem;
  color: #b0b0b0;
  margin-bottom: 3rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.hero-features h2 {
  font-size: 2rem;
  color: #ffd700;
  margin-bottom: 2rem;
}

.features-list {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  max-width: 1000px;
  margin: 0 auto;
}

.feature-item {
  background: rgba(255, 215, 0, 0.05);
  border: 1px solid rgba(255, 215, 0, 0.2);
  border-radius: 15px;
  padding: 1.5rem 2rem;
  flex: 1;
  min-width: 200px;
  max-width: 250px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(255, 215, 0, 0.2);
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.feature-item p {
  font-size: 1rem;
  color: #e0e0e0;
}

/* Casinos Section */
.casinos {
  padding: 80px 0;
}

.casinos h2 {
  font-size: 2.5rem;
  text-align: center;
  color: #ffd700;
  margin-bottom: 3rem;
}

.casino-card {
  background: linear-gradient(
    135deg,
    rgba(138, 43, 226, 0.15) 0%,
    rgba(255, 215, 0, 0.1) 100%
  );
  border: 2px solid rgba(255, 215, 0, 0.3);
  border-radius: 20px;
  padding: 2.5rem;
  display: flex;
  align-items: center;
  gap: 2rem;
  box-shadow: 0 10px 40px rgba(138, 43, 226, 0.3);
  transition: transform 0.3s, box-shadow 0.3s;
  max-width: 1000px;
  margin: 0 auto;
}

.casino-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 50px rgba(255, 215, 0, 0.4);
}

.casino-logo {
  flex-shrink: 0;
  width: 150px;
  height: 150px;
  background: transparent;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

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

.casino-info {
  flex: 1;
}

.casino-info h3 {
  font-size: 2rem;
  color: #ffd700;
  margin-bottom: 0.5rem;
}

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

.casino-rating .star {
  color: #ffd700;
  font-size: 1.3rem;
}

.casino-description {
  color: #d0d0d0;
  margin-bottom: 1rem;
  line-height: 1.6;
}

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

.payment-badge {
  background: rgba(255, 215, 0, 0.2);
  color: #ffd700;
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  font-size: 0.85rem;
  border: 1px solid rgba(255, 215, 0, 0.3);
}

.casino-cta {
  flex-shrink: 0;
}

.btn-cta {
  display: inline-block;
  background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
  color: #000;
  padding: 1.2rem 2.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 5px 20px rgba(255, 215, 0, 0.4);
}

.btn-cta:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 30px rgba(255, 215, 0, 0.6);
}

/* Reviews Section */
.reviews {
  padding: 80px 0;
  background: rgba(138, 43, 226, 0.05);
}

.reviews h2 {
  font-size: 2.5rem;
  text-align: center;
  color: #ffd700;
  margin-bottom: 3rem;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.review-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 215, 0, 0.2);
  border-radius: 15px;
  padding: 2rem;
  transition: transform 0.3s, box-shadow 0.3s;
}

.review-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(138, 43, 226, 0.2);
}

.review-stars {
  color: #ffd700;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.review-text {
  color: #d0d0d0;
  font-style: italic;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.review-author {
  color: #8a2be2;
  font-weight: 600;
}

/* Security Section */
.security {
  padding: 80px 0;
}

.security h2 {
  font-size: 2.5rem;
  text-align: center;
  color: #ffd700;
  margin-bottom: 2rem;
}

.security-intro {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 3rem;
  color: #d0d0d0;
  font-size: 1.1rem;
  line-height: 1.8;
}

.certificates {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.certificate-item {
  background: rgba(255, 215, 0, 0.05);
  border: 1px solid rgba(255, 215, 0, 0.2);
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.certificate-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(255, 215, 0, 0.2);
}

.certificate-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.certificate-item h3 {
  color: #ffd700;
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.certificate-item p {
  color: #b0b0b0;
  font-size: 0.95rem;
  line-height: 1.6;
}

.security-text {
  max-width: 900px;
  margin: 0 auto;
  color: #d0d0d0;
  font-size: 1.05rem;
  line-height: 1.8;
  text-align: center;
}

/* FAQ Section */
.faq {
  padding: 80px 0;
  background: rgba(138, 43, 226, 0.05);
}

.faq h2 {
  font-size: 2.5rem;
  text-align: center;
  color: #ffd700;
  margin-bottom: 3rem;
}

.faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 215, 0, 0.2);
  border-radius: 15px;
  padding: 2rem;
  margin-bottom: 1.5rem;
}

.faq-item h3 {
  color: #ffd700;
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.faq-item p {
  color: #d0d0d0;
  line-height: 1.7;
}

/* Banners Section */
.banners {
  padding: 80px 0;
}

.banners h2 {
  font-size: 2.5rem;
  text-align: center;
  color: #ffd700;
  margin-bottom: 3rem;
}

.banners-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}

.banner-item {
  flex: 0 1 180px;
  height: 120px;
  background: rgba(10, 10, 15, 0.8);
  border: 1px solid rgba(255, 215, 0, 0.2);
  border-radius: 15px;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
  text-decoration: none;
}

.banner-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(255, 215, 0, 0.3);
  background: rgba(10, 10, 15, 0.95);
  border-color: rgba(255, 215, 0, 0.4);
}

.banner-item img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: brightness(1.1);
}

/* Contact Section */
.contact {
  padding: 80px 0;
  background: rgba(138, 43, 226, 0.05);
}

.contact h2 {
  font-size: 2.5rem;
  text-align: center;
  color: #ffd700;
  margin-bottom: 2rem;
}

.contact-text {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 2rem;
  color: #d0d0d0;
  font-size: 1.1rem;
  line-height: 1.7;
}

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

.contact-email,
.contact-address {
  font-size: 1.2rem;
  margin: 1rem 0;
  color: #e0e0e0;
}

.contact-email a {
  color: #ffd700;
  text-decoration: none;
  transition: text-shadow 0.3s;
  word-break: break-all;
}

.contact-email a:hover {
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.6);
}

/* Footer */
#footer {
  background: rgba(10, 10, 15, 0.95);
  border-top: 1px solid rgba(255, 215, 0, 0.2);
  padding: 2rem 0 1.5rem;
}

.footer-responsible {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 215, 0, 0.1);
}

.responsible-icon img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  flex-shrink: 0;
}

.responsible-content h3 {
  color: #ffd700;
  font-size: 1.2rem;
  margin-bottom: 0.3rem;
}

.responsible-content h4 {
  color: #8a2be2;
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

.responsible-content p {
  color: #b0b0b0;
  line-height: 1.5;
  font-size: 0.9rem;
  margin-bottom: 0;
}

.footer-age-notice {
  font-weight: 600;
  color: #ffd700 !important;
  margin-top: 0.5rem;
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.footer-links a {
  color: #8a2be2;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: #ffd700;
}

.footer-copyright {
  text-align: center;
  color: #808080;
  font-size: 0.95rem;
}

/* Modals */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  z-index: 10000;
  justify-content: center;
  align-items: center;
}

.modal.active {
  display: flex;
}

.modal-content {
  background: linear-gradient(
    135deg,
    rgba(26, 0, 51, 0.95) 0%,
    rgba(13, 13, 31, 0.95) 100%
  );
  border: 2px solid rgba(255, 215, 0, 0.5);
  border-radius: 20px;
  padding: 3rem;
  max-width: 500px;
  text-align: center;
  box-shadow: 0 20px 60px rgba(138, 43, 226, 0.5);
}

.modal-content h2 {
  color: #ffd700;
  font-size: 2rem;
  margin-bottom: 1rem;
}

.modal-content p {
  color: #d0d0d0;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.modal-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.btn-primary,
.btn-secondary {
  padding: 1rem 2.5rem;
  border: none;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
}

.btn-primary {
  background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
  color: #000;
  box-shadow: 0 5px 20px rgba(255, 215, 0, 0.4);
}

.btn-primary:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 30px rgba(255, 215, 0, 0.6);
}

.btn-secondary {
  background: rgba(138, 43, 226, 0.3);
  color: #e0e0e0;
  border: 1px solid rgba(138, 43, 226, 0.5);
}

.btn-secondary:hover {
  background: rgba(138, 43, 226, 0.5);
  transform: scale(1.05);
}

/* Cookie Banner */
.cookie-banner {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(
    135deg,
    rgba(26, 0, 51, 0.98) 0%,
    rgba(13, 13, 31, 0.98) 100%
  );
  border-top: 2px solid rgba(255, 215, 0, 0.5);
  padding: 2rem;
  z-index: 9999;
  box-shadow: 0 -5px 30px rgba(0, 0, 0, 0.7);
}

.cookie-banner.active {
  display: block;
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.cookie-content p {
  flex: 1;
  color: #d0d0d0;
  line-height: 1.6;
}

.cookie-content a {
  color: #ffd700;
  text-decoration: underline;
}

.cookie-buttons {
  display: flex;
  gap: 1rem;
}

/* Responsive Design */
@media (max-width: 900px) {
  .burger-menu {
    display: flex;
  }

  .nav {
    position: fixed;
    top: 70px;
    right: -100%;
    width: 280px;
    height: calc(100vh - 70px);
    background: rgba(10, 10, 15, 0.98);
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    transition: right 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border-left: 2px solid rgba(255, 215, 0, 0.3);
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.5);
  }

  .burger-toggle:checked ~ .nav {
    right: 0;
  }

  .nav a {
    font-size: 1.2rem;
    padding: 0.5rem 0;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .hero-image {
    max-width: 100%;
    margin-bottom: 1.5rem;
  }

  .features-list {
    flex-direction: column;
    align-items: center;
  }

  .feature-item {
    max-width: 100%;
    font-size: 1.2rem;
  }

  .casino-card {
    flex-direction: column;
    text-align: center;
    padding: 2rem 1.5rem;
  }

  .casino-logo {
    width: 200px;
    height: 200px;
  }

  .casino-info h3 {
    font-size: 2.5rem;
  }

  .casino-description {
    font-size: 1.3rem;
  }

  .payment-methods {
    justify-content: center;
  }

  .payment-badge {
    font-size: 1.1rem;
    padding: 0.6rem 1.2rem;
  }

  .btn-cta {
    font-size: 1.4rem;
    padding: 1.5rem 3rem;
  }

  .certificates {
    grid-template-columns: 1fr;
  }

  .banners-grid {
    gap: 1.5rem;
  }

  .banner-item {
    flex: 0 1 calc(50% - 1.5rem);
    height: 100px;
  }

  .footer-responsible {
    flex-direction: row;
    text-align: left;
    gap: 1rem;
  }

  .responsible-icon img {
    width: 50px;
    height: 50px;
  }

  .responsible-content h3 {
    font-size: 1.1rem;
  }

  .responsible-content h4 {
    font-size: 0.9rem;
  }

  .responsible-content p {
    font-size: 0.85rem;
  }

  .footer-links {
    flex-direction: column;
    gap: 1rem;
  }

  .cookie-content {
    flex-direction: column;
    text-align: center;
  }

  .cookie-buttons {
    flex-direction: column;
    width: 100%;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
  }

  .modal-content {
    margin: 1rem;
    padding: 2rem;
  }

  .modal-buttons {
    flex-direction: column;
    width: 100%;
  }
}

@media (max-width: 600px) {
  .hero {
    padding: 60px 0 40px;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-image {
    border-radius: 15px;
  }

  .casinos h2,
  .reviews h2,
  .security h2,
  .faq h2,
  .banners h2,
  .contact h2 {
    font-size: 2rem;
  }

  .reviews-grid {
    grid-template-columns: 1fr;
  }

  .banner-item {
    flex: 0 1 100%;
    height: 90px;
  }

  .footer-responsible {
    flex-direction: column;
    text-align: center;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
  }

  .responsible-icon img {
    width: 50px;
    height: 50px;
    margin: 0 auto;
  }

  .responsible-content h3 {
    font-size: 1rem;
  }

  .responsible-content h4 {
    font-size: 0.85rem;
  }

  .responsible-content p {
    font-size: 0.8rem;
  }

  .contact-email a {
    font-size: 1rem;
  }
}
