/* Madrid Jackpot: dibuat ulang dari tangkapan layar desain (ukuran mengikuti gambar, lebar isi 975px) */
* { box-sizing: border-box; }
body { margin: 0; font-family: Arial, Helvetica, sans-serif; font-size: 14px; color: #fff; background: #0a1a33; }
img { max-width: 100%; height: auto; }
.wadah { width: 975px; max-width: calc(100% - 24px); margin: 0 auto; }

.atas { background: linear-gradient(#4ea6f0 0%, #2a8ae8 45%, #066fda 100%); min-height: 121px; border-bottom: 1px solid #0a5cb4; }
.atas .wadah { display: flex; justify-content: space-between; align-items: flex-start; }
.logo { display: block; margin: 7px 0 0 7px; width: 314px; max-width: 100%; }
.logo img { display: block; }
.atas-kanan { text-align: right; padding-right: 10px; }
.atas-kanan p { margin: 19px 0 0; font-size: 16px; }
.atas-kanan nav { display: flex; justify-content: flex-end; gap: 40px; margin-top: 40px; padding-right: 2px; }
.atas-kanan nav a { color: #fff; text-decoration: none; font-size: 16px; }
.atas-kanan nav a:hover, .atas-kanan nav a.aktif { text-shadow: 0 0 6px rgba(255,255,255,.65); }

main { display: block; padding-bottom: 30px; min-height: 480px; }
.judul { margin: 41px 0 0; text-align: center; color: #ec9b1e; font-size: 44px; line-height: 50px; font-weight: 700; text-shadow: 2px 2px 0 #1b5fb8, -1px -1px 0 #1b5fb8, 1px -1px 0 #1b5fb8, -1px 1px 0 #1b5fb8; }
.sub { margin: 2px 0 18px; text-align: center; font-weight: 700; font-size: 16px; }

.kartu { background: #17202c; border: 3px solid #494131; border-radius: 10px; padding: 22px 39px 38px; min-height: 120px; }
.kartu h2.p1 { margin: 0 0 24px; text-align: center; font-size: 20px; line-height: 24px; }
.tengah { text-align: center; }
.dua { display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; text-align: center; }
.kartu h3 { margin: 28px 0 21px; font-size: 16px; line-height: 20px; }
.kartu h4 { margin: 28px 0 14px; font-size: 13px; line-height: 18px; }

[class^="bola-"], [class^="bola-"] .hasil-spin { display: inline-flex; justify-content: center; vertical-align: middle; }
[class^="bola-"] b { display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; color: #fff; }
.bola-besar, .bola-besar .hasil-spin { gap: 14px; }
.bola-besar b { width: 85px; height: 85px; border: 10px solid #ec9a10; background: #151b25; font-size: 42px; }
.bola-sedang, .bola-sedang .hasil-spin { gap: 9px; }
.bola-sedang b { width: 45px; height: 45px; border: 4px solid #ec9a10; background: #151b25; font-size: 19px; }
.bola-kecil, .bola-kecil .hasil-spin { gap: 4px; }
.bola-kecil b { width: 30px; height: 30px; font-size: 14px; background: linear-gradient(135deg, #3fa2f5, #1565c8); }

.enam { border-top: 2px solid #e8edf3; }
.enam .baris { display: grid; grid-template-columns: 1fr 1fr; height: 40px; align-items: center; border-bottom: 1px solid #cfd6de; }
.enam .baris:last-child { border-bottom: 0; }

.kartu.teks { line-height: 1.7; padding: 22px 30px; margin-top: 24px; }
.kartu.teks a { color: #ec9b1e; }
.kartu.daftar { padding: 8px 16px 12px; }
.kartu.daftar table { width: 100%; border-collapse: collapse; text-align: center; }
.kartu.daftar th { padding: 10px 6px; border-bottom: 2px solid #e8edf3; font-size: 13px; }
.kartu.daftar td { padding: 9px 6px; border-bottom: 1px solid #3a4658; }
.kartu.daftar tr:last-child td { border-bottom: 0; }
.kartu.daftar a { color: #ec9b1e; text-decoration: none; font-weight: 700; white-space: nowrap; }
.kartu.daftar .bola-kecil b { width: 26px; height: 26px; font-size: 13px; }
.hasil-pager a { color: #ec9b1e; text-decoration: none; font-weight: 700; }

.bawah { border-top: 1px solid #1d5aa8; padding: 0 0 24px; }
.bawah nav { display: flex; justify-content: center; gap: 20px; padding: 19px 0 18px; border-bottom: 1px solid #14294a; }
.bawah nav a { color: #d5dbe6; text-decoration: none; font-size: 13px; }
.sertifikasi { text-align: center; margin: 20px auto 0; }
.sertifikasi img { display: block; margin: 0 auto; border-radius: 8px; }

@media (max-width: 860px) {
	.atas .wadah { flex-direction: column; align-items: center; }
	.atas-kanan { text-align: center; padding: 0 0 12px; }
	.atas-kanan p { margin-top: 6px; font-size: 13px; }
	.atas-kanan nav { justify-content: center; gap: 24px; margin-top: 14px; }
	.judul { font-size: 30px; line-height: 36px; margin-top: 24px; }
	.kartu { padding: 18px 12px 24px; }
	.dua { column-gap: 14px; }
}
@media (max-width: 640px) {
	.dua { grid-template-columns: 1fr; }
	.bola-besar, .bola-besar .hasil-spin { gap: 8px; }
	.bola-besar b { width: 66px; height: 66px; border-width: 7px; font-size: 32px; }
	.kartu.daftar thead { display: none; }
	.kartu.daftar tr { display: block; padding: 10px 0; border-bottom: 1px solid #3a4658; }
	.kartu.daftar tr:last-child { border-bottom: 0; }
	.kartu.daftar td { display: flex; justify-content: space-between; align-items: center; border: 0; padding: 4px 4px; }
	.kartu.daftar td[data-label]:before { content: attr(data-label); font-weight: 700; font-size: 12px; color: #9fb0c8; }
	.kartu.daftar td:last-child { justify-content: flex-end; }
}
