/* Desktop landing — black & gold ornate layout */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@600;700&family=Rajdhani:wght@500;600;700&display=swap');

:root {
  --gold: #f5c518;
  --gold2: #ffe566;
  --gold-dark: #b8860b;
  --bg: #050505;
  --panel: #0d0d0d;
  --line: #c9a227;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body {
  min-height: 100%;
  background: var(--bg);
  color: #fff;
  font-family: 'Rajdhani', system-ui, sans-serif;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

body.desk-body {
  background:
    radial-gradient(ellipse at 20% 10%, rgba(245,197,24,.12), transparent 40%),
    radial-gradient(ellipse at 80% 20%, rgba(245,197,24,.1), transparent 42%),
    linear-gradient(180deg, #0a0a0a 0%, #000 40%, #050505 100%);
  overflow-x: hidden;
}

.desk-wrap {
  width: min(1280px, 96vw);
  margin: 0 auto;
  padding: 12px 0 40px;
  position: relative;
  z-index: 2;
}

/* ornate side wings */
.desk-wing {
  position: fixed;
  top: 80px;
  bottom: 40px;
  width: 140px;
  pointer-events: none;
  z-index: 1;
  opacity: .9;
}
.desk-wing--left { left: 0; }
.desk-wing--right { right: 0; transform: scaleX(-1); }
.desk-wing::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 20%, rgba(245,197,24,.35), transparent 45%),
    radial-gradient(circle at 40% 70%, rgba(255,200,50,.2), transparent 50%);
  filter: blur(1px);
}
.desk-wing-cubes {
  position: absolute;
  top: 18%;
  left: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  pointer-events: auto;
}
.desk-cube {
  width: 92px;
  height: 92px;
  border: 2px solid var(--gold);
  border-radius: 8px;
  background: #111;
  box-shadow: 0 0 18px rgba(245,197,24,.35), inset 0 0 12px rgba(245,197,24,.15);
  transform: rotate(-8deg);
  overflow: hidden;
  transition: transform .2s ease;
}
.desk-cube:nth-child(2) { transform: rotate(6deg); margin-left: 10px; }
.desk-cube:nth-child(3) { transform: rotate(-4deg); }
.desk-cube:hover { transform: rotate(0deg) scale(1.05); }
.desk-cube img { width: 100%; height: 100%; object-fit: cover; }

