/* ════════════════════════════════════════════════════════
   OLLIVANDERS — SISTEMA DE VARITAS MÁGICAS
   Potterhead Theme | Hogwarts Legacy Palette
   ════════════════════════════════════════════════════════ */

/* ── Variables Ollivanders ── */
:root {
  --wand-gold:      #d4a832;
  --wand-gold-l:    #f0c040;
  --wand-gold-s:    #8c6614;
  --wand-teal:      #1ed8c8;
  --wand-glow:      rgba(212,168,50,0.22);
  --wand-teal-glow: rgba(30,216,200,0.18);
  --wand-ink:       #080d1a;
  --wand-card-bg:   rgba(12,18,36,0.85);
  --wand-border:    rgba(212,168,50,0.20);
  --wand-border-s:  rgba(212,168,50,0.55);
}

/* ════ MAIN WRAPPER ════ */
.ollivanders-main {
  position: relative;
  overflow: hidden;
}

/* ════ PARTÍCULAS MÁGICAS ════ */
.ollivanders-particles {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.magic-particle {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  pointer-events: none;
  animation: particleFloat var(--dur, 8s) var(--delay, 0s) infinite ease-in-out;
  opacity: 0;
}

@keyframes particleFloat {
  0%   { transform: translateY(100vh) translateX(0) scale(0); opacity: 0; }
  10%  { opacity: var(--op, 0.7); }
  85%  { opacity: var(--op, 0.7); }
  100% { transform: translateY(-10vh) translateX(var(--drift, 30px)) scale(1.5); opacity: 0; }
}

/* ════ HERO SECTION ════ */
.ollivanders-hero {
  position: relative;
  padding: 9rem 0 6rem;
  text-align: center;
  overflow: hidden;
}

.ollivanders-hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.ollivanders-hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  animation: glowPulse 6s ease-in-out infinite;
}

.ollivanders-hero__glow--1 {
  width: 600px; height: 600px;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(212,168,50,0.08) 0%, transparent 70%);
  animation-delay: 0s;
}
.ollivanders-hero__glow--2 {
  width: 400px; height: 300px;
  left: 20%; top: 30%;
  background: radial-gradient(circle, rgba(30,216,200,0.06) 0%, transparent 70%);
  animation-delay: 2s;
}
.ollivanders-hero__glow--3 {
  width: 300px; height: 400px;
  right: 15%; bottom: 0;
  background: radial-gradient(circle, rgba(155,32,32,0.05) 0%, transparent 70%);
  animation-delay: 4s;
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.6; transform: translate(-50%,-50%) scale(1); }
  50%       { opacity: 1;   transform: translate(-50%,-50%) scale(1.15); }
}

.ollivanders-hero__content { position: relative; z-index: 1; }

.ollivanders-eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.6rem;
  margin-bottom: 2.4rem;
}

.ollivanders-eyebrow__text {
  font-family: var(--font-ui);
  font-size: 1.15rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--wand-gold);
  opacity: 0.75;
  white-space: nowrap;
}

.ollivanders-eyebrow__line {
  flex: 1;
  max-width: 120px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--wand-gold), transparent);
  opacity: 0.4;
}

.ollivanders-title {
  margin-bottom: 2.4rem;
}

.ollivanders-title__top {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(4rem, 8vw, 7rem);
  color: var(--wand-gold-l);
  text-shadow:
    0 0 40px rgba(212,168,50,0.4),
    0 0 80px rgba(212,168,50,0.15),
    0 2px 0 rgba(0,0,0,0.8);
  letter-spacing: 0.08em;
  line-height: 1.1;
  animation: titleShimmer 4s ease-in-out infinite;
}

@keyframes titleShimmer {
  0%, 100% { text-shadow: 0 0 40px rgba(212,168,50,0.4), 0 0 80px rgba(212,168,50,0.15), 0 2px 0 rgba(0,0,0,0.8); }
  50%       { text-shadow: 0 0 60px rgba(212,168,50,0.6), 0 0 120px rgba(212,168,50,0.25), 0 2px 0 rgba(0,0,0,0.8); }
}

.ollivanders-title__sub {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  color: var(--text-muted);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-top: 0.8rem;
  font-weight: 400;
}

.ollivanders-desc {
  font-size: 2rem;
  color: var(--text-primary);
  max-width: 560px;
  margin: 0 auto;
  font-style: italic;
  line-height: 1.6;
}

