/* ===================== */
/* FONT & ROOT SETTINGS */
/* ===================== */

@font-face {
  font-family: "Norwester";
  src: url("../fonts/norwester.otf") format("opentype");
}

@import url('https://fonts.googleapis.com/css?family=Karla:400,700&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/animate.css/3.7.2/animate.min.css');

:root {
  --bgColor: #1C1C1C;
  --accentColor: #E6E6E6;
  --font: 'Karla', sans-serif;
}

/* ===================== */
/* BODY */
/* ===================== */

body {
  margin: 0;
  background: linear-gradient(180deg, #0a0a0a, #1a1a1a);
  font-family: var(--font);
}

/* ===================== */
/* COVER */
/* ===================== */

.cover {
  width: 100%;
  height: 180px;
  background-image: url("../images/cover.webp");
  background-size: cover;
  background-position: center;
  border-radius: 15px 15px 0 0;
  margin-bottom: -80px;
  position: relative;
}

.cover::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.35);
  border-radius: 15px 15px 0 0;
}

/* ===================== */
/* PROFILE */
/* ===================== */

#userPhoto {
  width: 120px;
  height: 120px;
  border-radius: 15%;
  border: 4px solid #fff;
  display: block;
  margin: auto;
  position: relative;
  box-shadow: 0 10px 25px rgba(0,0,0,0.4);
}

/* ===================== */
/* TITLE */
/* ===================== */

h1 {
  font-family: 'Norwester', sans-serif;
  color: #E6E6E6;
  text-align: center;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin: 20px auto;
  text-shadow: 0 0 10px rgba(255,255,255,0.25);
}

/* ===================== */
/* LINKS */
/* ===================== */

#links {
  max-width: 675px;
  margin: 27px auto;
  padding: 0 12px; /* ← ini kunci */
}

.link {
  display: block;
  text-align: center;
  margin-bottom: 15px;
  padding: 15px;
  font-size: 1rem;
  text-decoration: none;
  color: white;

  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 14px;

  transition: all 0.25s ease;
}

.link:hover {
  background: #3a3a3a;
  transform: scale(1.02);
  box-shadow: 0 6px 20px rgba(0,0,0,0.5);
}

/* ===================== */
/* SECTION TITLE */
/* ===================== */

.sectionTitle {
  display: flex;
  align-items: center;
  text-align: center;
  color: white;
  opacity: 0.7;
  font-size: 12px;
  letter-spacing: 3px;
  margin: 20px 0 15px;
  text-transform: uppercase;
}

.sectionTitle::before,
.sectionTitle::after {
  content: "";
  flex: 1;
  border-bottom: 1px solid rgba(255,255,255,0.2);
}

.sectionTitle::before {
  margin-right: 10px;
}

.sectionTitle::after {
  margin-left: 10px;
}

/* ===================== */
/* FAQ */
/* ===================== */

.faq {
  text-align: left;
  padding-left: 20px;
}

/* ===================== */
/* HIGHLIGHT */
/* ===================== */

.highlight {
  background: linear-gradient(135deg,#f7b500,#ffcc33);
  color: #000;
  font-weight: 700;
  border: 1px solid #f7b500;
  box-shadow: 0 0 10px rgba(247,181,0,0.6);
  animation: glowPulse 2s infinite;
}

@keyframes glowPulse {
  0%,100% { box-shadow: 0 0 10px rgba(247,181,0,0.6); }
  50% { box-shadow: 0 0 25px rgba(247,181,0,1); transform: scale(1.02); }
}

/* ===================== */
/* DANGER BUTTON */
/* ===================== */

.link.danger {
  background: linear-gradient(180deg,#ff2a2a,#b30000);
  color: white;
  font-weight: 600;
  box-shadow: 0 0 15px rgba(255,0,0,0.6);
  animation: redPulse 1.8s infinite;
}

@keyframes redPulse {
  0%,100% { box-shadow: 0 0 10px rgba(255,0,0,0.5); }
  50% { box-shadow: 0 0 25px rgba(255,0,0,1); }
}

/* ===================== */
/* SOCIAL ICON */
/* ===================== */

.socialIcons {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 25px;
}

.socialIcons a {
  width: 50px;
  height: 50px;
  background: #f7b500;
  color: black;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  text-decoration: none;
  transition: 0.2s;
}

.socialIcons a:hover {
  transform: scale(1.1);
  background: #ffcc33;
}

/* ===================== */
/* ATTRIBUTION */
/* ===================== */

.atrib {
  text-align: center;
  font-size: 12px;
  color: rgb(136,136,136);
  padding: 17px;
}

/* ===================== */
/* POPUP */
/* ===================== */

.popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: 0.3s;
}

.popup:target {
  opacity: 1;
  pointer-events: auto;
}

.popup-box {
  background: #1b1b1b;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  max-width: 350px;
  color: white;
}

.popup-box h2 {
  color: #ff5555;
}

.popup-close {
  display: inline-block;
  margin-top: 15px;
  padding: 8px 18px;
  background: #ff4444;
  color: white;
  border-radius: 6px;
  text-decoration: none;
}

/* GRID 2 KOLOM */
.grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  padding: 0 15px;
}

/* CARD */
.card {
  display: block;
  border-radius: 0px;
  overflow: hidden;
  text-decoration: none;
  color: white;
  background: rgba(255,255,255,0.05);
  box-shadow: 0 5px 20px rgba(0,0,0,0.4);
  transition: 0.25s;
}

/* GRID 2 KOLOM */
.grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  padding: 0 1px;
}

/* CARD */
.card {
  text-decoration: none;
  color: white;
  display: block;
}

/* POSTER */
.card img {
  width: 100%;
  aspect-ratio: 3/4; /* biar kayak poster anime */
  object-fit: cover;
  border-radius: 0px;
  display: block;
  transition: none;
}

/* HOVER */
.card:hover img {
  transform: none;
  filter: none;
}

.title {
  text-align: center;
  font-size: 12px;
  font-weight: 500;
  color: #fff;
}

.guide-section {
  padding: 0px;
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

.guide-card {
  border: 1px solid #2a2a2a;
  text-align: center;
  padding: 0px;
  text-decoration: none;
  color: #4da6ff;
  transition: 0.2s;
}

.guide-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 6px;
}

.guide-card p {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.3;
  
}

.guide-card:hover {
  background: #111;
  transform: scale(1.03);
}

@media (max-width: 768px) {
  .guide-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  }
}

.atrib {
  display: block;
  text-align: center;
  margin-top: 12px;
  font-size: 12px;
  color: #aaa;
  text-decoration: none;
}

.atrib:hover {
  color: #ff4d6d;
}