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

body {
  font-family: "Roboto", sans-serif;
  line-height: 1.6;
  color: #1a1a1a;
  background: linear-gradient(135deg, #66afea 0%, #4b53a2 100%);
  min-height: 100vh;
}

/* Age Warning Sticky Header */
.age-warning {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: linear-gradient(90deg, #fc5948, #d04233);
  color: white;
  padding: 8px 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.age-warning-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 20px;
}

.age-icon {
  font-size: 20px;
}

.age-text {
  font-size: 14px;
  font-weight: 500;
}

.age-text a {
  color: #fff;
  text-decoration: underline;
}

/* Header */
.header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  position: fixed;
  top: 48px;
  left: 0;
  right: 0;
  z-index: 999;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 24px;
  color: #2c3e50;
}

.logo-icon {
  font-size: 28px;
}

.nav-menu {
  display: flex;
  gap: 30px;
}

.nav-link {
  text-decoration: none;
  color: #2c3e50;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
}

.nav-link:hover {
  color: #44b3d5;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: #44b3d5;
  transition: width 0.3s ease;
}

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

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
}

.mobile-menu-toggle span {
  width: 25px;
  height: 3px;
  background: #2c3e50;
  transition: all 0.3s ease;
}

/* Hero Section */
.hero {
  padding: 180px 20px 80px;
  text-align: center;
  background: linear-gradient(135deg, #66afea 0%, #4b53a2 100%);
  color: white;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('../img/particles.png')
    repeat;
  animation: float 20s infinite linear;
  background-size: 500px;
  width: 200%;
  height: 200%;
  opacity: 0.8;
}

@keyframes float {
  0% {
    transform: translateY(0px) translateX(0px);
  }
  100% {
    transform: translateY(-100px) translateX(-100px);
  }
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 20px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  font-size: 1.2rem;
  margin-bottom: 40px;
  opacity: 0.9;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-features {
  justify-content: center;
  flex-wrap: wrap;
}

.feature {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.1);
  padding: 15px 25px;
  border-radius: 50px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.feature-icon {
  font-size: 20px;
}

/* Casinos Section */
.casinos {
  padding: 80px 20px;
  background: #f8fafc;
}

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

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 50px;
  color: #2c3e50;
  position: relative;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #44b3d5, #0640d4);
  border-radius: 2px;
}

.casino-card {
  background: white;
  border-radius: 20px;
  padding: 30px;
  margin-bottom: 25px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  grid-template-columns: auto 1fr auto;
  align-items: center;
  position: relative;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.casino-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  border-color: #44b3d5;
}

.casino-rank {
  font-size: 2rem;
  font-weight: 800;
  color: white;
  background: linear-gradient(90deg, #44b3d5, #0640d4);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

.casino-info {
  flex: 1;
}

.casino-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 15px;
}

.casino-logo {
  /* height: 50px; */
  width: 220px;
  padding: 4px;
  border-radius: 4px;
}

.casino-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 5px;
}

.casino-rating {
  display: flex;
  align-items: center;
  gap: 10px;
}

.stars {
  color: #fbbf24;
  font-size: 18px;
}

.rating-score {
  font-weight: 700;
  font-size: 1.2rem;
  color: #059669;
  background: #d1fae5;
  padding: 5px 12px;
  border-radius: 20px;
}

.votes {
  color: #64748b;
  font-size: 0.9rem;
}

.casino-bonus {
  background: linear-gradient(135deg, #c6dff3, #66afea);
  padding: 15px 20px;
  border-radius: 12px;
  margin-top: 15px;
}

.bonus-title {
  font-weight: 600;
  color: #246272;
  display: block;
  margin-bottom: 5px;
}

.bonus-amount {
  font-weight: 700;
  font-size: 1.1rem;
  color: #246272;
}

.casino-action {
  text-align: center;
}

.cta-button {
  background: linear-gradient(135deg, #66afea 0%, #5581ac 100%);
  color: white;
  text-decoration: none;
  padding: 15px 30px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.1rem;
  display: inline-block;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(102, 175, 134, 0.3);
  margin-bottom: 10px;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(102, 175, 134, 0.4);
}

.terms {
  font-size: 0.8rem;
  color: #64748b;
  display: block;
}

/* Info Section */
.info {
  padding: 80px 20px;
  background: white;
}

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

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-top: 50px;
}

.info-card {
  background: linear-gradient(135deg, #f8fafc, #e2e8f0);
  padding: 40px;
  border-radius: 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.info-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #44b3d5, #0640d4);
}

.info-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 15px;
}

.info-card p {
  color: #64748b;
  line-height: 1.7;
}

/* Responsible Gaming Section */
.responsible {
  padding: 80px 20px;
  background: #2a4351;
  color: white;
  text-align: center;
}

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

.responsible-text {
  font-size: 1.1rem;
  margin-bottom: 40px;
  opacity: 0.9;
}

.responsible-links {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.responsible-link {
  background: white;
  padding: 20px;
  border-radius: 15px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  height: 80px;
}

.responsible-link:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.responsible-link img {
  max-height: 40px;
  width: auto;
}

.anj-logo,
.jis-logo {
  font-weight: 700;
  color: #2c3e50;
  font-size: 14px;
}

/* Footer */
.footer {
  background: #181725;
  color: white;
  padding: 60px 20px 30px;
}

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

.footer-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-bottom: 40px;
}

.footer-brand p {
  margin-top: 15px;
  opacity: 0.7;
}

.footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.footer-column h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: #44b3d5;
}

.footer-column a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  display: block;
  margin-bottom: 10px;
  transition: color 0.3s ease;
}

