/* Love Oracle Page Styling */

:root {
  --love-primary: #ff6b9d;      /* Romantic pink */
  --love-secondary: #c44569;    /* Deep pink */
  --love-accent: #ffd93d;       /* Soft gold */
  --love-bg: #1a0a14;           /* Dark with purple tint */
  --love-border: rgba(255, 107, 157, 0.3);
  --love-glow: rgba(255, 107, 157, 0.15);
}

#oraculo-amor-page {
  padding: 2rem 1rem 4rem;
  background: var(--love-bg);
  color: #f8fafc;
}

/* ===== INTRO SECTION ===== */
.love-intro {
  max-width: 960px;
  margin: 0 auto 3rem;
  text-align: center;
}

.love-intro h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 0.5rem;
  color: #fff;
  text-shadow: 0 0 20px var(--love-glow);
}

.love-intro p {
  font-size: 1.1rem;
  color: rgba(248, 250, 252, 0.85);
  max-width: 700px;
  margin: 1rem auto 0;
}

/* ===== NAVIGATION TABS ===== */
.love-nav-tabs {
  display: flex;
  gap: 1rem;
  justify-content: center;
  max-width: 1000px;
  margin: 2rem auto;
  padding: 1.5rem;
  flex-wrap: wrap;
  background: rgba(255, 107, 157, 0.06);
  border: 2px solid var(--love-border);
  border-radius: 12px;
  position: relative;
}

.love-nav-tabs::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 12px;
  background: radial-gradient(ellipse at center top, rgba(255, 107, 157, 0.08), transparent);
  pointer-events: none;
}

.love-tab {
  padding: 0.95rem 2rem;
  border-radius: 8px;
  border: 2px solid rgba(255, 107, 157, 0.25);
  background: rgba(255, 107, 157, 0.08);
  color: #e8e8e8;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  font-family: 'Raleway', sans-serif;
  position: relative;
  z-index: 1;
}

.love-tab:hover {
  background: rgba(255, 107, 157, 0.12);
  color: #fff;
  border-color: rgba(255, 107, 157, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 107, 157, 0.1);
}

.love-tab.active {
  background: linear-gradient(135deg, #ff6b9d, #ff8ab5);
  border-color: #ff6b9d;
  color: #fff;
  font-weight: 700;
  box-shadow: 0 10px 30px rgba(255, 107, 157, 0.3);
  transform: translateY(-3px);
}

/* ===== SECTIONS ===== */
.love-section {
  max-width: 960px;
  margin: 0 auto 3rem;
  padding: 2rem 1rem;
  border: 1px solid var(--love-border);
  border-radius: 12px;
  background: rgba(255, 107, 157, 0.04);
  animation: fadeIn 0.3s ease;
}

.love-section h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  margin-bottom: 1rem;
  color: #f8fafc;
}

.love-section > p {
  color: rgba(248, 250, 252, 0.8);
  font-size: 1.05rem;
  margin-bottom: 2rem;
}

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

/* ===== SECTION 1: LOVE READING ===== */
.love-reading-setup {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2rem;
  box-sizing: border-box;
}

.love-reading-setup label {
  font-size: 0.95rem;
  font-weight: 500;
  color: #e8e8e8;
}

.love-reading-setup input,
.love-reading-setup textarea {
  padding: 0.75rem 1rem;
  border-radius: 6px;
  border: 1px solid var(--love-border);
  background: rgba(255, 107, 157, 0.08);
  color: #f8fafc;
  font-family: 'Raleway', sans-serif;
  font-size: 1rem;
}

.love-reading-setup input::placeholder,
.love-reading-setup textarea::placeholder {
  color: rgba(248, 250, 252, 0.5);
}

#start-love-reading {
  padding: 1rem 2rem;
  border-radius: 6px;
  border: none;
  background: linear-gradient(135deg, #ff6b9d, #ff8ab5);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1rem;
  font-family: 'Raleway', sans-serif;
  align-self: center;
}

#start-love-reading:hover {
  box-shadow: 0 10px 30px rgba(255, 107, 157, 0.3);
  transform: translateY(-2px);
}

#love-reading-result {
  margin-top: 2rem;
}

