/* =========================================================
   DRAGON STORE
   ARTIKEL & PANDUAN
========================================================= */

:root {
  --bg: #11110f;
  --bg-soft: #181815;
  --card: #1d1d19;
  --card-soft: #22221d;

  --text: #f4f1e8;
  --muted: #aaa79d;
  --muted-dark: #77756d;

  --gold: #c9a96e;
  --gold-light: #dfc58f;
  --gold-dark: #a98950;

  --border: #302f29;
  --border-light: #3a3932;

  --shadow:
    0 18px 50px rgba(0, 0, 0, 0.28);

  --radius: 18px;
}


/* =========================================================
   RESET
========================================================= */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;

  background:
    radial-gradient(
      circle at 50% -10%,
      rgba(201, 169, 110, 0.08),
      transparent 34%
    ),
    var(--bg);

  color: var(--text);

  font-family:
    Inter,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;

  line-height: 1.7;

  -webkit-font-smoothing: antialiased;
}


/* =========================================================
   NAVBAR
========================================================= */

.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;

  width: 100%;

  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 14px 6%;

  background: rgba(17, 17, 15, 0.88);

  border-bottom: 1px solid var(--border);

  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}


/* BRAND */

.brand {
  display: flex;
  align-items: center;
  gap: 12px;

  min-width: 0;
}

.brand-logo {
  width: 42px;
  height: 42px;

  flex-shrink: 0;

  border-radius: 50%;

  object-fit: cover;

  border: 1px solid var(--border-light);

  box-shadow:
    0 0 0 3px rgba(201, 169, 110, 0.04);
}

.brand-name {
  color: var(--text);

  font-size: 15px;
  font-weight: 700;

  line-height: 1.2;
}

.brand-subtitle {
  margin-top: 2px;

  color: var(--muted);

  font-size: 11px;

  line-height: 1.2;
}


/* NAV ACTIONS */

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}


/* =========================================================
   COIN PILL
========================================================= */

.coin-pill {
  height: 40px;

  display: inline-flex;
  align-items: center;
  gap: 7px;

  padding: 0 13px;

  border: 1px solid var(--border-light);
  border-radius: 999px;

  background: var(--card);

  color: var(--text);

  font-family: inherit;
  font-size: 13px;
  font-weight: 600;

  cursor: pointer;

  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    transform 0.2s ease;
}

.coin-pill:hover {
  background: var(--card-soft);

  border-color: rgba(201, 169, 110, 0.45);

  transform: translateY(-1px);
}

.coin-pill:active {
  transform: translateY(0);
}

.icon {
  width: 17px;
  height: 17px;

  fill: none;

  stroke: currentColor;
  stroke-width: 1.7;

  stroke-linecap: round;
  stroke-linejoin: round;
}

.coin-icon {
  color: var(--gold);
}

.coin-label {
  color: var(--muted);

  font-size: 12px;
  font-weight: 500;
}

.plus {
  color: var(--gold);

  font-size: 15px;
  font-weight: 700;
}


/* =========================================================
   BACK HOME
========================================================= */

.history-nav-btn {
  height: 40px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 0 14px;

  border: 1px solid var(--border);
  border-radius: 999px;

  background: transparent;

  color: var(--muted);

  font-size: 12px;
  font-weight: 600;

  text-decoration: none;

  transition:
    color 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease;
}

.history-nav-btn:hover {
  color: var(--text);

  background: var(--card);

  border-color: var(--border-light);
}


/* =========================================================
   MAIN
========================================================= */

.artikel-page {
  width: min(1080px, calc(100% - 40px));

  margin: 0 auto;

  padding: 78px 0 80px;
}


/* =========================================================
   HERO
========================================================= */

.artikel-hero {
  max-width: 760px;

  margin: 0 auto 58px;

  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;

  margin-bottom: 15px;

  color: var(--gold);

  font-size: 11px;
  font-weight: 800;

  letter-spacing: 0.18em;
}

.artikel-hero h1 {
  margin-bottom: 16px;

  color: var(--text);

  font-size: clamp(34px, 5vw, 52px);

  line-height: 1.1;

  letter-spacing: -0.035em;
}

.artikel-hero p {
  max-width: 650px;

  margin: 0 auto;

  color: var(--muted);

  font-size: 15px;

  line-height: 1.8;
}


/* =========================================================
   ARTICLE LIST
========================================================= */

.artikel-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}


/* =========================================================
   ARTICLE CARD
========================================================= */

.artikel-card {
  position: relative;

  display: grid;

  grid-template-columns: 62px minmax(0, 1fr);

  gap: 24px;

  padding: 30px;

  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.015),
      transparent 55%
    ),
    var(--card);

  border: 1px solid var(--border);

  border-radius: var(--radius);

  box-shadow: var(--shadow);

  overflow: hidden;

  transition:
    border-color 0.25s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.artikel-card::before {
  content: "";

  position: absolute;

  top: 0;
  left: 0;

  width: 100%;
  height: 1px;

  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(201, 169, 110, 0.4),
      transparent
    );

  opacity: 0.55;
}

