:root {
  --bg-color: #000000;
  --text-color: #ffffff;
  --gold-primary: #D4AF37;
  --gold-secondary: #AA8C2C;
  --gold-gradient: linear-gradient(135deg, #FFD700, #D4AF37, #AA8C2C, #FFD700);
  --bubble-color: rgba(212, 175, 55, 0.2);
}

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

html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  /* Prevent scroll */
  touch-action: none;
  /* Prevent touch gestures like scroll/zoom */
}

body {
  font-family: 'Montserrat', sans-serif;
  background: radial-gradient(circle at center, #1a1a1a 0%, #000000 100%);
  color: var(--text-color);
  height: 100dvh;
  /* Dynamic viewport height for mobile */
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  overscroll-behavior: none;
  /* Prevent bounce effect */
}

#bubbles-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  perspective: 1000px;
  /* For 3D feel */
}

.bubble {
  position: absolute;
  bottom: -50px;
  background: radial-gradient(circle at 30% 30%, rgba(255, 215, 0, 0.8), rgba(212, 175, 55, 0.1));
  border-radius: 50%;
  opacity: 0;
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
  animation: rise linear forwards;
  will-change: transform, opacity;
}

@keyframes rise {
  0% {
    transform: translateY(0) scale(1);
    opacity: 0;
  }

  10% {
    opacity: 0.6;
  }

  90% {
    opacity: 0.6;
  }

  100% {
    transform: translateY(-120vh) scale(1.2);
    opacity: 0;
  }
}

.content {
  text-align: center;
  z-index: 10;
  position: relative;
  mix-blend-mode: overlay;
  /* Blends text with background for a richer look, might need adjustment */
  mix-blend-mode: normal;
}

.subtitle {
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 5px;
  margin-bottom: 15px;
  font-weight: 300;
  color: var(--gold-primary);
  text-shadow: 0 0 5px rgba(212, 175, 55, 0.5);
}

.welcome-text {
  font-family: 'Cinzel', serif;
  font-size: 4rem;
  font-weight: 700;
  letter-spacing: 8px;
  margin-bottom: 15px;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shine 3s infinite linear;
  background-size: 200% auto;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}

.title {
  font-family: 'Cinzel', serif;
  font-size: 6rem;
  font-weight: 700;
  letter-spacing: 4px;
  margin-bottom: 30px;
  line-height: 1;
  text-transform: uppercase;
  color: #ffffff;
  text-shadow:
    0 1px 0 #ccc,
    0 2px 0 #c9c9c9,
    0 3px 0 #bbb,
    0 4px 0 #b9b9b9,
    0 5px 0 #aaa,
    0 6px 1px rgba(0, 0, 0, .1),
    0 0 5px rgba(0, 0, 0, .1),
    0 1px 3px rgba(0, 0, 0, .3),
    0 3px 5px rgba(0, 0, 0, .2),
    0 5px 10px rgba(0, 0, 0, .25);
}

.title .lighter {
  font-family: 'Montserrat', sans-serif;
  /* Keep subtitle cleaner */
  font-weight: 300;
  display: block;
  font-size: 2.5rem;
  color: #e0e0e0;
  text-shadow: none;
  margin-top: 10px;
  letter-spacing: 6px;
}

.date {
  font-size: 1.2rem;
  margin-bottom: 50px;
  letter-spacing: 4px;
  color: #888;
}

.buttons-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.enter-btn {
  display: inline-block;
  padding: 18px 50px;
  border: 1px solid var(--gold-primary);
  color: var(--gold-primary);
  text-decoration: none;
  font-size: 1.1rem;
  letter-spacing: 4px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border-radius: 30px;
  /* More rounded */
  background: rgba(0, 0, 0, 0.5);
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.1);
}

.enter-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.2), transparent);
  transition: 0.5s;
}

.enter-btn:hover {
  background: var(--gold-primary);
  color: #000;
  box-shadow: 0 0 30px rgba(212, 175, 55, 0.6);
  transform: scale(1.05);
}

.enter-btn:hover::before {
  left: 100%;
}

.corner-text {
  position: absolute;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  opacity: 0.5;
  z-index: 5;
  color: var(--gold-secondary);
}

.top-left {
  top: 40px;
  left: 40px;
}

.top-right {
  top: 40px;
  right: 40px;
}

.bottom-left {
  bottom: 40px;
  left: 40px;
}

.bottom-right {
  bottom: 40px;
  right: 40px;
}

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

@media (max-width: 768px) {
  .title {
    font-size: 3rem;
  }

  .welcome-text {
    font-size: 2rem;
  }

  .title .lighter {
    font-size: 1.5rem;
  }

  .corner-text {
    display: none;
  }
}