.love-reading-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.love-card-item {
  border: 2px solid var(--love-border);
  border-radius: 10px;
  padding: 1.5rem;
  background: rgba(255, 107, 157, 0.08);
  text-align: center;
  transition: all 0.3s ease;
}

.love-card-item:hover {
  border-color: rgba(255, 107, 157, 0.5);
  background: rgba(255, 107, 157, 0.12);
  transform: translateY(-4px);
  box-shadow: 0 15px 40px rgba(255, 107, 157, 0.15);
}

.love-card-item h3 {
  font-size: 1.1rem;
  color: var(--love-primary);
  margin-bottom: 1rem;
  font-weight: 600;
}

.love-card-item img {
  width: 100%;
  max-width: 200px;
  border-radius: 6px;
  border: 1px solid var(--love-border);
  padding: 0.5rem;
  background: rgba(255, 107, 157, 0.05);
  margin-bottom: 1rem;
}

.love-card-item .card-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: #f8fafc;
  margin: 0.75rem 0;
}

.love-card-item .card-meaning {
  font-size: 0.95rem;
  color: rgba(248, 250, 252, 0.85);
  line-height: 1.6;
  margin: 0.5rem 0;
}

.position-label {
  color: var(--love-secondary);
  font-size: 0.9rem;
}

/* ===== SECTION 2: YES/NO ORACLE ===== */
.yesno-setup {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

.yesno-setup p {
  font-style: italic;
  color: rgba(248, 250, 252, 0.75);
  font-size: 0.95rem;
}

#reveal-yesno-answer {
  padding: 1rem 2rem;
  border-radius: 6px;
  border: none;
  background: linear-gradient(135deg, #ff6b9d, #ff8ab5);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1rem;
  font-family: 'Raleway', sans-serif;
}

#reveal-yesno-answer:hover {
  box-shadow: 0 10px 30px rgba(255, 107, 157, 0.3);
  transform: translateY(-2px);
}

#yesno-result {
  margin-top: 2rem;
}

.yesno-display {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  max-width: 600px;
  margin: 0 auto;
}

.yesno-card-image {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.yesno-card-image img {
  width: 100%;
  max-width: 250px;
  border-radius: 8px;
  border: 2px solid var(--love-border);
  padding: 0.75rem;
  background: rgba(255, 107, 157, 0.05);
  box-shadow: 0 15px 40px rgba(255, 107, 157, 0.15);
}

.yesno-card-image .card-name {
  font-size: 1.2rem;
  font-weight: 600;
  color: #f8fafc;
}

.answer-box {
  width: 100%;
  padding: 2rem;
  border-radius: 10px;
  text-align: center;
  transition: all 0.3s ease;
}

.answer-box.yesno-positive {
  background: rgba(76, 175, 80, 0.15);
  border: 2px solid rgba(76, 175, 80, 0.4);
}

.answer-box.yesno-negative {
  background: rgba(244, 67, 54, 0.15);
  border: 2px solid rgba(244, 67, 54, 0.4);
}

.answer-box.yesno-neutral {
  background: rgba(156, 39, 176, 0.15);
  border: 2px solid rgba(156, 39, 176, 0.4);
}

.answer-text {
  font-size: 2.5rem;
  font-weight: 700;
  margin: 0 0 1rem;
  color: #f8fafc;
}

.answer-message {
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(248, 250, 252, 0.85);
  margin: 0;
}

/* ===== SECTION 3: COMPATIBILITY ===== */
.compatibility-setup {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

.name-inputs {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.name-inputs input {
  flex: 1;
  min-width: 150px;
  padding: 0.75rem 1rem;
  border-radius: 6px;
  border: 1px solid var(--love-border);
  background: rgba(255, 107, 157, 0.08);
  color: #f8fafc;
  font-family: 'Raleway', sans-serif;
  font-size: 1rem;
}

.name-inputs input::placeholder {
  color: rgba(248, 250, 252, 0.5);
}

.name-inputs span {
  font-size: 1.5rem;
}

#calculate-compatibility-btn {
  padding: 1rem 2rem;
  border-radius: 6px;
  border: none;
  background: linear-gradient(135deg, #ff6b9d, #ff8ab5);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1rem;
  font-family: 'Raleway', sans-serif;
  align-self: center;
}

#calculate-compatibility-btn:hover {
  box-shadow: 0 10px 30px rgba(255, 107, 157, 0.3);
  transform: translateY(-2px);
}

#compatibility-result {
  margin-top: 2rem;
}

.compatibility-display {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  max-width: 700px;
  margin: 0 auto;
}

.compatibility-score {
  font-size: 2.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, #ff6b9d, #ff8ab5);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0;
}

.compatibility-cards {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1.5rem;
  align-items: center;
  width: 100%;
}

.compat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 1.5rem;
  border-radius: 10px;
  background: rgba(255, 107, 157, 0.08);
  border: 1px solid var(--love-border);
}