.ollivanders-desc__attr {
  display: block;
  font-size: 1.35rem;
  color: var(--wand-gold);
  font-style: normal;
  font-family: var(--font-ui);
  letter-spacing: 0.1em;
  margin-top: 0.8rem;
  font-weight: 600;
  opacity: 0.8;
}

/* ════ CONTAINER ════ */
.ollivanders-container {
  position: relative;
  z-index: 1;
  padding-bottom: 8rem;
}

/* ════ FIGURA DE OLLIVANDER ════ */
.ollivander-intro {
  max-width: 800px;
  margin: 0 auto;
  animation: fadeInUp 0.8s ease both;
}

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

.ollivander-figure {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 3.2rem;
  align-items: start;
  margin-bottom: 4rem;
  background: var(--wand-card-bg);
  border: 1px solid var(--wand-border);
  border-radius: 20px;
  padding: 3.2rem;
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 48px rgba(0,0,0,0.6), 0 0 0 1px rgba(212,168,50,0.08) inset;
}

.ollivander-figure__portrait {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.ollivander-portrait-inner {
  width: 120px;
  height: 180px;
  position: relative;
  filter: drop-shadow(0 4px 16px rgba(212,168,50,0.25));
  animation: olliFloat 5s ease-in-out infinite;
}

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

.ollivander-svg { width: 100%; height: 100%; }

.ollivander-figure__speech {
  display: flex;
  align-items: flex-start;
  padding-top: 1.2rem;
}

.speech-bubble {
  position: relative;
  background: rgba(20,28,50,0.9);
  border: 1px solid var(--wand-border-s);
  border-radius: 16px;
  border-bottom-left-radius: 4px;
  padding: 2rem 2.4rem;
  font-size: 1.75rem;
  color: var(--text-primary);
  line-height: 1.7;
  box-shadow: inset 0 1px 0 rgba(212,168,50,0.1);
}

.speech-bubble strong { color: var(--wand-gold-l); }

.ollivander-start-btn {
  width: 100%;
  max-width: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  margin: 0 auto;
  font-size: 1.8rem;
  padding: 1.6rem 3.2rem;
  border-radius: 12px;
  letter-spacing: 0.08em;
  position: relative;
  overflow: hidden;
}

.ollivander-start-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 30%, rgba(255,255,255,0.08) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.ollivander-start-btn:hover::before { transform: translateX(100%); }

.btn-icon { font-size: 2rem; animation: wandWiggle 2s ease-in-out infinite; }

@keyframes wandWiggle {
  0%, 100% { transform: rotate(-10deg); }
  50%       { transform: rotate(10deg); }
}

/* ════ PROGRESS BAR ════ */
.wand-progress-bar-outer {
  position: relative;
  height: 4px;
  background: rgba(255,255,255,0.06);
  border-radius: 2px;
  margin-bottom: 4rem;
  overflow: visible;
}

.wand-progress-bar-inner {
  height: 100%;
  background: linear-gradient(90deg, var(--wand-gold-s), var(--wand-gold-l), var(--wand-teal));
  border-radius: 2px;
  transition: width 0.5s cubic-bezier(0.4,0,0.2,1);
  position: relative;
}

.wand-progress-bar-inner::after {
  content: '';
  position: absolute;
  right: -2px;
  top: 50%;
  transform: translateY(-50%);
  width: 10px; height: 10px;
  background: var(--wand-gold-l);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--wand-gold-l), 0 0 20px rgba(212,168,50,0.4);
}

.wand-progress-text {
  position: absolute;
  right: 0;
  top: -2.4rem;
  font-family: var(--font-ui);
  font-size: 1.1rem;
  color: var(--wand-gold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.7;
}

/* ════ QUESTION CARD ════ */
.wand-question-card {
  background: var(--wand-card-bg);
  border: 1px solid var(--wand-border);
  border-radius: 20px;
  padding: 4rem;
  backdrop-filter: blur(16px);
  box-shadow: 0 8px 48px rgba(0,0,0,0.5), 0 0 0 1px rgba(212,168,50,0.06) inset;
  animation: questionAppear 0.5s cubic-bezier(0.34,1.56,0.64,1) both;
}

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

.wand-question-icon {
  font-size: 3.2rem;
  display: block;
  margin-bottom: 1.6rem;
  animation: iconFloat 3s ease-in-out infinite;
}

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

.wand-question-num {
  font-family: var(--font-ui);
  font-size: 1.1rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--wand-gold);
  opacity: 0.6;
  margin-bottom: 1.2rem;
}

