/* 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: #f6c400;
  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-color: #f0b400;
  background-image: url('/desktop/assets/img/desk-bg.jpg');
  background-repeat: no-repeat;
  background-position: center top;
  background-size: 100% auto;
  background-attachment: fixed;
  overflow-x: hidden;
  padding-top: 74px;
}
.desk-wing { display: none; }

.desk-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 max(16px, calc((100% - 1080px) / 2));
  background:
    radial-gradient(ellipse at 50% 130%, rgba(245,197,24,.35), transparent 42%),
    linear-gradient(180deg, #161616, #050505);
  border-bottom: 3px solid #f5c518;
  box-shadow: 0 6px 18px rgba(0,0,0,.35);
}

.desk-stage {
  position: relative;
  max-width: 1480px;
  margin: 0 auto;
  min-height: 100vh;
  padding: 14px 0 30px;
}

.desk-wrap {
  width: min(1080px, calc(100% - 320px));
  margin: 0 auto;
  padding: 10px 16px 22px;
  position: relative;
  z-index: 2;
  background: #070707;
  border: 3px solid #111;
  box-shadow: 0 0 0 3px #f6d54a, 0 0 0 6px #1a1a1a, 0 18px 40px rgba(0,0,0,.35);
}

/* ornate side wings */
.desk-wing {
  position: absolute;
  top: 92px;
  width: 128px;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.desk-wing--left { left: 6px; }
.desk-wing--right { right: 6px; }
.desk-slotbox {
  background: linear-gradient(180deg, #ffe566, #e0a000);
  border: 4px solid #111;
  border-radius: 18px;
  padding: 8px;
  box-shadow: inset 0 0 0 3px #fff3a0, 0 8px 0 #b8860b;
}
.desk-slotbox img {
  width: 100%;
  height: 148px;
  object-fit: contain;
  border-radius: 10px;
  background: #000;
}

/* header */
.desk-header { display: none; }
.desk-logo { display: flex; align-items: center; }
.desk-logo img {
  height: 52px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(245,197,24,.45));
}
.desk-nav .desk-login {
  position: static;
  display: flex;
  align-items: center;
  gap: 8px;
}
.desk-login input {
  width: 168px;
  height: 34px;
  border: 0;
  background: #fff;
  color: #111;
  border-radius: 18px;
  padding: 0 14px;
  font-size: 13px;
}
.desk-login input::placeholder { color: #8a8a8a; }
.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: 0;
  animation: desk-marquee 32s linear infinite;
  font-weight: 700;
  font-size: 13px;
}
@keyframes desk-marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

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

.desk-side {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.desk-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 0;
  padding: 7px 12px;
  background: #0c0c0c;
  border: 2px solid #f5c518;
  border-radius: 22px;
  color: #ffe566;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .2px;
}
.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: 22px;
  border: 2px 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 #f5c518;
  border-radius: 6px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 0 24px rgba(245,197,24,.15);
  position: relative;
  width: 100%;
  line-height: 0;
}
.desk-hero img,
.desk-hero .desk-hero-slide {
  position: static;
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  background: #000;
}
.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: 12px;
  padding-top: 4px;
  text-align: center;
}
.desk-banks-title { display: none; }
.desk-banks-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}
.desk-bank {
  position: relative;
  width: 148px;
  height: 58px;
  background: linear-gradient(180deg, #fff4b0, #f5c518 45%, #c9970c);
  border: 2px solid #111;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 6px;
}
.desk-bank img { max-height: 20px; width: auto; margin: 0 auto; }
.desk-bank .name {
  color: #111;
  font-weight: 800;
  font-size: 11px;
  letter-spacing: .4px;
}
.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: 12px;
  bottom: 18px;
  top: auto;
  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: #c9b037;
  font-size: 11px;
}
.desk-foot a { color: #ffe566; }

.desk-feature3 {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.desk-feature3 a {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: linear-gradient(180deg, #2a2108, #0c0c0c);
  border: 2px solid #f5c518;
  border-radius: 8px;
  padding: 8px 6px 10px;
  box-shadow: inset 0 0 0 1px #5a4308;
}
.desk-feature3 img {
  width: 100%;
  height: 108px;
  object-fit: cover;
  border-radius: 4px;
  background: #000;
}
.desk-feature3 b {
  margin-top: 6px;
  color: #ffe566;
  font-size: 13px;
  letter-spacing: .4px;
}
.desk-feature3 small { color: #aaa; font-size: 10px; }

.desk-tagline {
  margin: 18px auto 8px;
  max-width: 920px;
  padding: 0 16px;
  text-align: center;
  color: #ffe14a;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.35;
}
.desk-pools {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.desk-pools a {
  min-height: 86px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 2px;
  padding: 8px 4px 10px;
  border-radius: 8px;
  border: 2px solid #f6d54a;
  background:
    linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,.78)),
    url('/desktop/assets/img/desk-pool.jpg') center/cover no-repeat;
  text-align: center;
}
.desk-pools b,
.desk-pools small {
  display: block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.desk-pools b {
  color: #ffe566;
  font-size: 12px;
  letter-spacing: .3px;
}
.desk-pools small { color: #fff; font-size: 10px; font-weight: 700; }

.desk-sec {
  margin: 18px 0 10px;
  text-align: left;
  color: #ffe14a;
  font-size: 26px;
  letter-spacing: .5px;
}
.desk-sec::after {
  content: '\f078';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 16px;
  margin-left: 8px;
  color: #ffe566;
}
.desk-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.desk-cards--sport { grid-template-columns: repeat(3, 1fr); }
.desk-cards a {
  display: block;
  background: #111;
  border: 2px solid #f5c518;
  border-radius: 8px;
  overflow: hidden;
  text-align: center;
}
.desk-cards img {
  width: 100%;
  height: 112px;
  object-fit: cover;
  background: #000;
}
.desk-cards span {
  display: block;
  padding: 6px 4px 8px;
  color: #ffe566;
  font-size: 12px;
  font-weight: 800;
}
.desk-cards a:hover { box-shadow: 0 0 12px rgba(245,197,24,.45); }

@media (max-width: 1200px) {
  .desk-wing { display: none; }
  .desk-wrap { width: min(1080px, 96vw); }
  .desk-nav { padding: 0 12px; }
  .desk-cards { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 820px) {
  .desk-grid { grid-template-columns: 1fr; }
  .desk-nav { height: auto; min-height: 74px; flex-wrap: wrap; justify-content: center; padding: 8px 10px; }
  body.desk-body { padding-top: 108px; }
  .desk-login input { width: 120px; }
  .desk-feature3, .desk-cards, .desk-pools { grid-template-columns: 1fr 1fr; }
  .desk-banks-row { grid-template-columns: 1fr 1fr; }
  .desk-tagline { font-size: 18px; }
}
