/* =========================
   GLASS SYSTEM - OPTION C: PREMIUM
========================= */

/* Premium glass panels */
.section,
#visualPickerSection,
#trainerSection,
.modal-content,
#explainModal .modal-content{
  background: var(--bg-surface);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-md);
  border-radius: var(--radius-xl);
}

/* Premium animated hero title */
.hero-title{
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 900;
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
  text-align: center;
  margin: 0 auto 24px auto;
  max-width: 1000px;
  position: relative;
  
  /* Animated gradient text */
  background: linear-gradient(
    120deg,
    #fafafa 0%,
    #3b82f6 20%,
    #60a5fa 40%,
    #3b82f6 60%,
    #fafafa 80%,
    #fafafa 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmerHero 4s linear infinite;
  
  /* Glow effect */
  filter: drop-shadow(0 0 30px rgba(59, 130, 246, 0.3));
}

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

/* Add subtle pulsing glow */
.hero-title::before {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: -1;
  background: inherit;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: blur(20px);
  opacity: 0.4;
  animation: glow 2s ease-in-out infinite;
}

@keyframes glow {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.6; }
}

.hero-title .subtitle{
  display: block;
  font-weight: 600;
  font-size: clamp(1.25rem, 3.5vw, 1.75rem);
  color: var(--text-secondary);
  margin-top: 16px;
  opacity: 0.9;
  letter-spacing: -0.01em;
  background: linear-gradient(
    90deg,
    var(--text-secondary) 0%,
    var(--text-primary) 50%,
    var(--text-secondary) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Title accent (spade symbol) */
.title-accent{
  color: var(--accent-light);
  margin-right: 16px;
  display: inline-block;
  animation: float 3s ease-in-out infinite;
  filter: drop-shadow(0 0 20px rgba(59, 130, 246, 0.4));
}

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

/* Premium SEO section */
.seo-section {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  transition: all 0.3s ease;
}

.seo-section:hover {
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--border-medium);
}

.seo-section h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 16px;
  background: linear-gradient(135deg, var(--text-primary) 0%, var(--text-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.seo-content p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 16px;
}

/* Glass morphism for modals */
.modal {
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(0, 0, 0, 0.6);
}

.modal-content {
  background: var(--bg-elevated);
  border: 1px solid var(--border-medium);
  box-shadow: var(--shadow-xl);
}

/* Premium input styling */
select,
input[type="number"],
input[type="text"] {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  color: var(--text-primary);
  font-size: 1rem;
  transition: all 0.2s ease;
}

select:hover,
input:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--border-medium);
}

select:focus,
input:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

/* Premium select dropdown */
select {
  appearance: none;
  background-color: #111827;   /* 🔥 add this */
  color: #f1f5f9;              /* 🔥 add this */
  border: 1px solid #334155;   /* ensure visible border */
  border-radius: 8px;

  background-image: url("data:image/svg+xml,..."); /* keep your arrow */
  background-repeat: no-repeat;
  background-position: right 16px center;

  padding-right: 48px;
  padding-left: 12px;
  padding-top: 8px;
  padding-bottom: 8px;

  cursor: pointer;
}
select option {
  background-color: #111827;
  color: #f1f5f9;
}


/* Floating animation for cards */
@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

.card-slot {
  animation: floatCard 6s ease-in-out infinite;
}

.card-slot:nth-child(1) { animation-delay: 0s; }
.card-slot:nth-child(2) { animation-delay: 0.2s; }
.card-slot:nth-child(3) { animation-delay: 0.4s; }
.card-slot:nth-child(4) { animation-delay: 0.6s; }
.card-slot:nth-child(5) { animation-delay: 0.8s; }
.card-slot:nth-child(6) { animation-delay: 1s; }
.card-slot:nth-child(7) { animation-delay: 1.2s; }

.card-slot:hover {
  animation: none;
}