:root {
  --color-primary: #f20df2;
  --color-secondary: #a9ff00;
  --color-accent: #ffea00;
  --color-background-dark: #0a040a;
  --color-background-light: #f8f5f8;
  --color-surface-dark: #1a0f1a;
  --color-chicha-green: #0bda7d;
  --color-chicha-yellow: #faff00;
  --text-white: #ffffff;
  --text-slate-100: #f1f5f9;
  --text-slate-400: #94a3b8;
  --text-slate-500: #64748b;
  --font-display: 'Space Grotesk', sans-serif;
}

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

body {
  font-family: var(--font-display);
  background-color: var(--color-background-dark);
  color: var(--text-slate-100);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

.material-symbols-outlined {
  font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

/* Typography */
h1, h2, h3, h4, .font-black { font-weight: 900; }
.font-bold { font-weight: 700; }
.font-medium { font-weight: 500; }
.italic { font-style: italic; }
.uppercase { text-transform: uppercase; }
.tracking-tighter { letter-spacing: -0.05em; }
.tracking-tight { letter-spacing: -0.025em; }
.tracking-widest { letter-spacing: 0.1em; }

/* Utilities */
.text-primary { color: var(--color-primary); }
.text-secondary { color: var(--color-secondary); }
.text-accent { color: var(--color-accent); }
.text-white { color: var(--text-white); }
.text-slate-400 { color: var(--text-slate-400); }
.text-slate-500 { color: var(--text-slate-500); }
.bg-primary { background-color: var(--color-primary); }
.bg-surface-dark { background-color: var(--color-surface-dark); }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.text-center { text-align: center; }
.w-full { width: 100%; }
.h-full { height: 100%; }
.max-w-xl { max-width: 36rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.relative { position: relative; }
.absolute { position: absolute; }
.hidden { display: none; }

/* Specific components */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  background-color: rgba(10, 4, 10, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  position: sticky;
  top: 0;
  z-index: 50;
}

@media (min-width: 768px) {
  .header { padding: 1rem 5rem; }
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo-icon {
  width: 2.25rem;
  height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-primary);
  border-radius: 0.25rem;
  box-shadow: 0 0 15px rgba(242, 13, 242, 0.4);
}

.logo-icon .material-symbols-outlined { color: white; font-size: 1.25rem; }

.main-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  height: 2.25rem;
  padding: 0 1.25rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
  text-decoration: none;
}

.btn-primary {
  background-color: var(--color-primary);
  color: white;
  box-shadow: 0 10px 15px -3px rgba(242, 13, 242, 0.2);
}

.btn-primary:active { transform: scale(0.95); }
.btn-primary:hover { filter: brightness(1.1); }

.btn-large {
  height: 3.5rem;
  font-size: 1.125rem;
  border-radius: 0.75rem;
  padding: 0 2rem;
  gap: 0.5rem;
}

.btn-secondary {
  background-color: rgba(242, 13, 242, 0.1);
  color: var(--color-primary);
}

.btn-secondary:hover {
  background-color: rgba(242, 13, 242, 0.2);
}

.btn-outline {
  background-color: transparent;
  border: 1px solid rgba(242, 13, 242, 0.3);
  color: var(--text-slate-100);
}

.btn-outline:hover {
  background-color: rgba(242, 13, 242, 0.05);
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 1.5rem;
  background-color: var(--color-background-dark);
  background-image: radial-gradient(circle at 20% 30%, rgba(242, 13, 242, 0.08) 0%, transparent 40%), 
                    radial-gradient(circle at 80% 70%, rgba(169, 255, 0, 0.05) 0%, transparent 40%);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(10,4,10,0.4), transparent, var(--color-background-dark));
}

.hero-content {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 56rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-logo-img {
  height: 8rem;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 26px rgba(242, 13, 242, 0.8));
  margin-bottom: 2.5rem;
  transition: transform 0.5s;
}
.hero-logo-img:hover { transform: scale(1.05); }

@media (min-width: 768px) {
  .hero-logo-img { height: 10rem; }
}

.hero-title {
  color: white;
  font-size: 2.5rem;
  line-height: 1.05;
  margin-bottom: 1.5rem;
}
@media (min-width: 768px) { .hero-title { font-size: 4.5rem; } }

.hero-subtitle {
  color: var(--text-slate-400);
  font-size: 1rem;
  max-width: 42rem;
  margin: 0 auto 3rem auto;
  line-height: 1.6;
}
@media (min-width: 768px) { .hero-subtitle { font-size: 1.25rem; } }

.title-highlight {
  display: inline-block;
  background-color: var(--color-primary);
  color: white;
  padding: 0.25rem 1.5rem;
  transform: skewX(-12deg);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Registration Form */
.registration-form-container {
  width: 100%;
  max-width: 36rem;
  margin: 0 auto;
}

.registration-form {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0.375rem;
  background-color: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.75rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

@media (min-width: 768px) {
  .registration-form { flex-direction: row; }
}

.input-wrapper {
  flex: 1;
  display: flex;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.4);
  border-radius: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: border-color 0.2s;
  padding-left: 1rem;
}

.input-wrapper:focus-within {
  border-color: rgba(242, 13, 242, 0.4);
}

.input-wrapper .material-symbols-outlined { color: rgba(242, 13, 242, 0.6); }

.email-input {
  width: 100%;
  background: transparent;
  border: none;
  color: white;
  padding: 0.875rem 1rem;
  font-size: 1rem;
  font-family: inherit;
  outline: none;
}
.email-input::placeholder { color: #475569; }

.form-message {
  padding: 1rem;
  margin-top: 1rem;
  border-radius: 0.5rem;
  font-weight: bold;
  text-align: center;
  display: none;
}
.form-message.success {
  display: block;
  background-color: rgba(11, 218, 125, 0.1);
  color: var(--color-chicha-green);
  border: 1px solid rgba(11, 218, 125, 0.3);
}
.form-message.error {
  display: block;
  background-color: rgba(242, 13, 13, 0.1);
  color: #ff4d4d;
  border: 1px solid rgba(242, 13, 13, 0.3);
}

/* Generic Layout */
.page-container {
  display: flex;
  flex: 1;
  justify-content: center;
  padding: 3rem 1.5rem;
}
@media (min-width: 1024px) { .page-container { padding-left: 10rem; padding-right: 10rem; } }

.center-card {
  max-width: 32.5rem;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Visuals */
.pulse-circle {
  width: 8rem;
  height: 8rem;
  background-color: rgba(250, 204, 21, 0.2);
  border: 4px solid var(--color-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(250, 204, 21, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 20px rgba(250, 204, 21, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(250, 204, 21, 0); }
}

/* OK Message Styles */
.success-visual {
  width: 100%;
  position: relative;
  overflow: hidden;
  border-radius: 0.75rem;
  background-color: var(--color-surface-dark);
  border: 4px solid rgba(242, 13, 242, 0.3);
  margin-bottom: 2rem;
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
}

.success-bg {
  position: absolute;
  inset: 0;
  opacity: 0.2;
  background: radial-gradient(circle at center, var(--color-primary), var(--color-chicha-yellow), transparent);
}

.success-icon-container {
  width: 8rem;
  height: 8rem;
  margin-bottom: 1.5rem;
  background-color: var(--color-chicha-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 40px rgba(11, 218, 125, 0.4);
}
.success-icon-container .material-symbols-outlined { color: var(--color-background-dark); font-size: 3.75rem; }

.status-box {
  padding: 1.5rem;
  background-color: rgba(242, 13, 242, 0.05);
  border: 1px solid rgba(242, 13, 242, 0.2);
  border-radius: 0.75rem;
  margin-bottom: 2rem;
  width: 100%;
}

.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-12 { margin-top: 3rem; }

.text-3xl { font-size: 1.875rem; }
.text-4xl { font-size: 2.25rem; }
.text-5xl { font-size: 3rem; }
.text-lg { font-size: 1.125rem; }
.text-sm { font-size: 0.875rem; }

.success-gradient-text {
  background: linear-gradient(45deg, var(--color-primary) 0%, var(--color-chicha-yellow) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  padding-right: 0.25rem;
}
