:root {
  --bg-main: #FBF6E9;
  --card-bg: #FFFFFF;
  --box-bg: #F1ECDD;
  --border-color: #111111;
  --text-dark: #111111;
  --text-muted: #4a4a4a;
  --primary-blue: #FF3D2E;
  --primary-blue-hover: #D9291C;
  --accent-yellow: #FFE347;
  --accent-pink: #FF5DA2;
  --accent-green: #00D084;
  --glitch-cyan: #00E5FF;
  --glitch-pink: #FF2EC4;
  --dot-color: rgba(17, 17, 17, 0.16);
  --badge-blue-bg: var(--accent-yellow);
  --badge-blue-text: #111111;
  --badge-green-bg: var(--accent-green);
  --badge-green-text: #111111;
  --badge-purple-bg: var(--accent-pink);
  --badge-purple-text: #111111;
  --btn-social-bg: #FFFFFF;
  --overlay-bg: rgba(17, 17, 17, 0.6);
  --sheet-bg: #FFFFFF;
  --shadow-color: #111111;
  --profile-card-overlay: rgba(255, 255, 255, 0.9);
}

body.dark-mode {
  --bg-main: #121212;
  --card-bg: #1b1b1b;
  --box-bg: #262626;
  --border-color: #F5F4EC;
  --text-dark: #F5F4EC;
  --text-muted: #b7b7b7;
  --badge-blue-bg: var(--accent-yellow);
  --badge-blue-text: #111111;
  --badge-green-bg: var(--accent-green);
  --badge-green-text: #111111;
  --badge-purple-bg: var(--accent-pink);
  --badge-purple-text: #111111;
  --btn-social-bg: #1b1b1b;
  --overlay-bg: rgba(0, 0, 0, 0.75);
  --sheet-bg: #1b1b1b;
  --shadow-color: #F5F4EC;
  --profile-card-overlay: rgba(18, 18, 18, 0.88);
  --dot-color: rgba(245, 244, 236, 0.14);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Space Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  transition: background-color 0.15s, color 0.15s, border-color 0.15s, transform 0.15s, box-shadow 0.15s;
}

body {
  background-color: var(--bg-main);
  background-image: radial-gradient(var(--dot-color) 2.5px, transparent 2.5px);
  background-size: 22px 22px;
  color: var(--text-dark);
  display: flex;
  justify-content: center;
  padding: 16px;
  min-height: 100vh;
}

.wrapper {
  width: 100%;
  max-width: 800px;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--card-bg);
  padding: 14px 20px;
  border-radius: 0;
  border: 3px solid var(--border-color);
  box-shadow: 6px 6px 0 var(--shadow-color);
  margin-bottom: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  user-select: none;
}

.brand-avatar {
  width: 40px;
  height: 40px;
  border-radius: 0;
  border: 2.5px solid var(--border-color);
  object-fit: cover;
  cursor: pointer;
  transition: transform 0.15s;
}

.brand-avatar:hover {
  transform: translate(-2px, -2px);
}

.brand-title {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: "Archivo Black", Impact, sans-serif;
  font-size: clamp(0.92rem, 4vw, 1.12rem);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 1;
  text-transform: uppercase;
  color: var(--text-dark);
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
  transform: none;
  white-space: nowrap;
}

.verified-badge {
  color: #1d9bf0;
  font-size: 0.88em;
  flex: 0 0 auto;
  filter: drop-shadow(1px 1px 0 var(--shadow-color));
}

.theme-btn {
  background: var(--accent-yellow);
  border: 2.5px solid var(--border-color);
  color: #111111;
  width: 40px;
  height: 40px;
  border-radius: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  box-shadow: 3px 3px 0 var(--shadow-color);
}

.theme-btn:active {
  transform: translate(3px, 3px);
  box-shadow: 0 0 0 var(--shadow-color);
}

.hero-banner {
  position: relative;
  width: 100%;
  aspect-ratio: 21 / 9;
  min-height: 130px;
  max-height: 170px;
  background-image: url('https://u.pone.rs/jygewdbu.jpg');
  background-size: cover;
  background-position: center;
  border-radius: 0;
  border: 3px solid var(--border-color);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-bottom: 20px;
  box-shadow: 6px 6px 0 var(--shadow-color);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(251, 246, 233, 0.86);
}

body.dark-mode .hero-overlay {
  background: rgba(18, 18, 18, 0.86);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 12px 16px;
}