.wand-question-text {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3vw, 2.6rem);
  color: var(--text-bright);
  line-height: 1.35;
  margin-bottom: 3.2rem;
}

.wand-options-grid {
  display: grid;
  gap: 1.4rem;
}

.wand-option {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  padding: 1.8rem 2.4rem;
  background: rgba(15,22,40,0.7);
  border: 1px solid rgba(212,168,50,0.14);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.25s ease;
  text-align: left;
  font-size: 1.75rem;
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.5;
  position: relative;
  overflow: hidden;
}

.wand-option::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(212,168,50,0.05) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.wand-option:hover {
  border-color: rgba(212,168,50,0.45);
  background: rgba(25,35,60,0.85);
  transform: translateX(4px);
  color: var(--text-bright);
  box-shadow: 0 4px 20px rgba(212,168,50,0.12), -3px 0 0 var(--wand-gold-s);
}

.wand-option:hover::before { opacity: 1; }

.wand-option:active { transform: translateX(2px) scale(0.99); }

.wand-option.selected {
  border-color: var(--wand-gold-l);
  background: rgba(212,168,50,0.1);
  color: var(--wand-gold-l);
  box-shadow: 0 4px 24px rgba(212,168,50,0.2), inset 0 1px 0 rgba(212,168,50,0.2);
  pointer-events: none;
}

.wand-option-letter {
  flex-shrink: 0;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(212,168,50,0.3);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-ui);
  font-size: 1.2rem;
  color: var(--wand-gold);
  font-weight: 600;
  transition: all 0.25s ease;
}

.wand-option:hover .wand-option-letter,
.wand-option.selected .wand-option-letter {
  background: var(--wand-gold-s);
  border-color: var(--wand-gold-l);
  color: #000;
}

/* ════ CHOOSING ANIMATION ════ */
.wand-result-reveal {
  text-align: center;
  padding: 6rem 2rem;
}

.wand-choosing-anim {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
}

.wand-choosing-orbs {
  position: relative;
  width: 120px; height: 120px;
}

.wand-choosing-orb {
  position: absolute;
  border-radius: 50%;
  animation: orbOrbit 2s linear infinite;
}

.wand-choosing-orb--1 {
  width: 16px; height: 16px;
  background: var(--wand-gold-l);
  box-shadow: 0 0 16px var(--wand-gold-l);
  top: 0; left: 50%; transform-origin: 0 60px;
  animation-duration: 2s;
}
.wand-choosing-orb--2 {
  width: 10px; height: 10px;
  background: var(--wand-teal);
  box-shadow: 0 0 12px var(--wand-teal);
  top: 50%; right: 0; transform-origin: -60px 0;
  animation-duration: 1.5s;
  animation-direction: reverse;
}
.wand-choosing-orb--3 {
  width: 8px; height: 8px;
  background: #e060c0;
  box-shadow: 0 0 10px #e060c0;
  bottom: 10px; left: 10px; transform-origin: 50px -50px;
  animation-duration: 2.5s;
}

@keyframes orbOrbit {
  0%   { transform: rotate(0deg)   translateY(-50px) rotate(0deg); }
  100% { transform: rotate(360deg) translateY(-50px) rotate(-360deg); }
}

.wand-choosing-text {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  color: var(--wand-gold);
  animation: pulseText 1.5s ease-in-out infinite;
  letter-spacing: 0.06em;
}

@keyframes pulseText {
  0%, 100% { opacity: 0.5; }
  50%       { opacity: 1; }
}

/* ════ WAND REVEAL CARD ════ */
.wand-reveal-card {
  max-width: 680px;
  margin: 0 auto;
  background: var(--wand-card-bg);
  border: 1px solid var(--wand-border-s);
  border-radius: 24px;
  padding: 4.8rem;
  box-shadow:
    0 0 0 1px rgba(212,168,50,0.12) inset,
    0 20px 80px rgba(0,0,0,0.7),
    0 0 60px rgba(212,168,50,0.08);
  animation: wandReveal 0.8s cubic-bezier(0.34,1.56,0.64,1) both;
}

