.policy,
.success {
  padding-block: 80px 60px !important;
  background: #0A0A0A;
  min-height: 92vh;
}

@media (max-width: 768px) {
  .policy {
    padding-block: 60px 60px !important;
  }
}

/* .success__text {
  margin-bottom: 27px;
}

.success__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 600px;
  margin: 0 auto;
}

.success__btns {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
} */

.policy__text {
  font-weight: 400;
  font-size: 16px;
  line-height: 150%;
  letter-spacing: 0%;
  color: #ffffff;
}

.policy__title,
.success__title {
  font-weight: 700;
  font-size: 38px;
  line-height: 150%;
  letter-spacing: 0%;
  vertical-align: middle;
  margin-bottom: 28px;
  color: #ffffff;
}

.policy__title {
  color: #ffffff;
}

.policy__text h2 {
  text-align: left;
  font-size: 21px;
}

.policy__text ul {
  padding-left: 20px;
}

.policy__text h2,
.policy__text p,
.policy__text ul {
  margin-bottom: 22px;
}

.policy__link {
  color: #ffffff;
}

h1,
h2,
h3,
h4 {
  word-break: break-word;
}

html {
  scroll-behavior: smooth;
}

.container {
  margin: 0 auto;
  max-width: 1368px !important;
  padding-inline: 20px;
}

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

:root {
  /* Colors */
  --primary-color: #ebba2e;
  --secondary-color: #32cd32;
  --dark-bg: #0a0a0a;
  --light-bg: #1a1a1a;
  --text-primary: #ffffff;
  --text-secondary: #cccccc;
  --accent-green: #00ff9f;
  --accent-yellow: #ebba2e;
  --border-color: #333333;

  /* Spacing */
  --container-padding: 20px;
  --section-padding: 60px 0;

  /* Border Radius */
  --border-radius: 16px;
  --border-radius-small: 8px;

  /* Transitions */
  --transition: all 0.3s ease;
}

body {
  font-family: "Manrope", sans-serif;
  background-color: var(--dark-bg);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

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

/* Popup Overlay Styles */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(0px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  overflow-y: auto;
}

.popup-content {
  background: white;
  border-radius: 24px;
  padding: 40px;
  max-width: 500px;
  width: 90%;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: popupSlideIn 0.3s ease;
}

@keyframes popupSlideIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Age Popup */
.age-popup .age-icon {
  margin-bottom: 20px;
  width: 100%;
  max-width: 60px;
  height: 60px;
  object-fit: contain;
}

.age-popup h2 {
  color: #000;
  margin-bottom: 16px;
  font-size: 28px;
  font-weight: 700;
}

.age-popup p {
  color: #333;
  margin-bottom: 24px;
  font-size: 16px;
  line-height: 1.6;
}

/* Cookies Popup */
.cookies-popup .cookie-icon {
  width: 100%;
  max-width: 60px;
  height: 60px;
  object-fit: contain;
  font-size: 48px;
  margin-bottom: 16px;
}

.cookies-popup h2 {
  color: #000;
  margin-bottom: 16px;
  font-size: 28px;
  font-weight: 700;
}

.cookies-popup p {
  color: #333;
  margin-bottom: 24px;
  font-size: 16px;
  line-height: 1.6;
}

/* Popup Buttons */
.popup-content .btn-primary,
.popup-content .btn-secondary {
  width: 100%;
  padding: 16px 32px;
  border: none;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  font-family: "Manrope", sans-serif;
}

.popup-content .btn-primary {
  background: linear-gradient(
    135deg,
    var(--accent-yellow) 0%,
    var(--accent-green) 100%
  );
  color: #000;
  margin-bottom: 12px;
}

.popup-content .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 255, 159, 0.3);
}

.popup-content .btn-secondary {
  background: transparent;
  color: #666;
  border: 2px solid #ddd;
}

.popup-content .btn-secondary:hover {
  border-color: #999;
  color: #333;
}

/* Header */
.header {
  background-color: var(--dark-bg);

  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-primary);
  font-size: 20px;
  font-weight: 700;
}

.logo img {
  width: 40px;
  height: 40px;
}

.burger-menu {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.burger-menu span {
  width: 25px;
  height: 3px;
  background-color: var(--text-primary);
  transition: var(--transition);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 32px;
}

.nav-menu a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
  font-size: 15px;
}

.nav-menu a:hover {
  color: var(--accent-green);
}

/* Hero Section */
.hero {
  padding: 130px 0;
  background: url(/wp-content/themes/gamesbonusradar/img/hero-gradient.png) center / cover no-repeat;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: center;
}

.hero-image img {
  width: 100%;
  max-width: 600px;
  height: auto;
}

.hero-text h1 {
  font-size: 48px;
  line-height: 1.2;
  margin-bottom: 24px;
  font-weight: 800;
}

.hero-text .highlight {
  color: var(--primary-color);
}

.hero-text p {
  color: var(--text-secondary);
  margin-bottom: 16px;
  font-size: 16px;
  line-height: 1.8;
}

