/* New Design 02: black, charcoal and royal gold. */
html[data-theme='nd2'] { color-scheme: dark; background: #000; }
html[data-theme='nd2'] body { margin: 0; background: #000; background-image: none; color: #fff; overflow: hidden !important; }
.nd2-app { display: flex; width: 100%; height: 100dvh; min-height: 0; overflow: hidden; background: #000; }
.nd2-main-wrapper { display: flex; flex: 1; flex-direction: column; min-width: 0; min-height: 0; }
.nd2-content { flex: 1; min-height: 0; overflow-y: auto; background: #000; overscroll-behavior: contain; }
.nd2-page-content { max-width: 1660px; margin: 0 auto; padding: 24px; }
.nd2-sidebar { position: relative; z-index: 99; display: flex; flex: 0 0 260px; width: 260px; flex-direction: column; background: #0f1219; min-height: 0; }
.nd2-sidebar-logo { height: 100px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; padding: 12px 32px; background: #000; }
.nd2-sidebar-logo img { max-width: 100%; max-height: 80px; object-fit: contain; }
#sidebar-nav { flex: 1; overflow-y: auto; padding: 32px 16px 24px; }
#sidebar-nav a { margin-bottom: 12px; font-size: 20px; font-weight: 600; color: #e5e7eb; }
#sidebar-nav a img { width: 50px; height: 50px; object-fit: contain; }
#sidebar-nav a span { margin-left: 16px; }
#sidebar-nav a:hover, #sidebar-nav a.active { color: #fff; }
.nd2-sidebar-support { flex-shrink: 0; padding: 24px; }
.nd2-sidebar-support a { display: block; padding: 20px; border: 1px solid #2a2d35; border-radius: 16px; background: #15181f; }
.nd2-sidebar-support strong { color: #c2a46a; font-size: 16px; }
.nd2-sidebar-support p { color: #6b7280; margin-top: 10px; font-size: 14px; }
.nd2-sidebar-overlay { position: fixed; inset: 0; z-index: 98; background: rgb(0 0 0 / .7); border: 0; }
.nd2-header { height: 100px; flex-shrink: 0; display: flex; align-items: center; gap: 20px; padding: 0 32px; z-index: 40; background: #000; }
.nd2-header-links { display: flex; align-items: center; gap: 30px; font-size: 18px; font-weight: 500; color: #9ca3af; white-space: nowrap; }
.nd2-header-links a:hover { color: #fff; }
.nd2-header-actions { display: flex; align-items: center; gap: 20px; margin-left: auto; }
.nd2-header-actions .btn-primary, .nd2-header-actions .btn-outline { height: 40px; }
#btn-mobile-menu { display: none; color: #c2a46a; font-size: 28px; }
.nd2-balance { display: flex; flex-direction: column; text-align: right; line-height: 1.3; white-space: nowrap; }
.nd2-balance small { color: #9ca3af; font-size: 11px; }
.nd2-balance b { color: #c2a46a; font-size: 14px; }
.nd2-mobile-games, .nd2-mobile-bottom { display: none; }
.nd2-hero-wrap { padding: 20px 0; margin-bottom: 48px; }
.nd2-hero { position: relative; height: 480px; overflow: hidden; border: 1px solid #2a2d35; border-radius: 24px; background: #15181f; }
.nd2-hero-track { display: flex; height: 100%; transition: transform .7s ease-in-out; }
.nd2-hero-slide { width: 100%; flex-shrink: 0; height: 100%; }
.nd2-hero-slide img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.nd2-hero-prev, .nd2-hero-next { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: rgb(0 0 0 / .6); border: 1px solid rgb(255 255 255 / .2); color: #fff; opacity: .6; }
.nd2-hero-prev { left: 16px; } .nd2-hero-next { right: 16px; }
.nd2-hero-prev:hover, .nd2-hero-next:hover { background: #c2a46a; opacity: 1; color: #000; }
.nd2-hero-dots { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; }
.nd2-hero-dots button { height: 4px; width: 12px; border-radius: 8px; border: 0; background: #ffffff4d; transition: width .3s; }
.nd2-hero-dots button.active { width: 32px; background: #c2a46a; }
.nd2-game-section { margin-bottom: 48px; }
.nd2-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 32px; padding: 0 8px; }
.nd2-section-heading h2, .nd2-page-content > section > div:first-child > h2 { display: flex; align-items: center; gap: 16px; color: #fff; font-size: 24px; font-weight: 900; line-height: 1.3; }
.nd2-section-heading h2::before, .nd2-page-content > section > div:first-child > h2::before { content: ''; flex-shrink: 0; width: 4px; height: 28px; border-radius: 4px; background: #c2a46a; box-shadow: 0 0 15px #c2a46a40; }
.nd2-page-content > section > div:first-child > h2 > img { display: none; }
.nd2-section-heading a, .nd2-provider-trigger { color: #64748b; font-size: 12px; font-weight: 900; letter-spacing: .08em; }
.nd2-section-heading a:hover, .nd2-provider-trigger:hover { color: #c2a46a; }
.nd2-provider-trigger i { margin-right: 5px; }
.nd2-game-grid { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 16px; }
.nd2-grid-casino { grid-template-columns: repeat(5,minmax(0,1fr)); }
.nd2-grid-powerball { grid-template-columns: repeat(4,minmax(0,1fr)); }
.nd2-game-card { display: block; width: 100%; border: 1px solid #ffffff0d; border-radius: 24px; overflow: hidden; background: #1a1d24; text-align: left; box-shadow: inset 0 0 20px #ffffff05; transition: border-color .2s; }
.nd2-game-card:hover { border-color: #c2a46a80; }
.nd2-game-shade { position: absolute; inset: 0; background: linear-gradient(to top,#0f1219aa,transparent 55%); pointer-events: none; }
.nd2-game-caption { position: absolute; bottom: 0; left: 0; right: 0; padding: 8px; background: #0008; }
.nd2-game-caption span { display: block; color: #c2a46a; font-size: 8px; font-weight: 900; text-transform: uppercase; letter-spacing: .25em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nd2-game-caption h3 { margin-top: 4px; color: #fff; font-size: 14px; line-height: 1.25; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nd2-game-placeholder { display: flex; flex-direction: column; justify-content: center; align-items: center; height: 100%; gap: 10px; color: #c2a46a; }
.nd2-game-placeholder i { font-size: 36px; }
#partners { margin: 20px 40px 0; border-color: #2a2d35; }
#partner-logo-marquee { padding-top: 32px; gap: 24px; }
#partner-logo-marquee > div { opacity: .7; padding: 0; }
.nd2-footer { margin-top: 20px; padding: 40px 24px 60px; text-align: center; background: #161a22; color: #6b7280; font-size: 12px; }
.nd2-footer-logo { max-height: 80px; max-width: 180px; margin: auto; }
.nd2-certificates { margin: 32px auto 16px; display: flex; justify-content: center; gap: 16px; }
.nd2-certificates img { max-height: 32px; max-width: 120px; }
/* Shared modals, inputs and autofill use the designer's panel/input contrast. */
html[data-theme='nd2'] .nd2-modal-panel { background: #1a1d24 !important; color: #fff; border: 1px solid #2a2d35 !important; border-radius: 16px; box-shadow: 0 24px 70px #0008; }
html[data-theme='nd2'] .nd2-modal-header, html[data-theme='nd2'] .nd2-modal-footer { background: #1a1d24 !important; border-color: #2a2d35 !important; }
html[data-theme='nd2'] .nd2-auth-modal { max-width: 400px; }
.nd2-auth-modal h2 { text-align: center; font-size: 24px; }
html[data-theme='nd2'] :where(input:not([type='checkbox']):not([type='radio']), select, textarea) { background-color: #0f1219; border-color: #2a2d35; color: #fff; border-radius: 12px; }
html[data-theme='nd2'] input.bg-transparent { background: transparent; }
html[data-theme='nd2'] :is(input,select,textarea):focus { outline: none; border-color: #c2a46a; --tw-ring-color: #c2a46a33; box-shadow: 0 0 0 2px #c2a46a20; }
html[data-theme='nd2'] input::placeholder, html[data-theme='nd2'] textarea::placeholder { color: #6b7280; }
html[data-theme='nd2'] input:-webkit-autofill { -webkit-box-shadow: 0 0 0 1000px #0f1219 inset; -webkit-text-fill-color: #fff; caret-color: #fff; }
.nd2-primary { background: linear-gradient(180deg,#c2a46a,#8b6e3c); color: #fff; border: 0; box-shadow: 0 10px 24px #c2a46a18; }
.nd2-primary:hover:not(:disabled), .btn-primary:hover { filter: brightness(1.1); box-shadow: 0 0 16px #c2a46a40; }
html[data-theme='nd2'] .dark\:bg-\[\#1f2937\] { background-color: #0f1219; }
html[data-theme='nd2'] .dark\:border-gray-800, html[data-theme='nd2'] .dark\:border-gray-700 { border-color: #2a2d35; }
html[data-theme='nd2'] button:focus-visible, html[data-theme='nd2'] a:focus-visible { outline: 2px solid #c2a46a; outline-offset: 3px; }
@media(min-width:1280px) { .nd2-page-content { padding: 40px; } .nd2-header { padding: 0 48px; } }
@media(max-width:1279px) { .nd2-header-links { display:none; } .nd2-game-grid { grid-template-columns:repeat(3,minmax(0,1fr)); } }
@media(max-width:767px) {
 .nd2-sidebar { position:fixed; inset:0 auto 0 0; width:200px; transform:translateX(-100%); transition:transform .3s; }
 .nd2-sidebar.mobile-open { transform:translateX(0); }
 .nd2-sidebar-logo { height:60px; padding:8px 24px; } .nd2-sidebar-logo img { max-height:50px; }
 #sidebar-nav { padding:16px 12px 24px; } #sidebar-nav a { font-size:16px; margin-bottom:8px; }
 #sidebar-nav a img { width:26px; } .nd2-sidebar-support { display:none; }
 .nd2-header { height:60px; padding:0 16px; gap:12px; } #btn-mobile-menu { display:block; }
 .nd2-header-actions { gap:12px; min-width:0; } .nd2-header-actions .btn-primary,.nd2-header-actions .btn-outline { padding:0 16px; font-size:12px; }
 .nd2-balance { display:none; }
 .nd2-mobile-games { display:flex; flex-shrink:0; align-items:center; gap:8px; overflow-x:auto; padding:12px 16px; border-bottom:1px solid #2a2d35; background:#0f1219; }
 .nd2-mobile-games a { flex-shrink:0; padding:8px 16px; border-radius:999px; border:1px solid #ffffff1a; background:#ffffff0d; color:#d1d5db; font-size:14px; font-weight:700; }
 .nd2-mobile-games a.active { color:#c2a46a; background:#c2a46a1a; border-color:#c2a46a4d; }
 .nd2-content { padding-bottom:calc(70px + env(safe-area-inset-bottom)); }
 .nd2-page-content { padding:24px; }
 .nd2-hero-wrap { padding:20px 0; margin-bottom:28px; }
 .nd2-hero { height:140px; border-radius:12px; }
 .nd2-hero-prev,.nd2-hero-next { width:32px; height:32px; font-size:12px; }
 .nd2-hero-prev { left:8px; } .nd2-hero-next { right:8px; } .nd2-hero-dots { bottom:12px; }
 .nd2-game-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .nd2-section-heading { margin-bottom:24px; padding:0; }
 .nd2-section-heading h2 { font-size:20px; gap:10px; }
 .nd2-section-heading a { font-size:10px; letter-spacing:0; }
 .nd2-provider-trigger { font-size:10px; letter-spacing:0; }
 .nd2-game-card { border-radius:20px; }
 .nd2-game-section { margin-bottom:36px; }
 .nd2-mobile-bottom { display:flex; position:fixed; bottom:0; left:0; right:0; z-index:40; height:calc(70px + env(safe-area-inset-bottom)); padding-bottom:env(safe-area-inset-bottom); background:#15181ff2; border-top:1px solid #2a2d35; backdrop-filter:blur(12px); }
 .nd2-mobile-bottom a { flex:1; min-width:0; display:flex; flex-direction:column; align-items:center; justify-content:center; color:#9ca3af; font-size:10px; font-weight:700; }
 .nd2-mobile-bottom img { height:42px; max-width:50px; object-fit:contain; }
 .nd2-mobile-bottom a[aria-current] { color:#c2a46a; }
 .nd2-footer { margin-top:0; padding:32px 16px !important; }
}
@media(max-width:359px) { .nd2-header { padding:0 10px; gap:6px; } .nd2-header-actions { gap:6px; } .nd2-header-actions .btn-primary,.nd2-header-actions .btn-outline { padding:0 12px; } .nd2-page-content { padding:16px; } }
@media(prefers-reduced-motion:reduce) { .nd2-hero-track { transition:none; } }
