/* Atlantis Casino theme */
html, body { margin: 0; padding: 0; }
body.atl-body {
  background: #F2F7FA;
  font-family: 'Manrope', system-ui, sans-serif;
  color: #0B2F3F;
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
a { color: #127E9B; text-decoration: none; }
a:hover { color: #0B2F3F; }
a:focus-visible, button:focus-visible {
  outline: 2px solid #C6A15B;
  outline-offset: 2px;
}
::selection { background: #CDEAF2; }

.atl-shell {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  background: #FFFFFF;
  overflow: hidden;
  position: relative;
}

@keyframes atl-rise {
  0%   { transform: translate3d(0,10vh,0) scale(0.7); opacity: 0; }
  12%  { opacity: 0.85; }
  50%  { transform: translate3d(14px,-50vh,0) scale(1); }
  88%  { opacity: 0.55; }
  100% { transform: translate3d(-10px,-112vh,0) scale(1.06); opacity: 0; }
}
@keyframes atl-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.atl-bubbles {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
}
.atl-bub {
  position: absolute;
  bottom: -8vh;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, rgba(255,255,255,0.95) 0%, rgba(226,246,252,0.5) 40%, rgba(255,255,255,0.06) 72%, rgba(255,255,255,0.02) 100%);
  border: 1px solid rgba(255,255,255,0.55);
  box-shadow: inset 0 0 6px rgba(255,255,255,0.85), 0 0 10px rgba(160,215,235,0.3);
  animation-name: atl-rise;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}
@media (prefers-reduced-motion: reduce) {
  .atl-bub { display: none; }
  .atl-ticker-track,
  .atl-providers-track { animation: none !important; }
}

/* Header */
.atl-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: clamp(10px, 2vw, 24px);
  padding: 12px clamp(14px, 2vw, 28px);
  background: rgba(255,255,255,0.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(11,47,63,0.08);
}
.atl-logo-link { display: flex; align-items: center; flex-shrink: 0; }
.atl-logo--header {
  height: clamp(32px, 3.4vw, 44px);
  width: auto;
  display: block;
  object-fit: contain;
}
.atl-header-spacer { flex: 1; min-width: 0; }
.atl-header-actions { display: flex; align-items: center; gap: 10px; }

.atl-burger {
  display: none;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: 1px solid rgba(11,47,63,0.14);
  border-radius: 10px;
  background: #F6FAFC;
  cursor: pointer;
  padding: 0;
}
.atl-burger span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: #0B2F3F;
}

.atl-nav-slot--desktop {
  display: flex;
  align-items: center;
  min-width: 0;
}
.atl-nav-slot--desktop .atl-main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: nowrap;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.atl-nav-slot--desktop .atl-main-nav::-webkit-scrollbar { display: none; }
.atl-nav-slot--desktop .atl-nav-link {
  padding: 9px 14px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #4C6B7A;
  white-space: nowrap;
}
.atl-nav-slot--desktop .atl-nav-link:hover,
.atl-nav-slot--desktop .atl-nav-link:first-child {
  color: #0B2F3F;
  background: rgba(18,126,155,0.10);
  font-weight: 700;
}

.atl-nav-slot--mobile {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  flex-direction: column;
  gap: 2px;
  padding: 10px 14px 14px;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(11,47,63,0.10);
  z-index: 60;
}
.atl-nav-slot--mobile[hidden] { display: none !important; }
.atl-header.is-open .atl-nav-slot--mobile:not([hidden]) { display: flex; }
.atl-nav-slot--mobile .atl-main-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
  width: 100%;
}
.atl-nav-slot--mobile .atl-nav-link {
  display: flex;
  align-items: center;
  height: 48px;
  padding: 0 14px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  color: #41616F;
}
.atl-nav-slot--mobile .atl-nav-link:first-child {
  font-weight: 700;
  color: #0B2F3F;
  background: rgba(18,126,155,0.10);
}

/* Buttons — Example 1 */
.atl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  height: 40px;
  padding: 0 clamp(12px, 1.4vw, 16px);
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  border: none;
  cursor: pointer;
  transition: box-shadow .2s ease, background .2s ease, filter .2s ease;
}
.atl-btn--ghost {
  color: #0B2F3F;
  background: transparent;
  border: 1px solid rgba(11,47,63,0.16);
}
.atl-btn--ghost:hover { background: rgba(11,47,63,0.04); color: #0B2F3F; }
.atl-btn--gold {
  color: #0B2F3F;
  font-weight: 800;
  background: linear-gradient(180deg, #EBD49B 0%, #C6A15B 100%);
  box-shadow: 0 6px 18px rgba(198,161,91,0.38);
}
.atl-btn--gold:hover {
  color: #0B2F3F;
  box-shadow: 0 8px 24px rgba(198,161,91,0.55);
  filter: brightness(1.03);
}
.atl-btn--soft {
  color: #0B2F3F;
  background: rgba(255,255,255,0.78);
  border: 1px solid rgba(11,47,63,0.16);
}
.atl-btn--soft:hover { background: #FFFFFF; color: #0B2F3F; }
.atl-btn--lg {
  height: 52px;
  padding: 0 28px;
  border-radius: 12px;
  font-size: 16px;
}
.atl-btn--gold.atl-btn--lg { box-shadow: 0 10px 28px rgba(198,161,91,0.42); }
.atl-btn--gold.atl-btn--lg:hover { box-shadow: 0 14px 34px rgba(198,161,91,0.6); }

/* Hero */
.atl-hero {
  position: relative;
  background: #EAF3F8 url('/wp-content/uploads/Atlantis Casino/reef-depths-bg.webp') center/cover no-repeat;
  border-bottom: 1px solid rgba(11,47,63,0.08);
}
.atl-hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  align-items: center;
  gap: 8px;
}
.atl-hero-art { position: relative; min-width: 0; align-self: end; }
.atl-hero-img { width: 100%; height: auto; display: block; }
.atl-hero-copy { min-width: 0; padding: 8px 28px 32px; }
.atl-hero-title {
  font-family: 'Cinzel', serif;
  font-weight: 700;
  font-size: clamp(32px, 4.4vw, 60px);
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: 0;
  color: #0B2F3F;
  text-wrap: pretty;
}
.atl-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

/* Ticker */
.atl-ticker {
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #0B2F3F;
  color: #DCEAF0;
}
.atl-ticker-label {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 18px;
  height: 44px;
  background: linear-gradient(180deg, #EBD49B 0%, #C6A15B 100%);
  color: #0B2F3F;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.atl-ticker-viewport { flex: 1; min-width: 0; overflow: hidden; }
.atl-ticker-track {
  display: flex;
  width: max-content;
  animation: atl-marquee 40s linear infinite;
}
.atl-ticker-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 22px;
  height: 44px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}
.atl-ticker-user { color: #8FB3C2; }
.atl-ticker-dot { color: #4A7186; }
.atl-ticker-amount { color: #F0DDAB; }

/* Sections */
.atl-section { padding: clamp(28px, 4vw, 44px) clamp(14px, 2vw, 28px) 40px; }
.atl-section-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(22px, 2.4vw, 32px);
  font-weight: 700;
  margin: 0;
  color: #0B2F3F;
}
.atl-section-title--sm { font-size: clamp(18px, 1.8vw, 22px); margin-bottom: 20px; }

.atl-games-grid {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: clamp(8px, 1.2vw, 16px);
  margin-top: 20px;
}
.atl-game-card {
  position: relative;
  display: block;
  border-radius: 14px;
  overflow: hidden;
  background: #0B2F3F;
  border: 1px solid rgba(11,47,63,0.10);
  box-shadow: 0 6px 20px rgba(11,47,63,0.08);
  transition: box-shadow .2s ease;
}
.atl-game-card:hover { box-shadow: 0 12px 30px rgba(11,47,63,0.20); }
.atl-game-card img {
  width: 100%;
  aspect-ratio: 2/3;
  object-fit: cover;
  display: block;
}
.atl-game-tag {
  position: absolute;
  left: 8px;
  top: 8px;
  display: flex;
  align-items: center;
  height: 22px;
  padding: 0 8px;
  border-radius: 6px;
  background: rgba(11,47,63,0.72);
  backdrop-filter: blur(6px);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #F0DDAB;
}

/* Content / prose */
.atl-prose-wrap {
  padding: clamp(36px, 5vw, 64px) clamp(16px, 2vw, 28px) 56px;
  background: #EAF3F8 url('/wp-content/uploads/Atlantis Casino/reef-depths-bg.webp') center/cover no-repeat;
}
.atl-prose { max-width: 820px; margin: 0 auto; }
.atl-ornament {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #C6A15B;
  margin-bottom: 22px;
}
.atl-ornament-line {
  height: 1px;
  flex: 1;
  background: linear-gradient(90deg, transparent, rgba(198,161,91,0.55));
}
.atl-ornament-line:last-child {
  background: linear-gradient(90deg, rgba(198,161,91,0.55), transparent);
}
.atl-ornament-mark { font-size: 15px; }

.atl-content {
  color: #41616F;
  font-size: 16px;
  line-height: 1.8;
  font-weight: 500;
}
.atl-content h1,
.atl-content h2,
.atl-content h3 {
  font-family: 'Cinzel', serif;
  color: #0B2F3F;
  font-weight: 700;
  line-height: 1.2;
}
.atl-content h1 { font-size: clamp(28px, 3.4vw, 42px); text-align: center; margin: 0 0 16px; }
.atl-content h2 { font-size: clamp(24px, 2.6vw, 32px); margin: 40px 0 14px; }
.atl-content h3 { font-size: 24px; margin: 36px 0 12px; }
.atl-content p { margin: 14px 0 0; text-wrap: pretty; }
.atl-content a { color: #127E9B; }
.atl-content ul, .atl-content ol { margin: 18px 0 0; padding-left: 1.2em; }
.atl-content li { margin: 8px 0; }
.atl-content strong { color: #0B2F3F; font-weight: 700; }
.atl-content blockquote {
  margin: 32px 0 0;
  padding: 28px 32px;
  border-radius: 16px;
  background: #F2F7FA;
  border-left: 3px solid #C6A15B;
}
.atl-content-cta { margin-top: 32px; display: flex; justify-content: center; }

/* Tables in CMS content — no min-width */
.atl-content table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  background: #FFFFFF;
}
.atl-content table th,
.atl-content table td {
  padding: 14px 18px;
  text-align: left;
  border-top: 1px solid rgba(11,47,63,0.08);
}
.atl-content table th {
  background: #0B2F3F;
  color: #F0DDAB;
  font-family: 'Cinzel', serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-top: none;
}
.atl-content table td { color: #41616F; }
@media (max-width: 768px) {
  table {
    display: block !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }
}

/* Providers */
.atl-providers { padding-bottom: 56px; }
.atl-providers-viewport { overflow: hidden; width: 100%; }
.atl-providers-track {
  display: flex;
  width: max-content;
  gap: 12px;
  animation: atl-marquee 34s linear infinite;
}
.atl-provider-card {
  flex-shrink: 0;
  width: 170px;
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  border-radius: 12px;
  background: #FFFFFF;
  border: 1px solid rgba(11,47,63,0.12);
}
.atl-provider-card:hover { border-color: #C6A15B; }
.atl-provider-card img {
  max-width: 100%;
  max-height: 34px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  filter: brightness(0);
  opacity: 0.8;
}

/* Footer */
.atl-footer {
  background: #071F2B;
  color: #A8C6D3;
  padding: clamp(30px, 4vw, 48px) clamp(16px, 2vw, 28px) 32px;
  text-align: center;
}
.atl-footer-logo-wrap { margin-bottom: 28px; }
.atl-logo--footer {
  height: 72px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}
.atl-nav-slot--footer {
  display: flex;
  justify-content: center;
  margin-bottom: 8px;
}
.atl-nav-slot--footer .atl-footer-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 11px 32px;
}
.atl-footer-link {
  color: #A8C6D3;
  font-size: 14px;
  font-weight: 600;
}
.atl-footer-link:hover { color: #F0DDAB; }

.atl-pay-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.10);
}
.atl-pay-item {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 18px;
  border-radius: 10px;
  background: #F2F7FA;
  border: 1px solid rgba(198,161,91,0.35);
}
.atl-pay-item img {
  height: 22px;
  width: auto;
  max-width: 84px;
  object-fit: contain;
  display: block;
}
.atl-pay-item--dark img {
  filter: brightness(0) opacity(0.78);
}

.atl-footer-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px 28px;
  margin-top: 32px;
  font-size: 12px;
  font-weight: 600;
  color: #A8C6D3;
}
.atl-rg { display: flex; align-items: center; gap: 14px; }
.atl-age {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  border: 1.5px solid #A8C6D3;
  font-size: 12px;
  font-weight: 800;
  color: #F2F7FA;
}

/* Responsive */
@media (max-width: 820px) {
  .atl-nav-slot--desktop { display: none !important; }
  .atl-burger { display: flex; }
  .atl-header-actions .atl-btn { height: 44px; }
  .atl-hero-art { display: none; }
  .atl-hero-copy { text-align: center; padding: 36px 18px 40px; }
  .atl-hero-title { font-size: 32px; }
  .atl-hero-cta { flex-direction: column; align-items: stretch; }
  .atl-hero-cta .atl-btn { justify-content: center; }
  .atl-games-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .atl-content h2 { font-size: 26px; }
  .atl-content h3 { font-size: 20px; }
  .atl-content p, .atl-content li { font-size: 15px; }
}
@media (max-width: 420px) {
  .atl-games-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
