/* ==========================================================================
   MINIMALIST REGISTRATION HERO - CODE HEIST HACKATHON '26
   Dedicated Clean Standalone Landing Page (No Header / No Footer / No Price)
   ========================================================================== */

/* Full Viewport Centered Container */
.reg-standalone-page {
  min-height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
  background-color: var(--bg-main);
  background: radial-gradient(circle at 50% 30%, rgba(220, 38, 38, 0.16) 0%, rgba(6, 8, 13, 0.98) 75%);
  padding: 40px 20px;
  box-sizing: border-box;
}

/* Background Cyber Grid */
.reg-bg-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 50% 50%, black 40%, transparent 85%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 50%, black 40%, transparent 85%);
  pointer-events: none;
  z-index: 0;
}

/* Ambient Pulsing Glow */
.reg-hero-glow-1 {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(700px, 90vw);
  height: min(500px, 70vh);
  background: radial-gradient(circle, rgba(220, 38, 38, 0.25) 0%, rgba(239, 68, 68, 0.06) 45%, transparent 70%);
  filter: blur(90px);
  pointer-events: none;
  z-index: 0;
  animation: pulseCenterGlow 7s ease-in-out infinite alternate;
}

@keyframes pulseCenterGlow {
  0% { transform: translate(-50%, -50%) scale(0.92); opacity: 0.75; }
  100% { transform: translate(-50%, -50%) scale(1.1); opacity: 1; }
}

/* Watermark Emblem */
.reg-watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(650px, 90vw);
  opacity: 0.035;
  pointer-events: none;
  z-index: 0;
}

/* Center Content Card */
.reg-content-box {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 820px;
  width: 100%;
  margin: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Brand Logo Tag */
.reg-brand-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  text-decoration: none;
}

.reg-brand-logo-icon {
  width: 32px;
  height: 22px;
  color: #EF4444;
}

.reg-brand-name {
  font-family: var(--font-sans);
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: #FFFFFF;
}

.reg-brand-name span {
  color: #EF4444;
}

.reg-brand-badge {
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  background: rgba(220, 38, 38, 0.18);
  border: 1px solid rgba(220, 38, 38, 0.4);
  color: #F87171;
  padding: 3px 8px;
  border-radius: 6px;
  text-transform: uppercase;
}

/* Live Badge Pill */
.reg-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(220, 38, 38, 0.12);
  border: 1px solid rgba(220, 38, 38, 0.35);
  padding: 7px 20px;
  border-radius: var(--radius-pill);
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #EF4444;
  margin-bottom: 20px;
  box-shadow: 0 0 25px rgba(220, 38, 38, 0.2);
  backdrop-filter: blur(10px);
}

.reg-live-badge .pulse-dot {
  width: 8px;
  height: 8px;
  background-color: #EF4444;
  border-radius: 50%;
  box-shadow: 0 0 10px #EF4444;
  animation: blink 1.5s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.8); }
}

