/* Asino Casino — global template */
:root {
  --asn-bg: #1b0f07;
  --asn-text: #f6e9d2;
  --asn-muted: #ddcbae;
  --asn-gold: #ffd873;
  --asn-green: #c6f24a;
  --asn-border: #6b3f18;
  --asn-aside-w: 268px;
}

*, *::before, *::after { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--asn-bg);
  overflow-x: clip;
}

body.asn-body {
  font-family: 'Rubik', system-ui, sans-serif;
  background-image: linear-gradient(rgba(20,10,4,.78), rgba(20,10,4,.86)), url('/wp-content/uploads/Azino Casino/background.webp');
  background-size: auto, 900px auto;
  background-repeat: repeat, repeat;
  background-attachment: fixed, scroll;
  color: var(--asn-text);
}

a { color: var(--asn-green); text-decoration: none; cursor: pointer; }
a:hover { color: #e6ff8a; }

.asn-layout { display: flex; min-height: 100vh; align-items: stretch; max-width: 100%; }

.asn-aside {
  width: var(--asn-aside-w);
  flex: 0 0 var(--asn-aside-w);
  position: sticky;
  top: 0;
  align-self: flex-start;
  max-height: 100vh;
  overflow-y: auto;
  padding: 18px 16px 28px;
  background: linear-gradient(180deg, rgba(43,22,9,.92), rgba(26,13,5,.94));
  border-right: 2px solid var(--asn-border);
  box-shadow: 4px 0 24px rgba(0,0,0,.5);
  scrollbar-width: thin;
}

.asn-aside--drawer,
.asn-drawer-backdrop { display: none; }

.asn-aside-logo {
  width: 220px;
  max-width: 100%;
  height: 132px;
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.asn-aside-logo img,
.asn-footer-logo {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.asn-footer-logo {
  height: 92px;
  margin: 0 auto 28px;
}

.asn-side-nav { display: flex; flex-direction: column; gap: 9px; }

.asn-side-link {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 54px;
  padding: 0 16px;
  background-image: url('/wp-content/uploads/Azino Casino/menu.webp');
  background-size: 100% 100%;
  background-repeat: no-repeat;
  border-radius: 10px;
  color: #ffe9b5;
  font-family: 'Passion One', sans-serif;
  font-size: 21px;
  letter-spacing: .04em;
  text-transform: uppercase;
  text-shadow: 0 2px 0 rgba(0,0,0,.55);
  filter: saturate(1.05);
  transition: transform .12s ease, filter .12s ease;
}

.asn-side-link:hover {
  transform: translateX(3px);
  filter: brightness(1.14) saturate(1.15);
  color: #ffffff;
}

.asn-aside-cta { margin-top: 22px; display: flex; flex-direction: column; gap: 10px; }

.asn-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  cursor: pointer;
  font-family: 'Passion One', sans-serif;
  letter-spacing: .05em;
  text-transform: uppercase;
  text-decoration: none;
  transition: transform .12s ease, filter .12s ease;
}

.asn-btn:hover { transform: translateY(-2px); filter: brightness(1.08); }

.asn-btn--block { width: 100%; min-height: 56px; padding: 12px 24px; font-size: 22px; }

.asn-btn--green {
  background: url('/wp-content/uploads/Azino Casino/button.webp') center/100% 100% no-repeat;
  color: #20330a;
  text-shadow: 0 1px 0 rgba(255,255,255,.35);
}

.asn-btn--gold {
  background: url('/wp-content/uploads/Azino Casino/button2.webp') center/100% 100% no-repeat;
  color: #4a2600;
  text-shadow: 0 1px 0 rgba(255,255,255,.3);
}

.asn-btn--sm { min-width: 104px; min-height: 44px; padding: 8px 16px; font-size: 17px; white-space: nowrap; }

.asn-btn--hero { min-height: 74px; padding: 14px 40px; font-size: 30px; color: #1d2f08; text-shadow: 0 1px 0 rgba(255,255,255,.4); }

.asn-btn--show-more { min-width: 230px; min-height: 64px; padding: 14px 32px; font-size: 26px; }

.asn-main { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; }

.asn-header { position: sticky; top: 0; z-index: 40; }

.asn-header-bar {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 12px 28px;
  background: linear-gradient(180deg, rgba(32,16,6,.96), rgba(24,12,4,.92));
  backdrop-filter: blur(6px);
}

.asn-header-spacer { flex: 1 1 20px; }

.asn-header-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }

.asn-menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--asn-border);
  border-radius: 8px;
  background: rgba(12,6,2,.6);
  color: #ffd873;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

.asn-hero {
  position: relative;
  margin: 0 28px;
  border-radius: 14px;
  overflow: hidden;
  border: 2px solid #7a4a1c;
  box-shadow: 0 14px 40px rgba(0,0,0,.55);
}

.asn-hero-img {
  display: block;
  width: 100%;
  height: clamp(340px, 34vw, 470px);
  object-fit: cover;
  object-position: right center;
}

.asn-hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10,5,2,.92) 0%, rgba(10,5,2,.7) 34%, rgba(10,5,2,0) 58%);
}