.hero-banner h1 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0 6px;
  padding: 5px;
  font-family: "Archivo Black", Impact, sans-serif;
  font-size: clamp(1.35rem, 5vw, 2rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.045em;
  text-transform: uppercase;
}

.hero-banner h1 span {
  display: inline-block;
  padding: 7px 11px 8px;
  border: 3px solid var(--border-color);
  box-shadow: 5px 5px 0 var(--shadow-color);
}

.hero-banner h1 .title-main {
  background: var(--accent-yellow);
  color: #111111;
  transform: rotate(-1deg);
}

.hero-banner h1 .title-accent {
  background: var(--accent-pink);
  color: #111111;
  transform: rotate(1deg);
}

.hero-banner h1 span::selection {
  background: #111111;
  color: #ffffff;
}

.subtitle {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  border-radius: 0;
  border: 2px solid var(--border-color);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  box-shadow: 2px 2px 0 var(--shadow-color);
}

.badge-pill.blue { background-color: var(--badge-blue-bg); color: var(--badge-blue-text); }
.badge-pill.green { background-color: var(--badge-green-bg); color: var(--badge-green-text); }

.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.stat-card {
  background: var(--card-bg);
  border: 3px solid var(--border-color);
  padding: 12px 8px;
  border-radius: 0;
  text-align: center;
  box-shadow: 4px 4px 0 var(--shadow-color);
}

