/* ============================================================
   Adina Hugo — Custom Stylesheet
   ============================================================ */

/* ----------------------------------------------------------
   Note: Font Awesome @font-face is declared in font-awesome-pro.css
   with correct relative paths (../fonts/). No duplication needed.
   ---------------------------------------------------------- */


/* ==========================================================
   HEADER
   ========================================================== */

.td-header-wrap {
  position: relative;
  z-index: 100;
}

.td-header-area {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

/* Single flex bar */
.td-header-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 16px 0;
}

/* Logo */
.td-header-logo {
  flex-shrink: 0;
}
.td-header-logo img {
  height: 44px;
  width: auto;
  display: block;
}

/* Desktop nav */
.td-main-menu.td-main-menu-content {
  flex: 1;
}
.td-main-menu-content ul {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.td-main-menu-content > ul > li > a {
  display: block;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--td-theme-primary);
  transition: color 0.2s ease;
  white-space: nowrap;
}
.td-main-menu-content > ul > li > a:hover,
.td-main-menu-content > ul > li.current > a {
  color: var(--td-theme-primary);
  opacity: 0.6;
}

/* Dropdown */
.td-main-menu-content li.has-dropdown {
  position: relative;
}
.td-main-menu-content li.has-dropdown .td-submenu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--td-common-white);
  border: 1px solid var(--td-common-line);
  min-width: 180px;
  list-style: none;
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 200;
}
.td-main-menu-content li.has-dropdown:hover .td-submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.td-main-menu-content .td-submenu li a {
  display: block;
  padding: 8px 20px;
  font-size: 13px;
  font-weight: 500;
  color: var(--td-theme-primary);
  transition: opacity 0.2s;
}
.td-main-menu-content .td-submenu li a:hover {
  opacity: 0.6;
}

/* Actions */
.td-header-actions {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}

/* Header play button */
.td-header-play-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* Hamburger */
.td-menu-bar {
  background: none;
  border: 1px solid var(--td-common-line);
  padding: 8px 10px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.td-menu-bar span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--td-theme-primary);
}

/* Sticky */
.sticky-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: var(--td-common-white);
  border-bottom-color: var(--td-common-line);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
  animation: tdFadeInDown 0.3s ease;
}
@keyframes tdFadeInDown {
  from { transform: translateY(-100%); opacity: 0; }
  to   { transform: translateY(0);     opacity: 1; }
}

/* ── Inner pages: white header elements when transparent (dark overlay behind) ── */
.td-page-inner .td-header-area:not(.sticky-menu) .td-main-menu-content > ul > li > a {
  color: rgba(255, 255, 255, 0.88);
}
.td-page-inner .td-header-area:not(.sticky-menu) .td-main-menu-content > ul > li > a:hover,
.td-page-inner .td-header-area:not(.sticky-menu) .td-main-menu-content > ul > li.current > a {
  color: var(--td-common-white);
  opacity: 1;
}
.td-page-inner .td-header-area:not(.sticky-menu) .td-menu-bar {
  border-color: rgba(255, 255, 255, 0.45);
}
.td-page-inner .td-header-area:not(.sticky-menu) .td-menu-bar span {
  background: var(--td-common-white);
}
.td-page-inner .td-header-area:not(.sticky-menu) .td-header-play-btn {
  background: rgba(255, 255, 255, 0.15);
  color: var(--td-common-white);
  border: 1px solid rgba(255, 255, 255, 0.35);
}

/* Push content below fixed header */
.td-header-wrap + * {
  /* compensated in hero/breadcrumb where needed */
}


/* ==========================================================
   MOBILE OFFCANVAS
   ========================================================== */

.tdoffcanvas-area.active .tdoffcanvas {
  right: 0;
  opacity: 1;
  visibility: visible;
}
.td-main-menu-mobile .has-dropdown > a {
  cursor: pointer;
}
.td-main-menu-mobile .td-submenu {
  display: none;
  padding-left: 16px;
}
.td-main-menu-mobile .has-dropdown.open > .td-submenu {
  display: block;
}


/* ==========================================================
   BACK TO TOP
   ========================================================== */

