/* ================= FONT IMPORT ================= */
@font-face {
  font-family: "Kanit";
  font-weight: 100;
  font-display: swap;
  src: url(../assets/fonts/Kanit/woff2/Kanit-Thin.woff2) format("woff2");
}
@font-face {
  font-family: "Kanit";
  font-weight: 200;
  font-display: swap;
  src: url(../assets/fonts/Kanit/woff2/Kanit-ExtraLight.woff2) format("woff2");
}
@font-face {
  font-family: "Kanit";
  font-weight: 300;
  font-display: swap;
  src: url(../assets/fonts/Kanit/woff2/Kanit-Light.woff2) format("woff2");
}
@font-face {
  font-family: "Kanit";
  font-weight: 400;
  font-display: swap;
  src: url(../assets/fonts/Kanit/woff2/Kanit-Regular.woff2) format("woff2");
}
@font-face {
  font-family: "Kanit";
  font-weight: 500;
  font-display: swap;
  src: url(../assets/fonts/Kanit/woff2/Kanit-Medium.woff2) format("woff2");
}
@font-face {
  font-family: "Kanit";
  font-weight: 600;
  font-display: swap;
  src: url(../assets/fonts/Kanit/woff2/Kanit-SemiBold.woff2) format("woff2");
}
@font-face {
  font-family: "Kanit";
  font-weight: 700;
  font-display: swap;
  src: url(../assets/fonts/Kanit/woff2/Kanit-Bold.woff2) format("woff2");
}
@font-face {
  font-family: "Kanit";
  font-weight: 800;
  font-display: swap;
  src: url(../assets/fonts/Kanit/woff2/Kanit-ExtraBold.woff2) format("woff2");
}
@font-face {
  font-family: "Kanit";
  font-weight: 900;
  font-display: swap;
  src: url(../assets/fonts/Kanit/woff2/Kanit-Black.woff2) format("woff2");
}
@font-face {
  font-family: "Ramadan";
  font-weight: 600;
  font-display: swap;
  src: url(../assets/fonts/Ramadan/RamadhanMubarok.woff2) format("woff2");
}
/* ================= BASE ================= */
*{
  box-sizing:border-box;
  margin:0;
  padding:0;
  font-family:"Kanit",sans-serif;
}

h1,h2,h3,h4,h5,h6{
  font-family:"Kanit",sans-serif;
  margin:0;
  padding:0;
  font-weight: 500;
}

body{
  background:radial-gradient(circle at top,#263b54,#061d24);
  color:#fff;
}

/* ================= LAYOUT ================= */
.ramadan{
  width: 100%;
  height: 100vh;
  padding: 25px;
  margin: 0 auto;
  position: fixed;
  background-repeat: no-repeat;
  background-size: cover
}
.ramadan-container{max-width:1200px;margin:auto;padding:40px 16px 80px}

.ramadan::before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(
    to bottom,
    rgba(0,0,0,0.1),
    rgba(0,0,0,0.3)
  );
  z-index:0;
}

.ramadan-container{
  position:relative;
  z-index:1;
}


/* ================= HEADER ================= */
.header{
  text-align:center;
  margin-bottom:25px
}

.header h1{
  font-size:64px;
  color:#f6d57a;
  margin-bottom:10px;
  font-family: 'Ramadan';
}
.header .year{
  font-size:30px;
  color:#ffe6a3;
  font-weight:600;
}
.header .region{
  color:#fff;
  font-size:20px
}

/* ================= DESKTOP TABLE ================= */
.table-wrapper{
  background:rgba(0,0,0,.55);
  border-radius:14px;
  padding:20px;
  overflow-x:auto
}
table{width:100%;border-collapse:collapse;min-width:900px}
thead th{
  background:#4d8c87;
  padding:14px;
  position:sticky;
  top:0;
  font-size: 18px;
  font-weight: 500;
  border-right: 1px solid rgba(255, 255, 255, .08);
}
thead th:last-child{
  border-right:none
}
tbody td{
  padding:10px;
  text-align:center;
  border-bottom:1px solid rgba(255,255,255,.08);
  font-size:16px;
  border-right: 1px solid rgba(255, 255, 255, .08);
}
tbody td:last-child{
  border-right:none
}
tbody tr:hover{background:rgba(255,255,255,.06)}
tbody td.imsak,
tbody td.maghrib{
  background:#f6d57a;
  color:#000;
  font-weight:600
}
tr.today{
  outline:2px solid #f6d57a;
  outline-offset:-2px;
}

/* ================= MOBILE CARD ================= */
.mobile{display:none;gap:16px}
.card{
  background:rgba(0,0,0,.55);
  border-radius:14px;
  padding:16px
}
.card.today{
  border:2px solid #f6d57a
}
.card h3{
  color:#f6d57a;
  margin-bottom:12px
}
.grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:10px;
}
.time{
  background:rgba(255,255,255,.05);
  padding:8px 10px;
  border-radius:8px;
  display:flex;
  justify-content:space-between;
  font-size:14px
}
.time.highlight{
  background:#f6d57a;
  color:#000;
  font-weight:600
}



/* ================= Color ================= */
:root{
  --transtv-blue:#2b757a;
  --transtv-gold:#f6d57a;
  --transtv-dark:#263b54;
}

/* accent garis */
.header h1::after{
  content:"";
  display:block;
  width:120px;
  height:4px;
  background:var(--transtv-gold);
  margin:14px auto 0;
  border-radius:4px;
}

/* tone professional broadcast */
.table-wrapper,
.card{
  box-shadow:0 10px 30px rgba(0,0,0,.35);
}

/* judul lebih tegas */
.header h1{
  letter-spacing:.5px;
}

/* ================= STICKY TODAY ================= */
.sticky-today{
  position:sticky;
  top:0;
  z-index:999;
  background:linear-gradient(
    90deg,
    var(--transtv-gold),
    #ffe9a9
  );
  color:#000;
  padding:12px 16px;
  font-weight:500;
  text-align:center;
  border-radius:0 0 14px 14px;
  font-size: 18px;
  margin-bottom: 10px;
  border: 1px solid #f6d57a;
}

.sticky-today.hidden{
  display:none;
}

/* ================= RESPONSIVE ================= */
@media(max-width:768px){
  .ramadan::before{
    background:linear-gradient(
    to bottom,
    rgba(0,0,0,0.3),
    rgba(0,0,0,0.7)
  );
  }
  .table-wrapper{display:none}
  .mobile{display:grid}
  .header h1{font-size:40px}
  .header h1::after{width:75px}
  .header .year{font-size:22px}
  .header .region{font-size:16px}
}