:root {
  --bg-image: url('https://blog.attaqwahmd.com/wp-content/uploads/2025/08/Back-hijau-1.jpg');
  --accent: #12c48b;
  --accent-2: #0ea374;
  --accent-click: #ffcc00;
  --text: #ffffff;
  --max-width: 600px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg-image) center/cover no-repeat fixed;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px 15px;
}

.container {
  background: rgba(2, 33, 24, 0.45);
  border-radius: 24px;
  padding: 30px 20px;
  max-width: var(--max-width);
  width: 100%;
  box-shadow: 0 20px 50px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.1);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  opacity: 0;
  transform: translateY(30px);
  animation: fadeSlide 0.8s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
  text-align: center;
}

@keyframes fadeSlide {
  to { opacity: 1; transform: translateY(0); }
}

.header-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
  text-align: left;
}

.header-left {
  display: flex;
  flex-direction: column;
}

.logo {
  width: 90px;
  height: 90px;
  background: url('icons/icon-512x512.png') center/contain no-repeat;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 20px rgba(18, 196, 139, 0.3);
  flex-shrink: 0; /* Mencegah logo mengecil saat layar sempit */
  animation: float 4s infinite ease-in-out, fadeSlide 1s ease-out forwards;
}

@keyframes float {
  0%, 100% { transform: translateY(0); box-shadow: 0 0 20px rgba(18, 196, 139, 0.3); }
  50% { transform: translateY(-6px); box-shadow: 0 10px 25px rgba(18, 196, 139, 0.5); }
}

h1 {
  font-size: 20px;
  color: var(--text);
  margin-bottom: 5px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.datetime-container {
  color: var(--text);
}

.clock {
  font-size: 25px;
  font-weight: 300;
  letter-spacing: 2px;
  color: #ffffff;
  line-height: 1.2;
  text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.date {
  font-size: 10px;
  color: #a3e9d2;
  font-weight: 400;
  margin-top: 2px;
  letter-spacing: 0.5px;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.menu-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 14px 12px;
  background: rgba(255,255,255,0.06);
  border-radius: 14px;
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  border: 1px solid rgba(255,255,255,0.08);
  opacity: 0;
  transform: translateY(20px);
  animation: fadeSlideBtn 0.6s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
}

@keyframes fadeSlideBtn {
  to { opacity: 1; transform: translateY(0); }
}

.menu-btn:hover {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
  border-color: rgba(255,255,255,0.2);
}

.menu-btn:active {
  background: var(--accent-click);
  color: #000;
  transform: scale(0.97);
}

.foot {
  text-align: center;
  font-size: 10px;
  color: #a0b3ad;
  margin-top: 25px;
  letter-spacing: 0.5px;
}

/* ======================= BOTTOM NAVIGATION ======================= */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 600px;
    height: var(--bottom-height);
    display: flex;
    justify-content: space-around;
    align-items: center;
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(25px);
    border-top: 1px solid rgba(255, 255, 255, 0.35);
    z-index: 999;
}

.bottom-nav a {
    text-decoration: none;
    color: #7d7d7d;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    transition: 0.25s;
}

.bottom-nav a i {
    font-size: 22px;
}

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