:root {
  --navy: #062a4f;
  --navy-2: #0a3867;
  --gold: #ddb33a;
  --gold-soft: #fff6db;
  --teal: #207c72;
  --ink: #091227;
  --muted: #6d7480;
  --line: #e6e9ee;
  --surface: #ffffff;
  --page: #f7f8fb;
  --shadow: 0 18px 45px rgba(6, 42, 79, 0.1);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--page);
}

body {
  min-height: 100dvh;
  margin: 0;
  color: var(--ink);
  background: var(--page);
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

/* =====================
   SIMULOKA HEADER
   ===================== */
.simuloka-header {
  position: relative;
  width: min(100%, 430px);
  margin: 0 auto;
  padding: max(22px, env(safe-area-inset-top)) 18px 80px;

  background-image: url("../assets/images/pattern-cloud.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  overflow: hidden;
  border-radius: 0 0 28px 28px;
}

/*.simuloka-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("assets/images/pattern-cloud.jpg");
  background-repeat: repeat;
  background-size: 220px;
  opacity: 0.15;
  pointer-events: none;
}

/* Pemisah melengkung putih di bawah header */
.simuloka-header::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 28px;
  background: var(--page);
  border-radius: 28px 28px 0 0;
}

.header-content {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.header-text {
  flex: 1;
}

.header-text .welcome {
  margin: 0;
  font-size: 13px;
  font-weight: 500;
  color: rgba(3, 17, 134, 0.78);
}

.header-text h1 {
  margin: 4px 0 6px;
  font-size: 24px;
  font-weight: 800;
  color: rgb(29, 1, 95);
  max-width: none;
  line-height: 1.2;
}

.header-text .tagline {
  margin: 0;
  font-size: 13px;
  color: rgba(3, 17, 134, 0.78);
  max-width: none;
  line-height: 1.45;
}

.header-text .tagline strong {
  color: var(--gold);
}

.simuloka-header .profile-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.simuloka-header .avatar {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: 50%;
  font-size: 16px;
  font-weight: 900;
  border: 2px solid rgba(255, 255, 255, 0.5);
  background: linear-gradient(135deg, #fff7df, #d9edf0);
  color: var(--navy);
}

.simuloka-header .bell {
  position: relative;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: white;
}

.simuloka-header .bell svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: white;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.bell-dot {
  position: absolute;
  top: 8px;
  right: 9px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #e74d3c;
  border: 2px solid #fff;
}

/* =====================
   MAIN CONTENT
   ===================== */
.main-content {
  position: relative;
  width: min(100%, 920px);
  margin: 0 auto;
  padding: 8px 18px 110px;
}

/* =====================
   GENERAL
   ===================== */
.section-row,
.progress-meta,
.module-meta,
.continue-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

h1, h2, h3 {
  margin: 0;
  letter-spacing: 0;
}

.section-row h2 {
  font-size: 18px;
}

.section-row a {
  color: inherit;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.progress-card a::after,
.content-section .section-row a::after {
  content: " >";
}

/* =====================
   PROGRESS CARD
   ===================== */
.progress-card {
  margin-top: 20px;
  padding: 18px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--navy), #073866);
  color: white;
  box-shadow: var(--shadow);
}

.progress-line {
  height: 14px;
  margin: 18px 0 12px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
}

.progress-line span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--gold), #f0c94a);
}

.progress-meta p {
  margin: 0;
  font-size: 14px;
}

.progress-meta strong {
  font-size: 18px;
}

/* =====================
   CONTENT SECTION
   ===================== */
.content-section {
  margin-top: 24px;
}

.content-section .section-row {
  margin-bottom: 14px;
}

.content-section a {
  color: var(--navy);
}

/* =====================
   CATEGORY GRID
   ===================== */
.category-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.category-card {
  display: block;
  min-height: 142px;
  padding: 18px 12px 16px;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  color: inherit;
  text-decoration: none;
}

.category-card img {
  display: block;
  width: 58px;
  height: 58px;
  margin: 0 auto 12px;
}

.category-card h3 {
  font-size: 15px;
  line-height: 1.25;
}

.category-card p {
  margin-top: 3px;
  font-size: 12px;
  color: var(--muted);
}

/* =====================
   MODULE CARD
   ===================== */
.module-list {
  display: grid;
  gap: 14px;
}

.module-card {
  display: grid;
  grid-template-columns: 42% 1fr;
  gap: 14px;
  min-height: 116px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  color: inherit;
  text-decoration: none;
}

.module-thumb {
  position: relative;
  overflow: hidden;
  min-height: 96px;
  border-radius: 10px;
  background-size: cover;
  background-position: center;
}

.module-thumb.front {
  background-image:
    linear-gradient(rgba(6, 42, 79, 0.08), rgba(6, 42, 79, 0.22)),
    url("../assets/images/front-office.jpg");
}

.module-thumb.room {
  background-image:
    linear-gradient(rgba(6, 42, 79, 0.05), rgba(6, 42, 79, 0.2)),
    url("../assets/images/housekeeping.jpg");
}

.module-thumb.fnb {
  background-image:
    linear-gradient(rgba(6, 42, 79, 0.05), rgba(6, 42, 79, 0.2)),
    url("../assets/images/fnb.jpg");
}

.play-button {
  position: absolute;
  left: 10px;
  bottom: 10px;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: white;
  background: rgba(6, 42, 79, 0.92);
}

.play-button svg {
  width: 21px;
  height: 21px;
  fill: currentColor;
  stroke: none;
}

.module-info {
  display: block;
  text-decoration: none;
  color: var(--ink);
  min-width: 0;
  padding: 4px 0;
}

.module-info h3 {
  font-size: 16px;
  line-height: 1.2;
}

.module-info p {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--muted);
}