/* Big Headlines */
.reg-main-title {
  font-size: clamp(2.4rem, 6.5vw, 4.5rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: #FFFFFF;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.reg-main-title .highlight-red {
  background: linear-gradient(135deg, #EF4444 0%, #DC2626 60%, #B91C1C 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.reg-tagline {
  font-size: clamp(0.95rem, 2.2vw, 1.25rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #F87171;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.reg-subtitle {
  font-size: clamp(0.9rem, 1.8vw, 1.0625rem);
  color: #94A3B8;
  max-width: 660px;
  margin: 0 auto 30px;
  line-height: 1.6;
}

.reg-subtitle strong {
  color: #F1F5F9;
}

/* ==========================================================================
   CENTERED REGISTER NOW BUTTON
   ========================================================================== */
.reg-cta-centerpiece {
  margin: 10px auto 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.reg-btn-wrapper {
  position: relative;
  display: inline-flex;
}

/* Pulsing ambient glow behind button */
.reg-btn-glow {
  position: absolute;
  inset: -6px;
  background: linear-gradient(135deg, #DC2626, #EF4444, #FF3B3B, #DC2626);
  border-radius: 9999px;
  filter: blur(16px);
  opacity: 0.85;
  z-index: 0;
  animation: rotateGlow 3.5s linear infinite;
  transition: opacity 0.3s ease, filter 0.3s ease;
}

@keyframes rotateGlow {
  0% { filter: blur(16px) hue-rotate(0deg); }
  100% { filter: blur(20px) hue-rotate(25deg); }
}

.reg-btn-wrapper:hover .reg-btn-glow {
  opacity: 1;
  filter: blur(24px);
}

/* The Primary High-Impact Button */
.reg-btn-main {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 22px 56px;
  background: linear-gradient(135deg, #DC2626 0%, #EF4444 60%, #DC2626 100%);
  color: #FFFFFF;
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 14px 40px rgba(220, 38, 38, 0.55), inset 0 1px 2px rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  text-decoration: none;
}

/* Dynamic light sweep animation */
.reg-btn-main::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.4) 50%,
    transparent 100%
  );
  transform: skewX(-25deg);
  animation: btnShine 3s infinite;
}

@keyframes btnShine {
  0%, 65% { left: -100%; }
  100% { left: 160%; }
}

.reg-btn-main:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 20px 50px rgba(220, 38, 38, 0.75), inset 0 1px 3px rgba(255, 255, 255, 0.7);
  color: #FFFFFF;
}

.reg-btn-main:active {
  transform: translateY(1px) scale(0.99);
}

.reg-btn-main .btn-icon {
  font-size: 1.5rem;
  transition: transform 0.2s ease;
}

.reg-btn-main:hover .btn-icon {
  transform: translateX(5px) scale(1.2);
}

.reg-btn-caption {
  margin-top: 14px;
  font-size: 0.8125rem;
  color: #94A3B8;
  display: flex;
  align-items: center;
  gap: 8px;
}

.reg-btn-caption strong {
  color: #FFFFFF;
}

/* ==========================================================================
   COUNTDOWN TIMER CARD
   ========================================================================== */
.reg-countdown-card {
  background: linear-gradient(145deg, rgba(15, 20, 34, 0.85), rgba(11, 15, 24, 0.95));
  border: 1px solid rgba(220, 38, 38, 0.28);
  border-radius: var(--radius-lg);
  padding: 22px 28px;
  width: 100%;
  max-width: 620px;
  margin: 0 auto 28px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), 0 0 30px rgba(220, 38, 38, 0.12);
  backdrop-filter: blur(12px);
}

.reg-countdown-header {
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #F87171;
  text-transform: uppercase;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.reg-countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.reg-cd-unit {
  background: rgba(6, 8, 13, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-sm);
  padding: 12px 6px;
  text-align: center;
}

.reg-cd-val {
  font-family: var(--font-mono);
  font-size: clamp(1.5rem, 3.5vw, 2.125rem);
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.1;
}

.reg-cd-sub {
  font-size: 0.6875rem;
  font-weight: 700;
  color: #64748B;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 4px;
}

/* Event Quick Details Pills */
.reg-quick-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 8px;
}

.reg-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(15, 20, 34, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 0.8125rem;
  color: #CBD5E1;
  backdrop-filter: blur(8px);
}

.reg-pill strong {
  color: #FFFFFF;
}

/* Back Link */
.reg-back-link {
  margin-top: 24px;
  font-size: 0.8125rem;
  color: #64748B;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s ease;
}

.reg-back-link:hover {
  color: #EF4444;
}

/* Responsive adjustments */
@media (max-width: 540px) {
  .reg-btn-main {
    padding: 18px 32px;
    font-size: 1.05rem;
    width: 100%;
  }

  .reg-btn-wrapper {
    width: 100%;
  }

  .reg-countdown-card {
    padding: 16px 14px;
  }

  .reg-countdown-grid {
    gap: 8px;
  }

  .reg-quick-pills {
    flex-direction: column;
    width: 100%;
  }

  .reg-pill {
    justify-content: center;
  }
}
