@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600;700&family=Montserrat:wght@300;400;500&display=swap');

:root {
  --bg-color: #050505;
  --text-primary: #ffffff;
  --text-secondary: #dcdcdc;
  --gold-primary: #d4af37;
  --gold-light: #f3e5ab;
  --gold-dark: #aa842c;
  --glass-bg: rgba(20, 20, 20, 0.6);
  --glass-border: rgba(212, 175, 55, 0.2);
}

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

body {
  font-family: 'Montserrat', sans-serif;
  background-color: var(--bg-color);
  color: var(--text-primary);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  position: relative;
}

/* Background Effects */
.bg-mesh {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  overflow: hidden;
  background: radial-gradient(circle at center, #111111 0%, #030303 100%);
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  opacity: 0.15;
  animation: float 25s infinite ease-in-out alternate;
}

.orb-1 {
  width: 60vw;
  height: 60vw;
  background: radial-gradient(circle, var(--gold-primary) 0%, transparent 70%);
  top: -15%;
  left: -15%;
}

.orb-2 {
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, var(--gold-dark) 0%, transparent 70%);
  bottom: -15%;
  right: -15%;
  animation-delay: -12s;
}

@keyframes float {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(3%, 4%) scale(1.05); }
  100% { transform: translate(-3%, -4%) scale(0.95); }
}

.container {
  text-align: center;
  z-index: 1;
  padding: 2rem;
  max-width: 850px;
  width: 100%;
}

.badge {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  background: transparent;
  border: 1px solid var(--gold-primary);
  border-radius: 0;
  font-size: 0.8rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 2.5rem;
  color: var(--gold-light);
  animation: fadeInDown 1.2s ease-out;
  position: relative;
}

/* Ornamental corner accents for the badge */
.badge::before, .badge::after {
  content: '';
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--gold-primary);
}
.badge::before { top: -2px; left: -2px; }
.badge::after { bottom: -2px; right: -2px; }

h1 {
  font-family: 'Cinzel', serif;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1.2rem;
  background: linear-gradient(to right, var(--gold-light), var(--gold-primary), var(--gold-light));
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: fadeInUp 1s ease-out 0.2s both, shine 4s linear infinite;
  letter-spacing: 2px;
}

@keyframes shine {
  to {
    background-position: 200% center;
  }
}

p.subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: 4rem;
  font-weight: 300;
  animation: fadeInUp 1s ease-out 0.4s both;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
  letter-spacing: 0.5px;
}

/* Timer */
.timer {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 4.5rem;
  animation: fadeInUp 1s ease-out 0.6s both;
}

.time-box {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  padding: 1.5rem 2rem;
  min-width: 140px;
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  transition: transform 0.4s ease, border-color 0.4s ease;
  position: relative;
}

/* Decorative borders for time boxes */
.time-box::before {
  content: '';
  position: absolute;
  top: 5px; left: 5px; right: 5px; bottom: 5px;
  border: 1px solid rgba(212, 175, 55, 0.1);
  pointer-events: none;
}

.time-box:hover {
  transform: translateY(-5px);
  border-color: var(--gold-primary);
}

.time-value {
  font-family: 'Cinzel', serif;
  font-size: 3.5rem;
  font-weight: 500;
  display: block;
  line-height: 1;
  margin-bottom: 0.8rem;
  color: var(--gold-light);
  font-variant-numeric: tabular-nums;
  text-shadow: 0 0 20px rgba(212, 175, 55, 0.2);
}

.time-label {
  font-size: 0.8rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 4px;
  font-weight: 400;
}

/* Notify Form */
.notify-form {
  display: flex;
  justify-content: center;
  gap: 0;
  max-width: 550px;
  margin: 0 auto;
  animation: fadeInUp 1s ease-out 0.8s both;
  background: rgba(10, 10, 10, 0.8);
  border: 1px solid var(--glass-border);
  padding: 5px;
}

.notify-form input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 1.2rem 1.8rem;
  color: #fff;
  font-family: inherit;
  font-size: 0.95rem;
  outline: none;
  letter-spacing: 0.5px;
}

.notify-form input::placeholder {
  color: #888;
}

.notify-form button {
  background: var(--gold-primary);
  color: #000;
  border: none;
  padding: 0 2.5rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.notify-form button:hover {
  background: var(--gold-light);
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

/* Responsive */
@media (max-width: 768px) {
  .timer {
    gap: 1rem;
    flex-wrap: wrap;
  }
  
  .time-box {
    min-width: calc(33.333% - 0.67rem);
    padding: 1.2rem;
  }
  
  .time-value {
    font-size: 2.2rem;
  }
  
  .notify-form {
    flex-direction: column;
    background: transparent;
    border: none;
    padding: 0;
    gap: 1rem;
  }
  
  .notify-form input {
    background: rgba(10, 10, 10, 0.8);
    border: 1px solid var(--glass-border);
  }
  
  .notify-form button {
    padding: 1.2rem;
    width: 100%;
  }
}