/* Casino Cards */
.casinos {
  padding: var(--section-padding);
  background: url(/wp-content/themes/gamesbonusradar/img/sites-gradient.png) center / cover no-repeat,
    url(/wp-content/themes/gamesbonusradar/img/sites-bg.png) bottom right / 60% no-repeat;
}

.casino-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.casino-card {
background: url(/wp-content/themes/gamesbonusradar/img/card-gradient.png) center bottom / contain no-repeat;
  border: 2px solid transparent;
  background-clip: padding-box;
  border-radius: var(--border-radius);
  padding: 32px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.casino-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: var(--border-radius);
  padding: 2px;
  background: linear-gradient(
    135deg,
    var(--accent-yellow) 0%,
    var(--accent-green) 100%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.casino-logo {

  padding: 24px;
  text-align: center;
  margin-bottom: 20px;
}

.casino-logo img {
  width: 100%;
  max-width: 200px;
  height: auto;
}

.casino-rating {
  margin-bottom: 20px;
}

.rating-label {
  display: block;
  font-size: 12px;
  color: var(--text-secondary);
  margin-bottom: 8px;
  letter-spacing: 1px;
}

.stars {
  display: flex;
  align-items: center;
  gap: 12px;
}

.stars span:first-child {
  color: var(--primary-color);
  font-size: 16px;
}

.rating-value {
  color: var(--text-primary);
  font-weight: 700;
  font-size: 18px;
}

.casino-bonus h3 {
  color: var(--primary-color);
  font-size: 28px;
  margin-bottom: 12px;
  font-weight: 800;
}

.bonus-details {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
}

.btn-claim {
  display: inline-block;
  width: 100%;
  padding: 16px 32px;
  background: linear-gradient(
    135deg,
    var(--accent-yellow) 0%,
    var(--accent-green) 100%
  );
  color: #000;
  text-decoration: none;
  text-align: center;
  border-radius: 50px;
  font-weight: 700;
  font-size: 16px;
  transition: var(--transition);
}

.btn-claim:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 255, 159, 0.3);
}

/* Criteria Section */
.criteria {
  padding: var(--section-padding);
  background: linear-gradient(
      90deg,
      rgba(235, 186, 46, 0.3) 0%,
      rgba(0, 255, 183, 0.3) 100%
    ),
    url(/wp-content/themes/gamesbonusradar/img/about-bg.png) bottom right / 50% no-repeat;
}

.criteria-content {
  margin-bottom: 40px;
  gap: 60px;
  align-items: center;
}

.criteria-text h2 {
  font-size: 36px;
  margin-bottom: 24px;
  font-weight: 800;
  line-height: 1.3;
}

.criteria-text p {
  color: var(--text-secondary);
  margin-bottom: 16px;
  line-height: 1.8;
}

.criteria-image img {
  width: 100%;
  max-width: 350px;
  height: auto;
}

/* Safe Casinos Section */
.safe-casinos {
  padding: var(--section-padding);
  background-color: var(--dark-bg);
}

.safe-content {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  align-items: center;
}

.safe-image img {
  width: 100%;
  max-width: 405px;
  height: auto;
}

.safe-text h2 {
  font-size: 36px;
  margin-bottom: 24px;
  font-weight: 800;
  color: #fff;
  line-height: 1.3;
}

.safe-text p {
  color: var(--text-secondary);
  margin-bottom: 16px;
  line-height: 1.8;
}

/* Bonuses Section */
.bonuses {
  padding: var(--section-padding);
}

.bonuses h2 {
  font-size: 36px;
  margin-bottom: 16px;
  font-weight: 800;
}

.section-subtitle {
  color: var(--text-secondary);
  margin-bottom: 40px;
}

.bonus-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 32px;
}

.bonus-card {
  background: rgba(26, 26, 26, 0.6);
  border: 2px solid #EBBA2E;
  border-radius: var(--border-radius);
  padding: 32px 24px;
  transition: var(--transition);
}

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

.bonus-icon {
  width: 40px;
  height: 40px;
  object-fit: contain;
  font-size: 40px;
  margin-bottom: 16px;
}

.bonus-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
  color: #EBBA2E;
  font-weight: 700;
}

.bonus-card p {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.6;
}

.bonus-note {
  color: var(--text-secondary);
  font-style: italic;
}

/* Payment Methods Section */
.payment-methods {
  padding: var(--section-padding);
}

.payment-content {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  align-items: center;
}

.payment-image img {
  width: 100%;
  max-width: 405px;
  height: auto;
}

.payment-text h2 {
  font-size: 36px;
  margin-bottom: 24px;
  font-weight: 800;
}

.payment-text p {
  color: var(--text-secondary);
  margin-bottom: 16px;
  line-height: 1.8;
}

.payment-list {
  list-style: none;
  margin-bottom: 16px;
}

.payment-list li {
  color: var(--text-secondary);
  margin-bottom: 12px;
  padding-left: 24px;
  position: relative;
  line-height: 1.8;
}

.payment-list li::before {
  content: "●";
  color: var(--accent-green);
  position: absolute;
  left: 0;
  font-size: 12px;
}