.module-meta {
  margin-top: 12px;
  font-size: 12px;
  color: var(--muted);
}

.module-meta span::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 6px;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  vertical-align: 0;
}

.module-meta strong {
  padding: 5px 9px;
  border-radius: 999px;
  color: #8a6a05;
  background: var(--gold-soft);
}

/* =====================
   CONTINUE PANEL
   ===================== */
.continue-panel {
  align-items: stretch;
  margin-top: 26px;
  padding: 18px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(32, 124, 114, 0.95), rgba(6, 42, 79, 0.98));
  color: white;
  box-shadow: var(--shadow);
}

.continue-panel .eyebrow {
  margin-bottom: 4px;
  color: #f4ce58;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.continue-panel h2 {
  font-size: 18px;
}

.continue-panel p {
  margin: 0;
  color: var(--muted);
}

.continue-panel p:not(.eyebrow) {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  line-height: 1.45;
}

.continue-panel button {
  align-self: center;
  min-width: 86px;
  height: 42px;
  border: 0;
  border-radius: 10px;
  color: var(--navy);
  background: var(--gold);
  font-weight: 900;
  cursor: pointer;
}

/* =====================
   VIDEO MODAL
   ===================== */
.video-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.85);
  justify-content: center;
  align-items: center;
}

.video-modal.active {
  display: flex;
}

.video-modal-content {
  position: relative;
  width: min(1000px, 90vw);
  max-height: 90vh;
}

.video-modal video {
  width: 100%;
  border-radius: 12px;
  display: block;
}

.close-video {
  position: absolute;
  top: -45px;
  right: 0;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  color: white;
  background: rgba(255, 255, 255, 0.15);
}

/* =====================
   BOTTOM NAV
   ===================== */
.bottom-nav {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: min(100%, 430px);
  margin: 0 auto;
  padding: 10px 10px max(12px, env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 -14px 34px rgba(9, 18, 39, 0.08);
  backdrop-filter: blur(18px);
}

.bottom-nav a {
  display: grid;
  min-width: 0;
  min-height: 54px;
  place-items: center;
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.bottom-nav a.active {
  color: var(--gold);
}

.bottom-nav svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.bottom-nav span {
  margin-top: 3px;
}

/* =====================
   PAGE HEADER
   ===================== */
.app-shell {
  position: relative;
  z-index: 1;
  width: min(100%, 430px);
  min-height: 100vh;
  margin: 0 auto;
  padding: max(22px, env(safe-area-inset-top)) 18px 110px;
  background: rgba(255, 255, 255, 0.82);
}

.page-header {
  display: grid;
  grid-template-columns: 42px 1fr 42px;
  gap: 12px;
  align-items: center;
  padding-top: 4px;
}

.page-header h1 {
  max-width: none;
  margin-top: 4px;
  font-size: 25px;
}

.icon-button {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--navy);
  background: var(--surface);
  text-decoration: none;
}

.icon-button svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* =====================
   MODULE DETAIL
   ===================== */
.module-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 22px;
}

