
:root {
  --bg: #0b0e14;
  --bg-accent: #131822;
  --panel: #121826;
  --glass: #1c2433e6;
  --text: #f4f7fe;
  --muted: #99a3b8;
  --card: #10131a;
  --ring: #2a2f3e;
  --primary: #ffffff;
  --accent: #00b0ff;
  --shadow: rgba(0, 0, 0, 0.45);
}
* { box-sizing: border-box; }
html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Segoe UI", Roboto, sans-serif;
  height: 100%;
}
body {
  background:
    linear-gradient(to bottom, var(--bg), var(--bg-accent)),
    radial-gradient(circle at top left, #1d2533 0%, transparent 60%),
    radial-gradient(circle at bottom right, #0a0d12 0%, transparent 80%);
  background-blend-mode: overlay;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem;
}
.container {
  width: 100%;
  max-width: 1080px;
  text-align: center;
}
.hero {
  background: var(--panel);
  border: 1px solid var(--ring);
  border-radius: 24px;
  padding: 3rem 2rem;
  position: relative;
  box-shadow: 0 12px 50px var(--shadow);
}
.logo {
  width: 300px;
  max-width: 80%;
  margin-bottom: 2rem;
  filter: drop-shadow(0 2px 0 rgba(0,0,0,.3));
}
h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin: 0.5rem 0;
}
p.lead {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: var(--muted);
  max-width: 60ch;
  margin: 0 auto 2rem;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 2rem;
}
.btn {
  padding: 0.85rem 1.5rem;
  font-weight: 600;
  border: 1px solid transparent;
  border-radius: 999px;
  text-decoration: none;
  color: var(--primary);
  background: linear-gradient(to right, #007cf0, #00dfd8);
  transition: all 0.3s ease;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 223, 216, 0.3);
}
.btn.secondary {
  background: transparent;
  border: 1px solid var(--ring);
  color: var(--text);
}
.countdown {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.card {
  background: var(--glass);
  border: 1px solid var(--ring);
  border-radius: 20px;
  padding: 1.5rem;
  backdrop-filter: blur(8px);
  margin-top: 2rem;
}
.count-box {
  background: var(--card);
  padding: 1rem;
  border-radius: 12px;
  min-width: 80px;
  border: 1px solid var(--ring);
}
.count-box .num {
  font-size: 1.8rem;
  font-weight: bold;
}
.count-box .lbl {
  font-size: 0.8rem;
  color: var(--muted);
}
.footer {
  margin-top: 2rem;
  font-size: 0.85rem;
  color: var(--muted);
}
/* Admin Panel Styles */
.admin-panel {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(11, 14, 20, 0.95);
  backdrop-filter: blur(10px);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  animation: fadeIn 0.3s ease;
}

.admin-panel.active {
  display: flex;
}

.admin-content {
  background: var(--panel);
  border: 1px solid var(--ring);
  border-radius: 20px;
  padding: 2rem;
  max-width: 400px;
  width: 90%;
  box-shadow: 0 20px 60px var(--shadow);
  animation: slideUp 0.3s ease;
}

.admin-content h3 {
  margin: 0 0 1.5rem 0;
  color: var(--text);
  text-align: center;
  font-size: 1.5rem;
}

.date-input-group {
  margin-bottom: 1.5rem;
}

.date-input-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--text);
  font-weight: 500;
}

.date-input {
  width: 100%;
  padding: 0.75rem;
  background: var(--card);
  border: 1px solid var(--ring);
  border-radius: 8px;
  color: var(--text);
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.date-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(0, 176, 255, 0.2);
}

.date-input::-webkit-calendar-picker-indicator {
  filter: invert(1);
  cursor: pointer;
}

.admin-actions {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.btn-admin {
  flex: 1;
  padding: 0.75rem 1rem;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.btn-save {
  background: linear-gradient(to right, #007cf0, #00dfd8);
  color: var(--primary);
}

.btn-save:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 223, 216, 0.3);
}

.btn-cancel {
  background: var(--card);
  border: 1px solid var(--ring);
  color: var(--text);
}

.btn-cancel:hover {
  background: var(--ring);
  transform: translateY(-2px);
}

.btn-reset {
  background: transparent;
  border: 1px solid var(--accent);
  color: var(--accent);
}

.btn-reset:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 176, 255, 0.25);
  background: rgba(0, 176, 255, 0.1);
}

.admin-help {
  text-align: center;
  color: var(--muted);
}

.admin-help small {
  font-size: 0.8rem;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from { 
    opacity: 0;
    transform: translateY(30px);
  }
  to { 
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 500px) {
  .hero { padding: 2rem 1rem; }
  .actions { flex-direction: column; }
  .admin-content {
    padding: 1.5rem;
    margin: 1rem;
  }
  .admin-actions {
    flex-direction: column;
  }
}