.asn-hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 22px;
  padding: 0 clamp(28px, 4vw, 60px);
  max-width: 620px;
}

.asn-hero-title {
  margin: 0;
  font-family: 'Passion One', sans-serif;
  font-weight: 900;
  font-size: clamp(40px, 5vw, 68px);
  line-height: .94;
  letter-spacing: .01em;
  text-transform: uppercase;
  color: var(--asn-gold);
  text-shadow: 0 4px 0 #6d3a06, 0 10px 30px rgba(0,0,0,.6);
  text-wrap: balance;
}

.asn-section { padding: 44px 28px 8px; }

.asn-section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 20px; }

.asn-section-title {
  margin: 0;
  font-family: 'Passion One', sans-serif;
  font-size: 38px;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: var(--asn-gold);
  text-shadow: 0 3px 0 #6d3a06;
}

.asn-section-title--hot::before {
  content: '\1F525';
  margin-right: 8px;
}

.asn-games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 18px;
}

.asn-game-card {
  display: block;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(12,6,2,.6);
  border: 1px solid var(--asn-border);
  box-shadow: 0 8px 20px rgba(0,0,0,.45);
  transition: transform .14s ease, border-color .14s ease, box-shadow .14s ease;
}

.asn-game-card:hover {
  transform: translateY(-4px);
  border-color: var(--asn-green);
  box-shadow: 0 14px 30px rgba(0,0,0,.6);
}

.asn-game-card--hidden { display: none; }

.asn-games-grid.asn-expanded .asn-game-card--hidden { display: block; }

.asn-game-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: #0d0703;
}

.asn-game-thumb img { width: 100%; height: 100%; object-fit: fill; display: block; }

.asn-game-tag {
  position: absolute;
  top: 8px;
  left: 8px;
  padding: 3px 8px;
  border-radius: 5px;
  background: rgba(0,0,0,.6);
  border: 1px solid rgba(255,216,115,.35);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--asn-gold);
}

.asn-game-meta { padding: 10px 12px 12px; }

