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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: "Inter", sans-serif;
  line-height: 1.6;
  color: #ffffff;
  background: linear-gradient(135deg, #0a0a0f 0%, #1a1a2e 50%, #16213e 100%);
  overflow-x: hidden;
}

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

/* Header */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(10, 10, 15, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 215, 0, 0.2);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

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

.nav-list {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-link {
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
  display: inline-block;
}

.nav-link:hover {
  color: #ffd700;
  text-shadow: 0 0 5px rgba(255, 215, 0, 0.8);
}

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

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

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

.burger-label {
  display: none;
  flex-direction: column;
  cursor: pointer;
  width: 30px;
  height: 25px;
  position: relative;
}

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

.burger-line:nth-child(1) {
  top: 0;
}

.burger-line:nth-child(2) {
  top: 50%;
  transform: translateY(-50%);
}

.burger-line:nth-child(3) {
  bottom: 0;
}

.burger-checkbox:checked ~ .burger-label .burger-line:nth-child(1) {
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}

.burger-checkbox:checked ~ .burger-label .burger-line:nth-child(2) {
  transform: translateY(-50%) scale(0);
}

.burger-checkbox:checked ~ .burger-label .burger-line:nth-child(3) {
  bottom: 50%;
  transform: translateY(50%) rotate(-45deg);
}

/* Hero Section */
.hero {
  padding: 120px 0 80px;
  text-align: center;
  background-image: url('images/Cosmic casino aggregator.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 0;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #ffd700 0%, #00d4aa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 30px rgba(255, 215, 0, 0.5);
}

.hero-subtitle {
  font-size: 1.3rem;
  color: #e0e0e0;
  margin-bottom: 0.5rem;
}

.hero-subtitle-small {
  font-size: 1.1rem;
  color: #ffd700;
  margin-bottom: 2rem;
  font-weight: 500;
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.hero-text-part {
  display: inline-block;
}

.hero-features {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.5rem;
  background: rgba(255, 215, 0, 0.1);
  border: 1px solid rgba(255, 215, 0, 0.3);
  border-radius: 25px;
  backdrop-filter: blur(10px);
}

.feature-item i {
  color: #ffd700;
  font-size: 1.2rem;
}

.feature-item span {
  font-weight: 500;
  color: #ffffff;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(26, 26, 46, 0.95);
  backdrop-filter: blur(10px);
  border-top: 2px solid #ffd700;
  z-index: 2000;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.cookie-banner.show {
  transform: translateY(0);
}

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

.cookie-content p {
  margin: 0;
  flex: 1;
  min-width: 200px;
}

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

.cookie-btn {
  padding: 0.8rem 2rem;
  border: none;
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cookie-btn.accept {
  background: linear-gradient(135deg, #ffd700, #ffa500);
  color: #000;
}

.cookie-btn.decline {
  background: transparent;
  color: #ffffff;
  border: 2px solid #ffd700;
}

.cookie-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
}

#cookie-link {
  color: #ffd700;
  text-decoration: none;
  margin: 0;
  display: inline-block;
  cursor: default;
  white-space: nowrap;
}

/* Sections */
.section-title {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 3rem;
  background: linear-gradient(135deg, #ffd700 0%, #00d4aa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}

/* Offers Section */
.offers {
  padding: 80px 0;
  position: relative;
}

.offers .section-background-image {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.15;
  z-index: 0;
}

.offers .container {
  position: relative;
  z-index: 1;
}

.offers-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.offer-card {
  display: flex;
  background: rgba(26, 26, 46, 0.8);
  border: 1px solid rgba(255, 215, 0, 0.2);
  border-radius: 15px;
  padding: 2rem;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.1);
}

.offer-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(255, 215, 0, 0.2);
  border-color: rgba(255, 215, 0, 0.5);
}

.offer-left {
  width: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.offer-logo {
  background: transparent;
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.offer-logo img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
  background: transparent;
}

.offer-right {
  width: 50%;
  padding-left: 2rem;
}

.offer-metrics-desktop {
  display: block;
}

.offer-metrics-mobile {
  display: none;
}

.offer-metrics {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  color: #ffd700;
}

.offer-title {
  font-size: 1.5rem;
  color: #ffd700;
  margin-bottom: 0.5rem;
  display: block;
}

.offer-description {
  margin-bottom: 1.5rem;
  color: #e0e0e0;
  line-height: 1.6;
}

.payment-methods {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.payment-methods i {
  font-size: 1.5rem;
  color: #00d4aa;
}

.offer-btn {
  display: inline-block;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, #ffd700, #ffa500);
  color: #000;
  text-decoration: none;
  border-radius: 25px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
  cursor: pointer;
}

.offer-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(255, 215, 0, 0.5);
}

/* Reviews */
.reviews {
  padding: 80px 0;
  background: rgba(26, 26, 46, 0.3);
}

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

.review-card {
  background: rgba(26, 26, 46, 0.8);
  border: 1px solid rgba(255, 215, 0, 0.2);
  border-radius: 15px;
  padding: 2rem;
  backdrop-filter: blur(10px);
}

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

.review-rating {
  color: #ffd700;
}

.review-date {
  color: #888;
  font-size: 0.9rem;
}

.review-text {
  margin-bottom: 1rem;
  color: #e0e0e0;
}

.review-author {
  color: #ffd700;
  font-weight: 500;
}

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

.security .section-background-image {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.15;
  z-index: 0;
}

.security .container {
  position: relative;
  z-index: 1;
}

.security-text {
  text-align: center;
  font-size: 1.2rem;
  margin-bottom: 3rem;
  color: #e0e0e0;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.certificate-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  background: rgba(26, 26, 46, 0.8);
  border: 1px solid rgba(255, 215, 0, 0.2);
  border-radius: 15px;
  backdrop-filter: blur(10px);
}

.certificate-item i {
  font-size: 2rem;
  color: #ffd700;
}

.certificate-info h4 {
  color: #ffd700;
  margin-bottom: 0.5rem;
}

.certificate-info p {
  color: #e0e0e0;
  font-size: 0.9rem;
}

/* FAQ */
.faq {
  padding: 80px 0;
  background: rgba(26, 26, 46, 0.3);
}

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

.faq-item {
  background: rgba(26, 26, 46, 0.8);
  border: 1px solid rgba(255, 215, 0, 0.2);
  border-radius: 15px;
  padding: 2rem;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(10px);
}

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

.faq-item p {
  color: #e0e0e0;
  line-height: 1.6;
}

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

.banners-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.banner-item {
  display: flex;
  width: 200px;
  height: 150px;
  background: rgba(26, 26, 46, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 1rem;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  aspect-ratio: 4 / 3;
  text-decoration: none;
  cursor: pointer;
}

.banner-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
}

.banner-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: brightness(0) invert(1);
  transition: filter 0.3s ease;
}

.banner-item:hover img {
  filter: brightness(0) invert(1) drop-shadow(0 0 10px rgba(255, 255, 255, 0.5));
}

/* Contact */
.contact {
  padding: 80px 0;
  background: rgba(26, 26, 46, 0.3);
  text-align: center;
}

.contact-content p {
  font-size: 1.2rem;
  color: #e0e0e0;
  margin-bottom: 2rem;
}

.contact-info {
  display: flex;
  justify-content: center;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem 2rem;
  background: rgba(26, 26, 46, 0.8);
  border: 1px solid rgba(255, 215, 0, 0.2);
  border-radius: 25px;
  backdrop-filter: blur(10px);
}

.contact-item i {
  color: #ffd700;
  font-size: 1.5rem;
}

.contact-item span {
  color: #ffd700;
  text-decoration: none;
  font-weight: 500;
  word-break: break-all;
}

/* Footer */
.footer {
  background: rgba(10, 10, 15, 0.95);
  border-top: 2px solid rgba(255, 215, 0, 0.3);
  padding: 3rem 0 2rem;
}

.responsibility-block {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-bottom: 2rem;
  padding: 2rem;
  background: rgba(26, 26, 46, 0.8);
  border-radius: 15px;
  backdrop-filter: blur(10px);
}

.age-icon {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

.responsibility-text h3 {
  color: #ffd700;
  margin-bottom: 0.5rem;
}

.responsibility-text h4 {
  color: #00d4aa;
  margin-bottom: 1rem;
}

.responsibility-text p {
  color: #e0e0e0;
  line-height: 1.6;
}

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

.legal-links span {
  color: #ffd700;
  text-decoration: none;
  transition: color 0.3s ease;
  cursor: default;
}

.legal-links span:hover {
  color: #00d4aa;
}

.copyright {
  text-align: center;
  color: #888;
  font-size: 0.9rem;
}

.copyright p {
  margin-bottom: 0.5rem;
}

.affiliate-disclaimer {
  font-size: 0.85rem;
  color: #aaa;
  line-height: 1.5;
  margin-top: 1rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

  .nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    background: rgba(10, 10, 15, 0.98);
    backdrop-filter: blur(10px);
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 999;
    overflow-y: auto;
  }

  .burger-checkbox:checked ~ .nav {
    transform: translateX(0);
  }

  .nav-list {
    flex-direction: column;
    padding: 100px 2rem 2rem;
    gap: 1.5rem;
  }

  .nav-link {
    font-size: 1.2rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
  }

  /* Hero mobile */
  .hero {
    padding: 100px 0 40px;
  }

  .hero-title {
    font-size: 2.5rem;
  }

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

  .hero-subtitle-small {
    flex-direction: row;
    gap: 0.5rem;
    font-size: 1rem;
    flex-wrap: nowrap;
    justify-content: center;
  }

  .hero-text-part {
    display: inline-block;
  }

  .hero-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 1rem;
    max-width: 400px;
    margin: 3rem auto 0;
  }

  .feature-item {
    width: 100%;
    justify-content: center;
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
  }

  /* Offers mobile */
  .offer-card {
    display: grid;
    grid-template-columns: 50% 50%;
    gap: 0;
    padding: 1rem;
    margin: 0;
  }

  .offer-metrics-desktop {
    display: none;
  }

  .offer-metrics-mobile {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 0.5rem;
  }

  .offer-left {
    width: 100%;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }

  .offer-left .offer-logo {
    margin-bottom: 0;
  }

  .offer-left .offer-metrics-mobile .offer-metrics {
    margin: 0;
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
  }

  .offer-right {
    width: 100%;
    padding: 0 0 0 0.75rem;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }

  .offer-title {
    font-size: 1rem;
    margin-bottom: 0.25rem;
    line-height: 1.2;
  }

  .offer-description {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 0.75rem;
    line-height: 1.3;
    margin: 0;
  }

  .payment-methods {
    gap: 0.5rem;
    margin: 0;
  }

  .payment-methods i {
    font-size: 1.1rem;
  }

  .offer-btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.85rem;
    margin-top: 0.25rem;
  }

  /* Sections mobile */
  .section-title {
    font-size: 1.6rem;
    margin-bottom: 1rem;
  }

  .offers {
    padding: 20px 0;
  }

  .reviews,
  .security,
  .faq,
  .contact {
    padding: 40px 0;
  }

  .offers-grid {
    gap: 1rem;
  }

  /* Banners mobile */
  .banners-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    justify-items: center;
  }

  .banner-item {
    width: 100%;
    max-width: 200px;
    height: 150px;
  }

  .banner-item:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    justify-self: center;
    max-width: 200px;
  }

  /* Certificates mobile */
  .certificates {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .certificate-item {
    padding: 1rem;
  }

  .certificate-item i {
    font-size: 1.5rem;
  }

  /* Responsibility block mobile */
  .responsibility-block {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .legal-links {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }

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

  .hero-subtitle-small {
    font-size: 0.9rem;
  }

  .hero-features {
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
  }

  .feature-item {
    width: 100%;
    max-width: 250px;
    justify-content: center;
  }

  .banners-row {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .banner-item {
    max-width: 250px;
  }

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

  .contact-item {
    flex-direction: column;
    text-align: center;
    padding: 1rem;
  }
}

/* Legal pages styles */
.legal-main {
  padding: 120px 0 80px;
  min-height: 70vh;
}

.legal-main h1 {
  font-size: 2.5rem;
  color: #ffd700;
  margin-bottom: 1rem;
  text-align: center;
}

.last-updated {
  text-align: center;
  color: #00d4aa;
  margin-bottom: 3rem;
  font-style: italic;
}

.legal-main section {
  margin-bottom: 3rem;
  padding: 2rem;
  background: rgba(26, 26, 46, 0.8);
  border: 1px solid rgba(255, 215, 0, 0.2);
  border-radius: 15px;
  backdrop-filter: blur(10px);
}

.legal-main h2 {
  color: #ffd700;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.legal-main h3 {
  color: #00d4aa;
  font-size: 1.2rem;
  margin: 1.5rem 0 1rem;
}

.legal-main p {
  color: #e0e0e0;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.legal-main ul {
  color: #e0e0e0;
  margin-left: 2rem;
  margin-bottom: 1rem;
}

.legal-main li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.legal-main a {
  color: #ffd700;
  text-decoration: none;
  transition: color 0.3s ease;
}

.legal-main a:hover {
  color: #00d4aa;
  text-decoration: underline;
}

/* Utility Classes */
.glow {
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}

.text-glow {
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.8);
}

/* Responsive font sizes */
@media (max-width: 768px) {
  .section-title {
    font-size: 1.6rem;
  }

  .offer-metrics {
    font-size: 0.8rem;
  }

  .offer-description {
    font-size: 0.85rem;
  }
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }
}
