


html {
  height: 100%;
  margin: 0;
  padding: 0;
  background: #d4b896;
font-family: 'Nunito', sans-serif;     
  color: #1e0f06;
  min-height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
}

body {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 100vh;
}
.stats-wrapper {
  max-width: 1000px;
  margin: 60px auto;
  padding: 20px;
}

.title {
  font-size: 2.4rem;
  font-weight: 700;
  text-align: center;
}

.subtitle {
  text-align: center;
  opacity: 0.7;
  margin-bottom: 25px;
}

.milestone-banner {
  background: linear-gradient(135deg, #fbbf24, #f97316);
  color: #181926;
  padding: 12px 18px;
  border-radius: 12px;
  margin-bottom: 20px;
  text-align: center;
  font-weight: 600;
  box-shadow: 0 0 18px rgba(251, 191, 36, 0.5);
}

.milestone-banner.hidden {
  display: none;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 16px 18px;
  backdrop-filter: blur(12px);
}

.card h3 {
  margin: 0 0 8px 0;
  font-size: 1rem;
  opacity: 0.9;
}

.value {
  font-size: 1.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

.label {
  font-size: 0.8rem;
  opacity: 0.6;
  margin-top: 4px;
}

.pulse-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 10px rgba(34, 197, 94, 0.8);
  animation: pulse 1.4s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 1; }
  70% { transform: scale(1.6); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

#deviceList li,
#osList li,
#browserList li,
#pageList li {
  display: flex;
  justify-content: space-between;
  padding: 4px 0;
  font-size: 0.9rem;
}

.item-label {
  opacity: 0.85;
}

.item-value {
  opacity: 0.8;
}

.pct {
  font-size: 0.75rem;
  opacity: 0.6;
  margin-left: 4px;
}

.events-card {
  max-height: 260px;
  overflow-y: auto;
}

#eventList li {
  font-size: 0.85rem;
  opacity: 0.8;
  padding: 3px 0;
}

.event-milestone {
  color: #fbbf24;
  font-weight: 600;
}


/* nav bar */

.nav {
  height: 64px;
  display: flex;
  align-items: center;
  background-color: #d4b896;
  padding: 1rem;
  width: 100%;
  justify-content: center;
  border-bottom: 1px solid rgba(80, 40, 10, 0.15);
}

.nav-inner {
  width: 100%;
  max-width: 1200px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #1e0f06;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
}

.nav-logo img {
  width: 52px;
  height: 52px;
  border-style: double;
  border-radius: 8px;
  border-color: #5a2e08;
  border-width: 3px;
}

.nav-links {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  flex-wrap: nowrap;
  height: 100%;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: #1e0f06;
  border-radius: 2px;
  transition: 0.3s;
}

.nav-btn {
  color: #1e0f06;
  background-color: #d4b896;
  padding: 0.5rem 1rem;
  border-radius: 7px;
  font-size: 0.95rem;
  transition: background 0.3s, transform 0.15s ease;
  border: none;
  cursor: pointer;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  box-sizing: border-box;
  font-weight: 600;
}

.nav-btn:hover {
  background-color: #bf9668;
  transform: translateY(-1px);
}

.nav-links a {
  text-decoration: none;
  font-weight: 600;
  color: #1e0f06;
}

@media (max-width: 500px) {
  .nav-links {
    position: fixed;
    top: 70px;
    right: 0;
    width: 100%;
    background-color: #d4b896;
    flex-direction: column;
    padding: 1rem 0;
    display: none;
    border-top: 1px solid rgba(80, 40, 10, 0.15);
    z-index: 9999;
  }

  .nav-links.nav-open {
    display: flex;
  }

  .nav-toggle {
    display: flex;
  }
}

/* NAVBAR END */

@media (max-width: 600px) {
  .stats-wrapper {
    margin: 20px auto;
    padding: 12px;
  }

  .title {
    font-size: 1.6rem;
    margin-bottom: 6px;
  }

  .subtitle {
    font-size: 0.85rem;
    margin-bottom: 16px;
  }

  .cards-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 16px;
  }

  .grid-2 {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 16px;
  }

  .card {
    padding: 14px 16px;
    border-radius: 12px;
  }

  .card h3 {
    font-size: 0.9rem;
    margin-bottom: 6px;
  }

  .value {
    font-size: 1.5rem;
  }

  .label {
    font-size: 0.75rem;
  }

  #deviceList li,
  #osList li,
  #browserList li,
  #pageList li {
    font-size: 0.85rem;
    padding: 5px 0;
  }

  .pct {
    font-size: 0.7rem;
  }

  .events-card {
    max-height: 200px;
  }

  #eventList li {
    font-size: 0.8rem;
    padding: 4px 0;
  }

  .milestone-banner {
    font-size: 0.9rem;
    padding: 10px 14px;
    border-radius: 10px;
    margin-bottom: 14px;
  }

  .pulse-dot {
    width: 8px;
    height: 8px;
  }


     .intro-logo {
            width: 120px;
            height: auto;
            margin-bottom: 12px;
            filter: drop-shadow(0 2px 4px rgba(0,0,0,0.15));
        }

  

    #intro-screen {
        padding: 0 20px;
        background: #f5e6d3; 
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;

        height: 100vh;
        width: 100vw;
        overflow: hidden;
    }

    .intro-content {
        transform: translateY(-10px);
    }

    .intro-logo {
        width: 90px;    
        margin-bottom: 10px;
    
    }
}