.asn-game-title { font-size: 14px; font-weight: 700; color: var(--asn-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.asn-game-provider { margin-top: 3px; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: #a8865e; }

.asn-show-more-wrap { display: flex; justify-content: center; padding: 28px 0 4px; }

.asn-games-grid.asn-expanded + .asn-show-more-wrap { display: none; }

.asn-winners-head {
  padding: 0 28px;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.asn-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(198,242,74,.12);
  border: 1px solid rgba(198,242,74,.35);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--asn-green);
}

.asn-ticker-wrap {
  overflow: hidden;
  padding: 6px 0;
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}

.asn-ticker-track {
  display: flex;
  gap: 14px;
  width: max-content;
  animation: asnTicker 42s linear infinite;
}

@keyframes asnTicker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.asn-winner-card {
  display: flex;
  align-items: stretch;
  gap: 12px;
  width: 288px;
  flex: 0 0 288px;
  height: 104px;
  padding: 8px;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(12,6,2,.72);
  border: 1px solid var(--asn-border);
  box-shadow: 0 8px 18px rgba(0,0,0,.45);
}

.asn-winner-thumb {
  flex: 0 0 88px;
  width: 88px;
  max-height: 88px;
  align-self: center;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 8px;
  background: #0d0703;
  border: 1px solid rgba(255,216,115,.22);
}

.asn-winner-thumb img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; display: block; }

.asn-winner-info { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; justify-content: center; gap: 3px; }

.asn-winner-name { font-size: 13px; font-weight: 700; color: var(--asn-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.asn-winner-amount {
  font-family: 'Passion One', sans-serif;
  font-size: 26px;
  line-height: 1;
  color: var(--asn-green);
  text-shadow: 0 2px 0 rgba(0,0,0,.5);
}

.asn-content-wrap { max-width: 1000px; }

.asn-page-title {
  margin: 0 0 18px;
  font-family: 'Passion One', sans-serif;
  font-size: 38px;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: var(--asn-gold);
  text-shadow: 0 3px 0 #6d3a06;
}

.asn-post-list { margin-top: 24px; }

.asn-content {
  font-size: 16px;
  line-height: 1.7;
  color: var(--asn-muted);
  text-wrap: pretty;
}

.asn-content h2, .asn-content h3 {
  font-family: 'Passion One', sans-serif;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: var(--asn-gold);
}

.asn-content a { color: var(--asn-green); }

.asn-content-cta { margin-top: 28px; text-align: center; }

.asn-content table { width: 100%; border-collapse: collapse; margin: 16px 0; }

.asn-content table th,
.asn-content table td {
  border: 1px solid var(--asn-border);
  padding: 10px 12px;
  text-align: left;
}

.asn-payments { padding-bottom: 56px; }

.asn-payments .asn-section-title { margin-bottom: 18px; }

.asn-pay-row {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: thin;
}

.asn-pay-item {
  height: 70px;
  flex: 0 0 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 10px;
  background: rgba(12,6,2,.6);
  border: 1px solid var(--asn-border);
  transition: border-color .14s ease, background .14s ease;
}

.asn-pay-item:hover { border-color: var(--asn-green); background: rgba(198,242,74,.07); }

.asn-pay-item img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; filter: brightness(1.15); }

.asn-footer {
  position: relative;
  margin-top: auto;
  background-image: linear-gradient(rgba(16,8,3,.86), rgba(16,8,3,.92)), url('/wp-content/uploads/Azino Casino/background.webp');
  background-size: auto, 900px auto;
  border-top: 2px solid var(--asn-border);
  padding: 36px 28px 28px;
}

.asn-footer-grid {
  display: grid;
  grid-template-columns: 260px 1fr 1fr 1fr;
  gap: 32px;
  align-items: start;
}

.asn-footer-heading {
  font-family: 'Passion One', sans-serif;
  font-size: 18px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #f2c268;
  margin-bottom: 12px;
}

.asn-nav-slot--footer .asn-footer-nav {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.asn-footer-link { font-size: 14px; color: #cdb996; }

.asn-footer-link:hover { color: var(--asn-green); }

.asn-footer-bottom {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid rgba(107,63,24,.7);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.asn-age-block { display: flex; align-items: center; gap: 14px; }

.asn-age-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 2px solid #e2483f;
  color: #ff6a60;
  font-family: 'Passion One', sans-serif;
  font-size: 20px;
  letter-spacing: .02em;
}

.asn-age-text {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--asn-text);
}

.asn-age-text span {
  display: block;
  margin-top: 3px;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  font-size: 13px;
  color: #a8865e;
}

.asn-sec-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }

.asn-sec-item {
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px 12px;
  border-radius: 8px;
  background: rgba(255,255,255,.05);
  border: 1px solid var(--asn-border);
}

.asn-sec-item img { max-width: 120px; max-height: 100%; width: auto; height: auto; object-fit: contain; }

.asn-copyright { margin-top: 20px; font-size: 12px; color: #8a6c4a; }

@media (max-width: 768px) {
  table {
    display: block !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }

  .asn-aside--desktop { display: none; }

  .asn-menu-toggle { display: flex; }

  .asn-header-bar { gap: 10px; padding: 8px 16px; }

  .asn-btn--sm { min-width: 104px; min-height: 44px; font-size: 17px; }

  .asn-hero { margin: 0 16px; background: linear-gradient(180deg, rgba(18,9,3,.6), rgba(12,6,2,.9)); }

  .asn-hero-img { height: 190px; object-position: 78% center; }

  .asn-hero-scrim {
    top: 0;
    left: 0;
    right: 0;
    height: 190px;
    background: linear-gradient(180deg, rgba(10,5,2,0) 45%, rgba(12,6,2,.92));
  }

  .asn-hero-content {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    padding: 4px 20px 26px;
    text-align: center;
    max-width: none;
  }

  .asn-btn--hero { align-self: stretch; width: 100%; min-height: 62px; font-size: 24px; }

  .asn-section { padding: 32px 16px 8px; }

  .asn-games-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }

  .asn-winners-head { padding: 0 16px; }

  .asn-payments { padding: 32px 16px 44px; }

  .asn-footer-grid { grid-template-columns: 1fr; gap: 26px; }

  .asn-footer-bottom { flex-direction: column; align-items: flex-start; gap: 20px; }

  .asn-drawer-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 55;
    background: rgba(6,3,1,.62);
    backdrop-filter: blur(2px);
  }

  .asn-drawer-backdrop[hidden] { display: none !important; }

  .asn-aside--drawer {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 284px;
    max-width: 84vw;
    z-index: 60;
    transform: translateX(-104%);
    transition: transform .25s cubic-bezier(.16,1,.3,1);
    border-right: 2px solid var(--asn-border);
    box-shadow: 10px 0 34px rgba(0,0,0,.65);
  }

  .asn-aside--drawer.asn-open { transform: translateX(0); }
}