.artikel-card:hover {
  border-color: rgba(201, 169, 110, 0.25);

  transform: translateY(-2px);

  box-shadow:
    0 22px 60px rgba(0, 0, 0, 0.32);
}


/* =========================================================
   ARTICLE NUMBER
========================================================= */

.artikel-number {
  width: 48px;
  height: 48px;

  display: flex;
  align-items: center;
  justify-content: center;

  margin-top: 2px;

  border: 1px solid rgba(201, 169, 110, 0.28);

  border-radius: 14px;

  background:
    rgba(201, 169, 110, 0.06);

  color: var(--gold);

  font-size: 12px;
  font-weight: 800;

  letter-spacing: 0.08em;
}


/* =========================================================
   ARTICLE CONTENT
========================================================= */

.artikel-content {
  min-width: 0;
}

.artikel-content h2 {
  margin-bottom: 13px;

  color: var(--text);

  font-size: clamp(21px, 3vw, 27px);

  line-height: 1.3;

  letter-spacing: -0.02em;
}

.artikel-content h3 {
  margin-top: 27px;
  margin-bottom: 10px;

  color: var(--gold-light);

  font-size: 15px;
  font-weight: 700;
}

.artikel-content p {
  margin-bottom: 15px;

  color: var(--muted);

  font-size: 14px;

  line-height: 1.85;
}

.artikel-content p:last-child {
  margin-bottom: 0;
}

.artikel-content strong {
  color: var(--text);

  font-weight: 650;
}


/* =========================================================
   ARTICLE INTRO
========================================================= */

.artikel-intro {
  max-width: 760px;

  color: #b8b4aa !important;

  font-size: 15px !important;

  line-height: 1.8 !important;
}


/* =========================================================
   ORDERED LIST
========================================================= */

.artikel-content ol {
  margin: 14px 0 0;
  padding-left: 25px;

  color: var(--muted);

  font-size: 14px;
}

.artikel-content ol li {
  margin-bottom: 10px;

  padding-left: 5px;

  line-height: 1.8;
}

.artikel-content ol li::marker {
  color: var(--gold);

  font-weight: 700;
}

.artikel-content ol li:last-child {
  margin-bottom: 0;
}


/* =========================================================
   ARTICLE NOTE
========================================================= */

.artikel-note {
  position: relative;

  margin-top: 24px;

  padding: 16px 18px 16px 20px;

  background:
    rgba(201, 169, 110, 0.055);

  border: 1px solid rgba(201, 169, 110, 0.18);

  border-radius: 13px;

  color: var(--muted);

  font-size: 13px;

  line-height: 1.75;
}

.artikel-note::before {
  content: "";

  position: absolute;

  top: 12px;
  bottom: 12px;
  left: 0;

  width: 2px;

  border-radius: 2px;

  background: var(--gold);
}


/* =========================================================
   HIGHLIGHT
========================================================= */

.artikel-highlight {
  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 20px;

  margin: 22px 0;

  padding: 17px 19px;

  background: var(--card-soft);

  border: 1px solid var(--border-light);

  border-radius: 13px;
}

.artikel-highlight span {
  color: var(--muted);

  font-size: 13px;
}

.artikel-highlight strong {
  color: var(--gold-light);

  font-size: 14px;

  text-align: right;
}


/* =========================================================
   FLOW
========================================================= */

.artikel-flow {
  display: grid;

  grid-template-columns: repeat(4, minmax(0, 1fr));

  gap: 10px;

  margin-top: 26px;
}

.artikel-flow > div {
  min-height: 76px;

  display: flex;
  flex-direction: column;
  justify-content: center;

  gap: 5px;

  padding: 12px;

  background: var(--card-soft);

  border: 1px solid var(--border);

  border-radius: 12px;

  color: var(--muted);

  font-size: 12px;

  line-height: 1.45;

  transition:
    border-color 0.2s ease,
    background 0.2s ease;
}

.artikel-flow > div:hover {
  background: #272720;

  border-color: rgba(201, 169, 110, 0.22);
}

.artikel-flow span {
  color: var(--gold);

  font-size: 10px;
  font-weight: 800;

  letter-spacing: 0.08em;
}


/* =========================================================
   ACCOUNT TYPES
========================================================= */

.account-types {
  display: grid;

  grid-template-columns: repeat(3, minmax(0, 1fr));

  gap: 12px;

  margin-top: 24px;
}

.account-type {
  display: flex;
  align-items: flex-start;

  gap: 13px;

  padding: 17px;

  background: var(--card-soft);

  border: 1px solid var(--border);

  border-radius: 14px;

  transition:
    border-color 0.2s ease,
    transform 0.2s ease;
}

.account-type:hover {
  border-color: rgba(201, 169, 110, 0.24);

  transform: translateY(-2px);
}

.account-icon {
  width: 36px;
  height: 36px;

  flex-shrink: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 10px;

  background:
    rgba(201, 169, 110, 0.08);

  border: 1px solid rgba(201, 169, 110, 0.2);

  color: var(--gold);

  font-size: 13px;
  font-weight: 800;
}

.account-type h3 {
  margin: 1px 0 5px;

  color: var(--text);

  font-size: 14px;
}

