@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800;900&display=swap");

/* 

   Синьо-чорна (поточна):     --accent-rgb: 47, 125, 225;   --accent-hover-rgb: 96, 165, 250;
   Смарагдово-чорна:          --accent-rgb: 16, 185, 129;   --accent-hover-rgb: 52, 211, 153;
   Пурпурно-чорна:            --accent-rgb: 139, 92, 246;   --accent-hover-rgb: 167, 139, 250;
   Жовто-чорна (стара):       --accent-rgb: 223, 183, 64;   --accent-hover-rgb: 241, 201, 80;
   Червоно-чорна:             --accent-rgb: 220, 38, 38;    --accent-hover-rgb: 248, 113, 113;
   ========================================================================== */
:root {
  /* --- Головна акцентна гама (синьо-чорна) --- */
  --accent-rgb: 47, 125, 225; /* основний синій акцент */
  --accent-hover-rgb: 96, 165, 250; /* світліший синій для hover-станів */

  /* --- Похідні змінні (генеруються автоматично з accent-rgb, не чіпай) --- */
  --accent: rgb(var(--accent-rgb));
  --accent-hover: rgb(var(--accent-hover-rgb));
  --accent-05: rgba(var(--accent-rgb), 0.05);
  --accent-10: rgba(var(--accent-rgb), 0.1);
  --accent-12: rgba(var(--accent-rgb), 0.12);
  --accent-15: rgba(var(--accent-rgb), 0.15);
  --accent-20: rgba(var(--accent-rgb), 0.2);
  --accent-30: rgba(var(--accent-rgb), 0.3);
  --accent-80: rgba(var(--accent-rgb), 0.8);

  /* --- Фонові та нейтральні кольори --- */
  --dark-bg: #050505;
  --card-bg: #121212;
  --border-color: var(--accent-30);
  --text-main: #f5f5f5;
  --text-muted: #a0a0a0;

  /* --- Другорядні службові кольори (не пов'язані з акцентом) --- */
  --success-color: #00b67a; /* напр. Trustpilot */
  --overlay-bg: rgba(0, 0, 0, 0.95);
}

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

body {
  font-family: "Montserrat", sans-serif;
  background-color: var(--dark-bg);
  color: var(--text-main);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

/* Background Checkered pattern matching the image */
.pattern-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1400px;
  background-image: linear-gradient(
      45deg,
      var(--accent-12) 25%,
      transparent 25%,
      transparent 75%,
      var(--accent-12) 75%,
      var(--accent-12)
    ),
    linear-gradient(
      45deg,
      var(--accent-12) 25%,
      transparent 25%,
      transparent 75%,
      var(--accent-12) 75%,
      var(--accent-12)
    );
  background-size: 30px 30px;
  background-position: 0 0, 15px 15px;
  z-index: -1;
  mask-image: linear-gradient(to bottom, black 30%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, black 30%, transparent 100%);
}

/* Top bar matching exactly */
.top-bar {
  background: #000;
  text-align: center;
  padding: 8px 15px;
  font-size: 0.65rem;
  color: #777;
  border-bottom: 1px solid #1a1a1a;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.top-bar span {
  font-weight: 700;
  color: #bbb;
}
.icon-logo {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--accent);
  border: 1px solid #fff;
}

/* Main Header */
.main-header {
  padding: 20px 0;
  text-align: center;
  background: rgba(0, 0, 0, 0.5);
  border-bottom: 1px solid var(--accent-10);
  backdrop-filter: blur(10px);
}

.logo-link {
  text-decoration: none;
  color: var(--accent);
  transition: transform 0.3s ease;
  display: inline-block;
}

.logo-link:hover {
  transform: scale(1.05);
}

.main-header h1 {
  font-size: 2.5rem;
  font-weight: 900;
  margin: 0;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-shadow: 0 0 20px var(--accent-20);
}

/* Hero Section */
.hero {
  text-align: center;
  padding: 60px 20px 40px;
  max-width: 900px;
  margin: 0 auto;
}
.hero h1 {
  font-size: clamp(1.5rem, 4vw, 2.7rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 20px;
  text-transform: uppercase;
}
.hero h1 span {
  color: var(--accent);
}
.hero p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: 700px;
  margin: 0 auto;
}

/* Section Titles */
.section-title {
  text-align: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 30px;
  color: #fff;
}