.back-to-top-wrapper {
  position: fixed;
  right: 30px;
  bottom: 30px;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.back-to-top-wrapper.back-to-top-btn-show {
  opacity: 1;
  visibility: visible;
}
.back-to-top-btn {
  width: 44px;
  height: 44px;
  border: 1px solid var(--td-theme-primary);
  border-radius: 50%;
  background: var(--td-common-white);
  color: var(--td-theme-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, color 0.2s ease;
}
.back-to-top-btn:hover {
  background: var(--td-theme-primary);
  color: var(--td-common-white);
}


/* ==========================================================
   HERO BANNER  (Adina HeroOne style — bottom-anchored, dark text)
   ========================================================== */

.td-hero-area {
  position: relative;
  min-height: 580px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background-size: cover;
  background-position: bottom;  /* image bottom aligns with element bottom */
  background-repeat: no-repeat;
  padding-top: 140px;
}

/* Bottom content wrapper */
.td-hero-bottom {
  padding-bottom: 64px;
}

/* Large editorial headline */
.td-hero-achive-title {
  font-size: clamp(36px, 5vw, 76px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--td-theme-primary);
  margin-bottom: 32px;
}

/* Decorative underline on a highlighted word */
.td-hero-achive-title .td-title-border {
  position: relative;
  display: inline-block;
  z-index: 1;
}
.td-hero-achive-title .td-title-border::before {
  content: "";
  position: absolute;
  background: rgba(32, 40, 45, 0.18);
  height: 9px;
  width: 100%;
  bottom: 8px;
  left: 0;
  z-index: -1;
}

/* Hero CTA button — dark bg, white text */
.td-hero-play-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 28px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: var(--td-theme-primary);
  color: var(--td-common-white);
  transition: opacity 0.2s ease;
}
.td-hero-play-btn:hover {
  opacity: 0.82;
  color: var(--td-common-white);
}

/* Right-side subtitle block (globe icon + text) */
.td-hero-expertise {
  gap: 14px;
  max-width: 220px;
}
.td-hero-expertise i {
  font-size: 30px;
  color: rgba(32, 40, 45, 0.45);
  flex-shrink: 0;
}
.td-hero-expertise p {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.62;
  color: rgba(32, 40, 45, 0.70);
  margin: 0;
}


/* ==========================================================
   ARTICLE CONTENT
   ========================================================== */

.td-home-content-area,
.td-content-area {
  padding: 80px 0;
}

.td-article img,
.td-article-home img {
  width: 100%;
  height: auto;
}

/* ── Article typography ── */
.td-article h1, .td-article-home h1 {
  font-size: clamp(22px, 2.5vw, 32px);
  font-weight: 700;
  line-height: 1.25;
  margin-top: 1.6em;
  margin-bottom: 0.6em;
}
.td-article h2, .td-article-home h2 {
  font-size: clamp(19px, 2vw, 26px);
  font-weight: 700;
  line-height: 1.3;
  margin-top: 1.5em;
  margin-bottom: 0.55em;
}
.td-article h3, .td-article-home h3 {
  font-size: clamp(17px, 1.6vw, 21px);
  font-weight: 600;
  line-height: 1.35;
  margin-top: 1.4em;
  margin-bottom: 0.5em;
}
.td-article h4, .td-article-home h4 {
  font-size: clamp(15px, 1.3vw, 18px);
  font-weight: 600;
  line-height: 1.4;
  margin-top: 1.2em;
  margin-bottom: 0.45em;
}
.td-article p, .td-article-home p {
  font-size: 15px;
  line-height: 1.75;
  margin-bottom: 1em;
}
.td-article ul, .td-article-home ul,
.td-article ol, .td-article-home ol {
  font-size: 15px;
  line-height: 1.75;
  padding-left: 1.5em;
  margin-bottom: 1em;
}
.td-article li, .td-article-home li {
  margin-bottom: 0.3em;
}

/* ── Tables ── */
.td-table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 1.5em;
  border-radius: 4px;
}
.td-table-scroll table {
  min-width: 560px;
}
.td-article table,
.td-article-home table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  line-height: 1.5;
}
.td-article table th,
.td-article-home table th {
  background: var(--td-theme-primary);
  color: var(--td-common-white);
  padding: 11px 16px;
  text-align: left;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}
