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

:root {
  --bg-primary: #0f0c29;
  --bg-secondary: #302b63;
  --bg-tertiary: #24243e;
  --accent-pink: #ff6b9d;
  --accent-purple: #a855f7;
  --accent-blue: #3b82f6;
  --accent-gold: #fbbf24;
  --accent-green: #10b981;
  --text-primary: rgba(255, 255, 255, 0.95);
  --text-secondary: rgba(255, 255, 255, 0.7);
  --text-muted: rgba(255, 255, 255, 0.5);
}

body {
  font-family: 'Space Grotesk', sans-serif;
  background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 50%, var(--bg-tertiary) 100%);
  min-height: 100vh;
  color: var(--text-primary);
  overflow-x: hidden;
}

.app {
  min-height: 100vh;
  position: relative;
}

.particle-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

/* Header */
.app-header {
  background: linear-gradient(180deg, rgba(168, 85, 247, 0.2) 0%, transparent 100%);
  padding: 1rem;
  position: relative;
  z-index: 10;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.logo {
  font-family: 'Crimson Pro', serif;
  font-size: 2rem;
  font-weight: 300;
  background: linear-gradient(90deg, var(--accent-pink), var(--accent-purple), var(--accent-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 30px rgba(168, 85, 247, 0.5);
  animation: glow 3s ease-in-out infinite alternate;
}

@keyframes glow {
  from { filter: drop-shadow(0 0 5px rgba(168, 85, 247, 0.5)); }
  to { filter: drop-shadow(0 0 20px rgba(255, 107, 157, 0.5)); }
}

.nav-tabs {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.nav-tab {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.875rem;
}

.nav-tab:hover {
  background: rgba(168, 85, 247, 0.2);
  border-color: var(--accent-purple);
}

.nav-tab.active {
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-pink));
  border-color: transparent;
  color: white;
}

.wallet-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  color: var(--text-primary);
  cursor: pointer;
  font-size: 0.875rem;
  transition: all 0.3s ease;
}

.wallet-btn:hover {
  background: rgba(168, 85, 247, 0.3);
}

/* Main Content */
.main-content {
  position: relative;
  z-index: 5;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
  min-height: calc(100vh - 200px);
}

/* Awakening Screen */
.awakening-screen {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 2rem;
}

.awakening-content {
  text-align: center;
}

.cosmic-orb {
  width: 150px;
  height: 150px;
  margin: 0 auto 2rem;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.8), var(--accent-purple) 40%, var(--accent-pink) 70%, transparent 100%);
  animation: float 4s ease-in-out infinite, pulse 2s ease-in-out infinite;
  box-shadow: 0 0 60px var(--accent-purple), 0 0 100px var(--accent-pink);
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 60px var(--accent-purple), 0 0 100px var(--accent-pink); }
  50% { box-shadow: 0 0 80px var(--accent-purple), 0 0 120px var(--accent-pink); }
}

.awakening-text {
  font-family: 'Crimson Pro', serif;
  font-size: 1.5rem;
  font-style: italic;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  min-height: 2rem;
}

/* Buttons */
.destiny-btn {
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-pink));
  border: none;
  padding: 1rem 2rem;
  border-radius: 3rem;
  color: white;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.destiny-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(168, 85, 247, 0.4);
}

.destiny-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.destiny-btn.pulse {
  animation: btnPulse 2s ease-in-out infinite;
}

@keyframes btnPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(168, 85, 247, 0.4); }
  50% { box-shadow: 0 0 0 20px rgba(168, 85, 247, 0); }
}

.destiny-btn.large {
  padding: 1.5rem 3rem;
  font-size: 1.25rem;
}

/* Quiz */
.quiz-container {
  max-width: 600px;
  margin: 0 auto;
}

