/********** Template CSS **********/
:root {
  --primary: #ab1d9f;
  --light: #f1f8ff;
  --dark: #111a24;
}

.fw-medium {
  font-weight: 500 !important;
}

.fw-semi-bold {
  font-weight: 600 !important;
}
.container {
  width: 80%;
  margin: 0 auto;
}

.btn-primary {
  background-color: #ab1d9f;
  color: white;
  padding: 10px 40px;
  text-decoration: none;
  border-radius: 5px;
  display: inline-block;
  margin-top: 20px;
}

.section-title {
  font-size: 38px;
  margin: 40px 0 60px;
  text-align: center;
}


ul {
  list-style: none;
  padding: 0;
}

ul li {
  font-size: 18px;
  margin: 10px 0;
}

.btn-primary:hover {
  background-color: #ab1d9f;
  transition: background-color 0.3s ease;
}
.detailsFlex {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}
@media (max-width: 600px) {
  .detailsFlex {
    flex-direction: column;
  }
}
.detailsimg {
  width: 50%;
  margin-left: 20px;
}
@media (max-width: 600px) {
  .detailsimg {
    width: 100%;
  }
}


.back-to-top {
  position: fixed;
  display: none;
  right: 45px;
  bottom: 45px;
  z-index: 99;
}

/*** Spinner ***/
#spinner {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease-out, visibility 0s linear 0.5s;
  z-index: 99999;
}

#spinner.show {
  transition: opacity 0.5s ease-out, visibility 0s linear 0s;
  visibility: visible;
  opacity: 1;
}

/*** Button ***/
.btn {
  font-weight: 500;
  text-transform: uppercase;
  transition: 0.5s;
}

.btn.btn-primary,
.btn.btn-secondary {
  color: #ffffff;
}

.btn-square {
  width: 38px;
  height: 38px;
}

.btn-sm-square {
  width: 32px;
  height: 32px;
}

.btn-lg-square {
  width: 48px;
  height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: normal;
  border-radius: 2px;
}

/*** Navbar ***/
.navbar-dark .navbar-nav .nav-link {
  margin-right: 30px;
  padding: 25px 0;
  color: #ffffff;
  font-size: 15px;
  outline: none;
  font-weight: 600;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
  color: var(--primary);
}

@media (max-width: 991.98px) {
  .navbar-dark .navbar-nav .nav-link {
    margin-right: 0;
    padding: 10px 0;
  }
}

/* Google Fonts - Poppins */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap");

@media (max-width: 700px) {
  .cookie-wrapper {
    width: 100%;
  }
}
@media (max-width: 600px) {
  .contact-img {
    display: none;
  }
}

.cookie-wrapper {
  position: fixed;
  bottom: 0px;
  right: 0;
  width: 40%;
  background: #fff;
  padding: 15px 25px 22px;
  transition: right 0.3s ease;
  box-shadow: 0 5px 10px rgb(0, 0, 0);
  z-index: 999;
  @media (max-width: 600px) {
    width: 100%;
  }
}
.cookie-wrapper .show {
  right: 20px;
}

.hidden {
  display: none;
}

.data {
  text-align: center;
}
.data p a {
  color: #ab1d9f;
  text-decoration: none;
  text-align: center !important;
}
.data p a:hover {
  text-decoration: underline;
}
.buttons {
  padding: 20px 0px;
  text-align: center;
}
.buttons .cookie-button {
  border: 2px solid #ab1d9f;
  color: #fff;
  padding: 8px 0;
  background: #ab1d9f;
  cursor: pointer;
  width: calc(100% / 2 - 10px);
  transition: all 0.5s ease;
  max-width: 150px;
  border-radius: 0;
}
.buttons #acceptBtn:hover {
  background-color: transparent;
  color: #ab1d9f;
}
#declineBtn {
  background-color: #fff;
  color: #ab1d9f;
}
#declineBtn:hover {
  background-color: #ab1d9f;
  color: #fff;
}

/* new styles  */

/* pop up  */

/* Стилі для popup підтвердження віку */
.age-verification-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 9999;
  display: none; /* Початково приховано */
  justify-content: center;
  align-items: center;
}

.age-verification-popup {
  background-color: #ffffff;
  border-radius: 12px;
  width: 90%;
  max-width: 500px;
  padding: 2rem;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
}

.age-verification-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.age-verification-icon {
  color: #dc3545;
  font-size: 3rem;
  margin-bottom: 1rem;
}

.age-verification-title {
  font-weight: 700;
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
  color: #212529;
}

.age-verification-text {
  font-family: "Inconsolata", monospace;
  font-size: 1.1rem;
  color: #6c757d;
  margin-bottom: 2rem;
  line-height: 1.5;
}