.stat-badge {
  font-size: 0.65rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 0;
  border: 1.5px solid var(--border-color);
  display: inline-block;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.stat-badge.blue { background: var(--badge-blue-bg); color: var(--badge-blue-text); }
.stat-badge.green { background: var(--badge-green-bg); color: var(--badge-green-text); }
.stat-badge.purple { background: var(--badge-purple-bg); color: var(--badge-purple-text); }

.stat-value {
  font-weight: 700;
  font-size: 0.85rem;
  white-space: nowrap;
}

.content-card {
  background: var(--card-bg);
  border: 3px solid var(--border-color);
  border-radius: 0;
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: 8px 8px 0 var(--shadow-color);
}

.card-title {
  text-align: center;
  margin-bottom: 20px;
}

.card-title h2 {
  font-size: 1.35rem;
  margin-top: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

.card-title p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.qris-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 20px;
}

.qris-frame {
  background: #ffffff;
  border: 3px solid var(--border-color);
  padding: 12px;
  border-radius: 0;
  margin-bottom: 16px;
  box-shadow: 5px 5px 0 var(--shadow-color);
}

.qris-frame img {
  width: 100%;
  max-width: 280px;
  border-radius: 0;
  display: block;
}

.btn-action {
  width: 100%;
  max-width: 320px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 13px;
  border-radius: 0;
  border: 2.5px solid var(--border-color);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 4px 4px 0 var(--shadow-color);
}

.btn-action.primary {
  background-color: var(--primary-blue);
  color: #ffffff;
}

.btn-action.primary:hover {
  background-color: var(--primary-blue-hover);
}

.btn-action:active {
  transform: translate(4px, 4px);
  box-shadow: 0 0 0 var(--shadow-color);
}

.instructions-box {
  background: var(--box-bg);
  border: 2.5px solid var(--border-color);
  border-radius: 0;
  padding: 16px;
}

.instructions-box h3 {
  font-size: 0.9rem;
  color: var(--primary-blue);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
  text-transform: uppercase;
  font-weight: 700;
}

.instructions-box ol {
  padding-left: 20px;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.instructions-box strong {
  color: var(--text-dark);
}

.site-footer {
  background: var(--card-bg);
  border: 3px solid var(--border-color);
  border-radius: 0;
  padding: 22px 20px;
  text-align: center;
  box-shadow: 6px 6px 0 var(--shadow-color);
}

.footer-profile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  cursor: pointer;
  padding: 8px 16px;
  border-radius: 0;
  border: 2.5px solid transparent;
}

.footer-profile:hover {
  border-color: var(--border-color);
}

.footer-avatar {
  width: 44px;
  height: 44px;
  border-radius: 0;
  object-fit: cover;
  border: 2.5px solid var(--border-color);
}

.footer-profile-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.footer-made-by {
  font-size: 0.66rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.footer-name {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--primary-blue);
  text-transform: uppercase;
}

.footer-divider {
  border: none;
  border-top: 2.5px solid var(--border-color);
  margin: 16px 0;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-socials {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.btn-social {
  background: var(--btn-social-bg);
  border: 2.5px solid var(--border-color);
  color: var(--text-dark);
  text-decoration: none;
  padding: 8px 18px;
  border-radius: 0;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 3px 3px 0 var(--shadow-color);
}

.btn-social:active {
  transform: translate(3px, 3px);
  box-shadow: 0 0 0 var(--shadow-color);
}

.copyright {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: var(--overlay-bg);
  z-index: 999;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-sheet {
  background: var(--sheet-bg);
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  border: 3px solid var(--border-color);
  border-bottom: none;
  width: 100%;
  max-width: 600px;
  height: 78vh;
  max-height: 640px;
  display: flex;
  flex-direction: column;
  padding: 8px 18px 20px 18px;
  position: relative;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: -8px -8px 0 var(--shadow-color);
  will-change: transform;
  touch-action: none;
}

.modal-overlay.active .modal-sheet {
  transform: translateY(0);
}

.sheet-drag-area {
  padding: 8px 0 12px 0;
  cursor: grab;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  touch-action: none;
}

.sheet-drag-handle {
  position: relative;
  width: 48px;
  height: 5px;
  background-color: var(--primary-blue);
  border-radius: 0;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), background-color 0.2s;
}

.sheet-drag-handle::before,
.sheet-drag-handle::after {
  content: "";
  position: absolute;
  top: 0;
  width: 26px;
  height: 5px;
  background-color: inherit;
  border-radius: 0;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.sheet-drag-handle::before {
  left: 0;
  transform-origin: left center;
}

.sheet-drag-handle::after {
  right: 0;
  transform-origin: right center;
}

.sheet-drag-handle.arrow-down::before {
  transform: rotate(18deg);
}
.sheet-drag-handle.arrow-down::after {
  transform: rotate(-18deg);
}

.sheet-drag-handle.arrow-up::before {
  transform: rotate(-18deg);
}
.sheet-drag-handle.arrow-up::after {
  transform: rotate(18deg);
}

.modal-header {
  margin-bottom: 8px;
}

.tab-buttons {
  display: flex;
  gap: 8px;
  background: var(--box-bg);
  padding: 5px;
  border-radius: 0;
  border: 2.5px solid var(--border-color);
}

.tab-btn {
  flex: 1;
  padding: 10px;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-weight: 700;
  font-size: 0.88rem;
  border-radius: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-transform: uppercase;
}

.tab-btn.active {
  background: var(--accent-yellow);
  color: #111111;
  border: 2px solid var(--border-color);
}

.modal-body {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  padding-top: 10px;
  padding-bottom: 60px;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.tab-content {
  display: none;
  width: 100%;
}

.tab-content.active {
  display: flex;
  flex-direction: column;
  flex: 1;
  animation: fadeInSmooth 0.3s ease forwards;
}

#profileTab.active {
  justify-content: center;
  align-items: center;
}

@keyframes fadeInSmooth {
  from { opacity: 0; }
  to { opacity: 1; }
}

.profile-card {
  position: relative;
  background-image: url('https://u.pone.rs/cueymbyj.jpg');
  background-size: cover;
  background-position: center;
  border: 3px solid var(--border-color);
  border-radius: 0;
  overflow: hidden;
  text-align: center;
  width: 100%;
  box-shadow: 6px 6px 0 var(--shadow-color);
}

.profile-card-overlay {
  position: absolute;
  inset: 0;
  background: var(--profile-card-overlay);
  z-index: 1;
}

.profile-card-content {
  position: relative;
  z-index: 2;
  padding: 24px 20px;
}

.profile-avatar-container {
  width: 84px;
  height: 84px;
  margin: 0 auto 12px auto;
  border-radius: 0;
  overflow: hidden;
  border: 3px solid var(--border-color);
  box-shadow: 4px 4px 0 var(--shadow-color);
}

.profile-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-name {
  font-size: 1.3rem;
  font-weight: 700;
  text-transform: uppercase;
}

.profile-role {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #111111;
  background: var(--accent-yellow);
  border: 2px solid var(--border-color);
  padding: 5px 14px;
  border-radius: 0;
  margin: 10px 0 18px 0;
  text-transform: uppercase;
}

.profile-details {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
}

.detail-item {
  display: flex;
  justify-content: space-between;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--border-color);
  font-size: 0.85rem;
}

.detail-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.detail-label { color: var(--text-muted); text-transform: uppercase; font-weight: 600; font-size: 0.75rem; }
.detail-value { font-weight: 700; color: var(--text-dark); }

.skills-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  padding-top: 4px;
}

.skill-card {
  background: var(--card-bg);
  border: 2.5px solid var(--border-color);
  border-radius: 0;
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 140px;
  box-shadow: 4px 4px 0 var(--shadow-color);
}

.skill-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--shadow-color);
}

