:root {
  --primary-color: #1a73e8;
  --secondary-color: #f8fafc;
  --text-main: #0f172a;
  --text-muted: #64748b;
  --bg-global: #ffffff; /* Mengubah background menjadi putih murni */
  --accent-color: #3b82f6;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 8px;
  --transition-fast: 0.2s ease;
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.08);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: 'Montserrat', sans-serif;
  background-color: var(--bg-global);
  color: var(--text-main);
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
}

/* --- Hero Cover --- */
.hero-cover {
  width: 100%;
  max-width: 600px;
  height: 250px;
  background-image: url('images/cover.jpg');
  background-size: cover;
  background-position: center;
  position: relative;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
}

.hero-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 60px 20px 20px;
  /* Gradasi putih dari bawah ke atas */
  background: linear-gradient(to top, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.6) 40%, transparent 100%);
  display: flex;
  justify-content: center;
  align-items: center;
}

.profile-meta {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.profile-title-wrapper {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
}

.profile-name {
  font-size: 26px;
  font-weight: 800;
  color: #0f172a; /* Warna gelap agar kontras dengan putih */
  letter-spacing: -0.5px;
}

.verified-badge {
  color: #3b82f6;
  font-size: 18px;
}

/* --- Navbar --- */
.profile-navbar {
  position: sticky;
  top: 0;
  width: 100%;
  max-width: 600px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 100;
  padding: 12px 20px;
  border-bottom: 1px solid #f1f5f9;
  display: none; /* Hidden by default, shown by JS */
  box-shadow: var(--shadow-sm);
}

.profile-navbar.visible {
  display: block;
  animation: slideDown 0.3s ease;
}

.navbar-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.profile-name-nav {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-main);
}

@keyframes slideDown {
  from { transform: translateY(-100%); }
  to { transform: translateY(0); }
}

/* --- Container (Tanpa Kotak/Container) --- */
.container {
  width: 100%;
  max-width: 600px;
  padding: 0 20px 40px;
  margin-top: 10px;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

/* --- Badge & Subtext --- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #f1f5f9;
  color: var(--primary-color);
  padding: 8px 16px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 16px;
  margin-top: 10px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--primary-color);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(26, 115, 232, 0.4); }
  70% { box-shadow: 0 0 0 6px rgba(26, 115, 232, 0); }
  100% { box-shadow: 0 0 0 0 rgba(26, 115, 232, 0); }
}

.subtext {
  text-align: center;
  color: var(--text-muted);
  font-size: 15px;
  margin-bottom: 24px;
  max-width: 90%;
}

/* --- CTA Buttons --- */
.cta-wrapper {
  width: 100%;
  margin-bottom: 30px;
}

.cta-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 16px 24px;
  border-radius: var(--radius-lg);
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.primary-cta {
  background: var(--primary-color);
  color: white;
  box-shadow: 0 8px 20px rgba(26, 115, 232, 0.3);
}

.primary-cta:hover {
  background: #1557b0;
  transform: translateY(-2px);
}

/* --- Images --- */
.image-container {
  width: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 30px;
  box-shadow: var(--shadow-sm);
}

.promo-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* =========================================
   HOW TO PARTICIPATE SECTION (NEW DESIGN)
   ========================================= */
.steps-section {
  width: 100vw;
  max-width: 600px; /* Menyeleraskan dengan max-width body */
  background: #f0f6ff; /* Latar belakang biru sangat muda */
  border-radius: 30px;
  padding: 40px 20px;
  margin: 10px 0 30px;
  box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.5);
}

.steps-header {
  text-align: center;
  margin-bottom: 30px;
}

.steps-title {
  font-size: clamp(32px, 8vw, 40px);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 8px;
}

.steps-subtitle {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: #64748b;
  text-transform: uppercase;
}

.steps-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.step-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 40, 100, 0.04);
}

/* Segitiga biru di sudut kanan bawah */
.step-corner {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 45px;
  height: 45px;
  background-color: #3b82f6;
  transform: rotate(45deg);
  border-radius: 4px;
}

.step-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 45px;
  z-index: 2; /* Di atas elemen lain */
}

.step-num {
  background: #3b82f6;
  color: white;
  font-weight: 700;
  font-size: 14px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.step-icon {
  font-size: 20px;
  color: #60a5fa; /* Biru muda */
}

.step-divider {
  width: 1px;
  height: 50px;
  background: #e2e8f0;
  margin: 0 20px;
  z-index: 2;
}

.step-right {
  flex: 1;
  z-index: 2;
}

.step-text {
  font-size: 15px;
  color: #1e293b; /* Warna teks gelap sesuai gambar */
  font-weight: 500;
  line-height: 1.5;
}

/* --- Footer --- */
.site-footer {
  text-align: center;
  padding: 20px 0;
  color: #94a3b8;
  font-size: 13px;
  width: 100%;
}