.footer-column a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid #334155;
  padding-top: 30px;
  text-align: center;
  opacity: 0.7;
}

.footer-bottom p {
  margin-bottom: 10px;
  font-size: 0.9rem;
}

/* Mobile Responsive Design */
@media (max-width: 768px) {
  .age-icon {
    display: none;
  }
  .age-warning-content {
    flex-direction: column;
    gap: 5px;
    text-align: center;
  }

  .age-text {
    font-size: 12px;
  }

  .nav-menu {
    position: fixed;
    top: 65px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 110px);
    background: white;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    transition: left 0.3s ease;
    padding-top: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    z-index: 998;
    display: flex;
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-link {
    font-size: 1.2rem;
    padding: 20px 0;
    width: 80%;
    text-align: center;
    border-bottom: 1px solid #e2e8f0;
    transition: all 0.3s ease;
  }

  .nav-link:hover {
    background: #f8fafc;
    color: #44b3d5;
  }

  .mobile-menu-toggle {
    display: flex;
    cursor: pointer;
    padding: 10px;
    border-radius: 8px;
    transition: background-color 0.3s ease;
  }

  .mobile-menu-toggle:hover {
    background-color: rgba(139, 92, 246, 0.1);
  }

  .mobile-menu-toggle:active {
    background-color: rgba(139, 92, 246, 0.2);
  }

  .mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
  }

  /* Mobile menu overlay */
  .mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 997;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
  }

  .mobile-overlay.active {
    opacity: 1;
    visibility: visible;
  }

  /* Ensure mobile menu appears above overlay */
  .nav-menu {
    z-index: 999 !important;
  }

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

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

  .hero-features {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .feature {
    width: 100%;
    max-width: 100%;
  }

  .casino-card {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 20px;
  }

  .casino-header {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }

  .casino-rating {
    justify-content: center;
  }

  .responsible-links {
    gap: 15px;
  }

  .responsible-link {
    min-width: 100px;
    height: 70px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-links {
    grid-template-columns: 1fr;
    gap: 30px;
  }

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

@media (max-width: 480px) {
  .hero {
    padding: 140px 15px 60px;
  }

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

  .section-title {
    font-size: 2rem;
  }

  .casino-card {
    padding: 20px;
    margin-bottom: 20px;
  }

  .casino-rank {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
  }

  .cta-button {
    padding: 12px 25px;
    font-size: 1rem;
  }

  .info-card {
    padding: 30px 20px;
  }
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.casino-card {
  animation: fadeInUp 0.6s ease-out;
}

.casino-card:nth-child(1) {
  animation-delay: 0.1s;
}
.casino-card:nth-child(2) {
  animation-delay: 0.2s;
}
.casino-card:nth-child(3) {
  animation-delay: 0.3s;
}
.casino-card:nth-child(4) {
  animation-delay: 0.4s;
}
.casino-card:nth-child(5) {
  animation-delay: 0.5s;
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}
.casino-card:hover {
  transform: translateY(-8px)
}
.responsible-block {
  background: #eee;
}
.respon-block {
  text-align: left;
  color: #000;
  padding: 20px;
  border-left: 2px solid #66afea;
  box-shadow: 0 5px 15px #0003;
  height: 100%;
  background: #eee;
  border-radius: 5px;
}
.respon-parrent {
  margin: 20px 0;

}
.responsible .section-title, footer .logo-text {
  color: #fff
}
.color-main {
  color: #66afea
}
.modal-backdrop.show {
  opacity: 0.9;
  background: #000;
}
.policy-content {
  padding: 140px 20px 80px;
  background: #f8fafc;
  min-height: 100vh;
}
.policy-container {
  max-width: 1000px;
  margin: 0 auto;
  background: white;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}
.policy-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 10px;
  text-align: center;
}
.policy-updated {
  text-align: center;
  color: #64748b;
  margin-bottom: 40px;
  font-style: italic;
}
.policy-section h2 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 2px solid #8b5cf6;
}
.policy-section p {
  line-height: 1.7;
  color: #374151;
  margin-bottom: 15px;
}
.policy-section h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: #475569;
  margin: 20px 0 10px 0;
}
.policy-section {
  margin-bottom: 30px;
}
.warning-card, .tool-card {
  background: linear-gradient(135deg, #c6dff3, #66afea);
  padding: 20px;
  border-radius: 15px;
  border-left: 4px solid #f59e0b;
}
.warning-grid, .tools-grid {
  display: grid
;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin: 20px 0;
}
.warning-card h3, .tool-card h3 {
  margin-bottom: 15px;
  font-size: 1.1rem;
}
.tool-card {
  background: linear-gradient(135deg, #dbeafe, #3b82f6);
  color: white;
  border-left-color: #1d4ed8;
}
.tip-card {
  background: #f1f5f9;
  padding: 25px;
  border-radius: 15px;
  border-top: 4px solid #10b981;
}
.tips-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  margin: 25px 0;
}
.resource-card {
  background: linear-gradient(135deg, #fee2e2, #fca5a5);
  padding: 25px;
  border-radius: 15px;
  border: 2px solid #ef4444;
  text-align: center;
}
.help-resources {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  margin: 25px 0;
}
.legal-notice {
  background: #f8fafc;
  padding: 25px;
  border-radius: 15px;
  margin: 25px 0;
}
.legal-links {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 20px;
}
.legal-link {
  display: flex
;
  flex-direction: column;
  padding: 15px 20px;
  background: white;
  border-radius: 10px;
  text-decoration: none;
  border-left: 4px solid #8b5cf6;
  transition: all 0.3s ease;
}
.emergency-section {
  background: linear-gradient(135deg, #fee2e2, #ef4444);
  padding: 30px;
  border-radius: 20px;
  margin-top: 40px;
  border: 3px solid #dc2626;
}
.emergency-section h2 {
  color: white;
  text-align: center;
  margin-bottom: 20px;
  border-bottom: 2px solid white;
  padding-bottom: 10px;
}
.emergency-section p {
  color: white;
  text-align: center;
  margin-bottom: 25px;
  font-size: 1.1rem;
}
.emergency-contacts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}
.emergency-card {
  background: white;
  padding: 20px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}
.emergency-card h3 {
  color: #dc2626;
  margin-bottom: 10px;
}
.emergency-card p {
  color: #374151;
  margin-bottom: 5px;
}
.cookie-consent {
  background: linear-gradient(135deg, #c6dff3, #66afea);
  padding: 30px;
  border-radius: 15px;
  text-align: center;
  margin-top: 40px;
}
.cookie-consent h3 {
  color: #246272;
  margin-bottom: 15px;
}
.cookie-consent p {
  color: #246272;
  margin-bottom: 20px;
}

.accept-cookies-btn, .reject-cookies-btn {
  padding: 12px 25px;
  border: none;
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
  margin: 0 10px;
  transition: all 0.3s ease;
}

.accept-cookies-btn {
  background: #10b981;
  color: white;
}
.reject-cookies-btn {
  background: #6b7280;
  color: white;
}
.logo-text {
  text-decoration: none;
  color: #2c3e50
}
/**/
body.no-scroll {
    overflow: hidden;
}
/**/
.modal-backdrop.show {
  opacity: 0.9;
  background: #000;
}
#overlay-popup .modal-content {
  background: #eee;
  color: var(--text-color);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
}
#overlay-popup .btn-outline-danger {
  border-color: #dc3545;
  color: #dc3545;
}
#overlay-popup .btn-outline-danger:hover {
  background: #dc3545;
  color: white;
}
#overlay-popup .btn-primary {
  color: white;
  transition: all 0.3s ease;
  background: #66afea;
}
#overlay-popup .btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}
.modal {
  backdrop-filter: blur(5px);
  --bs-modal-zindex: 1055;
  --bs-modal-width: 500px;
  --bs-modal-padding: 1rem;
  --bs-modal-margin: 0.5rem;
  --bs-modal-color: ;
  --bs-modal-bg: var(--bs-body-bg);
  --bs-modal-border-color: var(--bs-border-color-translucent);
  --bs-modal-border-width: var(--bs-border-width);
  --bs-modal-border-radius: 0.5rem;
  --bs-modal-box-shadow: var(--bs-box-shadow-sm);
  --bs-modal-inner-border-radius: calc(var(--bs-border-radius-lg) - (var(--bs-border-width)));
  --bs-modal-header-padding-x: 1rem;
  --bs-modal-header-padding-y: 1rem;
  --bs-modal-header-padding: 1rem 1rem;
  --bs-modal-header-border-color: var(--bs-border-color);
  --bs-modal-header-border-width: var(--bs-border-width);
  --bs-modal-title-line-height: 1.5;
  --bs-modal-footer-gap: 0.5rem;
  --bs-modal-footer-bg: ;
  --bs-modal-footer-border-color: var(--bs-border-color);
  --bs-modal-footer-border-width: var(--bs-border-width);
  position: fixed;
  top: 0;
  left: 0;
  z-index: var(--bs-modal-zindex);
  display: none;
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  outline: 0;
  background: #000d;
}
.modal-content {
  max-width: var(--bs-modal-width);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}