/* Cards Section */
.cards-section {
  max-width: 1000px;
  margin: 0 auto 60px;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.casino-card {
  background: rgba(18, 18, 18, 0.85);
  border: 1px solid var(--accent-15);
  border-radius: 12px;
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
  position: relative;
  overflow: hidden;
}

.casino-card:hover {
  border-color: var(--accent-80);
  box-shadow: 0 0 30px var(--accent-15);
  transform: translateY(-2px);
}

.casino-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
    circle at 50% 0%,
    var(--accent-10) 0%,
    transparent 60%
  );
  pointer-events: none;
}

.card-left {
  display: flex;
  align-items: center;
  gap: 15px;
  min-width: 220px;
  padding-right: 20px;
  border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.card-rank {
  font-size: 3rem;
  font-weight: 900;
  font-style: italic;
  color: var(--accent);
  line-height: 1;
  text-shadow: 2px 2px 0px rgba(0, 0, 0, 0.5);
}

.card-logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.05em;
  text-transform: lowercase;
  text-decoration: none;
}

.card-left a {
  text-decoration: none;
}

.card-center {
  flex: 1;
}

.card-title-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 6px;
}

.card-name {
  font-weight: 700;
  font-size: 1rem;
}

.verified-badge {
  font-size: 0.65rem;
  background: rgba(255, 255, 255, 0.1);
  padding: 2px 8px;
  border-radius: 4px;
  color: var(--text-muted);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.card-offer {
  font-size: 0.9rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.card-progress {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 0.65rem;
  color: var(--text-muted);
}
.card-progress .pct {
  color: var(--accent);
  font-weight: 700;
}

.progress-bar-wrap {
  flex: 1;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  position: relative;
}
.progress-bar-fill {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  background: var(--accent);
  border-radius: 2px;
  box-shadow: 0 0 8px var(--accent);
}

.card-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.card-features span {
  font-size: 0.65rem;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 4px 10px;
  border-radius: 20px;
  color: var(--text-muted);
}

.card-right {
  min-width: 180px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.btn-visit {
  background: linear-gradient(180deg, var(--accent-hover), var(--accent));
  color: #000;
  font-weight: 800;
  font-size: 0.85rem;
  padding: 12px 24px;
  border-radius: 6px;
  text-decoration: none;
  text-transform: uppercase;
  width: 100%;
  text-align: center;
  box-shadow: 0 4px 15px var(--accent-30);
  transition: all 0.2s ease;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}
.btn-visit::before {
  content: "👑";
  font-size: 1rem;
}
.btn-visit:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
}

@media (max-width: 850px) {
  .casino-card {
    flex-direction: column;
    align-items: stretch;
    padding: 20px;
  }
  .card-left {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 15px;
    margin-bottom: 15px;
  }
  .card-right {
    margin-top: 15px;
  }
}

/* Text / Regulation Section */
.regulation-section {
  max-width: 900px;
  margin: 0 auto 60px;
  padding: 0 20px;
  font-size: 0.85rem;
  line-height: 1.7;
  color: var(--text-muted);
}
.regulation-section p {
  margin-bottom: 15px;
}
.regulation-section ul {
  list-style: none;
  margin-bottom: 15px;
}
.regulation-section ul li {
  padding-left: 15px;
  position: relative;
}
.regulation-section ul li::before {
  content: "*";
  position: absolute;
  left: 0;
  color: var(--text-muted);
}

/* FAQ Section */
.faq-section {
  max-width: 800px;
  margin: 0 auto 80px;
  padding: 0 20px;
}
.faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.faq-question {
  padding: 20px 10px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 0.9rem;
  color: #ddd;
}
.faq-question:hover {
  color: var(--accent);
}
.faq-icon::after {
  content: "⌄";
  font-size: 1.2rem;
}
.faq-item.active .faq-icon::after {
  content: "⌃";
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-answer-inner {
  padding: 0 10px 20px;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Footer Section */
footer {
  background: #000;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 40px 20px;
  text-align: center;
}
.footer-text-block {
  max-width: 900px;
  margin: 0 auto 40px;
  font-size: 0.7rem;
  color: #666;
  line-height: 1.6;
}
.footer-nav {
  margin-bottom: 30px;
}
.footer-nav-title {
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 15px;
  font-size: 0.9rem;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  font-size: 0.75rem;
}
.footer-links a {
  color: var(--accent);
  text-decoration: none;
}
.footer-links a:hover {
  text-decoration: underline;
}
.footer-links span.sep {
  color: #555;
}
.footer-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 30px;
  padding: 20px;
}

.footer-logos img {
  max-height: 35px;
  width: auto;
  filter: grayscale(1) brightness(0.8);
  transition: all 0.3s ease;
}

.footer-logos img:hover {
  filter: grayscale(0) brightness(1);
  transform: scale(1.1);
}
.footer-badge {
  opacity: 0.6;
  filter: grayscale(1);
  font-size: 1.5rem;
}
.trustpilot {
  font-size: 0.85rem;
  color: #fff;
  margin-bottom: 20px;
}
.trustpilot span {
  color: var(--success-color);
}
.footer-bottom-text {
  font-size: 0.65rem;
  color: #444;
  max-width: 900px;
  margin: 0 auto;
  line-height: 1.5;
}

/* Cookie Popup */
.cookie-popup {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #111;
  border-top: 1px solid var(--accent-20);
  padding: 20px;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  transform: translateY(100%);
  transition: transform 0.4s ease;
}
.cookie-popup.show {
  transform: translateY(0);
}
.cookie-content h4 {
  color: #fff;
  margin-bottom: 8px;
  font-size: 0.95rem;
}
.cookie-content p {
  color: var(--text-muted);
  font-size: 0.75rem;
  max-width: 800px;
  line-height: 1.5;
}
.cookie-actions {
  display: flex;
  gap: 12px;
}
.btn-cookie {
  padding: 10px 20px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.8rem;
  cursor: pointer;
  border: none;
  font-family: inherit;
}
.btn-cookie.reject {
  background: transparent;
  color: #fff;
  border: 1px solid #444;
}
.btn-cookie.accept {
  background: var(--accent);
  color: #000;
}

/* Extra pages styles */
.inner-page-content {
  max-width: 900px;
  margin: 60px auto;
  padding: 0 20px;
}
.inner-page-content h1 {
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: 20px;
}
.inner-page-content p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #ccc;
  margin-bottom: 15px;
}
.inner-page-content ul {
  margin-bottom: 20px;
  padding-left: 20px;
  color: #ccc;
}
.inner-page-content ul li {
  margin-bottom: 8px;
}

/* Expanded Content Styles */
.expand-section {
  background: rgba(255, 255, 255, 0.03);
  padding: 25px;
  border-radius: 12px;
  border: 1px solid var(--accent-10);
  margin: 25px 0;
}

.expand-section h3 {
  color: var(--accent);
  margin-bottom: 15px;
  font-size: 1.2rem;
}

.list-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 30px;
}

.list-item {
  background: rgba(18, 18, 18, 0.5);
  border-left: 4px solid var(--accent);
  padding: 20px;
  border-radius: 0 8px 8px 0;
}

.list-item h4 {
  color: #fff;
  margin-bottom: 10px;
}

.list-item strong {
  display: block;
  margin-top: 10px;
  color: var(--accent);
}

/* Form Styles */
.form-container {
  max-width: 600px;
  margin: 40px auto;
  background: rgba(0, 0, 0, 0.3);
  padding: 35px;
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.custom-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: left;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #bbb;
}

.form-group input,
.form-group select,
.form-group textarea {
  background: #1a1a1a;
  border: 1px solid #333;
  padding: 12px 15px;
  border-radius: 6px;
  color: #fff;
  font-family: inherit;
  font-size: 0.9rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.form-group select {
  cursor: pointer;
}

.custom-form .btn-visit {
  margin-top: 10px;
  cursor: pointer;
  border: none;
}

/* Age Verification Popup */
.age-popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--overlay-bg);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.5s ease;
}

.age-popup-overlay.show {
  opacity: 1;
  visibility: visible;
}

.age-popup-content {
  background: #121212;
  border: 2px solid var(--accent);
  padding: 40px;
  border-radius: 20px;
  text-align: center;
  max-width: 450px;
  width: 90%;
  box-shadow: 0 0 50px var(--accent-20);
  transform: translateY(30px);
  transition: transform 0.5s ease;
}

.age-popup-overlay.show .age-popup-content {
  transform: translateY(0);
}

.age-popup-img {
  width: 120px;
  height: auto;
  margin-bottom: 25px;
}

.age-popup-content h2 {
  font-size: 1.8rem;
  color: #fff;
  margin-bottom: 15px;
  font-weight: 800;
}

.age-popup-content p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 30px;
  line-height: 1.6;
}

.age-popup-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
}

.btn-age {
  padding: 12px 25px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
  flex: 1;
}

.btn-age.accept {
  background: var(--accent);
  color: #000;
}

.btn-age.accept:hover {
  background: var(--accent-hover);
  transform: scale(1.05);
}

.btn-age.deny {
  background: #222;
  color: #fff;
}

.btn-age.deny:hover {
  background: #333;
}