.compat-card img {
  width: 100%;
  max-width: 150px;
  border-radius: 6px;
  border: 1px solid var(--love-border);
  padding: 0.5rem;
  background: rgba(255, 107, 157, 0.05);
}

.compat-card .person-name {
  font-size: 1rem;
  font-weight: 600;
  color: var(--love-primary);
  margin: 0;
}

.compat-card .card-name {
  font-size: 0.95rem;
  color: rgba(248, 250, 252, 0.85);
  margin: 0;
}

.connection-symbol {
  font-size: 2.5rem;
  animation: pulse 2s infinite;
}

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

.compatibility-message {
  background: rgba(255, 107, 157, 0.1);
  border: 2px solid var(--love-border);
  border-radius: 10px;
  padding: 2rem;
  text-align: center;
  width: 100%;
}

.compatibility-message p {
  margin: 0.5rem 0;
  color: rgba(248, 250, 252, 0.85);
  font-size: 1rem;
  line-height: 1.6;
}

.compatibility-message p:first-child {
  font-weight: 600;
  color: #f8fafc;
  font-size: 1.1rem;
}

/* ===== SEO CONTENT SECTION ===== */
.love-seo-content {
  max-width: 960px;
  margin: 3rem auto;
  padding: 0 1rem;
  color: rgba(248, 250, 252, 0.9);
  line-height: 1.8;
}

.love-seo-content h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: #f8fafc;
}

.love-seo-content h3 {
  font-size: 1.4rem;
  margin: 2rem 0 1rem;
  color: var(--love-primary);
}

.love-seo-content p {
  margin-bottom: 1rem;
}

/* ===== HIDDEN CLASS ===== */
.hidden {
  display: none !important;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 720px) {
  .love-nav-tabs {
    padding: 1.25rem 1rem;
    margin: 1.5rem auto;
  }

  .love-tab {
    flex: 1;
    min-width: 80px;
    padding: 0.85rem 1rem;
    font-size: 0.95rem;
  }

  .love-reading-cards {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .compatibility-cards {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .connection-symbol {
    font-size: 2rem;
  }

  .answer-text {
    font-size: 2rem;
  }

  .compatibility-score {
    font-size: 2rem;
  }

  .love-section {
    padding: 1.5rem 1rem;
  }

  .love-nav-tabs {
    padding: 1rem 0.75rem;
    gap: 0.5rem;
    margin: 1.5rem 0.5rem;
  }

  .love-tab {
    flex: 1;
    padding: 0.8rem 0.5rem;
    font-size: 0.85rem;
    gap: 0.4rem;
  }

  .love-tab span {
    font-size: 1.1rem;
  }

  .love-tab:nth-child(3) {
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    padding: 0.7rem 0.8rem;
  }

  .compatibility-setup {
    max-width: 100%;
  }

  .name-inputs {
    flex-direction: column;
    gap: 0.75rem;
  }

  .name-inputs input {
    width: 100%;
    min-width: unset;
    flex: none;
  }

  .name-inputs span {
    align-self: center;
    margin: 0.5rem 0;
    order: unset;
  }

  #calculate-compatibility-btn {
    width: 100%;
    padding: 0.9rem 1.5rem;
    font-size: 0.95rem;
    align-self: stretch;
  }

  #start-love-reading,
  #reveal-yesno-answer {
    width: 100%;
    padding: 0.9rem 1.5rem;
    font-size: 0.95rem;
    align-self: stretch;
  }

  .love-reading-setup {
    max-width: 100%;
    padding: 0 0.5rem;
  }

  .yesno-setup {
    max-width: 100%;
    padding: 0 0.5rem;
  }
}