.skill-icon-wrapper {
  width: 64px;
  height: 64px;
  border-radius: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--box-bg);
  border: 2px solid var(--border-color);
  padding: 8px;
}

.skill-icon {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.skill-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-dark);
  text-transform: uppercase;
}

.floating-footer {
  position: absolute;
  bottom: 16px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  pointer-events: none;
  z-index: 30;
}

.btn-floating-close {
  pointer-events: auto;
  background: var(--accent-yellow);
  border: 2.5px solid var(--border-color);
  color: #111111;
  padding: 10px 26px;
  border-radius: 0;
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  box-shadow: 4px 4px 0 var(--shadow-color);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
}

.btn-floating-close:active {
  transform: translate(4px, 4px);
  box-shadow: 0 0 0 var(--shadow-color);
}

.animate-fade-up {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (min-width: 768px) {
  body {
    padding: 30px 16px;
  }

  .stat-value {
    font-size: 0.95rem;
  }

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .hero-banner h1 {
    font-size: 1.7rem;
  }

  .subtitle {
    font-size: 0.88rem;
  }

  .modal-sheet {
    border-radius: 0;
    border-bottom: 3px solid var(--border-color);
    margin: auto;
    height: auto;
    max-height: 85vh;
    box-shadow: 8px 8px 0 var(--shadow-color);
  }

  .modal-overlay {
    align-items: center;
    padding: 20px;
  }
}

/* === Neo-Brutalist typography & layout polish === */
.hero-content {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.hero-banner .badge-pill {
  margin: 0;
  align-self: center;
  font-family: "Archivo Black", Impact, sans-serif;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.hero-banner h1 {
  width: 100%;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: nowrap;
  font-family: "Archivo Black", Impact, sans-serif;
  font-weight: 900;
  font-size: clamp(1.25rem, 7vw, 2rem);
  line-height: 1;
  letter-spacing: -0.055em;
  overflow: visible;
}

.hero-banner h1 span {
  position: relative;
  isolation: isolate;
  padding: 9px 12px 10px;
  border: 3px solid #111111;
  box-shadow: 5px 5px 0 #111111;
  font-family: "Archivo Black", Impact, sans-serif;
  font-weight: 900;
  text-shadow: none;
}

.hero-banner h1 span::before,
.hero-banner h1 span::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  padding: inherit;
  pointer-events: none;
  z-index: -1;
  opacity: 0.9;
}

.hero-banner h1 span::before {
  color: #00e5ff;
  transform: translate(3px, -2px);
  clip-path: inset(0 0 55% 0);
}

.hero-banner h1 span::after {
  color: #ff2ec4;
  transform: translate(-3px, 2px);
  clip-path: inset(52% 0 0 0);
}

.hero-banner h1 .title-main {
  background: #ffe347;
  color: #111111;
  transform: rotate(-1deg);
}

.hero-banner h1 .title-accent {
  background: #ff5da2;
  color: #111111;
  transform: rotate(1deg);
}

/* Keep the three information cards perfectly aligned. */
.stats-row {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}

.stat-card {
  min-width: 0;
  min-height: 98px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.stat-badge {
  white-space: nowrap;
}

.stat-value {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Theme-aware payment guide and footer attribution. */
.instructions-box h3,
.footer-made-by,
.footer-name {
  color: var(--text-dark) !important;
}

.footer-name {
  font-family: "Archivo Black", Impact, sans-serif;
  font-weight: 900;
}


@media (max-width: 520px) {
  .brand { gap: 9px; }
  .brand-avatar { width: 38px; height: 38px; }
  .brand-title { font-size: clamp(0.82rem, 4.15vw, 1rem); gap: 5px; }
  .verified-badge { font-size: 0.82em; }
}

@media (max-width: 520px) {
  .hero-banner {
    min-height: 175px;
    max-height: 190px;
  }

  .hero-content {
    gap: 9px;
  }

  .hero-banner h1 {
    gap: 7px;
    font-size: clamp(1.05rem, 7.3vw, 1.55rem);
  }

  .hero-banner h1 span {
    padding: 8px 9px 9px;
    box-shadow: 4px 4px 0 #111111;
  }

  .subtitle {
    font-weight: 600;
  }

  .content-card {
    padding: 18px 14px;
  }
}