.modal-content {

  border-radius: 0.5rem;
}
.p-4 {
  padding: 1.5rem !important;
}
.modal-title {
  margin-bottom: 0;
  line-height: 1.2;
  color: #2c3e50;
  text-align: center;
}
.small, small {
  font-size: .875em;
}
.mb-4 {
  margin-bottom: 1.5rem !important;
}
.modal-content .btn {
  --bs-btn-padding-x: 0.75rem;
  --bs-btn-padding-y: 0.375rem;
  --bs-btn-font-family: ;
  --bs-btn-font-size: 1rem;
  --bs-btn-font-weight: 400;
  --bs-btn-line-height: 1.5;
  --bs-btn-color: var(--bs-body-color);
  --bs-btn-bg: transparent;
  --bs-btn-border-width: var(--bs-border-width);
  --bs-btn-border-color: transparent;
  --bs-btn-border-radius: var(--bs-border-radius);
  --bs-btn-hover-border-color: transparent;
  --bs-btn-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 1px 1px rgba(0, 0, 0, 0.075);
  --bs-btn-disabled-opacity: 0.65;
  --bs-btn-focus-box-shadow: 0 0 0 0.25rem rgba(var(--bs-btn-focus-shadow-rgb), .5);
  display: inline-block;
  padding: 10px 15px;
  font-family: var(--bs-btn-font-family);
  font-size: var(--bs-btn-font-size);
  font-weight: var(--bs-btn-font-weight);
  line-height: var(--bs-btn-line-height);
  color: var(--bs-btn-color);
  text-align: center;
  text-decoration: none;
  vertical-align: middle;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  border-radius: 8px;
  transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
  display: block;
  width: 100%;
  margin-bottom: 10px;
  outline: none;
}
.btn-primary {
  background: #2C3E50;
  border: none;
}
.btn-outline-danger {
  background: none;
  border: 1px solid #dc3545;
}
@media (max-width:767px) {
  .modal-content {
    width: 95%;
  }
}
