/* Optimized Gen Z Color System - Mobile First */
:root {
  --neon-pink: #ff006e;
  --neon-purple: #8338ec;
  --electric-blue: #3a86ff;
  --success-green: #00ff88;
  --bg-black: #0a0a0a;
  --text-white: #fff;
  --text-gray: rgba(255,255,255,0.7);
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg-black);
  color: var(--text-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Animated Background for Create Page */
.animated-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  background: linear-gradient(-45deg, #0a0a0a, #ff006e, #8338ec, #3a0a3a, #0a0a0a);
  background-size: 400% 400%;
  animation: gradientShift 12s ease infinite;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  25% { background-position: 100% 50%; }
  50% { background-position: 100% 100%; }
  75% { background-position: 0% 100%; }
  100% { background-position: 0% 50%; }
}

/* Container */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

.min-h-screen {
  min-height: 100vh;
}

/* Buttons - Optimized */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
  will-change: transform;
}

.btn-primary {
  background: linear-gradient(135deg, var(--neon-pink), var(--neon-purple));
  color: white;
  box-shadow: 0 8px 25px rgba(255,0,110,0.3);
}

.btn-primary:active {
  transform: scale(0.98);
}

.btn-outline {
  background: transparent;
  color: white;
  border: 2px solid rgba(255,255,255,0.3);
}

.btn-lg {
  padding: 1.1rem 2.25rem;
  font-size: 1.05rem;
}

.btn:disabled {
  opacity: 0.5;
  pointer-events: none;
}

/* Cards - Lighter for performance */
.card {
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 1.5rem;
  padding: 1.5rem;
}

.card-header {
  margin-bottom: 1rem;
}

.card-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: white;
}

.card-content {
  padding: 0;
}

/* Inputs - Minimal */
.input, .textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 12px;
  color: white;
  font-size: 0.95rem;
  transition: border-color 0.2s;
}

.input:focus, .textarea:focus {
  outline: none;
  border-color: var(--neon-pink);
}

.input::placeholder, .textarea::placeholder {
  color: rgba(255,255,255,0.4);
}

.textarea {
  min-height: 100px;
  resize: vertical;
}

.label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--text-gray);
}

/* Radio - Simplified */
.radio-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.radio-item {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 1rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  cursor: pointer;
}

.radio-item:active {
  background: rgba(255,255,255,0.06);
}

.radio-item input[type="radio"] {
  width: 18px;
  height: 18px;
}

/* Progress Bar */
.progress-container {
  width: 100%;
  height: 6px;
  background: rgba(255,255,255,0.1);
  border-radius: 10px;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--neon-pink), var(--neon-purple));
  transition: width 0.3s;
}

/* Slider */
.slider {
  width: 100%;
  height: 6px;
  border-radius: 10px;
  background: rgba(255,255,255,0.1);
  outline: none;
 }

.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--neon-pink);
  cursor: pointer;
}

.slider::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--neon-pink);
  border: none;
}

.slider-value {
  text-align: center;
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--neon-pink);
  margin-top: 0.75rem;
}

/* Badge */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.875rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.badge-secondary {
  background: rgba(255,255,255,0.1);
  color: var(--text-gray);
}

.badge-outline {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.2);
}

/* Grid */
.grid {
  display: grid;
  gap: 1.5rem;
}

/* Spacing */
.space-y-2 > * + * { margin-top: 0.5rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }

.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mt-4 { margin-top: 1rem; }
.mt-8 { margin-top: 2rem; }

.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }

/* Typography */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-sm { font-size: 0.875rem; }
.text-base { font-size: 1rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.text-3xl { font-size: 1.875rem; }
.text-4xl { font-size: 2.25rem; }
.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }

/* Utils */
.w-full { width: 100%; }
.max-w-md { max-width: 28rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-4xl { max-width: 56rem; }
.mx-auto { margin: 0 auto; }
.hidden { display: none; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.gap-2 { gap: 0.5rem; }
.gap-4 { gap: 1rem; }

/* Loading */
.loading {
  display: inline-block;
  width: 1rem;
  height: 1rem;
  border: 2px solid var(--neon-pink);
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Section */
.section {
  padding: 4rem 0;
}

.section-title {
  font-size: clamp(1.75rem, 5vw, 2.75rem);
  font-weight: 900;
  text-align: center;
  margin-bottom: 1rem;
  background: linear-gradient(90deg, var(--neon-pink), var(--neon-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Hero */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #ff006e 0%, #8338ec 50%, #3a86ff 100%);
}

.hero-bg {
  position: absolute;
  inset: 0;
  opacity: 0.3;
}

.hero-content {
  position: relative;
  z-index: 10;
  width: 100%;
}

.hero-title {
  font-size: clamp(2rem, 7vw, 4rem);
  font-weight: 900;
  line-height: 1.1;
  color: white;
  text-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

/* Mobile Optimizations */
@media (max-width: 768px) {
  .container { padding: 0 1rem; }
  .card { padding: 1.25rem; }
  .btn-lg { padding: 0.95rem 1.75rem; font-size: 0.95rem; }
  .section { padding: 3rem 0; }
  .grid { grid-template-columns: 1fr !important; }
  .hero-section { min-height: auto; padding: 3rem 0; }
}

/* Selection */
::selection {
  background: var(--neon-pink);
  color: white;
}

/* Scrollbar - Minimal */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-black);
}

::-webkit-scrollbar-thumb {
  background: var(--neon-pink);
  border-radius: 10px;
}

/* Reduce animations on low-end devices */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}