/* Mobile Casinos Section */
.mobile-casinos {
  padding: var(--section-padding);
  background: linear-gradient(
    90deg,
    rgba(235, 186, 46, 0.3) 0%,
    rgba(0, 255, 183, 0.3) 100%
  );
}

.mobile-casinos h2 {
  font-size: 36px;
  margin-bottom: 24px;
  font-weight: 800;
}

.mobile-casinos p {
  color: var(--text-secondary);
  margin-bottom: 16px;
  line-height: 1.8;
}

/* FAQ Section */
.faq {
  padding: var(--section-padding);
  background-color: var(--dark-bg);
}

.faq h2 {
  font-size: 36px;
  margin-bottom: 40px;
  font-weight: 800;
  text-align: center;
}

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

.faq-item {
  background: rgba(26, 26, 26, 0.6);
  border: 2px solid #ebba2e;
  border-radius: var(--border-radius-small);
  margin-bottom: 16px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 24px;
  background: none;
  border: none;
  color: #ebba2e;
  font-size: 18px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: "Manrope", sans-serif;
  transition: var(--transition);
}

.faq-question:hover {
  color: var(--accent-green);
}

.faq-icon {
  color: var(--primary-color);
  font-size: 24px;
  transition: var(--transition);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

.faq-answer p {
  padding: 0 24px 24px;
  color: var(--text-secondary);
  line-height: 1.8;
}

/* Contact Form Section */
.contact-form {
  padding: var(--section-padding);
  background: linear-gradient(
    135deg,
    rgba(255, 215, 0, 0.05) 0%,
    rgba(10, 10, 10, 0) 100%
  );
}

.contact-form h2 {
  font-size: 36px;
  margin-bottom: 40px;
  font-weight: 800;
  text-align: center;
}

.form {
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--text-primary);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 20px;
  background: rgba(26, 26, 26, 0.6);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-small);
  color: var(--text-primary);
  font-size: 16px;
  font-family: "Manrope", sans-serif;
  transition: var(--transition);
}

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

.form .btn-primary {
  width: 100%;
  padding: 16px 32px;
  background: linear-gradient(
    135deg,
    var(--accent-yellow) 0%,
    var(--accent-green) 100%
  );
  color: #000;
  border: none;
  border-radius: 50px;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  font-family: "Manrope", sans-serif;
}

.form .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 255, 159, 0.3);
}

/* Footer */
.footer {
  background: linear-gradient(
    90deg,
    rgba(235, 186, 46, 0.3) 0%,
    rgba(0, 255, 183, 0.3) 100%
  );

  border-top: 1px solid var(--border-color);
  padding: 60px 0 20px;
}

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

.footer-brand {
  margin-bottom: 20px;
}

.footer-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-nav a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: var(--transition);
  font-size: 14px;
}

.footer-nav a:hover {
  color: var(--accent-green);
}

.footer-info h3 {
  font-size: 20px;
  margin-bottom: 16px;
  font-weight: 700;
}

.footer-info p {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 12px;
}

.footer-contact {
  font-style: italic;
}

.footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.footer-badges img {
  height: 40px;
  width: auto;
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 20px;
  text-align: center;
}

.footer-bottom p {
  color: var(--text-secondary);
  font-size: 14px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-image {
    order: -1;
    display: flex;
    justify-content: center;
  }

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

  .criteria-content,
  .safe-content,
  .payment-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .criteria-image,
  .safe-image,
  .payment-image {
    display: flex;
    justify-content: center;
  }

  .bonus-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  :root {
    --container-padding: 16px;
    --section-padding: 40px 0;
  }

  .burger-menu {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 81px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 81px);
    background-color: rgba(10, 10, 10, 0.98);
    flex-direction: column;
    padding: 40px 20px;
    gap: 24px;
    transition: left 0.3s ease;
    backdrop-filter: blur(10px);
  }

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

  .nav-menu a {
    font-size: 18px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
  }

  .hero-text h1 {
    font-size: 32px;
  }

  .criteria-text h2,
  .safe-text h2,
  .payment-text h2,
  .bonuses h2,
  .mobile-casinos h2,
  .faq h2,
  .contact-form h2 {
    font-size: 28px;
  }

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

  .payment-list li {
    font-size: 14px;
  }

  .popup-content {
    padding: 32px 24px;
    max-width: 90%;
  }

  .footer-nav ul {
    flex-direction: column;
    gap: 16px;
  }
}

@media (max-width: 480px) {
  .hero-text h1 {
    font-size: 24px;
  }

  .casino-bonus h3 {
    font-size: 22px;
  }

  .criteria-text h2,
  .safe-text h2,
  .payment-text h2,
  .bonuses h2,
  .mobile-casinos h2,
  .faq h2,
  .contact-form h2 {
    font-size: 24px;
  }

  .faq-question {
    font-size: 16px;
    padding: 20px;
  }

  .popup-content {
    padding: 24px 20px;
  }

  .popup-content h2 {
    font-size: 24px;
  }

  .popup-content p {
    font-size: 14px;
  }
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* Selection */
::selection {
  background-color: var(--accent-green);
  color: #000;
}
