/* ===== dicebetgiris.org — emerald & gold reskin of SlotsPalace-ml ===== */
@font-face { font-family: 'Playfair'; src: url('/assets/fonts/playfair-700-latin.woff2') format('woff2'); font-weight: 700; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+2000-206F; }
@font-face { font-family: 'Playfair'; src: url('/assets/fonts/playfair-700-latin-ext.woff2') format('woff2'); font-weight: 700; font-display: swap; unicode-range: U+0100-02BA, U+1E00-1EFF; }

:root {
  --bg-page: #0e0d0c;
  --bg-surface: #171614;
  --bg-header: rgba(14, 13, 12, .94);
  --bg-header-hover: #1f1d1a;
  --bg-dropdown: #1f1d1a;
  --bg-dropdown-hover: #29261f;
  --bg-drawer: rgba(6, 5, 4, .8);
  --bg-toolbar: rgba(14, 13, 12, .96);
  --bg-glass: rgba(255, 255, 255, .06);
  --bg-glass-strong: rgba(255, 255, 255, .12);
  --brand: #0e0d0c;
  --brand-mid: #1f1d1a;
  --brand-line: #2e2a24;
  --divider-drawer: #2e2a24;
  --text-title: #ffffff;
  --text-body: #cfc8bb;
  --text-muted: #8f887c;
  --accent-pink: #d9b26a;
  --accent-red: #d93246;
  --accent-orange: #d9b26a;
  --accent-green: #1fa463;
  --shadow-brand: rgba(0, 0, 0, .5);
  --shadow-ink: rgba(0, 0, 0, .45);
  --grad-pill: linear-gradient(180deg, #262320, #1b1a18);
  --grad-primary: linear-gradient(180deg, #f3d59a 0%, #d9b26a 45%, #b18740 100%);
  --grad-primary-hover: linear-gradient(180deg, #f7e0b0 0%, #e2bd77 45%, #bd9248 100%);
  --grad-secondary: linear-gradient(180deg, #2bb874 0%, #158a50 100%);
  --grad-warn: linear-gradient(0deg, rgba(255,255,255,.02), rgba(255,255,255,.02));
  --grad-warn-hover: linear-gradient(0deg, rgba(255,255,255,.08), rgba(255,255,255,.08));
  --grad-badge: linear-gradient(200deg, #f3d59a 10%, #b18740 85%);
  --grad-support-frame: linear-gradient(135deg, #b18740, #f3d59a);
  --grad-support-face: linear-gradient(#1f1d1a, #0e0d0c);
  --support-glow: rgba(217,178,106,.5);

  --gold: #d9b26a; --gold-hi: #f3d59a; --gold-lo: #9c7435;
  --green-hi: #2bb874;
  --surface-2: #1f1d1a; --line: #2e2a24; --line-gold: rgba(217,178,106,.35);
  --serif: 'Playfair', Georgia, 'Times New Roman', serif;
}

html { background: var(--bg-page); }
body {
  color: var(--text-body);
  background: linear-gradient(rgba(14,13,12,.86), rgba(14,13,12,.94)), url('/assets/image/site/page-bg.webp') center top / 1600px auto repeat, var(--bg-page);
}
::selection { background: rgba(217,178,106,.35); color: #fff; }

/* placeholders */
.ph { display: inline-block; padding: 1px 8px; border: 1px dashed rgba(217,178,106,.55); border-radius: 6px; background: rgba(217,178,106,.07); color: var(--gold-hi); font-weight: 500; letter-spacing: .01em; }
.dg-ph-table { width: 100%; }

/* buttons */
.sp-btn { text-transform: none; }
.sp-btn__title { text-transform: none; letter-spacing: .01em; }
.sp-btn--primary { background: var(--grad-primary) !important; box-shadow: 0 6px 20px rgba(217,178,106,.18); border: 0; }
.sp-btn--primary:hover { background: var(--grad-primary-hover) !important; }
.sp-btn--primary .sp-btn__title { color: #1b1408; text-shadow: none; font-weight: 700; }
.sp-btn--secondary { background: var(--grad-secondary) !important; box-shadow: 0 6px 20px rgba(31,164,99,.22); }
.sp-btn--secondary .sp-btn__title { color: #fff; text-shadow: none; }
.sp-btn--warn { background: transparent !important; border: 1px solid rgba(255,255,255,.55); box-shadow: none; }
.sp-btn--warn:hover { border-color: var(--gold); }
.sp-btn--warn .sp-btn__title { color: #fff; text-shadow: none; }
.dg-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 50px; padding: 0 24px; border-radius: 10px; font: 700 16px/1 var(--font-base); text-decoration: none; white-space: nowrap; transition: transform .15s; }
.dg-btn:hover { transform: translateY(-1px); }
.dg-btn--green { background: linear-gradient(180deg, var(--green-hi), #158a50); color: #fff; box-shadow: 0 8px 24px rgba(31,164,99,.28); }
.dg-btn--ghost { border: 1px solid rgba(255,255,255,.5); color: #fff; background: rgba(0,0,0,.3); }
.dg-btn--ghost:hover { border-color: var(--gold); color: var(--gold-hi); }

/* header */
.head-bar__bar { background: var(--bg-header); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.head-bar__logo img { width: 170px; height: auto; max-height: 40px; }
.head-bar__link { color: #e9e3d6; text-transform: none; font-weight: 500; }
.head-bar__link:hover, .head-bar__link.is-active { color: var(--gold); }
.head-bar__arrow { color: var(--gold); }
.head-bar .head-bar__burger, .head-bar .head-bar__burger:hover { background: transparent !important; box-shadow: none !important; border: 1px solid var(--line) !important; color: #fff !important; }
.dg-lang-mini { position: relative; margin-left: 10px; }
.dg-lang-mini__btn { display: flex; align-items: center; gap: 6px; padding: 8px 11px; border-radius: 10px; background: transparent; color: #fff; font: 600 13px/1 var(--font-base); border: 1px solid var(--line); cursor: pointer; }
.dg-lang-mini__btn img { border-radius: 3px; }
.dg-lang-mini__menu { bottom: auto !important; inset-inline-start: auto !important; height: auto !important; position: absolute !important; right: 0 !important; left: auto !important; top: calc(100% + 8px) !important; width: 170px !important; padding: 6px !important; border-radius: 12px; background: var(--surface-2) !important; border: 1px solid var(--line); box-shadow: 0 16px 40px rgba(0,0,0,.5); display: flex; flex-direction: column; gap: 2px; z-index: 60; }
.dg-lang-mini__menu[hidden] { display: none !important; }
.sp-lang-item { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 8px; color: #fff; text-decoration: none; font-size: 14px; }
.sp-lang-item:hover, .sp-lang-item--active { background: rgba(217,178,106,.12); }
.sp-lang-menu { background: var(--surface-2); border: 1px solid var(--line); }
.sp-lang { background: transparent; border: 1px solid var(--line); color: #fff; }
@media (max-width: 1100px) { .dg-lang-mini { display: none; } }

/* drawer */
.sp-drawer__link { color: #f1ece1; text-transform: none; }
.sp-drawer__link--active, .sp-drawer__link:hover { color: var(--gold-hi); }
.dg-ico { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; color: var(--gold); }
.dg-chat { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 44px; height: 44px; border-radius: 50%; color: #1b1408; background: var(--grad-primary); box-shadow: 0 6px 20px rgba(217,178,106,.25); text-decoration: none; }
.dg-chat--float { width: auto; padding: 0 16px; border-radius: 22px; font-weight: 700; font-size: 14px; }

/* ---------- hero slider ---------- */
.hero__slide { padding-bottom: 0; }
.hero__frame.dg-slide { height: 480px; overflow: hidden; background: #090807; }
.hero__frame.dg-slide::before, .hero__frame.dg-slide::after { display: none; }
.dg-slide__pic, .dg-slide__pic img { position: absolute; inset: 0; width: 100%; height: 100%; }
.dg-slide__pic img { object-fit: cover; object-position: right center; display: block; }
.dg-slide::before { content: "" !important; display: block !important; position: absolute; inset: 0; z-index: 1; border: 0 !important; width: auto !important; height: auto !important; background: linear-gradient(90deg, rgba(9,8,7,.95) 0%, rgba(9,8,7,.8) 32%, rgba(9,8,7,.15) 62%, rgba(9,8,7,0) 80%), linear-gradient(0deg, var(--bg-page) 0%, rgba(14,13,12,0) 22%); }
.dg-slide__body { position: relative; z-index: 2; max-width: 620px; padding: 70px 0 0 max(24px, calc((100vw - 1240px) / 2 + 24px)); }
.dg-slide__kicker { color: var(--gold); font: 600 13px/1.3 var(--font-base); letter-spacing: .3em; text-transform: uppercase; margin: 0 0 14px; }
.dg-slide__title { color: #fff; font: 700 clamp(30px, 4.2vw, 54px)/1.08 var(--serif); margin: 0 0 16px; }
.dg-slide__text { color: #e6dfd2; font-size: 17px; line-height: 1.6; margin: 0 0 22px; }
.dg-slide__cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero__dots { bottom: 18px; }
.hero__dot { border-color: var(--gold); }
.hero__dot.is-active { background: var(--gold); }
.sp-arrow { background: rgba(14,13,12,.75) !important; border: 1px solid var(--line-gold) !important; color: var(--gold) !important; box-shadow: none !important; }

/* ---------- shelves & game cards ---------- */
.shelf__title, .allg__title, .sp-text__title, .dg-section-title { color: #fff; font-family: var(--serif); font-weight: 700; text-transform: none; }
.shelf__link, .allg__link { color: var(--gold); }
.gcard { border-radius: 12px; background: var(--bg-surface); box-shadow: 0 0 0 1px var(--line); }
.gcard:hover { box-shadow: 0 0 0 1px var(--line-gold), 0 10px 30px rgba(0,0,0,.5); }
.gcard__over { background: linear-gradient(180deg, rgba(14,13,12,.2), rgba(14,13,12,.92)); }
.gcard__tag--new { background: var(--grad-primary); color: #1b1408; }
.gcard__demo { color: var(--gold-hi); }
.gcard__brand { color: var(--text-muted); }

/* ---------- promo ---------- */
.promo__card.dg-promo { position: relative; overflow: hidden; border-radius: 18px; min-height: 260px; background: #090807; border: 1px solid var(--line); display: flex; align-items: center; }
.dg-promo__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: right center; }
.dg-promo::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(9,8,7,.95) 0%, rgba(9,8,7,.7) 38%, rgba(9,8,7,0) 70%); }
.dg-promo__content { position: relative; z-index: 2; padding: 32px 36px; max-width: 520px; }
.dg-promo__title { color: #fff; font: 700 30px/1.15 var(--serif); margin: 0 0 10px; }
.dg-promo__lead { color: #e6dfd2; font-size: 16px; line-height: 1.55; margin: 0 0 18px; }

/* ---------- SEO accordion + text (home) ---------- */
.sp-seo { max-width: 1180px; padding: 0 16px; }
.sp-seo__item { background: var(--bg-surface); border: 1px solid var(--line); border-radius: 14px; }
.sp-seo__item[open] { border-color: var(--line-gold); }
.sp-seo__title { color: #fff; font-family: var(--serif); text-transform: none; }
.sp-seo__icon { color: var(--gold); }
.sp-seo__body, .sp-seo__body p { color: var(--text-body); }
.sp-text { max-width: 1180px; color: var(--text-body); }
.sp-text__lead, .sp-text p { color: var(--text-body); }
.sp-text__figure-img, .ab-info__figure-img { border-radius: 14px; border: 1px solid var(--line); }
.sp-text__figure-caption, .ab-info__figure-caption { color: var(--text-muted); }

/* tables (template) */
table { background: var(--bg-surface); border-radius: 14px; border: 1px solid var(--line); }
th { color: var(--gold-hi) !important; background: var(--surface-2) !important; }
td { color: var(--text-body) !important; border-color: var(--line) !important; }
tr { border-color: var(--line) !important; }

/* ---------- inner pages (ab-info) ---------- */
.about-page .main { background: transparent; }
.ab-info { background: transparent; }
.ab-info__inner { max-width: 1180px; }
.ab-info__title { color: #fff; font: 700 clamp(30px, 4vw, 50px)/1.1 var(--serif); text-transform: none; }
.ab-info__card { background: rgba(23,22,20,.9); border: 1px solid var(--line); border-radius: 20px; box-shadow: none; }
.ab-info__heading { color: #fff; font-family: var(--serif); text-transform: none; display: flex; align-items: center; gap: 12px; }
.ab-info__heading::before { content: ""; flex: 0 0 24px; height: 2px; background: linear-gradient(90deg, var(--gold), transparent); }
.ab-info__text { color: var(--text-body); }
.ab-info__link { color: var(--gold-hi); }
.dg-crumbs { font-size: 13px; color: var(--text-muted); display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 14px; }
.dg-crumbs a { color: var(--text-muted); text-decoration: none; }
.dg-crumbs a:hover { color: var(--gold); }
.dg-lead { color: #e6dfd2; font-size: 17px; line-height: 1.6; margin: 0 0 18px; }
.dg-banner { display: block; margin: 0 0 22px; border-radius: 20px; overflow: hidden; border: 1px solid var(--line); }
.dg-banner img { display: block; width: 100%; height: auto; }

/* howto */
.dg-steps { padding: 0; margin: 14px 0 0; }
.dg-steps__item { list-style: none; background: #121110; border: 1px solid var(--line); border-radius: 16px; padding: 18px 18px 6px; margin-bottom: 14px; }
.dg-steps__head { display: flex; align-items: center; gap: 12px; margin-bottom: 6px; }
.dg-steps__num { flex: 0 0 38px; height: 38px; border-radius: 50%; background: var(--grad-primary); color: #1b1408; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.dg-steps__title { color: #fff; font-size: 18px; margin: 0; }

/* end blocks: faq, rating, trust */
.dg-endblocks { max-width: 1180px; margin: 0 auto; padding: 0 16px 30px; }
.dg-faq { padding: 0; margin: 28px 0 0; max-width: none; }
.dg-section-title { font-size: clamp(24px, 3vw, 32px); margin: 0 0 14px; }
.dg-rate { margin: 24px 0 16px; padding: 20px 22px; border-radius: 16px; background: var(--bg-surface); border: 1px solid var(--line); display: grid; grid-template-columns: 1fr auto; gap: 6px 20px; align-items: center; }
.dg-rate__title { color: #fff; font: 700 20px/1.2 var(--serif); margin: 0 0 4px; }
.dg-rate__text { margin: 0; font-size: 13.5px; color: var(--text-muted); }
.dg-rate__stars { display: flex; gap: 4px; }
.dg-rate__star { font-size: 32px; line-height: 1; background: none; border: 0; color: #3a352d; cursor: pointer; padding: 2px; transition: color .15s, transform .15s; }
.dg-rate__star.is-on, .dg-rate__stars:hover .dg-rate__star { color: var(--gold); }
.dg-rate__star:hover ~ .dg-rate__star { color: #3a352d; }
.dg-rate__summary { grid-column: 1 / -1; margin: 4px 0 0; font-size: 14px; color: #e6dfd2; }
.dg-rate.is-done .dg-rate__star { pointer-events: none; }
.dg-trust { margin: 0; padding: 16px 20px; border-radius: 16px; background: rgba(31,164,99,.06); border: 1px solid rgba(31,164,99,.32); }
.dg-trust__title { color: #fff; font-weight: 700; margin: 0 0 6px; }
.dg-trust__list { margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; }
.dg-trust__list li { list-style: none; }
.dg-trust__list a { color: #3fd38a; font-weight: 600; }

/* footer */
.f-out { background: #0a0908; border-top: 1px solid var(--line); color: var(--text-muted); }
.f-out__top { justify-content: space-between; align-items: center; }
.dg-foot__logo img { display: block; width: 152px; height: auto; }
.dg-foot__langs { display: flex; gap: 10px; }
.dg-foot__lang { display: inline-flex; align-items: center; gap: 6px; color: var(--text-muted); text-decoration: none; font-size: 14px; padding: 7px 11px; border-radius: 8px; border: 1px solid var(--line); }
.dg-foot__lang.is-active { color: #fff; border-color: var(--line-gold); }
.f-col__title { color: var(--gold); text-transform: uppercase; letter-spacing: .14em; }
.f-col__chevron { color: var(--gold); }
.f-col__link { color: var(--text-muted); }
.f-col__link:hover, .f-col__link[aria-current] { color: var(--gold-hi); }
.dg-pay { color: var(--text-body); font-size: 13px; padding: 7px 12px; border: 1px solid var(--line); border-radius: 8px; }
.f-legal__icon img { background: #fff; border-radius: 50%; padding: 2px; }
.f-legal__text, .f-legal__text p { color: var(--text-muted); }
.f-legal__text a { color: var(--gold-hi); }
.sp-toolbar { background: rgba(10,9,8,.95); backdrop-filter: blur(8px); border-top: 1px solid var(--line); box-shadow: none; }
.sp-float__up { background: var(--surface-2) !important; color: var(--gold) !important; border: 1px solid var(--line-gold) !important; }

@media (max-width: 700px) {
  .hero__frame.dg-slide { height: 520px; }
  .dg-slide__pic { height: 230px; bottom: auto; }
  .dg-slide__pic img { height: 230px; }
  .dg-slide::before { background: linear-gradient(180deg, rgba(9,8,7,0) 0, rgba(9,8,7,.2) 140px, #090807 230px) !important; }
  .dg-slide__body { padding: 200px 18px 0; }
  .dg-slide__title { font-size: 30px; }
  .dg-slide__cta .dg-btn { flex: 1 1 0; padding: 0 12px; }
  .dg-promo__content { padding: 24px 20px; }
  .dg-promo::before { background: linear-gradient(90deg, rgba(9,8,7,.95), rgba(9,8,7,.55)); }
  .dg-promo__title { font-size: 24px; }
  .dg-rate { grid-template-columns: 1fr; }
  .head-bar__logo img { width: 140px; }
}

/* layout tweaks */
.ab-info { background-image: none; }
.ab-info__inner { max-width: 1180px; margin: 0 auto !important; padding: 0 16px; }
.ab-info__title { padding-top: calc(var(--header-height, 64px) + 34px); text-align: left; text-transform: none; text-shadow: none; }
.ab-info__card { max-width: none; padding: 30px 32px; margin: 0 auto; }
.ab-info__block { padding-bottom: 26px; }
.ab-info__heading { font-size: clamp(22px, 2.6vw, 30px); margin-bottom: 14px; }
.ab-info__text { font-size: 16px; line-height: 1.75; margin-bottom: 10px; }
.sp-seo { margin: 30px auto 10px; }
.sp-text { max-width: 1180px; padding: 20px 16px 30px; }
.sp-text__title { font-size: clamp(24px, 3vw, 32px); }
.sp-text p { font-size: 16px; line-height: 1.75; }
@media (max-width: 700px) { .ab-info__card { padding: 22px 16px; } .ab-info__title { padding-top: calc(var(--header-height, 56px) + 22px); } }

/* text pages */
.dg-shot-right { float: right; width: min(46%, 520px); margin: 4px 0 16px 26px; }
.dg-shot-right img { display: block; width: 100%; height: auto; border-radius: 14px; border: 1px solid var(--line); }
.ab-info__block::after, .dg-home-text__block::after { content: ""; display: table; clear: both; }
.dg-home-text { max-width: 1180px; padding: 34px 16px 10px; }
.dg-home-text__h1 { color: #fff; font: 700 clamp(30px, 4vw, 48px)/1.1 var(--serif); margin: 0 0 22px; }
.dg-home-text__block { background: rgba(23,22,20,.9); border: 1px solid var(--line); border-radius: 18px; padding: 24px 26px; margin-bottom: 16px; }
.dg-home-text__h2 { color: #fff; font: 700 clamp(22px, 2.6vw, 30px)/1.2 var(--serif); margin: 0 0 14px; display: flex; align-items: center; gap: 12px; }
.dg-home-text__h2::before { content: ""; flex: 0 0 24px; height: 2px; background: linear-gradient(90deg, var(--gold), transparent); }
.dg-home-text__p { color: var(--text-body); font-size: 16px; line-height: 1.75; margin: 0 0 12px; }
.ab-info__block ul { padding-left: 22px; margin: 0 0 14px; }
.ab-info__block li { list-style: disc; color: var(--text-body); font-size: 16px; line-height: 1.7; margin-bottom: 6px; }
.ab-info__block li::marker { color: var(--gold); }
.ab-info__block a, .dg-home-text a { color: var(--gold-hi); }
.dg-facts-table { width: 100%; margin: 6px 0 16px; }
.dg-facts-table th { width: 34%; text-align: left; }
@media (max-width: 760px) { .dg-shot-right { float: none; width: 100%; margin: 4px 0 16px; } .dg-home-text__block { padding: 20px 16px; } }

/* rich text blocks */
.dg-h3 { color: var(--gold-hi); font-size: 17px; font-weight: 700; margin: 16px 0 8px; letter-spacing: .01em; }
.dg-list { padding-left: 22px; margin: 0 0 14px; }
.dg-list li { list-style: disc; color: var(--text-body); font-size: 16px; line-height: 1.7; margin-bottom: 6px; }
.dg-list--num li { list-style: decimal; }
.dg-list li::marker { color: var(--gold); font-weight: 700; }
.dg-table-wrap { overflow-x: auto; margin: 8px 0 18px; border-radius: 14px; border: 1px solid var(--line); clear: both; }
.dg-table-wrap .dg-table { display: table; width: 100%; min-width: 520px; border: 0; border-radius: 0; margin: 0; border-collapse: collapse; }
.dg-table-wrap .dg-table thead, .dg-table-wrap .dg-table tbody { display: table-row-group; }
.dg-table-wrap .dg-table thead { display: table-header-group; }
.dg-table-wrap .dg-table tr { display: table-row; }
.dg-table-wrap .dg-table th, .dg-table-wrap .dg-table td { display: table-cell; padding: 11px 14px; border-bottom: 1px solid var(--line); font-size: 14.5px; line-height: 1.5; text-align: left; vertical-align: top; }
.dg-table-wrap .dg-table tbody tr:nth-child(even) td { background: rgba(255,255,255,.015); }

/* ===================== v2: background & richer design ===================== */
html { background: #0b0a09; }
body {
  background:
    radial-gradient(1200px 600px at 50% -10%, rgba(217,178,106,.10), transparent 70%),
    url('/assets/image/site/bg-casino.webp') center top / cover no-repeat fixed,
    #0b0a09;
}
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: url('/assets/image/site/page-bg.webp') center / 1600px auto repeat; opacity: .35; mix-blend-mode: screen;
}
@media (max-width: 1024px) {
  body { background: radial-gradient(900px 500px at 50% -10%, rgba(217,178,106,.12), transparent 70%), url('/assets/image/site/bg-casino-960.webp') center top / cover no-repeat, #0b0a09; background-attachment: scroll; }
  body::before { display: none; }
}
.about-page .main, .home-page .main, .main { background: transparent; }

/* glass cards with gold edge */
.ab-info__card, .dg-home-text__block, .sp-seo__item, .dg-rate, .dg-steps__item, .promo__card.dg-promo, .dg-table-wrap {
  background: linear-gradient(160deg, rgba(31,29,26,.78), rgba(16,15,13,.82)) !important;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(217,178,106,.16) !important;
  box-shadow: 0 20px 50px rgba(0,0,0,.35), inset 0 1px 0 rgba(243,213,154,.06);
}
.ab-info__card, .dg-home-text__block { position: relative; overflow: hidden; }
.ab-info__card::before, .dg-home-text__block::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(243,213,154,.7), transparent);
}
.dg-home-text__block:hover { border-color: rgba(217,178,106,.3) !important; }

/* ornamental headings */
.ab-info__title, .dg-home-text__h1 {
  background: linear-gradient(180deg, #ffffff 0%, #f3e6c8 55%, #d9b26a 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  text-shadow: none;
}
.ab-info__title::after, .dg-home-text__h1::after {
  content: ""; display: block; width: 140px; height: 2px; margin-top: 16px;
  background: linear-gradient(90deg, var(--gold), rgba(217,178,106,0));
}
.ab-info__heading::before, .dg-home-text__h2::before {
  flex: 0 0 auto; width: 10px; height: 10px; transform: rotate(45deg);
  background: var(--grad-primary); box-shadow: 0 0 12px rgba(217,178,106,.6);
}
.shelf__title, .allg__title, .dg-section-title { display: flex; align-items: center; gap: 12px; }
.shelf__title::before, .allg__title::before, .dg-section-title::before {
  content: ""; width: 8px; height: 8px; transform: rotate(45deg); background: var(--gold); box-shadow: 0 0 10px rgba(217,178,106,.6);
}

/* gold divider between home sections */
.promo, .container--games, .dg-home-text, .dg-endblocks { position: relative; }
.container--games::before, .dg-home-text::before {
  content: ""; display: block; height: 1px; margin: 10px auto 26px; max-width: 1180px;
  background: linear-gradient(90deg, transparent, rgba(217,178,106,.45), transparent);
}

/* slider polish */
.hero { position: relative; }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(243,213,154,.6), transparent); z-index: 3; }
.dg-slide__title { text-shadow: 0 6px 30px rgba(0,0,0,.6); }

/* buttons: shimmer */
.sp-btn--primary, .dg-btn--green, .sp-btn--secondary { position: relative; overflow: hidden; }
.sp-btn--primary::after, .dg-btn--green::after, .sp-btn--secondary::after {
  content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.45), transparent);
  transform: skewX(-20deg); animation: dg-shine 4.5s ease-in-out infinite;
}
@keyframes dg-shine { 0%, 70% { left: -60%; } 100% { left: 130%; } }

/* game cards */
.gcard { transition: transform .2s ease, box-shadow .2s ease; }
.gcard:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px rgba(217,178,106,.55), 0 14px 34px rgba(0,0,0,.55), 0 0 24px rgba(217,178,106,.18); }

/* tables */
.dg-table-wrap .dg-table thead th { background: linear-gradient(180deg, rgba(217,178,106,.18), rgba(217,178,106,.06)) !important; color: var(--gold-hi) !important; }
.dg-table-wrap .dg-table td:first-child { color: #fff !important; font-weight: 600; }

/* screenshots */
.dg-shot-right img, .ab-info__figure-img, .sp-text__figure-img { box-shadow: 0 18px 40px rgba(0,0,0,.5), 0 0 0 1px rgba(217,178,106,.2); }

/* header / footer */
.head-bar__bar { background: linear-gradient(180deg, rgba(11,10,9,.96), rgba(11,10,9,.84)); }
.head-bar__bar::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: linear-gradient(90deg, transparent, rgba(217,178,106,.55), transparent); }
.f-out { background: linear-gradient(180deg, rgba(10,9,8,.85), #080706); position: relative; }
.f-out::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1px; background: linear-gradient(90deg, transparent, rgba(217,178,106,.6), transparent); }

/* scroll reveal */
.dg-reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.dg-reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .dg-reveal { opacity: 1; transform: none; transition: none; }
  .sp-btn--primary::after, .dg-btn--green::after, .sp-btn--secondary::after { animation: none; display: none; }
}
.dg-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13px; color: var(--text-muted); margin: -4px 0 18px; }
.dg-meta__18 { color: #fff; background: var(--accent-red); border-radius: 6px; padding: 1px 7px; font-weight: 700; }

@media (max-width: 1024px) { .dg-chat--float { display: none !important; } }
@media (max-width: 640px) {
  .dg-table-wrap { overflow: visible; border: 0 !important; background: transparent !important; box-shadow: none; backdrop-filter: none; }
  .dg-table-wrap .dg-table { min-width: 0; display: block; }
  .dg-table-wrap .dg-table thead { display: none; }
  .dg-table-wrap .dg-table tbody { display: block; }
  .dg-table-wrap .dg-table tr { display: block; margin-bottom: 10px; border: 1px solid rgba(217,178,106,.18); border-radius: 12px; background: rgba(23,22,20,.85); padding: 6px 0; }
  .dg-table-wrap .dg-table td { display: grid; grid-template-columns: 42% 1fr; gap: 10px; border: 0 !important; padding: 6px 14px; background: transparent !important; }
  .dg-table-wrap .dg-table td::before { content: attr(data-label); color: var(--gold); font-weight: 600; font-size: 13px; }
  .dg-table-wrap .dg-table td:first-child { font-size: 15px; }
}
@media (max-width: 640px) {
  .dg-table-wrap .dg-table, .dg-table-wrap .dg-table tbody, .dg-table-wrap .dg-table tr { width: 100% !important; max-width: 100%; min-width: 0 !important; box-sizing: border-box; }
  .dg-table-wrap .dg-table td { width: 100% !important; max-width: 100%; min-width: 0 !important; box-sizing: border-box; grid-template-columns: minmax(0, 40%) minmax(0, 1fr); white-space: normal !important; overflow-wrap: anywhere; flex: none !important; }
}

/* compact footer */
.dg-foot2 { position: relative; margin-top: 30px; background: linear-gradient(180deg, rgba(10,9,8,.9), #080706); border-top: 1px solid rgba(217,178,106,.18); }
.dg-foot2::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1px; background: linear-gradient(90deg, transparent, rgba(217,178,106,.6), transparent); }
.dg-foot2__shell { max-width: 1180px; margin: 0 auto; padding: 22px 16px 18px; }
.dg-foot2__top { display: flex; align-items: center; gap: 18px 28px; flex-wrap: wrap; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.dg-foot2__logo img { display: block; width: 136px; height: auto; }
.dg-foot2__nav { flex: 1 1 auto; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.dg-foot2__nav a { color: var(--text-muted); text-decoration: none; font-size: 13.5px; line-height: 1.6; }
.dg-foot2__nav a:hover, .dg-foot2__nav a[aria-current] { color: var(--gold-hi); }
.dg-foot2__langs { display: flex; gap: 6px; }
.dg-foot2__langs a { display: inline-flex; align-items: center; gap: 6px; padding: 5px 9px; border: 1px solid var(--line); border-radius: 8px; color: var(--text-muted); font-size: 12.5px; font-weight: 600; text-decoration: none; }
.dg-foot2__langs a.is-active { color: #fff; border-color: rgba(217,178,106,.4); }
.dg-foot2__langs img { border-radius: 2px; }
.dg-foot2__bottom { display: grid; grid-template-columns: auto 1fr; gap: 6px 22px; align-items: start; padding-top: 14px; }
.dg-foot2__badges { display: flex; align-items: center; gap: 8px; grid-row: span 2; }
.dg-foot2__badges img { background: #fff; border-radius: 50%; padding: 2px; }
.dg-foot2__badges span { font-size: 12px; color: var(--text-body); padding: 4px 9px; border: 1px solid var(--line); border-radius: 7px; white-space: nowrap; }
.dg-foot2__legal, .dg-foot2__copy { margin: 0; font-size: 12px; line-height: 1.55; color: var(--text-muted); }
.dg-foot2__legal a { color: var(--gold-hi); }
.dg-foot2__copy { color: #6f695e; }
@media (max-width: 900px) {
  .dg-foot2__bottom { grid-template-columns: 1fr; }
  .dg-foot2__badges { grid-row: auto; flex-wrap: wrap; }
}
@media (max-width: 640px) {
  .dg-foot2__shell { padding-bottom: 96px; }
  .dg-foot2__top { justify-content: space-between; }
  .dg-foot2__nav { order: 3; flex-basis: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 4px 14px; }
}
@media (min-width: 901px) {
  .dg-foot2__top { flex-wrap: nowrap; }
  .dg-foot2__nav { flex: 1 1 0; min-width: 0; gap: 4px 16px; }
  .dg-foot2__langs { flex: 0 0 auto; }
}

/* ===================== v3 (dicebetgiris.org): emerald & gold ===================== */
:root { --emer: #1d8a5e; --emer-hi: #37c58a; --emer-deep: #0b2a1f; --line-emer: rgba(55,197,138,.28); --r: 8px; }
body {
  background:
    radial-gradient(1000px 520px at 85% -5%, rgba(29,138,94,.20), transparent 70%),
    radial-gradient(900px 480px at 0% 30%, rgba(217,178,106,.08), transparent 70%),
    url('/assets/image/site/bg-casino.webp') center top / cover no-repeat fixed,
    #090b0a;
}
body::before { opacity: .18; }
@media (max-width: 1024px) {
  body { background: radial-gradient(700px 420px at 90% -5%, rgba(29,138,94,.22), transparent 70%), url('/assets/image/site/bg-casino-960.webp') center top / cover no-repeat, #090b0a; }
}

/* header: emerald top strip + gold hairline */
.head-bar__bar { background: linear-gradient(180deg, rgba(8,12,10,.97), rgba(8,12,10,.86)); border-top: 3px solid var(--emer); }
.head-bar__link:hover, .head-bar__link[aria-current] { color: var(--gold-hi); }

/* cards: sharper corners, gold left rail */
.ab-info__card, .dg-home-text__block, .sp-seo__item, .dg-rate, .dg-steps__item, .promo__card.dg-promo, .dg-table-wrap {
  border-radius: var(--r) !important;
  background: linear-gradient(160deg, rgba(18,26,22,.82), rgba(10,13,11,.86)) !important;
  border: 1px solid rgba(55,197,138,.14) !important;
}
.ab-info__card::before, .dg-home-text__block::before {
  left: 0; right: auto; top: 22px; bottom: 22px; width: 3px; height: auto; border-radius: 0 3px 3px 0;
  background: linear-gradient(180deg, var(--gold-hi), var(--gold-lo));
}
.ab-info__card::after, .dg-home-text__block::after {
  content: ""; position: absolute; top: 10px; right: 10px; width: 22px; height: 22px; pointer-events: none;
  border-top: 1px solid rgba(217,178,106,.55); border-right: 1px solid rgba(217,178,106,.55);
}
.dg-home-text__block:hover { border-color: var(--line-emer) !important; }

/* headings */
.ab-info__title, .dg-home-text__h1 { background: none; color: #fff; -webkit-background-clip: border-box; background-clip: border-box; letter-spacing: -.01em; }
.ab-info__title::after, .dg-home-text__h1::after { width: 90px; height: 3px; border-radius: 2px; background: linear-gradient(90deg, var(--emer-hi), var(--gold)); }
.ab-info__heading::before, .dg-home-text__h2::before,
.shelf__title::before, .allg__title::before, .dg-section-title::before {
  width: 6px; height: 22px; transform: none; border-radius: 3px; background: linear-gradient(180deg, var(--emer-hi), var(--emer)); box-shadow: 0 0 12px rgba(55,197,138,.45);
}

/* banners & figures */
.dg-banner { border-radius: var(--r); position: relative; border: 1px solid rgba(217,178,106,.25); }
.dg-banner::after { content: ""; position: absolute; inset: 8px; border: 1px solid rgba(243,213,154,.18); border-radius: 4px; pointer-events: none; }
.ab-info__figure-img, .dg-shot-right img, .sp-text__figure-img { border-radius: var(--r); }
.ab-info__figure-caption { border-left: 2px solid var(--emer); padding-left: 10px; }

/* buttons: pill shape */
.dg-btn, .sp-btn { border-radius: 999px !important; }
.dg-btn--green, .sp-btn--secondary { background: linear-gradient(180deg, var(--emer-hi), var(--emer)) !important; }
.dg-btn--ghost { border-color: rgba(217,178,106,.6); }

/* HowTo: vertical timeline */
.dg-steps { position: relative; padding-left: 26px; }
.dg-steps::before { content: ""; position: absolute; left: 8px; top: 10px; bottom: 24px; width: 2px; background: linear-gradient(180deg, var(--gold), rgba(55,197,138,.6), transparent); }
.dg-steps__item { position: relative; }
.dg-steps__item::before { content: ""; position: absolute; left: -24px; top: 26px; width: 12px; height: 12px; border-radius: 50%; background: #0b0d0c; border: 2px solid var(--gold); }
.dg-steps__num { border-radius: 8px; background: transparent; border: 1px solid var(--gold); color: var(--gold-hi); }

/* FAQ */
.sp-seo__item[open] { border-left: 3px solid var(--emer-hi) !important; }
.sp-seo__icon { color: var(--emer-hi); }

/* trust + rating */
.dg-trust { border-radius: var(--r); background: linear-gradient(90deg, rgba(29,138,94,.14), rgba(29,138,94,.04)); border: 1px solid var(--line-emer); }
.dg-trust__list a { color: var(--emer-hi); }
.dg-rate__star.is-on, .dg-rate__star:hover { color: var(--gold-hi); }

/* tables */
.dg-table-wrap .dg-table thead th { background: linear-gradient(180deg, rgba(29,138,94,.32), rgba(29,138,94,.12)) !important; color: #e9fff4 !important; }

/* game cards & footer */
.gcard { border-radius: var(--r); }
.gcard:hover { box-shadow: 0 0 0 1px var(--line-emer), 0 14px 34px rgba(0,0,0,.55), 0 0 24px rgba(55,197,138,.18); }
.dg-foot2 { background: linear-gradient(180deg, rgba(8,12,10,.92), #060807); border-top-color: var(--line-emer); }
.dg-foot2__nav a:hover, .dg-foot2__nav a[aria-current] { color: var(--emer-hi); }
.ph { border-color: rgba(55,197,138,.5); background: rgba(55,197,138,.07); }
@media (max-width: 640px) { .dg-steps { padding-left: 18px; } .dg-steps::before { left: 4px; } .dg-steps__item::before { left: -19px; width: 10px; height: 10px; } .ab-info__card::after { display: none; } }
/* facts table: stack on phones */
.dg-facts-table { table-layout: fixed; }
.dg-facts-table th, .dg-facts-table td { overflow-wrap: anywhere; white-space: normal !important; }
@media (max-width: 640px) {
  .dg-facts-table, .dg-facts-table tbody, .dg-facts-table tr { display: block !important; width: 100% !important; min-width: 0 !important; }
  .dg-facts-table tr { border-bottom: 1px solid var(--line); padding: 8px 0; }
  .dg-facts-table th, .dg-facts-table td { display: block !important; width: 100% !important; min-width: 0 !important; max-width: 100% !important; box-sizing: border-box; padding: 2px 12px !important; border: 0 !important; flex: none !important; }
  .dg-facts-table th { color: var(--gold); font-size: 13px; }
}