.module-summary div {
  min-height: 78px;
  padding: 14px 8px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  text-align: center;
}

.module-summary span {
  color: var(--navy);
  font-size: 24px;
  font-weight: 900;
}

.module-summary p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.filter-strip {
  display: flex;
  gap: 10px;
  margin: 22px -18px 0;
  padding: 0 18px 2px;
  overflow-x: auto;
  scrollbar-width: none;
}

.filter-strip::-webkit-scrollbar {
  display: none;
}

.filter-strip button {
  flex: 0 0 auto;
  min-height: 38px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  background: var(--surface);
  font-weight: 800;
  cursor: pointer;
}

.filter-strip button.active {
  color: white;
  border-color: var(--gold);
  background: var(--gold);
}

.wide-module-card {
  display: grid;
  gap: 14px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
}

.module-link-card {
  color: inherit;
  text-decoration: none;
}

.wide-module-card .module-thumb {
  min-height: 156px;
}

.wide-module-info {
  padding: 2px 4px 6px;
}

.module-category {
  margin: 0 0 5px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.wide-module-info h3 {
  font-size: 19px;
}

.wide-module-info p:not(.module-category) {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.mini-progress {
  height: 8px;
  margin-top: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: #edf0f4;
}

.mini-progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--gold);
}

.lesson-list {
  display: grid;
  gap: 12px;
}

.lesson-item {
  display: grid;
  grid-template-columns: 58px 1fr 22px;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
}

.lesson-item img {
  width: 58px;
  height: 58px;
  border-radius: 15px;
}

.lesson-item h3 {
  font-size: 15px;
  line-height: 1.25;
}

.lesson-item p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.lesson-item .module-meta {
  justify-content: flex-start;
  gap: 10px;
  margin-top: 8px;
}

.lesson-item .module-meta strong {
  padding: 3px 8px;
}

.lesson-item > a {
  color: var(--navy);
  font-size: 28px;
  line-height: 1;
  text-align: right;
  text-decoration: none;
}

.lesson-item > a::after {
  content: none;
}

.detail-hero {
  margin-top: 24px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
}

.detail-hero .module-thumb {
  min-height: 190px;
}

.detail-hero-info {
  padding: 14px 6px 6px;
}

.detail-hero-info p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.material-list {
  display: grid;
  gap: 12px;
}

.material-item {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
}

.material-item span {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  color: var(--navy);
  background: var(--gold-soft);
  font-size: 13px;
  font-weight: 900;
}

.material-item h3 {
  font-size: 15px;
}

.material-item p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

/* =====================
   TEST
   ===================== */
.test-status {
  margin-top: 24px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
}

.test-status div:first-child {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
}

.test-status span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.test-status strong {
  color: var(--navy);
  font-size: 18px;
}

.question-card {
  margin-top: 22px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
}

.question-card h2 {
  margin-top: 8px;
  font-size: 20px;
  line-height: 1.35;
}

.answer-list {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.answer-option {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  align-items: center;
  min-height: 58px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
}

.answer-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.answer-option span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  color: var(--navy);
  background: #f1f4f8;
  font-size: 13px;
  font-weight: 900;
}

.answer-option strong {
  min-width: 0;
  font-size: 14px;
  line-height: 1.35;
}

.answer-option.selected {
  border-color: var(--gold);
  background: var(--gold-soft);
  box-shadow: 0 10px 24px rgba(221, 179, 58, 0.14);
}

.answer-option.selected span {
  color: white;
  background: var(--gold);
}

