* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Poppins', sans-serif;
}

body {
  background-color: #f4f5f9;
  color: #2d3748;
  padding-bottom: 90px;
}

/* App Header Header ungu seperti di gambar */
.app-header {
  background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
  color: white;
  padding: 20px 20px 35px 20px;
  border-bottom-left-radius: 30px;
  border-bottom-right-radius: 30px;
}

.header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.profile-card {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  padding: 15px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.profile-avatar img {
  width: 50px;
  height: 50px;
  border-radius: 15px;
  background: white;
  object-fit: cover;
}

.profile-info h2 {
  font-size: 1.1rem;
  font-weight: 600;
}

.profile-info p {
  font-size: 0.75rem;
  opacity: 0.85;
}

/* Main Container Layout */
.main-container {
  padding: 0 20px;
  margin-top: -15px;
}

/* Pengumuman Card (Running Text) */
.announcement-card {
  background: white;
  padding: 10px 15px;
  border-radius: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.03);
  margin-bottom: 20px;
}

.badge {
  background: #ef4444;
  color: white;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 8px;
}

.ticker {
  font-size: 0.8rem;
  color: #4b5563;
  overflow: hidden;
  white-space: nowrap;
  width: 100%;
}

.section-header h3 {
  font-size: 1rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 12px;
}

/* App Cards Grid */
.app-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.app-card {
  background: white;
  border-radius: 20px;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 15px;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 4px 12px rgba(0,0,0,0.03);
  transition: all 0.2s ease;
  position: relative;
}

.app-card:active {
  transform: scale(0.98);
}

.card-header-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

/* Variasi Warna Card Icon sesuai UI Gambar */
.card-purple .card-header-icon {
  background: #f3e8ff;
  color: #7c3aed;
}

.card-green .card-header-icon {
  background: #dcfce7;
  color: #16a34a;
}

.card-orange .card-header-icon {
  background: #ffedd5;
  color: #ea580c;
}

.card-blue .card-header-icon {
  background: #e0f2fe;
  color: #0284c7;
}

.card-content {
  flex: 1;
}

.card-content h3 {
  font-size: 0.95rem;
  font-weight: 600;
  color: #1e293b;
}

.card-content p {
  font-size: 0.75rem;
  color: #64748b;
  margin-top: 2px;
}

.arrow-icon {
  color: #cbd5e1;
  font-size: 0.8rem;
}

/* Bottom Navigation Bar */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: white;
  display: flex;
  justify-content: space-around;
  padding: 10px 0;
  border-top-left-radius: 25px;
  border-top-right-radius: 25px;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.05);
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: #94a3b8;
  font-size: 0.7rem;
  gap: 4px;
}

.nav-item i {
  font-size: 1.2rem;
}

.nav-item.active {
  color: #7c3aed;
  font-weight: 600;
}