.quiz-progress {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.progress-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.progress-dot.active {
  background: var(--accent-purple);
  box-shadow: 0 0 10px var(--accent-purple);
}

.quiz-step {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1.5rem;
  padding: 2rem;
  margin-bottom: 1.5rem;
}

.step-title {
  font-family: 'Crimson Pro', serif;
  font-size: 1.75rem;
  text-align: center;
  margin-bottom: 0.5rem;
  background: linear-gradient(90deg, var(--accent-pink), var(--accent-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.step-desc {
  text-align: center;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

/* Trait Sliders */
.trait-slider-container {
  margin-bottom: 1.5rem;
}

.trait-labels {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.trait-label {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.trait-slider {
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--accent-pink), var(--accent-blue));
  appearance: none;
  cursor: pointer;
}

.trait-slider::-webkit-slider-thumb {
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: white;
  box-shadow: 0 0 10px rgba(168, 85, 247, 0.5);
  cursor: pointer;
}

/* Love Languages & Values Grid */
.love-languages-grid,
.values-grid,
.zodiac-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 1rem;
}

.love-language-card,
.value-card,
.zodiac-card {
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  padding: 1rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.love-language-card:hover,
.value-card:hover,
.zodiac-card:hover {
  border-color: var(--accent-purple);
  background: rgba(168, 85, 247, 0.1);
}

.love-language-card.selected,
.value-card.selected,
.zodiac-card.selected {
  border-color: var(--accent-pink);
  background: rgba(255, 107, 157, 0.2);
  box-shadow: 0 0 20px rgba(255, 107, 157, 0.3);
}

.lang-emoji,
.value-emoji,
.zodiac-emoji {
  font-size: 2rem;
  display: block;
  margin-bottom: 0.5rem;
}

.lang-name,
.value-name,
.zodiac-name {
  font-size: 0.875rem;
  display: block;
}

.zodiac-dates {
  font-size: 0.75rem;
  color: var(--text-muted);
  display: block;
  margin-top: 0.25rem;
}

/* Soul Visualization */
.soul-visualization {
  text-align: center;
  padding: 2rem;
}

.viz-title {
  font-family: 'Crimson Pro', serif;
  font-size: 2rem;
  margin-bottom: 2rem;
  background: linear-gradient(90deg, var(--accent-pink), var(--accent-purple), var(--accent-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.soul-container {
  opacity: 0;
  transform: scale(0.8);
  transition: all 1s ease;
}

.soul-container.revealed {
  opacity: 1;
  transform: scale(1);
}

.soul-signature-canvas {
  margin: 0 auto;
  display: block;
}

.soul-message {
  margin-top: 2rem;
  animation: fadeIn 1s ease;
}

.soul-message p {
  font-family: 'Crimson Pro', serif;
  font-style: italic;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Discover Section */
.discover-section {
  text-align: center;
}

.search-prompt {
  padding: 4rem 0;
}

.searching-animation {
  padding: 2rem;
}

.galaxy-spinner {
  width: 100px;
  height: 100px;
  margin: 0 auto 2rem;
  border: 3px solid transparent;
  border-top-color: var(--accent-pink);
  border-right-color: var(--accent-purple);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

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

.loading-text {
  font-family: 'Crimson Pro', serif;
  font-style: italic;
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.dimensions-progress {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-width: 300px;
  margin: 0 auto;
}

.dimension-item {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  padding: 0.5rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 0.5rem;
  opacity: 0;
  animation: slideIn 0.5s ease forwards;
}

.dimension-item.complete {
  opacity: 1;
}

@keyframes slideIn {
  from { opacity: 0; transform: translateX(-20px); }
  to { opacity: 1; transform: translateX(0); }
}

/* Matches Grid */
.matches-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.match-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1.5rem;
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
}

.match-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-purple);
  box-shadow: 0 10px 40px rgba(168, 85, 247, 0.2);
}

.match-avatar {
  width: 100px;
  height: 100px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--accent-purple);
  box-shadow: 0 0 20px rgba(168, 85, 247, 0.3);
}

.match-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.match-name {
  font-size: 1.125rem;
  margin-bottom: 0.75rem;
}

.compatibility-score {
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.score-label {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.score-value {
  font-size: 2rem;
  font-weight: 700;
  background: linear-gradient(90deg, var(--accent-pink), var(--accent-gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.rarity-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.compatibility-message {
  font-size: 0.875rem;
  color: var(--text-secondary);
  font-style: italic;
  margin-bottom: 1rem;
}

.match-traits {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.trait-badge {
  background: rgba(168, 85, 247, 0.2);
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
  font-size: 0.75rem;
  color: var(--accent-purple);
}

.forge-btn {
  width: 100%;
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-pink));
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 2rem;
  color: white;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.forge-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 5px 20px rgba(168, 85, 247, 0.4);
}

/* NFT Viewer */
.nft-viewer {
  max-width: 500px;
  margin: 0 auto;
  text-align: center;
}

.viewer-title {
  font-family: 'Crimson Pro', serif;
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
  background: linear-gradient(90deg, var(--accent-gold), var(--accent-pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nft-display {
  background: rgba(0, 0, 0, 0.3);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  padding: 1rem;
  margin-bottom: 1.5rem;
}

.nft-canvas {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 0.5rem;
}

.nft-metadata {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 1rem;
  padding: 1rem;
  margin-bottom: 1.5rem;
}

.metadata-item {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.metadata-item:last-child {
  border-bottom: none;
}

.meta-label {
  color: var(--text-muted);
}

.meta-value {
  font-weight: 600;
}

.meta-value.highlight {
  color: var(--accent-gold);
}

.interaction-sliders {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 1rem;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.slider-group {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.slider-group:last-child {
  margin-bottom: 0;
}

.slider-group label {
  flex: 0 0 140px;
  text-align: left;
  font-size: 0.875rem;
}

.slider-group input[type="range"] {
  flex: 1;
  height: 6px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--bg-tertiary), var(--accent-purple));
  appearance: none;
  cursor: pointer;
}

.slider-group input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: white;
  box-shadow: 0 0 10px rgba(168, 85, 247, 0.5);
  cursor: pointer;
}

.slider-group span {
  flex: 0 0 40px;
  text-align: right;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.mint-btn {
  width: 100%;
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-pink));
  border: none;
  padding: 1rem 2rem;
  border-radius: 2rem;
  color: white;
  font-size: 1.125rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-bottom: 1rem;
}

.mint-btn:hover {
  transform: scale(1.02);
  box-shadow: 0 5px 30px rgba(251, 191, 36, 0.4);
}

.mint-btn.minting {
  animation: shimmer 1s ease infinite;
}

.mint-btn.minted {
  background: var(--accent-green);
}

@keyframes shimmer {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

.hotcraft-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.3s ease;
}

.hotcraft-link:hover {
  color: var(--accent-purple);
}

/* Bonds Section */
.bonds-section,
.circles-section {
  padding: 1rem 0;
}

.section-title {
  font-family: 'Crimson Pro', serif;
  font-size: 1.75rem;
  text-align: center;
  margin-bottom: 0.5rem;
  background: linear-gradient(90deg, var(--accent-pink), var(--accent-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-desc {
  text-align: center;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.no-bonds,
.no-profile-message {
  text-align: center;
  padding: 4rem 2rem;
}

.empty-state {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 1.5rem;
  padding: 3rem;
  max-width: 400px;
  margin: 0 auto;
}

.empty-icon {
  font-size: 4rem;
  display: block;
  margin-bottom: 1rem;
}

.empty-hint {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-top: 0.5rem;
}

.bonds-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
}

.bond-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  padding: 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.bond-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent-purple);
}

.bond-preview {
  margin-bottom: 1rem;
}

.mini-souls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.soul-orb {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  animation: minPulse 2s ease-in-out infinite;
}

.soul-orb.pink {
  background: radial-gradient(circle, var(--accent-pink), transparent);
  box-shadow: 0 0 15px var(--accent-pink);
}

.soul-orb.blue {
  background: radial-gradient(circle, var(--accent-blue), transparent);
  box-shadow: 0 0 15px var(--accent-blue);
  animation-delay: 0.5s;
}

@keyframes minPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

.soul-bridge {
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-pink), var(--accent-gold), var(--accent-blue));
  border-radius: 2px;
}

.bond-info h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.bond-stats {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.heart-pulse {
  animation: heartBeat 1s ease-in-out infinite;
}

@keyframes heartBeat {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.2); }
}

.bond-date {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

/* Circles Section */
.circles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.circle-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.circle-card:hover {
  border-color: var(--accent-purple);
}

.circle-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.circle-emoji {
  font-size: 2rem;
}

.circle-header h3 {
  font-size: 1rem;
}

.circle-stats {
  display: flex;
  justify-content: space-between;
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.activity {
  padding: 0.125rem 0.5rem;
  border-radius: 0.5rem;
  font-size: 0.75rem;
}

.activity.very-active {
  background: rgba(16, 185, 129, 0.2);
  color: var(--accent-green);
}

.activity.active {
  background: rgba(59, 130, 246, 0.2);
  color: var(--accent-blue);
}

.activity.moderate {
  background: rgba(251, 191, 36, 0.2);
  color: var(--accent-gold);
}

.circle-btn {
  width: 100%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  color: var(--text-primary);
  cursor: pointer;
  transition: all 0.3s ease;
}

.circle-btn:hover {
  background: rgba(168, 85, 247, 0.2);
  border-color: var(--accent-purple);
}

.circle-btn.joined {
  background: var(--accent-purple);
  border-color: var(--accent-purple);
}

/* Success Stories */
.success-stories {
  margin-top: 2rem;
}

.stories-title {
  font-family: 'Crimson Pro', serif;
  font-size: 1.5rem;
  text-align: center;
  margin-bottom: 1.5rem;
}

.story-carousel {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  padding: 1rem 0;
  scroll-snap-type: x mandatory;
}

.story-card {
  flex: 0 0 280px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  padding: 1.5rem;
  scroll-snap-align: start;
}

.story-badge {
  display: inline-block;
  background: var(--accent-gold);
  color: #000;
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.story-card h4 {
  font-size: 1.125rem;
  margin-bottom: 0.25rem;
}

.story-since {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.story-quote {
  font-family: 'Crimson Pro', serif;
  font-style: italic;
  color: var(--text-secondary);
  font-size: 0.875rem;
  line-height: 1.5;
}

/* Profile Section */
.profile-section {
  max-width: 600px;
  margin: 0 auto;
}

.profile-display {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1.5rem;
  padding: 2rem;
  margin-top: 2rem;
}

.profile-signature {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
}

.profile-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.profile-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.item-label {
  font-size: 0.875rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.item-value {
  font-size: 1.125rem;
}

.item-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag {
  background: rgba(168, 85, 247, 0.2);
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  font-size: 0.875rem;
}

.reset-btn {
  display: block;
  margin: 2rem auto 0;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.75rem 1.5rem;
  border-radius: 2rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.3s ease;
}

.reset-btn:hover {
  border-color: var(--accent-pink);
  color: var(--accent-pink);
}

.back-btn {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 0.5rem 0;
  margin-bottom: 1rem;
  font-size: 0.875rem;
  transition: color 0.3s ease;
}

.back-btn:hover {
  color: var(--accent-purple);
}

/* Footer */
.app-footer {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 2rem 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
  font-size: 0.875rem;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin: 1rem 0;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--accent-purple);
}

.powered-by {
  margin-top: 1rem;
}

.powered-by a {
  color: var(--accent-pink);
  text-decoration: none;
}

/* Confetti */
.confetti-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1000;
  overflow: hidden;
}

.confetti {
  position: absolute;
  width: 10px;
  height: 10px;
  top: -20px;
  animation: confettiFall 3s linear forwards;
}

@keyframes confettiFall {
  0% {
    transform: translateY(0) rotate(0deg);
    opacity: 1;
  }
  100% {
    transform: translateY(100vh) rotate(720deg);
    opacity: 0;
  }
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .header-content {
    padding: 0 0.5rem;
  }
  
  .logo {
    font-size: 1.5rem;
  }
  
  .nav-tabs {
    width: 100%;
    justify-content: center;
  }
  
  .nav-tab {
    padding: 0.4rem 0.75rem;
    font-size: 0.75rem;
  }
  
  .wallet-btn {
    font-size: 0.75rem;
    padding: 0.4rem 0.75rem;
  }
  
  .main-content {
    padding: 1rem;
  }
  
  .quiz-step {
    padding: 1.5rem;
  }
  
  .step-title {
    font-size: 1.5rem;
  }
  
  .love-languages-grid,
  .values-grid,
  .zodiac-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .matches-grid {
    grid-template-columns: 1fr;
  }
  
  .slider-group {
    flex-wrap: wrap;
  }
  
  .slider-group label {
    flex: 1 1 100%;
    margin-bottom: 0.25rem;
  }
  
  .slider-group input[type="range"] {
    flex: 1;
  }
  
  .bonds-grid,
  .circles-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-links {
    flex-direction: column;
    gap: 0.75rem;
  }
}

.sparkle {
  font-size: 3rem;
  display: block;
  margin-top: 1rem;
  animation: sparkleRotate 3s ease-in-out infinite;
}

@keyframes sparkleRotate {
  0%, 100% { transform: rotate(-10deg) scale(1); }
  50% { transform: rotate(10deg) scale(1.1); }
}