:root {
  --orange-25: #fffaf5;
  --orange-50: #fff7ed;
  --orange-100: #ffedd5;
  --orange-200: #fed7aa;
  --orange-300: #fdba74;
  --orange-400: #fb923c;
  --orange-500: #f97316;
  --orange-600: #ea580c;
  --orange-700: #c2410c;
  --ink: #25150e;
  --muted: #7b675e;
  --line: #eadfd9;
  --soft: #f8f4f1;
  --green: #15945c;
  --red: #dc2626;
  --shadow: 0 18px 55px rgba(88, 45, 20, .10);
  --shell: min(1180px, calc(100% - 40px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
[hidden] { display: none !important; }
.shell { width: var(--shell); margin-inline: auto; }

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  border-bottom: 1px solid rgba(234, 88, 12, .10);
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(18px);
}
.nav-row { display: flex; min-height: 76px; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: grid; width: 160px; height: 50px; flex: 0 0 auto; place-items: center start; }
.brand img { width: 100%; height: 100%; object-fit: contain; object-position: left center; }
.brand-fallback { color: var(--orange-600); font-family: Manrope, sans-serif; font-size: 25px; font-weight: 900; }
.desktop-nav { display: flex; align-items: center; gap: 28px; }
.desktop-nav a { position: relative; color: #5f4c43; font-size: 13px; font-weight: 750; }
.desktop-nav a::after { position: absolute; right: 0; bottom: -9px; left: 0; height: 2px; content: ""; background: var(--orange-500); transform: scaleX(0); transition: transform .2s ease; }
.desktop-nav a:hover::after { transform: scaleX(1); }
.nav-actions { display: flex; align-items: center; gap: 7px; }
.nav-login, .nav-register { padding: 11px 16px; border-radius: 11px; font-size: 12px; font-weight: 850; }
.nav-login { color: var(--orange-700); border: 1px solid var(--orange-200); background: #fff; }
.nav-register { color: #fff; border: 1px solid var(--orange-600); background: var(--orange-600); box-shadow: 0 7px 17px rgba(234, 88, 12, .22); }

.hero { position: relative; overflow: hidden; padding: 88px 0 92px; background: linear-gradient(135deg, #fff 0%, #fffaf4 54%, #ffefe1 100%); }
.hero::before { position: absolute; top: -180px; right: -170px; width: 520px; height: 520px; border: 1px solid rgba(249, 115, 22, .14); border-radius: 50%; content: ""; }
.hero::after { position: absolute; bottom: -240px; left: 32%; width: 520px; height: 520px; border: 1px solid rgba(249, 115, 22, .10); border-radius: 50%; content: ""; }
.hero-orb { position: absolute; border-radius: 50%; filter: blur(1px); pointer-events: none; }
.hero-orb-a { top: 110px; right: 12%; width: 16px; height: 16px; background: var(--orange-400); box-shadow: 0 0 0 10px rgba(249,115,22,.08); animation: float 4s ease-in-out infinite; }
.hero-orb-b { bottom: 100px; left: 8%; width: 10px; height: 10px; background: var(--orange-200); animation: float 5s ease-in-out -2s infinite; }
.hero-grid { position: relative; z-index: 2; display: grid; align-items: center; grid-template-columns: 1.08fr .92fr; gap: clamp(48px, 8vw, 100px); }
.eyebrow, .section-kicker, .panel-eyebrow { margin: 0 0 12px; color: var(--orange-600); font-size: 10px; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; padding: 9px 12px; border: 1px solid var(--orange-200); border-radius: 999px; background: rgba(255,255,255,.72); }
.live-dot, .sync-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 5px rgba(21,148,92,.10); animation: pulse 1.8s ease infinite; }
.hero h1 { max-width: 690px; margin: 0; font-family: Manrope, sans-serif; font-size: clamp(46px, 6.2vw, 78px); font-weight: 800; letter-spacing: -.065em; line-height: .98; }
.hero h1 em { color: var(--orange-600); font-style: normal; }
.hero-text { max-width: 620px; margin: 24px 0 0; color: var(--muted); font-size: 15px; line-height: 1.8; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 30px; }
.primary-cta, .secondary-cta { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: 18px; padding: 0 20px; border-radius: 13px; font-size: 12px; font-weight: 900; }
.primary-cta { color: #fff; border: 1px solid var(--orange-600); background: linear-gradient(135deg, var(--orange-500), var(--orange-600)); box-shadow: 0 12px 26px rgba(234,88,12,.22); }
.secondary-cta { color: var(--orange-700); border: 1px solid var(--orange-200); background: #fff; }
.trust-row { display: flex; align-items: stretch; gap: 0; margin-top: 38px; }
.trust-row > span { display: grid; padding: 0 22px; border-left: 1px solid var(--line); }
.trust-row > span:first-child { padding-left: 0; border-left: 0; }
.trust-row b { font-family: Manrope, sans-serif; font-size: 20px; }
.trust-row small { margin-top: 3px; color: var(--muted); font-size: 9px; font-weight: 700; }
.hero-visual { position: relative; min-height: 380px; }
.visual-card { position: absolute; border: 1px solid rgba(249,115,22,.16); background: rgba(255,255,255,.92); box-shadow: var(--shadow); backdrop-filter: blur(18px); }
.visual-card-main { top: 28px; right: 20px; left: 25px; min-height: 310px; overflow: hidden; padding: 0; border-radius: 30px; transform: rotate(2deg); }
.visual-card-main::before { position: absolute; z-index: 4; inset: 0; border-radius: inherit; content: ""; background: linear-gradient(125deg, rgba(255,255,255,0) 25%, rgba(255,255,255,.68) 45%, rgba(255,255,255,0) 66%); transform: translateX(-120%); animation: shine 4s ease-in-out infinite; pointer-events: none; }
.visual-live-fallback { position: relative; z-index: 1; padding: 36px; transition: opacity .25s ease, visibility .25s ease; }
.hero-promo-banner { position: absolute; z-index: 2; inset: 0; width: 100%; height: 100%; border-radius: inherit; object-fit: cover; object-position: center; }
.visual-card-main.has-promo .visual-live-fallback { visibility: hidden; opacity: 0; }
.visual-card-top { display: flex; align-items: center; justify-content: space-between; }
.visual-icon { display: grid; width: 58px; height: 58px; color: #fff; border-radius: 17px; background: linear-gradient(145deg, var(--orange-400), var(--orange-600)); font-size: 14px; font-weight: 900; place-items: center; box-shadow: 0 10px 24px rgba(234,88,12,.20); }
.online-pill { display: inline-flex; align-items: center; gap: 7px; padding: 7px 10px; color: var(--green); border-radius: 999px; background: #ecfdf5; font-size: 9px; font-weight: 900; text-transform: uppercase; }
.online-pill i { width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.visual-card-main strong { display: block; margin-top: 38px; color: var(--orange-600); font-family: Manrope, sans-serif; font-size: clamp(50px, 7vw, 76px); letter-spacing: -.07em; }
.visual-card-main p { min-height: 24px; margin: 7px 0 20px; color: var(--muted); font-size: 14px; font-weight: 750; }
.hero-progress { height: 9px; overflow: hidden; border-radius: 999px; background: var(--orange-100); }
.hero-progress i { display: block; width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--orange-400), var(--orange-600)); transition: width .7s ease; }
.visual-card-float { z-index: 3; right: 0; bottom: 12px; display: grid; min-width: 190px; padding: 19px 22px; border-radius: 18px; transform: rotate(-3deg); }
.visual-card-float span { color: var(--muted); font-size: 9px; font-weight: 800; text-transform: uppercase; }
.visual-card-float b { margin-top: 6px; color: var(--orange-600); font-family: Manrope, sans-serif; font-size: 26px; }
.floating-spark { position: absolute; z-index: 4; color: var(--orange-400); animation: float 3.5s ease-in-out infinite; }
.spark-one { top: 0; right: 0; font-size: 28px; }
.spark-two { bottom: 60px; left: 0; font-size: 18px; animation-delay: -1.5s; }

.provider-section, .info-section, .contact-section { padding-block: 76px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.section-heading h2 { margin: 0; font-family: Manrope, sans-serif; font-size: clamp(29px, 4vw, 45px); letter-spacing: -.045em; }
.section-heading p:not(.section-kicker) { max-width: 580px; margin: 9px 0 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.compact-heading { align-items: center; }
.text-button { padding: 9px 0; color: var(--orange-600); border: 0; background: transparent; font-size: 11px; font-weight: 850; }
.provider-tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 13px; }
.provider-tab { display: flex; min-height: 88px; align-items: center; gap: 15px; padding: 17px; color: var(--ink); border: 1px solid var(--line); border-radius: 18px; background: #fff; text-align: left; transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease; }
.provider-tab:hover { border-color: var(--orange-300); transform: translateY(-2px); box-shadow: 0 12px 26px rgba(88,45,20,.07); }
.provider-tab.is-active { color: #fff; border-color: var(--orange-600); background: linear-gradient(135deg, var(--orange-500), var(--orange-600)); box-shadow: 0 14px 28px rgba(234,88,12,.20); }
.provider-logo { display: grid; width: 50px; height: 50px; flex: 0 0 auto; overflow: hidden; border-radius: 13px; background: #fff; place-items: center; }
.provider-logo img { width: 88%; height: 88%; object-fit: contain; }
.provider-logo span { color: var(--orange-600); font-size: 11px; font-weight: 900; }
.provider-tab b, .provider-tab small { display: block; }
.provider-tab b { font-size: 13px; }
.provider-tab small { margin-top: 4px; color: var(--muted); font-size: 9px; }
.provider-tab.is-active small { color: rgba(255,255,255,.78); }

.rtp-section { padding: 34px 0 72px; border-block: 1px solid #f2e9e4; background: var(--orange-25); }
.sync-status { display: inline-flex; align-items: center; gap: 9px; padding: 9px 12px; color: var(--muted); border: 1px solid var(--line); border-radius: 11px; background: #fff; font-size: 9px; font-weight: 800; }
.filter-card { display: grid; padding: 14px; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: 0 10px 30px rgba(88,45,20,.05); grid-template-columns: minmax(260px, 1.5fr) .8fr .75fr auto; gap: 10px; }
.filter-card.filter-card-compact { padding: 10px; grid-template-columns: minmax(0,1fr) auto; }
.filter-card-compact .refresh-button { min-width: 118px; }
.filter-card input, .filter-card select { width: 100%; height: 46px; color: var(--ink); border: 1px solid #eadfd9; border-radius: 11px; outline: 0; background: #fff; font-size: 12px; transition: border-color .2s, box-shadow .2s; }
.filter-card input:focus, .filter-card select:focus { border-color: var(--orange-400); box-shadow: 0 0 0 4px rgba(249,115,22,.10); }
.search-field { position: relative; }
.search-field > span { position: absolute; z-index: 1; top: 12px; left: 15px; color: var(--orange-500); font-size: 20px; }
.search-field input { padding: 0 15px 0 45px; }
.select-field { position: relative; }
.select-field > span { position: absolute; z-index: 1; top: 6px; left: 13px; color: #9c887e; font-size: 7px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.select-field select { padding: 13px 34px 0 12px; }
.refresh-button { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; gap: 8px; padding: 0 17px; color: #fff; border: 0; border-radius: 11px; background: var(--orange-600); font-size: 11px; font-weight: 850; }
.refresh-button span:first-child { font-size: 17px; }
.refresh-button.is-spinning span:first-child { animation: spin .65s ease; }
.result-meta { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 2px 12px; color: var(--muted); font-size: 10px; font-weight: 750; }
.result-meta b { color: var(--orange-600); }
.game-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 15px; }
.game-card { --rtp-start: #fb7185; --rtp-mid: #f97316; --rtp-end: #facc15; position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: 0 8px 25px rgba(88,45,20,.05); animation: cardIn .45s both; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.game-card.rtp-tinggi { --rtp-start: #f97316; --rtp-mid: #eab308; --rtp-end: #22c55e; }
.game-card.rtp-gacor { --rtp-start: #14b8a6; --rtp-mid: #22c55e; --rtp-end: #84cc16; border-color: rgba(34,197,94,.30); box-shadow: 0 10px 30px rgba(34,197,94,.11); }
.game-card:hover { z-index: 2; border-color: var(--orange-300); box-shadow: 0 18px 38px rgba(88,45,20,.11); transform: translateY(-4px); }
.game-cover { position: relative; overflow: hidden; aspect-ratio: 16 / 10; background: linear-gradient(135deg, var(--orange-100), #fff); }
.game-cover::after { position: absolute; inset: auto 0 0; height: 45%; content: ""; background: linear-gradient(transparent, rgba(37,21,14,.54)); }
.game-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.game-card:hover .game-cover img { transform: scale(1.045); }
.provider-badge { position: absolute; z-index: 2; top: 12px; right: 12px; left: auto; display: inline-flex; align-items: center; gap: 6px; padding: 6px 8px; color: var(--orange-700); border: 1px solid rgba(255,255,255,.7); border-radius: 9px; background: rgba(255,255,255,.92); backdrop-filter: blur(8px); font-size: 8px; font-weight: 900; }
.game-play { position: absolute; z-index: 3; right: 12px; bottom: 12px; display: grid; width: 40px; height: 40px; color: #fff; border: 0; border-radius: 12px; background: var(--orange-600); font-size: 15px; place-items: center; box-shadow: 0 9px 20px rgba(234,88,12,.3); }
.game-body { padding: 17px; }
.game-title-row { display: flex; min-height: 42px; align-items: start; justify-content: space-between; gap: 10px; }
.game-name { margin: 0; font-size: 13px; line-height: 1.45; }
.rtp-level { flex: 0 0 auto; padding: 5px 7px; border-radius: 7px; font-size: 7px; font-weight: 900; text-transform: uppercase; }
.rtp-level.gacor { color: #087443; background: #dcfce7; }
.rtp-level.tinggi { color: #9a5806; background: #fef3c7; }
.rtp-level.normal { color: #6b5e57; background: #f1edeb; }
.game-info-grid { display: grid; margin-top: 14px; grid-template-columns: 1fr 1fr; gap: 8px; }
.game-info-block { min-width: 0; padding: 10px; border-radius: 11px; background: var(--soft); }
.game-info-block small { display: block; color: #a08d83; font-size: 7px; font-weight: 900; letter-spacing: .07em; text-transform: uppercase; }
.game-info-block b { display: block; overflow: hidden; margin-top: 5px; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.pattern-list { display: flex; gap: 4px; margin-top: 6px; }
.pattern-chip { padding: 3px 5px; color: var(--orange-700); border-radius: 5px; background: var(--orange-100); font-size: 7px; font-weight: 850; }
.rtp-area { margin-top: 15px; padding: 11px; border: 1px solid rgba(249,115,22,.10); border-radius: 13px; background: linear-gradient(135deg, #fffaf5, #fff); }
.rtp-value-row { display: flex; align-items: end; justify-content: space-between; }
.rtp-value { color: var(--orange-600); background: linear-gradient(100deg, var(--rtp-start), var(--rtp-mid), var(--rtp-end)); background-clip: text; font-family: Manrope, sans-serif; font-size: 27px; font-weight: 900; letter-spacing: -.045em; -webkit-background-clip: text; -webkit-text-fill-color: transparent; filter: saturate(1.15); }
.rtp-value-row small { color: var(--muted); font-size: 8px; font-weight: 750; }
.rtp-bar { height: 8px; overflow: hidden; margin-top: 8px; border-radius: 99px; background: linear-gradient(90deg, #ffedd5, #fef3c7, #dcfce7); box-shadow: inset 0 1px 2px rgba(88,45,20,.08); }
.rtp-bar i { position: relative; display: block; width: 0; height: 100%; overflow: hidden; border-radius: inherit; background: linear-gradient(90deg, var(--rtp-start), var(--rtp-mid), var(--rtp-end)); box-shadow: 0 0 14px color-mix(in srgb, var(--rtp-end) 55%, transparent); transition: width .8s cubic-bezier(.2,.8,.2,1); }
.rtp-bar i::after { position: absolute; inset: 0; content: ""; background: linear-gradient(110deg, transparent 25%, rgba(255,255,255,.78) 48%, transparent 72%); transform: translateX(-120%); animation: shine 2.8s ease-in-out infinite; }
.empty-state { grid-column: 1 / -1; padding: 60px 20px; color: var(--muted); border: 1px dashed var(--orange-300); border-radius: 18px; background: #fff; text-align: center; }
.pager { display: flex; justify-content: center; gap: 10px; margin-top: 28px; }
.pager button { min-height: 44px; padding: 0 18px; border-radius: 11px; font-size: 11px; font-weight: 850; }
.pager-primary { color: #fff; border: 1px solid var(--orange-600); background: var(--orange-600); }
.pager-secondary { color: var(--orange-700); border: 1px solid var(--orange-200); background: #fff; }

.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.info-card { display: flex; min-height: 170px; align-items: start; gap: 16px; padding: 25px; border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: 0 10px 28px rgba(88,45,20,.05); }
.info-card-accent { color: #fff; border-color: var(--orange-600); background: linear-gradient(145deg, var(--orange-500), var(--orange-700)); }
.info-icon { display: grid; width: 46px; height: 46px; flex: 0 0 auto; color: var(--orange-700); border-radius: 13px; background: var(--orange-100); font-size: 14px; font-weight: 900; place-items: center; }
.info-card-accent .info-icon { color: #fff; background: rgba(255,255,255,.16); }
.info-card small { color: var(--muted); font-size: 8px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.info-card-accent small, .info-card-accent p { color: rgba(255,255,255,.76); }
.info-card strong { display: block; margin-top: 7px; font-family: Manrope, sans-serif; font-size: 25px; }
.info-card p { margin: 12px 0 0; color: var(--muted); font-size: 11px; line-height: 1.65; }
.service-section { padding: 90px 0; color: #fff; background: #2b160d; }
.service-grid { display: grid; align-items: center; grid-template-columns: .9fr 1.1fr; gap: 80px; }
.service-copy h2 { margin: 0; font-family: Manrope, sans-serif; font-size: clamp(34px, 5vw, 58px); letter-spacing: -.055em; line-height: 1.02; }
.service-copy > p:not(.section-kicker) { margin: 20px 0 28px; color: #ccbdb6; font-size: 13px; line-height: 1.8; }
.service-list { display: grid; gap: 10px; }
.service-list article { display: grid; align-items: center; padding: 20px; border: 1px solid rgba(255,255,255,.11); border-radius: 16px; background: rgba(255,255,255,.045); grid-template-columns: 48px 1fr; gap: 16px; }
.service-list article > b { display: grid; width: 46px; height: 46px; color: #fff; border-radius: 13px; background: var(--orange-600); place-items: center; }
.service-list h3 { margin: 0; font-size: 14px; }
.service-list p { margin: 5px 0 0; color: #bca9a0; font-size: 10px; }
.contact-card { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 35px; border: 1px solid var(--orange-200); border-radius: 24px; background: linear-gradient(135deg, var(--orange-50), #fff); }
.contact-card h2 { margin: 0; font-family: Manrope, sans-serif; font-size: clamp(28px, 4vw, 42px); letter-spacing: -.045em; }
.contact-actions { display: grid; min-width: min(100%, 510px); grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.contact-actions a { display: grid; min-width: 0; align-items: center; padding: 12px; color: var(--ink); border: 1px solid var(--orange-200); border-radius: 15px; background: rgba(255,255,255,.94); box-shadow: 0 9px 20px rgba(88,45,20,.06); grid-template-columns: 38px minmax(0,1fr) auto; gap: 9px; transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.contact-actions a:hover { border-color: var(--orange-400); box-shadow: 0 14px 30px rgba(234,88,12,.13); transform: translateY(-3px); }
.contact-icon { display: grid; width: 38px; height: 38px; overflow: hidden; border-radius: 11px; background: linear-gradient(145deg, var(--orange-50), var(--orange-100)); place-items: center; }
.contact-icon img { width: 25px; height: 25px; object-fit: contain; }
.contact-icon > b { color: var(--orange-600); font-size: 9px; }
.contact-actions a > span:nth-child(2) { min-width: 0; }
.contact-actions a > span:nth-child(2) b, .contact-actions a > span:nth-child(2) small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.contact-actions a > span:nth-child(2) b { font-size: 10px; }
.contact-actions a > span:nth-child(2) small { margin-top: 3px; color: var(--muted); font-size: 7px; }
.contact-actions a > i { color: var(--orange-500); font-size: 13px; font-style: normal; }
.site-footer { padding: 36px 0; color: #846f65; border-top: 1px solid var(--line); background: #fff; }
.footer-row { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.footer-brand { display: flex; align-items: center; gap: 18px; }
.footer-brand img { width: 120px; height: 44px; object-fit: contain; object-position: left; }
.footer-brand p, .footer-row > p { margin: 0; font-size: 9px; }

.withdraw-toast { position: fixed; z-index: 80; bottom: 20px; left: 20px; max-width: 330px; padding: 15px 17px; color: var(--ink); border: 1px solid var(--orange-200); border-radius: 15px; background: rgba(255,255,255,.96); box-shadow: var(--shadow); backdrop-filter: blur(14px); font-size: 11px; line-height: 1.55; animation: toastIn .4s both; }
.withdraw-toast b { color: var(--orange-600); }
.withdraw-toast small { color: var(--muted); }
.welcome-modal { position: fixed; z-index: 100; inset: 0; display: grid; place-items: center; padding: 20px; }
.welcome-backdrop { position: absolute; inset: 0; background: rgba(37,21,14,.52); backdrop-filter: blur(5px); }
.welcome-card { position: relative; z-index: 2; width: min(100%, 500px); padding: 38px; border: 1px solid var(--orange-200); border-radius: 26px; background: #fff; box-shadow: 0 28px 80px rgba(37,21,14,.28); animation: modalIn .4s both; }
.welcome-close { position: absolute; top: 15px; right: 15px; width: 36px; height: 36px; color: var(--muted); border: 1px solid var(--line); border-radius: 10px; background: #fff; font-size: 20px; }
.welcome-mark { display: grid; width: 58px; height: 58px; color: #fff; border-radius: 16px; background: linear-gradient(145deg, var(--orange-400), var(--orange-600)); font-size: 13px; font-weight: 900; place-items: center; }
.welcome-card h2 { margin: 22px 0 10px; font-family: Manrope, sans-serif; font-size: 30px; letter-spacing: -.04em; }
.welcome-card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.75; }
.welcome-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 25px; }
.welcome-actions button { cursor: pointer; }

/* Admin panel */
.panel-root { min-height: 100vh; color: #2a1810; background: #f8f5f3; }
.panel-shell { width: min(1220px, calc(100% - 40px)); margin-inline: auto; }
.panel-login { display: grid; min-height: 100vh; place-items: center; padding: 22px; background: radial-gradient(circle at 15% 10%, #fff1e6, transparent 35%), #f8f5f3; }
.panel-login-wrap { width: min(100%, 430px); }
.panel-lang-switch { display: flex; justify-content: flex-end; gap: 5px; margin-bottom: 12px; }
.panel-lang { min-width: 42px; padding: 8px 10px; color: var(--muted); border: 1px solid var(--line); border-radius: 9px; background: #fff; font-size: 10px; font-weight: 850; }
.panel-lang.is-active { color: #fff; border-color: var(--orange-600); background: var(--orange-600); }
.panel-login-card { padding: 38px; border: 1px solid var(--line); border-radius: 25px; background: #fff; box-shadow: var(--shadow); }
.panel-login-logo { width: 190px; height: 70px; margin-bottom: 20px; object-fit: contain; object-position: left; }
.panel-login-card h1 { margin: 0; font-family: Manrope, sans-serif; font-size: 36px; letter-spacing: -.05em; }
.panel-login-card > p:not(.panel-eyebrow) { margin: 11px 0 24px; color: var(--muted); font-size: 12px; line-height: 1.65; }
#panelLoginForm { display: grid; gap: 14px; }
#panelLoginForm label, .panel-settings-grid label { display: grid; gap: 7px; color: #665147; font-size: 9px; font-weight: 850; letter-spacing: .05em; text-transform: uppercase; }
#panelLoginForm input, .panel-settings-grid input, .panel-game-tools input, .panel-game-tools select, .admin-game-editor input, .admin-game-editor select, .admin-game-editor textarea { width: 100%; color: var(--ink); border: 1px solid var(--line); outline: 0; background: #fff; }
#panelLoginForm input, .panel-settings-grid input { height: 47px; padding: 0 13px; border-radius: 11px; }
#panelLoginForm input:focus, .panel-settings-grid input:focus, .admin-game-editor input:focus, .admin-game-editor textarea:focus, .admin-game-editor select:focus { border-color: var(--orange-400); box-shadow: 0 0 0 4px rgba(249,115,22,.10); }
.panel-primary { min-height: 46px; padding: 0 18px; color: #fff; border: 0; border-radius: 11px; background: linear-gradient(135deg, var(--orange-500), var(--orange-600)); font-size: 11px; font-weight: 900; box-shadow: 0 10px 22px rgba(234,88,12,.18); }
.panel-primary:disabled, .panel-outline:disabled { cursor: wait; opacity: .55; }
.panel-message { margin: 0; padding: 11px; border-radius: 9px; font-size: 10px; }
.panel-message.error { color: #9f1b1b; border: 1px solid #fecaca; background: #fff1f2; }
.panel-dashboard { min-height: 100vh; padding-bottom: 110px; }
.panel-header { position: sticky; z-index: 40; top: 0; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.94); backdrop-filter: blur(16px); }
.panel-header-row { display: flex; min-height: 76px; align-items: center; justify-content: space-between; gap: 18px; }
.panel-brand { display: flex; align-items: center; gap: 12px; }
.panel-brand img { width: 135px; height: 45px; object-fit: contain; object-position: left; }
.panel-brand b, .panel-brand small { display: block; }
.panel-brand b { font-size: 13px; }
.panel-brand small { margin-top: 3px; color: var(--muted); font-size: 8px; text-transform: uppercase; }
.panel-header-actions { display: flex; align-items: center; gap: 7px; }
.panel-header-actions > span { max-width: 150px; overflow: hidden; color: var(--muted); font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.panel-outline { display: inline-flex; min-height: 38px; align-items: center; justify-content: center; padding: 0 13px; color: var(--orange-700); border: 1px solid var(--orange-200); border-radius: 10px; background: var(--orange-50); font-size: 9px; font-weight: 850; }
.panel-main { padding-top: 34px; }
.panel-title-row { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.panel-title-row h2 { margin: 0; font-family: Manrope, sans-serif; font-size: clamp(32px, 5vw, 48px); letter-spacing: -.055em; }
.panel-title-row p:not(.panel-eyebrow) { margin: 8px 0 0; color: var(--muted); font-size: 11px; }
.panel-top-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.panel-card { margin-bottom: 20px; border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: 0 10px 32px rgba(88,45,20,.045); }
.panel-settings-card { padding: 23px; }
.panel-card-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.panel-card-heading h3 { margin: 0; font-size: 17px; }
.panel-card-heading p { margin: 5px 0 0; color: var(--muted); font-size: 9px; }
.panel-settings-grid { display: grid; grid-template-columns: 1.5fr .55fr .65fr; gap: 12px; }
.panel-wide { grid-column: 1 / -1; }
.toggle-label { align-content: end; grid-template-columns: 1fr auto !important; }
.toggle-label > span { grid-column: 1 / -1; }
.toggle-label input { position: absolute; opacity: 0; pointer-events: none; }
.toggle-label i { position: relative; width: 47px; height: 27px; border-radius: 99px; background: #d9d0cc; transition: background .2s; }
.toggle-label i::after { position: absolute; top: 4px; left: 4px; width: 19px; height: 19px; border-radius: 50%; content: ""; background: #fff; box-shadow: 0 2px 7px rgba(0,0,0,.15); transition: transform .2s; }
.toggle-label input:checked + i { background: var(--orange-500); }
.toggle-label input:checked + i::after { transform: translateX(20px); }
.panel-games-card { overflow: hidden; }
.games-heading { padding: 22px; margin: 0; border-bottom: 1px solid var(--line); }
.panel-game-tools { display: flex; align-items: center; gap: 7px; }
.panel-game-tools input, .panel-game-tools select { height: 38px; padding: 0 10px; border-radius: 9px; font-size: 9px; }
.panel-game-tools input { min-width: 180px; }
.danger-soft { color: #a62a1e; border-color: #f1b8b1; background: #fff5f4; }
.admin-game-list { display: grid; }
.admin-game-editor { display: grid; min-height: 92px; align-items: center; padding: 13px 18px; border-bottom: 1px solid #eee5e0; grid-template-columns: 44px 68px minmax(150px,1.15fr) 130px 95px 115px minmax(150px,.9fr) minmax(150px,.9fr) 62px; gap: 9px; }
.admin-game-editor:last-child { border-bottom: 0; }
.admin-game-editor:hover { background: var(--orange-25); }
.admin-rank { display: grid; width: 36px; height: 36px; color: var(--orange-700); border: 1px solid var(--orange-200); border-radius: 10px; background: var(--orange-50); font-size: 9px; font-weight: 900; place-items: center; }
.admin-thumb { width: 62px; height: 48px; overflow: hidden; border-radius: 9px; background: var(--soft); }
.admin-thumb img { width: 100%; height: 100%; object-fit: cover; }
.admin-game-editor label { display: grid; min-width: 0; gap: 4px; color: #947f75; font-size: 7px; font-weight: 850; text-transform: uppercase; }
.admin-game-editor input, .admin-game-editor select { height: 35px; min-width: 0; padding: 0 8px; border-radius: 8px; font-size: 9px; }
.admin-game-editor textarea { min-height: 48px; padding: 7px 8px; resize: vertical; border-radius: 8px; font-size: 8px; line-height: 1.4; }
.admin-active { display: grid; place-items: center; }
.admin-active input { width: 18px; height: 18px; accent-color: var(--orange-600); }
.panel-save-bar { position: fixed; z-index: 35; right: 0; bottom: 0; left: 0; border-top: 1px solid var(--line); background: rgba(255,255,255,.95); backdrop-filter: blur(16px); }
.panel-save-row { display: flex; min-height: 80px; align-items: center; justify-content: space-between; gap: 20px; }
.panel-save-row > div { display: grid; }
.panel-save-row b { font-size: 11px; }
.panel-save-row span { margin-top: 4px; color: var(--muted); font-size: 8px; }
.panel-save-button { min-width: 180px; }
.panel-toast { position: fixed; z-index: 90; top: 96px; right: 24px; max-width: 360px; padding: 14px 17px; color: #fff; border-radius: 12px; background: #16845a; box-shadow: var(--shadow); font-size: 10px; font-weight: 850; animation: toastIn .35s both; }
.panel-toast.is-error { background: #b42318; }
.panel-loading { position: fixed; z-index: 100; inset: 0; display: grid; background: rgba(255,255,255,.65); backdrop-filter: blur(3px); place-items: center; }
.panel-loading span { padding: 13px 17px; border: 1px solid var(--line); border-radius: 11px; background: #fff; box-shadow: var(--shadow); font-size: 10px; font-weight: 850; }

@keyframes float { 0%,100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-12px) rotate(5deg); } }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(21,148,92,0); } }
@keyframes shine { 0%,45% { transform: translateX(-120%); } 65%,100% { transform: translateX(120%); } }
@keyframes cardIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
@keyframes toastIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@keyframes modalIn { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 1100px) {
  .desktop-nav { display: none; }
  .hero-grid { gap: 44px; }
  .game-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .admin-game-list { overflow-x: auto; }
  .admin-game-editor { min-width: 1080px; }
}

@media (max-width: 850px) {
  :root { --shell: min(100% - 28px, 720px); }
  .hero { padding: 62px 0 70px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: 360px; }
  .provider-tabs { grid-template-columns: repeat(2,1fr); }
  .filter-card { grid-template-columns: 1fr 1fr; }
  .search-field { grid-column: 1 / -1; }
  .game-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .info-grid { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: 1fr; gap: 44px; }
  .contact-card { display: grid; }
  .panel-settings-grid { grid-template-columns: 1fr 1fr; }
  .panel-wide { grid-column: 1 / -1; }
  .games-heading { display: grid; }
  .panel-game-tools { flex-wrap: wrap; }
}

@media (max-width: 600px) {
  :root { --shell: min(100% - 20px, 520px); }
  .nav-row { min-height: 68px; }
  .brand { width: 116px; height: 42px; }
  .nav-actions { gap: 5px; }
  .nav-login, .nav-register { padding: 9px 11px; border-radius: 9px; font-size: 10px; }
  .hero h1 { font-size: 46px; }
  .hero-text { font-size: 13px; }
  .trust-row > span { padding-inline: 14px; }
  .hero-visual { min-height: 315px; }
  .visual-card-main { right: 5px; left: 5px; min-height: 285px; }
  .visual-live-fallback { padding: 26px; }
  .visual-card-float { right: 3px; bottom: 0; }
  .provider-section, .info-section, .contact-section { padding-block: 56px; }
  .provider-tabs { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 9px; }
  .provider-tab { min-height: 76px; padding: 12px; gap: 9px; }
  .provider-logo { width: 42px; height: 42px; }
  .section-heading { display: grid; }
  .filter-card { grid-template-columns: 1fr; }
  .rtp-section { padding-top: 22px; }
  .filter-card.filter-card-compact { grid-template-columns: minmax(0,1fr) auto; gap: 7px; }
  .filter-card-compact .refresh-button { min-width: 48px; padding-inline: 13px; }
  .filter-card-compact .refresh-button span:last-child { display: none; }
  .search-field { grid-column: auto; }
  .game-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
  .game-card { display: block; border-radius: 16px; }
  .game-cover { height: auto; aspect-ratio: 1 / 1.05; }
  .game-body { min-width: 0; padding: 11px; }
  .game-title-row { min-height: 47px; display: grid; gap: 5px; }
  .game-name { display: -webkit-box; overflow: hidden; font-size: 11px; line-height: 1.35; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
  .rtp-level { width: max-content; padding: 4px 6px; }
  .game-info-grid { grid-template-columns: 1fr; }
  .game-info-block:nth-child(2) { display: none; }
  .game-info-block { min-height: 43px; padding: 8px; }
  .game-info-block b { overflow: visible; font-size: 8px; line-height: 1.35; text-overflow: clip; white-space: normal; }
  .provider-badge { top: 8px; right: 8px; left: auto; padding: 5px 6px; }
  .game-play { right: 8px; bottom: 8px; width: 34px; height: 34px; border-radius: 10px; }
  .rtp-area { margin-top: 9px; padding: 8px; }
  .rtp-value { font-size: 21px; }
  .rtp-value-row small { font-size: 6px; }
  .contact-actions { min-width: 0; grid-template-columns: 1fr; }
  .footer-row { display: grid; }
  .welcome-card { padding: 28px 22px; }
  .welcome-actions { display: grid; }
  .withdraw-toast { right: 10px; bottom: 10px; left: 10px; max-width: none; }
  .panel-shell { width: min(100% - 20px, 560px); }
  .panel-login-card { padding: 28px 22px; }
  .panel-header-row { min-height: 68px; }
  .panel-brand img { width: 105px; }
  .panel-brand span, .panel-header-actions > span { display: none; }
  .panel-title-row { display: grid; }
  .panel-settings-grid { grid-template-columns: 1fr; }
  .panel-wide { grid-column: auto; }
  .panel-game-tools { display: grid; grid-template-columns: 1fr 1fr; }
  .panel-game-tools input { min-width: 0; grid-column: 1 / -1; }
  .danger-soft { grid-column: 1 / -1; }
  .panel-save-row > div span { display: none; }
  .panel-save-button { min-width: 145px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
}

/* Compact public sections and lively interactions */
.provider-section { padding-block: 48px; }
.provider-section .section-heading { margin-bottom: 18px; }
.info-section { padding-block: 56px; }
.info-card { min-height: 138px; border-color: #f1ddd1; background: linear-gradient(145deg, #fff, #fffaf6); box-shadow: 0 12px 28px rgba(88,45,20,.07); transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease; }
.info-card:hover { border-color: var(--orange-300); box-shadow: 0 18px 34px rgba(234,88,12,.13); transform: translateY(-5px); }
.info-card strong { display: block; margin-top: 8px; font-family: Manrope, sans-serif; font-size: clamp(24px,3vw,34px); letter-spacing: -.04em; }
.info-card small { color: var(--orange-700); font-size: 8px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.info-card p { margin: 11px 0 0; color: var(--muted); font-size: 10px; line-height: 1.55; }
.info-card .info-icon { background: linear-gradient(145deg, #fff0dd, #ffd6aa); box-shadow: 0 8px 18px rgba(234,88,12,.12); }
.info-card-accent { border-color: transparent; background: linear-gradient(135deg, #ff7518, #d94a08); box-shadow: 0 15px 34px rgba(217,74,8,.22); }
.info-card-accent small, .info-card-accent p { color: rgba(255,255,255,.78); }
.primary-cta, .secondary-cta, .nav-login, .nav-register, .text-button, .refresh-button, .pager button, .contact-actions a, .game-play, .provider-tab, .panel-primary, .panel-outline, .panel-lang { transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, filter .2s ease, background .2s ease; }
.primary-cta:hover, .nav-register:hover, .refresh-button:hover, .pager-primary:hover, .panel-primary:hover { box-shadow: 0 14px 30px rgba(234,88,12,.30); filter: saturate(1.15) brightness(1.04); transform: translateY(-2px); }
.secondary-cta:hover, .nav-login:hover, .panel-outline:hover, .text-button:hover { color: var(--orange-600); border-color: var(--orange-400); transform: translateY(-2px); }
.game-play:hover { box-shadow: 0 12px 25px rgba(234,88,12,.42); filter: brightness(1.12); transform: scale(1.08) rotate(-4deg); }
button:active, a:active { transform: scale(.97); }

/* Dark administrator panel */
.panel-root { --panel-bg: #0d0f12; --panel-surface: #15181d; --panel-surface-2: #1b1f25; --panel-line: #2b3038; --panel-text: #f4f5f7; --panel-muted: #a4aab3; min-height: 100vh; color: var(--panel-text); background: var(--panel-bg); font-size: 14px; }
.panel-login { background: radial-gradient(circle at 15% 10%, rgba(249,115,22,.13), transparent 35%), radial-gradient(circle at 90% 90%, rgba(255,255,255,.04), transparent 35%), var(--panel-bg); }
.panel-login-card, .panel-card { color: var(--panel-text); border-color: var(--panel-line); background: var(--panel-surface); box-shadow: 0 20px 60px rgba(0,0,0,.28); }
.panel-login-card > p:not(.panel-eyebrow), .panel-title-row p:not(.panel-eyebrow), .panel-card-heading p, .quick-block-title p { color: var(--panel-muted); font-size: 12px; }
.panel-eyebrow { color: #ff8b3d; font-size: 11px; }
.panel-header { border-color: var(--panel-line); background: rgba(13,15,18,.92); }
.panel-brand small, .panel-header-actions > span { color: var(--panel-muted); font-size: 10px; }
.panel-title-row { margin-bottom: 20px; }
.panel-title-row h2 { color: #fff; font-size: clamp(34px,5vw,52px); }
.panel-main { padding-top: 28px; }
.panel-card { margin-bottom: 16px; border-radius: 18px; }
.panel-settings-card, .panel-quick-card { padding: 22px; }
.panel-card-heading { margin-bottom: 16px; }
.panel-card-heading h3 { color: #fff; font-size: 20px; }
.panel-settings-grid { grid-template-columns: minmax(0,1.5fr) minmax(150px,.55fr) minmax(170px,.65fr); gap: 14px; }
#panelLoginForm label, .panel-settings-grid label, .quick-fields label, .admin-game-editor label { color: #c5cad1; font-size: 11px; line-height: 1.35; letter-spacing: .05em; }
#panelLoginForm input, .panel-settings-grid input, .panel-game-tools input, .panel-game-tools select, .quick-fields input, .quick-fields select, .admin-game-editor input, .admin-game-editor select, .admin-game-editor textarea { color: #f6f7f8; border-color: #343a44; background: #101216; }
#panelLoginForm input::placeholder, .panel-settings-grid input::placeholder, .panel-game-tools input::placeholder, .quick-fields input::placeholder, .admin-game-editor input::placeholder { color: #6f7680; }
#panelLoginForm input:focus, .panel-settings-grid input:focus, .panel-game-tools input:focus, .quick-fields input:focus, .quick-fields select:focus, .admin-game-editor input:focus, .admin-game-editor textarea:focus, .admin-game-editor select:focus { border-color: #f97316; box-shadow: 0 0 0 4px rgba(249,115,22,.13); }
.panel-primary { min-height: 44px; font-size: 12px; }
.panel-outline, .panel-lang { color: #e5e7eb; border-color: #363c45; background: #181b20; font-size: 11px; }
.panel-lang.is-active { color: #fff; border-color: #f97316; background: #f15a0a; }
.panel-upload-row { display: grid; align-items: center; grid-template-columns: minmax(0,1fr) auto minmax(120px,180px); gap: 10px; }
.panel-file { display: grid; min-height: 48px; align-items: center; padding: 8px 12px; color: #c5cad1; border: 1px dashed #414852; border-radius: 11px; background: #101216; cursor: pointer; gap: 5px; }
.panel-file:hover { border-color: #f97316; background: #15181d; }
.panel-file > span { font-size: 10px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.panel-file input[type="file"] { width: 100%; color: #8f969f; font-size: 10px; }
.panel-file input::file-selector-button { margin-right: 9px; padding: 6px 9px; color: #fff; border: 0; border-radius: 7px; background: #2a3038; cursor: pointer; }
.panel-banner-preview { height: 60px; overflow: hidden; border: 1px solid #353b44; border-radius: 10px; background: #0e1013; }
.panel-banner-preview img { width: 100%; height: 100%; object-fit: cover; }
.panel-quick-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
.panel-quick-block { padding: 18px; border: 1px solid var(--panel-line); border-radius: 15px; background: var(--panel-surface-2); }
.quick-block-title { display: flex; align-items: center; gap: 12px; margin-bottom: 15px; }
.quick-block-title > span { display: grid; width: 38px; height: 38px; flex: 0 0 auto; color: #ff9b58; border: 1px solid rgba(249,115,22,.25); border-radius: 10px; background: rgba(249,115,22,.09); font-size: 11px; font-weight: 900; place-items: center; }
.quick-block-title h4 { margin: 0; color: #fff; font-size: 15px; }
.quick-block-title p { margin: 4px 0 0; line-height: 1.45; }
.quick-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.quick-fields label { display: grid; gap: 6px; font-weight: 800; text-transform: uppercase; }
.quick-fields input, .quick-fields select { width: 100%; height: 42px; padding: 0 11px; border: 1px solid #343a44; border-radius: 9px; outline: 0; }
.quick-wide { grid-column: 1 / -1; }
.quick-action { width: 100%; margin-top: 12px; }
.admin-provider-list { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 14px; }
.admin-provider-chip { display: flex; align-items: center; gap: 8px; padding: 7px 9px; color: #e6e8eb; border: 1px solid #333943; border-radius: 10px; background: #12151a; }
.admin-provider-chip-logo { display: grid; width: 28px; height: 28px; overflow: hidden; border-radius: 7px; background: #fff; place-items: center; }
.admin-provider-chip-logo img { width: 23px; height: 23px; object-fit: contain; }
.admin-provider-chip-logo b { color: #f97316; font-size: 7px; }
.admin-provider-chip > span:last-child b, .admin-provider-chip > span:last-child small { display: block; }
.admin-provider-chip > span:last-child b { font-size: 10px; }
.admin-provider-chip > span:last-child small { margin-top: 2px; color: var(--panel-muted); font-size: 8px; }
.games-heading { border-color: var(--panel-line); }
.panel-game-tools input, .panel-game-tools select { height: 42px; font-size: 11px; }
.admin-game-editor { min-height: 98px; border-color: #282d34; }
.admin-game-editor:hover { background: #191d22; }
.admin-rank { color: #ff9a54; border-color: #3d342e; background: #211912; font-size: 10px; }
.admin-thumb { background: #0f1114; }
.admin-game-editor input, .admin-game-editor select { height: 39px; font-size: 12px; }
.admin-game-editor textarea { min-height: 54px; font-size: 11px; }
.panel-save-bar { border-color: #30353d; background: rgba(15,17,20,.95); }
.panel-save-row b { color: #fff; font-size: 13px; }
.panel-save-row span { color: var(--panel-muted); font-size: 10px; }
.panel-loading { background: rgba(5,6,8,.72); }
.panel-loading span { color: #fff; border-color: #343a43; background: #171a1f; font-size: 12px; }

@media (max-width: 850px) {
  .panel-quick-grid { grid-template-columns: 1fr; }
  .panel-upload-row { grid-template-columns: 1fr auto; }
  .panel-banner-preview { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  .provider-section { padding-block: 28px 34px; }
  .provider-section .section-heading { display: flex; align-items: end; margin-bottom: 14px; }
  .provider-section .section-heading h2 { font-size: 25px; }
  .provider-section .section-kicker { margin-bottom: 7px; }
  .provider-section .text-button { flex: 0 0 auto; font-size: 9px; }
  .info-section { padding-block: 34px; }
  .info-section .section-heading { margin-bottom: 17px; }
  .info-section .section-heading h2 { font-size: 28px; }
  .info-grid { gap: 10px; }
  .info-card { min-height: 104px; align-items: center; padding: 16px; border-radius: 16px; }
  .info-card strong { margin-top: 5px; font-size: 24px; }
  .info-card p { margin-top: 6px; font-size: 9px; }
  .info-card .info-icon { width: 42px; height: 42px; }
  .panel-settings-card, .panel-quick-card { padding: 16px; }
  .panel-card-heading h3 { font-size: 18px; }
  .panel-upload-row { grid-template-columns: 1fr; }
  .panel-banner-preview { grid-column: auto; }
  .quick-fields { grid-template-columns: 1fr; }
  .quick-wide { grid-column: auto; }
  .panel-quick-block { padding: 14px; }
}

/* Sidebar dashboard, administrator identity, delete actions, and login greeting */
.panel-sidebar {
  position: fixed;
  z-index: 34;
  top: 76px;
  bottom: 0;
  left: 0;
  display: flex;
  width: 240px;
  flex-direction: column;
  padding: 22px 16px 102px;
  border-right: 1px solid var(--panel-line);
  background: linear-gradient(180deg, #0b0d10, #101318);
}
.panel-main-with-sidebar {
  width: min(1180px, calc(100% - 280px));
  margin-right: 20px;
  margin-left: max(260px, calc((100vw - 1180px + 240px) / 2));
}
.panel-has-sidebar .panel-save-bar { left: 240px; }
.sidebar-profile {
  position: relative;
  display: grid;
  min-height: 76px;
  align-items: center;
  padding: 13px;
  border: 1px solid #282e36;
  border-radius: 15px;
  background: #15191e;
  grid-template-columns: 44px minmax(0,1fr) 8px;
  gap: 10px;
}
.sidebar-avatar, .panel-profile-avatar, .welcome-avatar {
  display: grid;
  color: #fff;
  background: linear-gradient(145deg, #ff8a33, #e84d06);
  box-shadow: 0 8px 22px rgba(249,115,22,.24);
  font-weight: 900;
  place-items: center;
}
.sidebar-avatar { width: 44px; height: 44px; border-radius: 13px; font-size: 17px; }
.sidebar-profile b, .sidebar-profile small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sidebar-profile b { color: #fff; font-size: 13px; }
.sidebar-profile small { margin-top: 4px; color: #9199a4; font-size: 10px; }
.sidebar-profile i { width: 7px; height: 7px; border-radius: 50%; background: #2ed38b; box-shadow: 0 0 0 4px rgba(46,211,139,.09); }
.panel-sidebar-nav { display: grid; margin-top: 22px; gap: 7px; }
.panel-sidebar-nav button {
  position: relative;
  display: grid;
  min-height: 52px;
  align-items: center;
  padding: 7px 11px;
  color: #aab0b9;
  border: 1px solid transparent;
  border-radius: 12px;
  background: transparent;
  cursor: pointer;
  text-align: left;
  grid-template-columns: 34px 1fr;
  gap: 9px;
  transition: color .2s ease, border-color .2s ease, background .2s ease, transform .2s ease;
}
.panel-sidebar-nav button span { display: grid; width: 32px; height: 32px; border-radius: 9px; background: #191d22; color: #737b86; font-size: 9px; font-weight: 900; place-items: center; }
.panel-sidebar-nav button b { font-size: 12px; }
.panel-sidebar-nav button:hover { color: #fff; border-color: #313741; background: #161a1f; transform: translateX(3px); }
.panel-sidebar-nav button.is-active { color: #fff; border-color: rgba(249,115,22,.3); background: linear-gradient(90deg, rgba(249,115,22,.18), rgba(249,115,22,.04)); }
.panel-sidebar-nav button.is-active::before { position: absolute; top: 11px; bottom: 11px; left: -17px; width: 3px; border-radius: 99px; content: ""; background: #f97316; box-shadow: 0 0 16px rgba(249,115,22,.7); }
.panel-sidebar-nav button.is-active span { color: #fff; background: #ef5b0c; }
.sidebar-public-link { display: flex; min-height: 48px; align-items: center; justify-content: center; margin-top: auto; color: #d7dbe0; border: 1px solid #303640; border-radius: 12px; background: #171a1f; font-size: 11px; gap: 8px; transition: color .2s ease, border-color .2s ease, transform .2s ease; }
.sidebar-public-link span { color: #ff8735; font-size: 16px; }
.sidebar-public-link:hover { color: #fff; border-color: #f97316; transform: translateY(-2px); }
.panel-profile-chip { display: flex; min-width: 146px; align-items: center; padding: 6px 10px 6px 7px; border: 1px solid #2d333b; border-radius: 12px; background: #15191e; gap: 9px; }
.panel-profile-avatar { width: 34px; height: 34px; flex: 0 0 auto; border-radius: 10px; font-size: 13px; }
.panel-profile-chip > span:last-child { display: grid; min-width: 0; }
.panel-profile-chip b, .panel-profile-chip small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.panel-profile-chip b { color: #fff; font-size: 11px; }
.panel-profile-chip small { margin-top: 2px; color: #8f97a2; font-size: 9px; }
.admin-provider-chip { position: relative; padding-right: 35px; }
.admin-provider-chip-copy b, .admin-provider-chip-copy small { display: block; }
.admin-provider-chip-copy b { font-size: 10px; }
.admin-provider-chip-copy small { margin-top: 2px; color: var(--panel-muted); font-size: 8px; }
.admin-delete-provider {
  position: absolute;
  top: 50%;
  right: 7px;
  display: grid;
  width: 22px;
  height: 22px;
  padding: 0;
  color: #ff9c8f;
  border: 1px solid #50312f;
  border-radius: 7px;
  background: #241718;
  cursor: pointer;
  font-size: 14px;
  transform: translateY(-50%);
  place-items: center;
}
.admin-delete-provider:hover { color: #fff; border-color: #e64f3f; background: #b9362b; }
.admin-game-editor { grid-template-columns: 44px 68px minmax(150px,1.15fr) 130px 95px 115px minmax(150px,.9fr) minmax(150px,.9fr) 62px 76px; }
.admin-delete-game { min-height: 36px; padding: 0 10px; color: #ffaaa0; border: 1px solid #55302e; border-radius: 9px; background: #241718; cursor: pointer; font-size: 9px; font-weight: 850; transition: color .2s ease, border-color .2s ease, background .2s ease, transform .2s ease; }
.admin-delete-game:hover { color: #fff; border-color: #eb594b; background: #bc382d; transform: translateY(-2px); }
.panel-welcome-popup { position: fixed; z-index: 120; inset: 0; display: grid; padding: 20px; background: rgba(3,5,7,.76); backdrop-filter: blur(8px); place-items: center; }
.panel-welcome-card { position: relative; width: min(100%,390px); padding: 34px; overflow: hidden; color: #fff; border: 1px solid #333a44; border-radius: 22px; background: radial-gradient(circle at 85% 5%, rgba(249,115,22,.2), transparent 38%), #161a1f; box-shadow: 0 30px 90px rgba(0,0,0,.55); text-align: center; animation: modalIn .32s both; }
.panel-welcome-card::after { position: absolute; right: -55px; bottom: -70px; width: 170px; height: 170px; border: 1px solid rgba(249,115,22,.22); border-radius: 50%; content: ""; }
.panel-welcome-card > button { position: absolute; z-index: 2; top: 13px; right: 13px; width: 32px; height: 32px; color: #b4bac3; border: 1px solid #353c45; border-radius: 9px; background: #1c2026; cursor: pointer; font-size: 18px; }
.panel-welcome-card > button:hover { color: #fff; border-color: #f97316; }
.welcome-avatar { position: relative; z-index: 1; width: 58px; height: 58px; margin: 0 auto 18px; border-radius: 17px; font-size: 24px; }
.panel-welcome-card p { position: relative; z-index: 1; margin: 0; color: #ff9851; font-size: 10px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.panel-welcome-card h3 { position: relative; z-index: 1; margin: 9px 0 8px; font-family: Manrope,sans-serif; font-size: 28px; letter-spacing: -.04em; }
.panel-welcome-card small { position: relative; z-index: 1; color: #9ca3ad; font-size: 11px; }

@media (max-width: 1100px) {
  .admin-game-editor { min-width: 1180px; }
}

@media (max-width: 850px) {
  .panel-sidebar {
    position: sticky;
    z-index: 39;
    top: 76px;
    bottom: auto;
    width: 100%;
    height: auto;
    padding: 8px 10px;
    border-right: 0;
    border-bottom: 1px solid var(--panel-line);
  }
  .sidebar-profile, .sidebar-public-link { display: none; }
  .panel-sidebar-nav { display: flex; margin: 0; overflow-x: auto; gap: 7px; scrollbar-width: none; }
  .panel-sidebar-nav::-webkit-scrollbar { display: none; }
  .panel-sidebar-nav button { min-width: 132px; min-height: 43px; padding: 5px 9px; grid-template-columns: 28px 1fr; }
  .panel-sidebar-nav button span { width: 27px; height: 27px; }
  .panel-sidebar-nav button.is-active::before { display: none; }
  .panel-main-with-sidebar { width: min(100% - 24px,720px); margin-inline: auto; }
  .panel-has-sidebar .panel-save-bar { left: 0; }
}

@media (max-width: 600px) {
  .panel-sidebar { top: 68px; }
  .panel-profile-chip { min-width: 0; padding: 5px; }
  .panel-profile-chip > span:last-child { display: none; }
  .panel-profile-avatar { width: 32px; height: 32px; }
  .panel-header-actions { gap: 5px; }
  .panel-sidebar-nav button { min-width: 118px; }
  .panel-welcome-card { padding: 30px 20px; }
}