.test-note {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 12px;
  align-items: center;
  margin-top: 18px;
  padding: 14px;
  border-radius: 14px;
  background: #edf7f6;
}

.note-icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 12px;
  color: var(--teal);
  background: white;
}

.test-note svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.test-note h2 {
  font-size: 15px;
}

.test-note p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.primary-action {
  width: 100%;
  min-height: 52px;
  margin-top: 24px;
  border: 0;
  border-radius: 12px;
  color: var(--navy);
  background: var(--gold);
  font-size: 15px;
  font-weight: 900;
  box-shadow: 0 14px 28px rgba(221, 179, 58, 0.24);
  cursor: pointer;
}

.test-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.test-card {
  display: grid;
  min-height: 176px;
  padding: 16px 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  color: var(--ink);
  text-align: center;
  text-decoration: none;
}

.test-icon {
  display: grid;
  width: 62px;
  height: 62px;
  margin: 0 auto 12px;
  place-items: center;
  border-radius: 18px;
  color: white;
  font-size: 18px;
  font-weight: 900;
}

.test-icon.math {
  background: linear-gradient(135deg, var(--navy), var(--teal));
}

.test-icon.language {
  background: linear-gradient(135deg, #8a6a05, var(--gold));
}

.test-icon.front-office {
  background: linear-gradient(135deg, var(--navy), #0f4c81);
}

.test-icon.housekeeping {
  background: linear-gradient(135deg, var(--teal), #69a99f);
}

.test-card h3 {
  font-size: 16px;
  line-height: 1.25;
}

.test-card p {
  margin: 4px 0 10px;
  color: var(--muted);
  font-size: 12px;
}

.test-card strong {
  align-self: end;
  padding: 7px 10px;
  border-radius: 999px;
  color: #8a6a05;
  background: var(--gold-soft);
  font-size: 12px;
}

/* =====================
   PROFILE
   ===================== */
.profile-card {
  position: relative;
  overflow: hidden;
  margin-top: 24px;
  padding: 20px 18px 16px;
  border-radius: 18px;
  color: white;
  background: linear-gradient(135deg, rgba(6, 42, 79, 0.98), rgba(10, 56, 103, 0.96) 50%, rgba(32, 124, 114, 0.95));
  box-shadow: var(--shadow);
}

.profile-card::after {
  content: "";
  position: absolute;
  right: -28px;
  bottom: -34px;
  width: 150px;
  height: 150px;
  border: 24px solid rgba(255, 255, 255, 0.08);
  border-radius: 36px;
  transform: rotate(18deg);
}

.profile-card::before {
  content: "";
  position: absolute;
  top: -34px;
  left: -42px;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: rgba(221, 179, 58, 0.2);
}

.profile-main {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 16px;
  align-items: center;
}

.profile-avatar {
  display: grid;
  width: 88px;
  height: 88px;
  place-items: center;
  border: 4px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
  color: var(--navy);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(217, 237, 240, 0.95));
  background-size: cover;
  font-size: 28px;
  font-weight: 900;
}

.profile-card h2 {
  margin-top: 7px;
  font-size: 23px;
  line-height: 1.1;
}

.profile-card p {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
}

.profile-badge {
  display: inline-flex;
  width: fit-content;
  padding: 7px 12px;
  border-radius: 999px;
  color: var(--navy);
  background: var(--gold);
  font-size: 12px;
  font-weight: 900;
}

.profile-subline {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 14px;
}

.profile-subline div {
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.profile-subline span {
  display: block;
  color: rgba(255, 255, 255, 0.68);
  font-size: 11px;
  font-weight: 800;
}

.profile-subline strong {
  display: block;
  margin-top: 3px;
  color: white;
  font-size: 13px;
}

.profile-progress {
  position: relative;
  z-index: 1;
  margin-top: 12px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
}

.profile-progress > div:first-child {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.profile-progress span {
  color: rgba(255, 255, 255, 0.74);
  font-size: 12px;
  font-weight: 800;
}

.profile-progress strong {
  color: white;
  font-size: 13px;
}

.profile-progress .progress-line {
  height: 10px;
  margin: 12px 0 0;
}

.profile-stats {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 10px;
}

.profile-stats div {
  padding: 12px 6px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.12);
  text-align: center;
}

.profile-stats span {
  display: block;
  color: white;
  font-size: 20px;
  font-weight: 900;
}

.profile-stats p {
  margin: 3px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 11px;
  font-weight: 800;
}

.profile-target {
  display: grid;
  grid-template-columns: 1fr 82px;
  gap: 14px;
  align-items: center;
  margin-top: 16px;
  padding: 18px;
  border: 1px solid rgba(221, 179, 58, 0.32);
  border-radius: 16px;
  background: linear-gradient(135deg, #fffaf0, #ffffff 58%, #edf7f6);
  box-shadow: 0 14px 32px rgba(6, 42, 79, 0.07);
}

.profile-target h2 {
  font-size: 18px;
  line-height: 1.25;
}

.profile-target p:not(.module-category) {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.profile-target a {
  display: grid;
  min-height: 42px;
  place-items: center;
  border-radius: 10px;
  color: var(--navy);
  background: var(--gold);
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
}

.activity-list {
  display: grid;
  gap: 12px;
}

.activity-list article {
  display: grid;
  grid-template-columns: 12px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: 0 10px 24px rgba(6, 42, 79, 0.05);
}

.activity-mark {
  width: 10px;
  height: 46px;
  border-radius: 999px;
}

.activity-mark.done { background: var(--gold); }
.activity-mark.progress { background: var(--teal); }

.activity-list h3 { font-size: 15px; }

.activity-list p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.activity-list strong {
  padding: 7px 10px;
  border-radius: 999px;
  color: var(--navy);
  background: #edf7f6;
  font-size: 12px;
}

.profile-menu {
  display: grid;
  overflow: hidden;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: 0 14px 32px rgba(6, 42, 79, 0.06);
}

.profile-menu a {
  display: grid;
  grid-template-columns: 44px 1fr 18px;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  color: var(--ink);
  background: var(--surface);
  text-decoration: none;
}

.profile-menu a::after {
  content: none;
}

.profile-menu a:last-child { border-bottom: 0; }

.menu-icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 12px;
  color: var(--navy);
  background: var(--gold-soft);
}

.profile-menu svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.profile-menu h3 { font-size: 15px; }

.profile-menu p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.profile-menu strong {
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border-radius: 50%;
  color: var(--navy);
  background: #f1f4f8;
  font-size: 18px;
}

.profile-menu .danger-link h3,
.profile-menu .danger-link .menu-icon { color: #b4322a; }

.profile-menu .danger-link .menu-icon { background: #fff0ee; }

.profile-page .content-section:last-of-type { margin-bottom: 2px; }

/* =====================
   RESPONSIVE
   ===================== */
@media (min-width: 720px) {
  body {
    display: grid;
    place-items: start center;
    padding: 24px 0 40px;
  }

  .simuloka-header {
    width: min(100%, 920px);
    border-radius: 28px 28px 0 0;
  }

  .main-content {
    width: min(100%, 920px);
    padding: 8px 24px 120px;
    border: 1px solid var(--line);
    border-left: 1px solid var(--line);
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    border-radius: 0 0 28px 28px;
    box-shadow: var(--shadow);
  }

  
  .app-shell {
    width: min(100%, 920px);
    border: 1px solid var(--line);
    border-radius: 0 0 28px 28px;
    box-shadow: var(--shadow);
  }

  .bottom-nav {
    width: min(100%, 920px);
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    border-radius: 0 0 28px 28px;
  }

  .category-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .module-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .continue-panel {
    align-items: center;
    padding: 20px 22px;
  }

  .page-header h1 { font-size: 28px; }

  .module-page .module-summary,
  .test-page .module-summary {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .test-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .profile-card { padding: 22px; }

  .profile-main {
    grid-template-columns: 96px 1fr;
  }

  .profile-avatar {
    width: 96px;
    height: 96px;
  }

  .profile-progress { margin-top: 14px; }

  .activity-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}