.age-verification-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.age-verification-button {
  padding: 1rem;
  border-radius: 8px;

  font-weight: 600;
  font-size: 1.1rem;
  text-align: center;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.age-verification-button-yes {
  background-color: #28a745;
  color: white;
  border: none;
}

.age-verification-button-no {
  background-color: #dc3545;
  color: white;
  border: none;
}

.age-verification-button i {
  margin-right: 0.5rem;
}

/* Стилі для адаптивності */
@media (min-width: 768px) {
  .age-verification-buttons {
    flex-direction: row;
  }

  .age-verification-button {
    flex: 1;
  }
}

/* pop un end  */

/* footer  */

/* Стилі для футера */
.footer {
  background-color: #261e16;
  color: white;
  padding: 0;
}

.footer-logos {
  padding: 1.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.footer-logos::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.05) 0%,
    rgba(0, 0, 0, 0) 100%
  );
  pointer-events: none;
}

.footer-logo-item {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 50px;
  opacity: 0.8;
}

.footer-logo-item img {
  /* max-height: 40px; */
  width: 100%;
}

.footer-warning {
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-warning-text {
  font-size: 0.85rem;
  color: #e0e0e0;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-align: center;
}

.footer-main {
  padding: 2rem 0;
}

.footer-brand {
  margin-bottom: 1rem;
}

.footer-logo {
  margin-bottom: 1rem;
}

.footer-logo img {
  height: 20px;
  object-fit: contain;
  width: 50%;
}

.footer-copyright {
  font-family: "Inconsolata", monospace;
  font-size: 0.8rem;
  color: #9ca3af;
  margin-bottom: 0.25rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-nav-item {
  display: block;
  color: white;

  font-size: 0.9rem;
  text-decoration: none;
  padding: 0.4rem 0;
  transition: color 0.2s;
}

.footer-nav-item:hover {
  color: #b97b10;
}

.footer-responsible {
  margin-top: 1rem;
}

.footer-responsible-title {
  font-weight: 600;
  font-size: 0.9rem;
  color: white;
  margin-bottom: 0.5rem;
}

.footer-responsible-text {
  font-family: "Inconsolata", monospace;
  font-size: 0.8rem;
  color: #9ca3af;
  line-height: 1.5;
}

@media (max-width: 767px) {
  .footer-logo-item {
    margin-bottom: 1rem;
  }

  .footer-brand {
    text-align: center;
    margin-bottom: 2rem;
  }

  .footer-links {
    align-items: center;
    text-align: center;
  }

  .footer-responsible {
    text-align: center;
  }
}

/* Стилі для секції з формою */
.contact-section {
  background-color: #f8fafc;
  padding: 4rem 0;
}

.contact-container {
  background-color: white;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.contact-form-side {
  padding: 2.5rem;
}

.contact-info-side {
  background-color: #2a170f;
  color: white;
  padding: 2.5rem;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.contact-title {
  font-weight: 700;
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
  color: #111827;
}

.contact-subtitle {
  font-family: "Inconsolata", monospace;
  font-size: 1rem;
  color: #6b7280;
  margin-bottom: 2rem;
}

.info-title {
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: white;
}

.contact-info-item {
  display: flex;
  margin-bottom: 1.5rem;
  align-items: flex-start;
}

.info-icon {
  color: #b97b10;
  font-size: 1.5rem;
  margin-right: 1rem;
  flex-shrink: 0;
}

.info-content {
  font-family: "Inconsolata", monospace;
}

.info-label {
  font-weight: 600;
  font-size: 0.9rem;
  color: #e0e0e0;
  margin-bottom: 0.25rem;
}

.info-value {
  font-size: 0.9rem;
  color: #9ca3af;
}

.form-control {
  border-radius: 8px;
  padding: 0.75rem 1rem;
  height: calc(3.5rem + 2px);
  font-size: 1rem;
  border: 1px solid #e5e7eb;
  margin-bottom: 1rem;
}

.form-control:focus {
  border-color: #b97b10;
  box-shadow: 0 0 0 0.25rem rgba(16, 185, 129, 0.25);
}

.form-floating > label {
  padding: 0.75rem 1rem;
}

.btn-primary {
  background-color: #b97b10;
  border-color: #b97b10;
  border-radius: 8px;

  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.5px;
  padding: 0.75rem 1.5rem;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: #059669;
  border-color: #059669;
}

/* Анімації при завантаженні сторінки */
.wow {
  visibility: visible !important; /* Якщо не використовуєте бібліотеку WOW.js */
}

@media (max-width: 991px) {
  .contact-info-side {
    padding: 2rem;
  }

  .contact-form-side {
    padding: 2rem;
  }
}

@media (max-width: 767px) {
  .contact-info-side {
    padding: 2rem 1.5rem;
  }

  .contact-form-side {
    padding: 2rem 1.5rem;
  }
}

/* Стилі для блоку гайдів */
.guides-section {
  padding: 4rem 0;
  background-color: #f9f3f1;
}

.guides-header {
  margin-top: 30px;
  text-align: center;
  margin-bottom: 3rem;
}

.guides-title {
  font-weight: 700;
  font-size: 3rem;
  color: #0f172a;
  margin-bottom: 1rem;
}

.guides-card {
  text-align: center;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  height: 100%;
  transition: transform 0.3s, box-shadow 0.3s;
}

.guides-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.guides-card-img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

.guides-card-body {
  padding: 1.5rem;
}

.guides-card-title {
  font-weight: 700;
  font-size: 1.25rem;
  color: #0f172a;
  margin-bottom: 0.75rem;
}

.guides-card-text {
  font-size: 0.95rem;
  color: #64748b;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.guides-card-btn {
  display: inline-block;
  background-color: #b97b10;
  color: white;

  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.6rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  transition: background-color 0.2s;
}

.guides-card-btn:hover {
  background-color: #963305;
  color: white;
}

@media (max-width: 767px) {
  .guides-title {
    font-size: 2rem;
  }

  .guides-card {
    margin-bottom: 1.5rem;
  }
}

/* Стилі для блоку з фото та текстом */
.feature-section {
  padding: 5rem 0;
  background-color: #1a0b04;
  color: white;
  position: relative;
  overflow: hidden;
}


.feature-container {
  position: relative;
  z-index: 2;
}

.feature-content {
  padding-right: 2rem;
}

.feature-title {
  font-weight: 700;
  font-size: 2.25rem;
  margin-bottom: 1.5rem;
  color: white;
}

.feature-text {
  font-size: 1rem;
  line-height: 1.8;
  color: #e2e8f0;
  margin-bottom: 1.5rem;
}

.feature-text strong {
  color: #b97b10;
  font-weight: 700;
}

.feature-image-wrapper {
  position: relative;
  height: 100%;
  min-height: 500px;
}

.feature-image {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}


@media (max-width: 991px) {
  .feature-content {
    padding-right: 0;
    margin-bottom: 3rem;
  }

  .feature-image-wrapper {
    min-height: 350px;
  }
}

@media (max-width: 767px) {
  .feature-section {
    padding: 4rem 0;
  }

  .feature-title {
    font-size: 1.75rem;
  }

  .feature-image-wrapper {
    min-height: 300px;
  }
}


/* new styles  */

/* Стилі для хедера */
.header {
  background-color: #0f172a;
  padding: 0.5rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar {
  padding: 0;
}

.navbar-brand {
  display: flex;
  align-items: center;
}

.brand-logo {
  font-weight: 800;
  font-size: 1.5rem;
  color: white;
  text-decoration: none;
  display: flex;
  align-items: center;
}

.brand-logo span {
  color: #b97b10;
}

.brand-logo-icon {
  margin-right: 0.5rem;
  font-size: 1.8rem;
  color: #b97b10;
}

.navbar-nav {
  margin-left: auto;
}

.nav-item {
  position: relative;
  margin-left: 1.5rem;
}

.nav-link {
   
  font-weight: 600;
  font-size: 0.95rem;
  color: #e2e8f0 !important;
  padding: 0.5rem 0;
  transition: color 0.3s;
}

.nav-link:hover {
  color: #b97b10 !important;
}

.nav-link.active {
  color: #b97b10 !important;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #b97b10;
}

.navbar-toggler {
  border: none;
  padding: 0;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 0.8)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

@media (max-width: 767px) {
  .navbar-collapse {
    background-color: #0f172a;
    padding: 1rem;
    margin-top: 1rem;
  }
  
  .nav-item {
    margin-left: 0;
    margin-bottom: 0.75rem;
  }
  
  .nav-item:last-child {
    margin-bottom: 0;
  }
  .brand-logo {
    font-weight: 800;
    font-size: 1rem;
  }
}

/* other styles  */

:root {
  --primary-color: #b97b10;
  --primary-hover: #a06b0e;
  --dark-bg: #1a1a1a;
  --card-bg: #f8f9fa;
  --text-dark: #2c3e50;
  --text-light: #6c757d;
  --success-color: #28a745;
  --star-color: #ffc107;
}

/* Стилі для блоку топ казино */
.top-casinos-section {
  background: linear-gradient(135deg, var(--dark-bg) 0%, #2c2c2c 100%);
  color: white;
  min-height: 100vh;
  position: relative;
  overflow: hidden;
}

.top-casinos-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="casino-pattern" x="0" y="0" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="%23b97b10" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23casino-pattern)"/></svg>');
  z-index: 1;
}

.top-casinos-section .container {
  position: relative;
  z-index: 2;
}

.section-title {
  font-size: 3.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.section-subtitle {
  font-size: 1.4rem;
  text-align: center;
  margin-bottom: 2rem;
  color: #e9ecef;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.peru-flag {
  width: 32px;
  height: 24px;
  background: linear-gradient(to right, #d91023 33%, white 33%, white 66%, #d91023 66%);
  border-radius: 3px;
  display: inline-block;
}

.features-list {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #e9ecef;
}

.feature-icon {
  color: var(--primary-color);
  font-size: 1.2rem;
}

.casinos-table {
  background: var(--card-bg);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
  margin-bottom: 2rem;
}

.table-header {
  background: var(--primary-color);
  color: white;
  padding: 20px;
}

.table-header .row {
  font-weight: 600;
  font-size: 1.1rem;
}

.casino-row {
  padding: 25px 20px;
  border-bottom: 1px solid #e9ecef;
  transition: all 0.3s ease;
}

.casino-row:last-child {
  border-bottom: none;
}

.casino-row:hover {
  background: #f8f9fa;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(185, 123, 16, 0.1);
}

.casino-logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-dark);
  text-decoration: none;
  transition: color 0.3s ease;
}

.casino-logo:hover {
  color: var(--primary-color);
}

.casino-description {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-top: 5px;
}

.bonus-text {
  font-weight: 600;
  color: var(--text-dark);
  font-size: 1rem;
}

.bonus-amount {
  color: var(--primary-color);
  font-weight: 700;
}

.rating-stars {
  display: flex;
  gap: 2px;
  margin-bottom: 5px;
}

.star {
  color: var(--star-color);
  font-size: 1.2rem;
}

.rating-score {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-dark);
}

.rating-count {
  font-size: 0.85rem;
  color: var(--text-light);
}

.play-btn {
  background: var(--success-color);
  color: white;
  border: none;
  padding: 12px 25px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  text-align: center;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.play-btn:hover {
  background: #218838;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(40, 167, 69, 0.3);
}

.responsible-gaming {
  text-align: center;
  margin-top: 3rem;
  font-size: 1rem;
  color: #adb5bd;
}

@media (max-width: 768px) {
  .section-title {
    font-size: 2.5rem;
  }
  
  .section-subtitle {
    font-size: 1.1rem;
  }
  
  .features-list {
    gap: 20px;
  }
  
  .feature-item {
    font-size: 0.9rem;
  }
  
  .casino-row {
    padding: 20px 15px;
  }
  
  .rating-score {
    font-size: 2rem;
  }
  
  .play-btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
  
  .table-header,
  .casino-row {
    padding: 15px 10px;
  }
}

@media (max-width: 576px) {
  .section-title {
    font-size: 2rem;
  }
  
  .casino-logo {
    font-size: 1.5rem;
  }
  
  .rating-score {
    font-size: 1.8rem;
  }
}

/* Стилі для текстового контенту */
.content-section {
  background: #ffffff;
  padding: 60px 0;
}

.content-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

.content-title {
  font-size: 2.25rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 1.5rem;
  line-height: 1.3;
}

.content-subtitle {
  font-size: 1.75rem;
  font-weight: 600;
  color: #34495e;
  margin: 2.5rem 0 1.5rem 0;
  line-height: 1.4;
}

.content-text {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #495057;
  margin-bottom: 1.5rem;
  text-align: justify;
}

.content-text:last-child {
  margin-bottom: 0;
}

/* Стилі для покращення читабельності */
.content-section p {
  margin-bottom: 1.5rem;
}

.content-section p:last-child {
  margin-bottom: 0;
}

/* Адаптивність для мобільних */
@media (max-width: 768px) {
  .content-section {
    padding: 40px 0;
  }
  
  .content-title {
    font-size: 1.75rem;
  }
  
  .content-subtitle {
    font-size: 1.5rem;
    margin: 2rem 0 1rem 0;
  }
  
  .content-text {
    font-size: 1rem;
    text-align: left;
  }
}

@media (max-width: 576px) {
  .content-title {
    font-size: 1.5rem;
  }
  
  .content-subtitle {
    font-size: 1.3rem;
  }
}

/* Стилі для списків у контенті */
.content-list {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #495057;
  margin: 1.5rem 0;
  padding-left: 1.5rem;
}

.content-list li {
  margin-bottom: 0.75rem;
  text-align: justify;
}

.content-list li:last-child {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .content-list {
    font-size: 1rem;
    padding-left: 1.2rem;
  }
  
  .content-list li {
    text-align: left;
  }
}