@keyframes wandReveal {
  from { opacity: 0; transform: scale(0.7) translateY(40px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

.wand-reveal-header {
  text-align: center;
  margin-bottom: 3.2rem;
}

.wand-reveal-chosen {
  font-family: var(--font-ui);
  font-size: 1.15rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--wand-gold);
  opacity: 0.7;
  margin-bottom: 1rem;
}

.wand-reveal-emoji {
  font-size: 5rem;
  display: block;
  margin: 1.6rem auto;
  animation: revealEmojiBounce 1s cubic-bezier(0.34,1.56,0.64,1) 0.3s both;
}

@keyframes revealEmojiBounce {
  from { transform: scale(0); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}

.wand-reveal-name {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  color: var(--wand-gold-l);
  text-shadow: 0 0 30px rgba(212,168,50,0.35);
  line-height: 1.2;
  margin-bottom: 0.8rem;
}

.wand-reveal-trait {
  font-size: 1.45rem;
  color: var(--text-muted);
  font-style: italic;
  letter-spacing: 0.05em;
}

.wand-reveal-specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
  margin-bottom: 2.8rem;
}

.wand-reveal-spec {
  background: rgba(12,18,36,0.6);
  border: 1px solid rgba(212,168,50,0.12);
  border-radius: 10px;
  padding: 1.4rem 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.wand-reveal-spec__icon { font-size: 1.6rem; }
.wand-reveal-spec__label {
  font-family: var(--font-ui);
  font-size: 1rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.wand-reveal-spec__value {
  font-size: 1.55rem;
  color: var(--text-bright);
  font-weight: 600;
}

.wand-reveal-desc {
  font-size: 1.7rem;
  color: var(--text-primary);
  line-height: 1.75;
  margin-bottom: 3.2rem;
  padding: 2rem;
  background: rgba(8,13,26,0.5);
  border-left: 3px solid var(--wand-gold-s);
  border-radius: 0 8px 8px 0;
}

.wand-reveal-actions {
  display: flex;
  gap: 1.2rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ════ RESULT PAGE (ya tiene varita) ════ */
.wand-result-page {
  max-width: 740px;
  margin: 0 auto;
  animation: fadeInUp 0.6s ease both;
}

.wand-result-hero {
  display: flex;
  align-items: center;
  gap: 4rem;
  background: var(--wand-card-bg);
  border: 1px solid var(--wand-border-s);
  border-radius: 24px;
  padding: 4rem;
  margin-bottom: 2.4rem;
  box-shadow: 0 8px 48px rgba(0,0,0,0.5), 0 0 60px rgba(212,168,50,0.06);
}

.wand-result-hero__orb {
  flex-shrink: 0;
}

.wand-orb-inner {
  position: relative;
  width: 120px; height: 120px;
  display: flex; align-items: center; justify-content: center;
}

.wand-orb-emoji {
  font-size: 4rem;
  position: relative; z-index: 2;
  animation: orbEmojiPulse 3s ease-in-out infinite;
}

@keyframes orbEmojiPulse {
  0%, 100% { transform: scale(1); filter: drop-shadow(0 0 8px rgba(212,168,50,0.4)); }
  50%       { transform: scale(1.1); filter: drop-shadow(0 0 16px rgba(212,168,50,0.7)); }
}

.wand-orb-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(212,168,50,0.25);
  animation: ringExpand 3s ease-in-out infinite;
}

.wand-orb-ring--1 { width: 70px; height: 70px; animation-delay: 0s; }
.wand-orb-ring--2 { width: 95px; height: 95px; animation-delay: 0.5s; }
.wand-orb-ring--3 { width: 120px; height: 120px; animation-delay: 1s; border-color: rgba(30,216,200,0.15); }

@keyframes ringExpand {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50%       { opacity: 0.8; transform: scale(1.05); }
}

.wand-result-hero__text { flex: 1; }

.wand-result-label {
  display: block;
  font-family: var(--font-ui);
  font-size: 1.1rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--wand-gold);
  opacity: 0.65;
  margin-bottom: 0.6rem;
}

.wand-result-name {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  color: var(--wand-gold-l);
  text-shadow: 0 0 24px rgba(212,168,50,0.3);
  line-height: 1.2;
  margin-bottom: 0.8rem;
}

.wand-result-trait {
  font-size: 1.55rem;
  color: var(--text-muted);
  font-style: italic;
}

.wand-result-specs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  margin-bottom: 2.4rem;
}

.wand-spec {
  background: var(--wand-card-bg);
  border: 1px solid var(--wand-border);
  border-radius: 14px;
  padding: 2rem 1.6rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.wand-spec:hover {
  border-color: rgba(212,168,50,0.35);
  box-shadow: 0 4px 20px rgba(212,168,50,0.08);
}

.wand-spec__icon { font-size: 2rem; }
.wand-spec__label {
  font-family: var(--font-ui);
  font-size: 1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.wand-spec__value {
  font-size: 1.45rem;
  color: var(--text-bright);
  font-weight: 600;
  line-height: 1.3;
}

.wand-result-description {
  background: rgba(8,13,26,0.6);
  border: 1px solid var(--wand-border);
  border-left: 4px solid var(--wand-gold-s);
  border-radius: 0 14px 14px 0;
  padding: 2.4rem 2.8rem;
  margin-bottom: 3.2rem;
  font-size: 1.75rem;
  color: var(--text-primary);
  line-height: 1.75;
}

.wand-result-actions {
  display: flex;
  gap: 1.4rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ════ PERFIL — SECCIÓN DE VARITA ════ */
.profile-wand-section {
  background: rgba(8,13,26,0.7);
  border: 1px solid var(--wand-border-s);
  border-radius: 20px;
  padding: 3.2rem;
  margin-top: 3.2rem;
  position: relative;
  overflow: hidden;
}

.profile-wand-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--wand-gold-s), var(--wand-gold-l), var(--wand-gold-s), transparent);
}

.profile-wand-section__title {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--wand-gold-l);
  letter-spacing: 0.1em;
  margin-bottom: 2.4rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.profile-wand-display {
  display: flex;
  align-items: center;
  gap: 2.4rem;
  flex-wrap: wrap;
}

.profile-wand-emoji {
  font-size: 3.6rem;
  filter: drop-shadow(0 0 10px rgba(212,168,50,0.4));
  animation: wandGlowPulse 3s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes wandGlowPulse {
  0%, 100% { filter: drop-shadow(0 0 10px rgba(212,168,50,0.4)); }
  50%       { filter: drop-shadow(0 0 20px rgba(212,168,50,0.7)); }
}

.profile-wand-info { flex: 1; min-width: 200px; }

.profile-wand-name {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--wand-gold-l);
  text-shadow: 0 0 16px rgba(212,168,50,0.25);
  margin-bottom: 0.4rem;
}

.profile-wand-trait {
  font-size: 1.4rem;
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 1.2rem;
}

.profile-wand-mini-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.profile-wand-tag {
  background: rgba(212,168,50,0.08);
  border: 1px solid rgba(212,168,50,0.2);
  border-radius: 100px;
  padding: 0.3rem 1rem;
  font-size: 1.2rem;
  color: var(--wand-gold);
  font-family: var(--font-ui);
  letter-spacing: 0.06em;
}

.profile-wand-action {
  flex-shrink: 0;
}

/* ════ RESPONSIVE ════ */
@media (max-width: 680px) {
  .ollivander-figure {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .ollivander-figure__portrait { margin: 0 auto; }
  .wand-result-hero {
    flex-direction: column;
    text-align: center;
    gap: 2.4rem;
  }
  .wand-result-specs {
    grid-template-columns: repeat(2, 1fr);
  }
  .wand-reveal-specs {
    grid-template-columns: 1fr;
  }
  .wand-question-card { padding: 2.4rem; }
}

@media (max-width: 480px) {
  .ollivanders-title__top { font-size: 3.6rem; }
  .wand-result-specs { grid-template-columns: 1fr 1fr; }
}

/* ════ BOTONES EXTRA ════ */
.btn-lg {
  padding: 1.6rem 3.6rem;
  font-size: 1.8rem;
}

/* ════ ANIMACIÓN DE APARICIÓN DE VARITA EN PERFIL ════ */
.wand-stat-entry {
  animation: wandStatEntry 0.6s cubic-bezier(0.34,1.56,0.64,1) 0.3s both;
}

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

/* Spinner de carga */
.wand-saving-indicator {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 1.4rem;
  color: var(--wand-gold);
  opacity: 0.8;
}

.wand-saving-spinner {
  width: 16px; height: 16px;
  border: 2px solid rgba(212,168,50,0.25);
  border-top-color: var(--wand-gold-l);
  border-radius: 50%;
  animation: spinnerRot 0.7s linear infinite;
}

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