.account-type p {
  margin: 0;

  color: var(--muted);

  font-size: 12px;

  line-height: 1.7;
}


/* =========================================================
   SUMMARY
========================================================= */

.artikel-summary {
  margin-top: 22px;

  padding: 17px 19px;

  background: rgba(255, 255, 255, 0.018);

  border: 1px solid var(--border);

  border-radius: 13px;

  color: var(--muted);

  font-size: 13px;

  line-height: 2;
}

.artikel-summary strong {
  color: var(--gold-light);
}


/* =========================================================
   FOOTER
========================================================= */

.artikel-footer {
  padding: 30px 20px 40px;

  border-top: 1px solid var(--border);

  text-align: center;
}

.artikel-footer p {
  color: var(--muted-dark);

  font-size: 11px;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 850px) {

  .navbar {
    padding: 13px 4%;
  }

  .artikel-page {
    width: min(100% - 30px, 720px);

    padding-top: 60px;
  }

  .artikel-card {
    grid-template-columns: 50px minmax(0, 1fr);

    gap: 19px;

    padding: 25px;
  }

  .artikel-number {
    width: 44px;
    height: 44px;
  }

  .artikel-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .account-types {
    grid-template-columns: 1fr;
  }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 620px) {

  .navbar {
    padding: 11px 15px;

    gap: 10px;
  }

  .brand {
    gap: 9px;
  }

  .brand-logo {
    width: 36px;
    height: 36px;
  }

  .brand-name {
    font-size: 13px;
  }

  .brand-subtitle {
    display: none;
  }

  .nav-actions {
    gap: 6px;
  }

  .coin-pill {
    height: 36px;

    padding: 0 10px;

    gap: 5px;
  }

  .coin-icon {
    width: 15px;
    height: 15px;
  }

  .coin-label {
    display: none;
  }

  .history-nav-btn {
    height: 36px;

    padding: 0 10px;

    font-size: 11px;
  }


  /* MAIN */

  .artikel-page {
    width: calc(100% - 24px);

    padding: 48px 0 55px;
  }


  /* HERO */

  .artikel-hero {
    margin-bottom: 38px;
  }

  .eyebrow {
    margin-bottom: 11px;

    font-size: 10px;
  }

  .artikel-hero h1 {
    font-size: 31px;
  }

  .artikel-hero p {
    font-size: 13px;

    line-height: 1.7;
  }


  /* CARDS */

  .artikel-list {
    gap: 14px;
  }

  .artikel-card {
    grid-template-columns: 1fr;

    gap: 16px;

    padding: 21px 18px;

    border-radius: 15px;
  }

  .artikel-number {
    width: 40px;
    height: 40px;

    margin: 0;

    border-radius: 11px;

    font-size: 11px;
  }

  .artikel-content h2 {
    font-size: 20px;

    line-height: 1.35;
  }

  .artikel-content h3 {
    margin-top: 23px;

    font-size: 14px;
  }

  .artikel-content p,
  .artikel-content ol {
    font-size: 13px;
  }

  .artikel-intro {
    font-size: 14px !important;
  }


  /* LIST */

  .artikel-content ol {
    padding-left: 22px;
  }

  .artikel-content ol li {
    padding-left: 3px;

    margin-bottom: 9px;
  }


  /* HIGHLIGHT */

  .artikel-highlight {
    flex-direction: column;
    align-items: flex-start;

    gap: 5px;

    padding: 15px;
  }

  .artikel-highlight strong {
    text-align: left;

    font-size: 13px;
  }


  /* FLOW */

  .artikel-flow {
    grid-template-columns: 1fr 1fr;

    gap: 8px;
  }

  .artikel-flow > div {
    min-height: 68px;

    padding: 10px;

    font-size: 11px;
  }


  /* ACCOUNT TYPES */

  .account-types {
    gap: 9px;
  }

  .account-type {
    padding: 14px;

    gap: 11px;
  }

  .account-icon {
    width: 33px;
    height: 33px;

    border-radius: 9px;
  }

  .account-type h3 {
    font-size: 13px;
  }

  .account-type p {
    font-size: 11px;
  }


  /* NOTE */

  .artikel-note {
    padding: 14px 15px 14px 17px;

    font-size: 12px;
  }


  /* SUMMARY */

  .artikel-summary {
    padding: 14px 15px;

    font-size: 12px;
  }
}


/* =========================================================
   VERY SMALL PHONE
========================================================= */

@media (max-width: 390px) {

  .navbar {
    padding-left: 11px;
    padding-right: 11px;
  }

  .brand-logo {
    width: 33px;
    height: 33px;
  }

  .brand-name {
    font-size: 12px;
  }

  .history-nav-btn {
    padding: 0 8px;

    font-size: 10px;
  }

  .coin-pill {
    padding: 0 8px;
  }

  .artikel-page {
    width: calc(100% - 18px);

    padding-top: 40px;
  }

  .artikel-hero h1 {
    font-size: 28px;
  }

  .artikel-card {
    padding: 18px 15px;
  }

  .artikel-flow {
    grid-template-columns: 1fr;
  }
}