/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background: linear-gradient(135deg, #111111, #1c1c1c);
  color: white;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.app {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* Header */
.header {
  background-color: #000;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-icon {
  width: 32px;
  height: 32px;
  background: #ff4081;
  border-radius: 50%;
  /* display: flex; */
  display: grid;
  place-items: center;

  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1rem;
}

.logo-icon img {
  width: 24px;
  height: 24px;
  border-radius: 50%;
}

.logo h1 {
  font-size: 1.2rem;
  font-weight: bold;
}

.menu-toggle {
  display: none;
  background: transparent;
  color: white;
  font-size: 1.5rem;
  border: none;
  cursor: pointer;
}

.nav {
  display: flex;
  gap: 1.2rem;
}

.nav a {
  text-decoration: none;
  color: white;
  transition: color 0.3s ease;
  font-size: 0.95rem;
}

.nav a:hover {
  color: #ff4081;
}

/* Responsive Nav */
@media (max-width: 768px) {
  .nav {
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: #000;
    flex-direction: column;
    display: none;
    padding: 1rem 0;
  }

  .nav.active {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }
}

/* Main Content - Centered */
.main {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center; /* Memusatkan vertikal */
  padding: 2rem 1rem;
  max-width: 100%;
  margin: 0 auto;
}

/* Date Section */
.date-section {
  text-align: center;
  margin-bottom: 2rem;
}

.date-section h2 {
  font-size: 1.2rem;
  font-weight: normal;
}

/* Prize Container - Centered */
.prize-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin: 0 auto;
  max-width: 100%;
}

/* Prize Row - Label + Digit */
.prize-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  flex-wrap: nowrap;
}

/* Label seperti 1st Prize, 2nd Prize */
.prize-label {
  min-width: 90px;
  font-size: 1rem;
  font-weight: 500;
  color: #ccc;
  text-align: right;
  flex-shrink: 0;
}

/* Digit Bola 3D Bulat */
.flip-clock {
  display: flex;
  gap: 0.3rem;
  flex-grow: 1;
  justify-content: center;
}

.flip-unit {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #ffffff10, #000000);
  box-shadow: 
    inset 0 0 5px rgba(255, 255, 255, 0.05),
    0 2px 6px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: bold;
  color: #fff;
  position: relative;
  overflow: hidden;
}

/* Efek glossy di atas bola */
.flip-unit::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -25%;
  width: 50%;
  height: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
  transform: rotate(45deg);
  opacity: 0.7;
  pointer-events: none;
}

/* Advertisement Banner */
.banner {
  background-color: #222;
  color: #888;
  font-size: 1rem;
  font-weight: bold;
  text-align: center;
  padding: 1rem;
  border-radius: 8px;
  margin: 2rem auto;
  max-width: 600px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Footer */
.footer {
  background-color: #000;
  text-align: center;
  padding: 1rem 2rem;
  font-size: 0.8rem;
  color: #666;
}