.td-article table td,
.td-article-home table td {
  padding: 10px 16px;
  border-bottom: 1px solid var(--td-common-line);
  color: var(--td-theme-primary);
  vertical-align: top;
}
.td-article table tbody tr:nth-child(even) td,
.td-article-home table tbody tr:nth-child(even) td {
  background: var(--td-grey-1, #f5f9ff);
}
.td-article table tbody tr:hover td,
.td-article-home table tbody tr:hover td {
  background: rgba(32, 40, 45, 0.04);
}


/* ==========================================================
   BREADCRUMB BANNER  (matches hero — bottom-anchored, dark text)
   ========================================================== */

.td-breadcrumb-area {
  position: relative;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background-size: cover;
  background-position: bottom;  /* image bottom aligns with element bottom */
  background-repeat: no-repeat;
  padding-top: 120px;
}

/* Dark overlay — covers full area including the transparent header zone */
.td-breadcrumb-area::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.38);
  pointer-events: none;
  z-index: 0;
}

/* Content pinned to bottom, above overlay */
.td-breadcrumb-bottom {
  position: relative;
  z-index: 1;
  padding-bottom: 48px;
}

/* Page title — white, editorial (same scale as homepage hero h1) */
.td-breadcrumb-title {
  color: var(--td-common-white);
  font-size: clamp(36px, 5vw, 76px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0 0 14px 0;
}

/* Breadcrumb trail — white, right-aligned */
.td-breadcrumb-list {
  color: rgba(255, 255, 255, 0.65);
  font-size: 13px;
  text-align: right;
  padding-bottom: 6px;
}
.td-breadcrumb-list a {
  color: rgba(255, 255, 255, 0.65);
  transition: color 0.2s;
}
.td-breadcrumb-list a:hover {
  color: var(--td-common-white);
}
.td-breadcrumb-list .dvdr {
  margin: 0 6px;
}
.td-breadcrumb-list .page {
  color: var(--td-common-white);
  font-weight: 600;
}
.td-breadcrumb-big-text {
  display: none;
}


/* ==========================================================
   FOOTER
   ========================================================== */

.td-footer-area.td-footer-bg {
  background: var(--td-common-bg);
  color: rgba(255, 255, 255, 0.7);
  padding: 60px 0 0;
}

/* Top row: logo + footer nav */
.td-footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 36px;
}

.td-footer-logo img {
  height: 40px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

/* Casino trust logos in bottom bar (theme18 style) */
.td-footer-casino-logos {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
}
.av-casino-logo-item img {
  height: 28px;
  width: auto;
  object-fit: contain;
  opacity: 0.75;
  filter: grayscale(100%);
  transition: opacity 0.3s ease, filter 0.3s ease;
}
.av-casino-logo-item img:hover {
  opacity: 1;
  filter: grayscale(0%);
}

/* Disclaimer blocks */
.td-footer-disclaimers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 36px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.td-footer-disclaimer-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 8px;
}
.td-footer-disclaimer-text {
  font-size: 12px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 0;
}
.td-footer-disclaimer-text strong {
  color: rgba(255, 255, 255, 0.6);
}

/* Bottom bar */
.td-footer-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding: 24px 0;
}
.td-footer-copyright {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
}
.td-footer-copyright a {
  color: rgba(255, 255, 255, 0.4);
}
.td-footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.td-footer-nav li a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
  transition: color 0.2s;
}
.td-footer-nav li a:hover {
  color: rgba(255, 255, 255, 0.75);
}


/* ==========================================================
   FAQ  (Adina td-faq-4 accordion style)
   ========================================================== */

.td-faq-wrapper {
  margin-top: 52px;
}
.td-faq-title-wrap {
  margin-bottom: 40px;
}
.td-faq-title-wrap .td-section-title {
  font-size: clamp(20px, 2.2vw, 28px);
}

/* Accordion container */
.td-faq-4-accordion {
  /* inherits from main.css — border-radius: 0 */
}

/* Individual item */
.td-faq-4-item {
  margin-bottom: 16px;
  background: var(--td-common-white);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.07);
  border-top: 2px solid transparent;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.td-faq-4-item.td-faq-active {
  border-top-color: var(--td-theme-primary);
  box-shadow: 0 8px 36px rgba(0, 0, 0, 0.11);
}

/* Button */
.td-faq-4-btn {
  display: flex;
  align-items: center;
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  outline: none;
  padding: 20px 28px;
  gap: 14px;
  font-size: 15px;
  font-weight: 600;
  color: var(--td-theme-primary);
  line-height: 1.45;
  cursor: pointer;
  position: relative;
  transition: color 0.2s ease;
}
.td-faq-4-btn:focus,
.td-faq-4-btn:focus-visible {
  outline: none;
  box-shadow: none;
}