/* header */
.desk-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 8px 8px 12px;
}
.desk-logo img {
  height: 64px;
  width: auto;
  max-width: 280px;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(245,197,24,.45));
}
.desk-login {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.desk-login input {
  width: 150px;
  height: 34px;
  border: 1px solid var(--gold-dark);
  background: #111;
  color: #fff;
  border-radius: 4px;
  padding: 0 10px;
  font-size: 13px;
}
.desk-login input::placeholder { color: #888; }
.desk-btn-login {
  height: 34px;
  padding: 0 18px;
  border: 0;
  border-radius: 4px;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: .5px;
  color: #111;
  cursor: pointer;
  background: linear-gradient(180deg, #ffe566 0%, #f5c518 55%, #c9970c 100%);
  box-shadow: 0 2px 0 #8a6a00;
}
.desk-btn-login:hover { filter: brightness(1.05); }

/* ticker */
.desk-ticker {
  display: flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(180deg, #ffe566, #f0b400);
  color: #111;
  border-radius: 3px;
  padding: 6px 10px;
  margin-bottom: 14px;
  overflow: hidden;
  border: 1px solid #c9970c;
}
.desk-ticker-label {
  flex: 0 0 auto;
  font-weight: 800;
  font-size: 12px;
  white-space: nowrap;
}
.desk-ticker-track {
  flex: 1;
  overflow: hidden;
  white-space: nowrap;
}
.desk-ticker-track span {
  display: inline-block;
  padding-left: 100%;
  animation: desk-marquee 22s linear infinite;
  font-weight: 700;
  font-size: 13px;
}
@keyframes desk-marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

/* main grid */
.desk-grid {
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: 14px;
  align-items: start;
}

.desk-side {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.desk-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  background: linear-gradient(180deg, #1a1a1a, #0c0c0c);
  border: 1px solid var(--gold-dark);
  border-radius: 4px;
  color: var(--gold2);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .3px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.03);
}
.desk-menu a:hover {
  background: linear-gradient(180deg, #2a2208, #151000);
  border-color: var(--gold);
}
.desk-menu .hot {
  margin-left: auto;
  background: #e10600;
  color: #fff;
  font-size: 10px;
  padding: 1px 6px;
  border-radius: 3px;
}
.desk-menu i { width: 16px; text-align: center; color: var(--gold); }

.desk-cta-stack { display: flex; flex-direction: column; gap: 8px; margin-top: 4px; }
.desk-cta {
  display: block;
  text-align: center;
  padding: 10px 12px;
  font-weight: 800;
  font-size: 14px;
  border-radius: 4px;
  border: 1px solid #111;
}
.desk-cta--live {
  background: linear-gradient(180deg, #ffe566, #f5c518);
  color: #111;
  animation: desk-pulse 1.4s ease-in-out infinite;
}
.desk-cta--daftar {
  background: linear-gradient(180deg, #ffd84a, #e0a800);
  color: #111;
}
@keyframes desk-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(245,197,24,.5); }
  50% { box-shadow: 0 0 14px 2px rgba(245,197,24,.65); }
}

.desk-widget {
  margin-top: 6px;
  border: 1px solid var(--gold-dark);
  border-radius: 4px;
  overflow: hidden;
  background: #0b0b0b;
}
.desk-widget-title {
  background: linear-gradient(180deg, #ffe566, #f0b400);
  color: #111;
  font-weight: 800;
  font-size: 12px;
  padding: 6px 10px;
}
.desk-widget-body {
  padding: 8px;
  font-size: 12px;
  max-height: 140px;
  overflow: auto;
}
.desk-result-row {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 4px 0;
  border-bottom: 1px solid #222;
  color: #ddd;
}
.desk-result-row:last-child { border-bottom: 0; }
.desk-result-row b { color: var(--gold2); }

/* center */
.desk-main { min-width: 0; }
.desk-hero {
  border: 2px solid var(--gold-dark);
  border-radius: 6px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 0 24px rgba(245,197,24,.15);
  aspect-ratio: 16 / 7;
  position: relative;
  width: 100%;
  min-height: 220px;
  max-height: 420px;
}
.desk-hero img,
.desk-hero .desk-hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}
.desk-hero-nav {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 8px;
  pointer-events: none;
}
.desk-hero-nav button {
  pointer-events: auto;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  background: rgba(0,0,0,.55);
  color: var(--gold);
  cursor: pointer;
  font-size: 16px;
}

.desk-promo {
  margin-top: 10px;
  border: 1px solid var(--gold-dark);
  border-radius: 6px;
  overflow: hidden;
  background: linear-gradient(90deg, #1a1200, #0d0d0d 40%, #1a1200);
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  min-height: 90px;
}
.desk-promo-copy {
  padding: 14px 16px;
}
.desk-promo-copy h2 {
  font-family: 'Cinzel', serif;
  color: var(--gold2);
  font-size: 20px;
  margin-bottom: 4px;
}
.desk-promo-copy p { color: #ccc; font-size: 13px; }
.desk-promo-odds {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  padding: 12px;
  align-content: center;
}
.desk-odd {
  text-align: center;
  border: 1px solid var(--gold-dark);
  border-radius: 4px;
  padding: 8px 4px;
  background: #111;
}
.desk-odd strong { display: block; color: var(--gold2); font-size: 16px; }
.desk-odd span { color: #aaa; font-size: 11px; }

.desk-pasarans {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.desk-playcats {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
}
.desk-playcat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 8px 6px;
  border: 1px solid var(--gold-dark);
  border-radius: 6px;
  background: linear-gradient(180deg, #1a1a1a, #0c0c0c);
  text-align: center;
}
.desk-playcat img {
  width: 100%;
  height: 54px;
  object-fit: contain;
  border-radius: 4px;
  background: #000;
}
.desk-playcat span {
  color: var(--gold2);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: .4px;
}
.desk-playcat:hover {
  border-color: var(--gold);
  box-shadow: 0 0 12px rgba(245,197,24,.25);
}
.desk-pasaran {
  position: relative;
  border: 1px solid var(--gold-dark);
  border-radius: 5px;
  overflow: hidden;
  background: #111;
  min-height: 88px;
}
.desk-pasaran img {
  width: 100%;
  height: 88px;
  object-fit: cover;
  opacity: .85;
}
.desk-pasaran-cap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 6px 8px;
  background: linear-gradient(transparent, rgba(0,0,0,.9));
  font-weight: 800;
  font-size: 12px;
  color: var(--gold2);
  text-transform: uppercase;
}

/* banks */
.desk-banks {
  margin-top: 14px;
  border-top: 1px solid #333;
  padding-top: 12px;
  text-align: center;
}
.desk-banks-title {
  color: var(--gold);
  font-weight: 800;
  font-size: 12px;
  margin-bottom: 8px;
  letter-spacing: 1px;
}
.desk-banks-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.desk-bank {
  position: relative;
  width: 64px;
  height: 36px;
  background: #111;
  border: 1px solid #333;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
}
.desk-bank img { max-height: 24px; width: auto; }
.desk-bank .dot {
  position: absolute;
  top: -3px; right: -3px;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: #22c55e;
  border: 1px solid #000;
  box-shadow: 0 0 6px #22c55e;
}
.desk-bank-legend {
  margin-top: 8px;
  font-size: 11px;
  color: #999;
}
.desk-bank-legend i { margin: 0 2px 0 8px; }

/* floating */
.desk-float-left {
  position: fixed;
  left: 0;
  top: 45%;
  z-index: 20;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  background: linear-gradient(180deg, #ffe566, #f5c518);
  color: #111;
  font-weight: 800;
  font-size: 12px;
  padding: 14px 8px;
  border-radius: 0 6px 6px 0;
  letter-spacing: 1px;
}
.desk-float-right {
  position: fixed;
  right: 16px;
  bottom: 24px;
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}
.desk-float-right .klik {
  background: linear-gradient(180deg, #ffe566, #f5c518);
  color: #111;
  font-weight: 900;
  padding: 12px 18px;
  border-radius: 6px;
  border: 2px solid #111;
  box-shadow: 0 6px 20px rgba(0,0,0,.45);
}
.desk-float-links {
  display: flex;
  gap: 6px;
}
.desk-float-links a {
  background: #111;
  border: 1px solid var(--gold);
  color: var(--gold2);
  font-size: 11px;
  font-weight: 700;
  padding: 6px 8px;
  border-radius: 4px;
}

.desk-foot {
  margin-top: 18px;
  text-align: center;
  color: #777;
  font-size: 11px;
}

@media (max-width: 1100px) {
  .desk-wing { display: none; }
  .desk-grid { grid-template-columns: 200px 1fr; }
  .desk-pasarans { grid-template-columns: repeat(2, 1fr); }
  .desk-playcats { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 820px) {
  .desk-grid { grid-template-columns: 1fr; }
  .desk-login input { width: 120px; }
  .desk-playcats { grid-template-columns: repeat(2, 1fr); }
}
