/* ===== Reset ringan & warna dasar ===== */
:root{
  --red:#ff0000;
  --red-dark:#990000;
  --gold:#FFD700;
  --bg:#0a0a0a;
  --text:#ffffff;
}

*{ box-sizing: border-box; }
html,body{ margin:0; padding:0; }
body{
  font-family: "Segoe UI", Arial, sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.5;
}

/* ===== Header ===== */
.site-header{
  background: linear-gradient(90deg, #8b0000, #000);
}
.header-inner{
  max-width: 1100px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.logo{ height: 50px; }

.main-nav a{
  display: inline-block;
  color: var(--gold);
  text-decoration: none;
  padding: 8px 14px;
  background: #8b0000;
  margin: 4px;
  border-radius: 6px;
  font-weight: 700;
  transition: transform .2s ease, background .2s ease;
}
.main-nav a:hover{
  background: #ff0000;
  transform: translateY(-1px);
}

/* ===== Slider Fade ===== */
.slider{
  position: relative;
  max-width: 1100px;
  margin: 14px auto 0;
  height: 320px;           /* tinggi desktop */
  overflow: hidden;
  border-radius: 10px;
}
.slider img{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}
.slider img.active{ opacity: 1; }

/* ===== CTA ===== */
.cta-button{
  max-width: 1100px;
  margin: 18px auto;
  text-align: center;
  padding: 0 20px;
}
.cta-button a{
  display: inline-block;
  background: linear-gradient(90deg, var(--red), #000);
  color: #fff;
  font-size: 1.35rem;
  font-weight: 800;
  padding: 14px 28px;
  text-decoration: none;
  border-radius: 10px;
  box-shadow: 0 0 14px var(--red), 0 0 28px var(--red-dark);
  animation: glow 1.6s infinite alternate;
  transition: transform .15s ease;
}
.cta-button a:hover{ transform: scale(1.06); }

@keyframes glow{
  from{ box-shadow: 0 0 10px var(--red), 0 0 20px var(--red-dark); }
  to  { box-shadow: 0 0 20px var(--red), 0 0 40px var(--red-dark); }
}

/* ===== Konten ===== */
.content{
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px 24px;
  text-align: center;
}
.content h1{
  color: var(--gold);
  font-size: 28px;
  margin: 10px 0 8px;
}
.content h1 a{
  color: var(--gold);
  text-decoration: none;
}
.content h1 a:visited{ color: var(--gold); }
.content h1 a:hover{ color: var(--red); }
.content p{ font-size: 16px; }

/* ===== Footer ===== */
.site-footer{
  background: #111;
  color: #aaa;
  text-align: center;
  padding: 16px;
  font-size: 14px;
}

/* ===== Responsive: Tablet (≤1024px) ===== */
@media (max-width: 1024px){
  .logo{ height: 46px; }
  .slider{ height: 260px; }
  .cta-button a{ font-size: 1.25rem; padding: 12px 24px; }
  .content h1{ font-size: 24px; }
  .content p{ font-size: 15px; }
}

/* ===== Responsive: Mobile (≤600px) ===== */
@media (max-width: 600px){
  .header-inner{
    justify-content: center;
    text-align: center;
    gap: 10px;
  }
  .logo{ height: 40px; }
  .main-nav a{
    margin: 4px 6px;
    padding: 8px 12px;
    font-size: 14px;
  }

  .slider{ height: 190px; margin-top: 10px; border-radius: 8px; }

  .cta-button{ margin: 14px auto; }
  .cta-button a{
    width: 100%;
    max-width: 520px;
    padding: 12px 0;
    font-size: 1.05rem;
    border-radius: 8px;
  }

  .content{ text-align: left; }
  .content h1{ font-size: 21px; line-height: 1.3; }
  .content p{ font-size: 14px; }
}