/* Plus/minus icon (left of question text) */
.td-faq-icon {
  flex-shrink: 0;
  width: 16px;
  font-size: 13px;
  line-height: 1;
  color: var(--td-theme-primary);
  transition: color 0.2s ease;
}
.td-faq-icon .fa-minus { display: none; }
.td-faq-icon .fa-plus  { display: inline-block; }
.td-faq-4-item.td-faq-active .td-faq-icon .fa-minus { display: inline-block; }
.td-faq-4-item.td-faq-active .td-faq-icon .fa-plus  { display: none; }

/* Answer body */
.td-faq-4-answer.td-faq-para {
  padding: 2px 28px 22px 28px;
  font-size: 14px;
  line-height: 1.75;
  color: rgba(32, 40, 45, 0.72);
}
.td-faq-4-answer.td-faq-para p:last-child { margin-bottom: 0; }


/* ==========================================================
   TOC
   ========================================================== */

details.ek-toc {
  margin: 24px 0;
  border: 1px solid var(--td-common-line);
  border-radius: 6px;
  padding: 0 16px;
  overflow: hidden;
}
details.ek-toc summary {
  padding: 14px 0;
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  user-select: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
details.ek-toc nav,
details.ek-toc ul,
details.ek-toc ol {
  padding-bottom: 14px;
  overflow: hidden;
}


/* ==========================================================
   DEMO SHORTCODE
   ========================================================== */

.td-demo-wrapper {
  margin: 30px 0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.15);
}

/* Play button shortcode (inline in content) */
.av-play-btn--content {
  margin: 8px 0;
}


/* ==========================================================
   ERROR / 404
   ========================================================== */

.td-error-area {
  min-height: 70vh;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  position: relative;
}
.td-error-area::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(20, 28, 32, 0.6);
}
.td-error-area .container {
  position: relative;
  z-index: 1;
}
.td-error-content {
  padding: 60px 20px;
  color: var(--td-common-white);
}
.td-error-title {
  font-size: clamp(80px, 15vw, 160px);
  font-weight: 800;
  line-height: 1;
  color: var(--td-common-white);
}
.td-error-text {
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 36px;
}


/* ==========================================================
   CONTACT PAGE
   ========================================================== */

.td-contact-4-form .td-contact-form input,
.td-contact-4-form .td-contact-form textarea {
  width: 100%;
  display: block;
}


/* ==========================================================
   RESPONSIVE
   ========================================================== */

@media (max-width: 1199px) {
  .td-main-menu-content > ul {
    gap: 0;
  }
  .td-main-menu-content > ul > li > a {
    padding: 8px 10px;
  }
}

@media (max-width: 991px) {
  .td-home-content-area,
  .td-content-area {
    padding: 50px 0;
  }
  .td-footer-disclaimers {
    grid-template-columns: 1fr;
  }
  /* Hero */
  .td-hero-area {
    min-height: 440px;
    padding-top: 100px;
  }
  .td-hero-bottom {
    padding-bottom: 48px;
  }
  /* Breadcrumb */
  .td-breadcrumb-area {
    min-height: 340px;
    padding-top: 100px;
  }
  .td-breadcrumb-bottom {
    padding-bottom: 36px;
  }
}

@media (max-width: 767px) {
  .td-footer-top {
    flex-direction: column;
    align-items: flex-start;
  }
  .td-footer-bottom-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .td-header-inner {
    padding: 12px 0;
  }
  /* Hero */
  .td-hero-area {
    min-height: 360px;
  }
  .td-hero-bottom {
    padding-bottom: 32px;
  }
  .td-hero-expertise {
    margin-top: 16px;
    max-width: 100%;
    justify-content: flex-start;
  }
  /* Breadcrumb */
  .td-breadcrumb-area {
    min-height: 280px;
  }
  .td-breadcrumb-bottom {
    padding-bottom: 28px;
  }
  .td-breadcrumb-list {
    text-align: left;
    padding-bottom: 0;
    margin-top: 8px;
  }
  /* FAQ */
  .td-faq-4-btn {
    font-size: 14px;
    padding: 18px 20px;
    gap: 12px;
  }
  .td-faq-4-answer.td-faq-para {
    padding: 2px 20px 18px 20px;
  }
  /* Tables */
  .td-article table th,
  .td-article table td,
  .td-article-home table th,
  .td-article-home table td {
    padding: 8px 12px;
  }
}
