/* ===========================
   Vibe Check Quiz Styles
   =========================== */

:root {
  --primary-color: #e74c3c;
  --secondary-color: #e91e63;
  --accent-color: #ff6b9d;
  --success-color: #27ae60;
  --warning-color: #f39c12;
  --text-dark: #2c3e50;
  --text-light: #7f8c8d;
  --bg-light: #f8f9fa;
  --bg-card: #ffffff;
  --border-color: #e0e0e0;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-hover: 0 8px 16px rgba(0, 0, 0, 0.15);
}

* {
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background: linear-gradient(135deg, #fff5f7 0%, #ffeef3 100%);
  min-height: 100vh;
  /* Keep flex layout from common.css for left/right containers */
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  margin: 0;
}

/* ===========================
   Vibe Check Logo Styling
   =========================== */

.vibe-check-logo {
  filter: brightness(0) saturate(100%) invert(31%) sepia(89%) saturate(2065%) hue-rotate(333deg) brightness(95%) contrast(93%);
  transition: filter 0.3s ease;
}

.vibe-check-logo:hover {
  filter: brightness(0) saturate(100%) invert(22%) sepia(97%) saturate(3271%) hue-rotate(329deg) brightness(96%) contrast(91%);
}

/* ===========================
   Vibe Check Mobile Menu Icon
   =========================== */

.menu-toggle i {
  color: #e91e63;
}

/* ===========================
   Entry Page Styles
   =========================== */

.entry-page {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px;
}

/* Language selector (same as know-me) */
.lang-toggle-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.lang-btn {
  background: #f0f0f0;
  border: 2px solid #e0e0e0;
  padding: 8px 14px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.95rem;
  color: #000;
}

.lang-btn.active {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: #fff;
  border-color: transparent;
}

.lang-btn:hover {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: #fff;
  border-color: transparent;
}

.hero-section {
  text-align: center;
}

.hero-section h1 {
  font-size: 3.5rem;
  margin-bottom: 10px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.subtitle {
  font-size: 1.3rem;
  color: var(--text-light);
  margin-bottom: 40px;
}

.entry-card {
  background: var(--bg-card);
  border-radius: 20px;
  padding: 40px;
  box-shadow: var(--shadow);
  margin-bottom: 40px;
}

.emoji-header {
  font-size: 3rem;
  margin-bottom: 20px;
}

.entry-card h2 {
  font-size: 2rem;
  margin-bottom: 30px;
  color: var(--text-dark);
}

.how-it-works {
  text-align: left;
  margin: 30px 0;
}

.how-it-works h3 {
  font-size: 1.3rem;
  margin-bottom: 20px;
  color: var(--text-dark);
}

.step {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
  gap: 15px;
}

.step-number {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.step-content {
  flex: 1;
}

.step-content strong {
  display: block;
  font-size: 1.1rem;
  margin-bottom: 5px;
  color: var(--text-dark);
}

.step-content p {
  color: var(--text-light);
  margin: 0;
}

.primary-btn {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  border: none;
  padding: 18px 40px;
  font-size: 1.2rem;
  font-weight: bold;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: var(--shadow);
  margin: 20px 0;
}

.primary-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.primary-btn.large {
  padding: 22px 50px;
  font-size: 1.3rem;
}

.primary-btn.full-width {
  width: 100%;
}

.disclaimer {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-top: 15px;
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.feature {
  text-align: center;
  padding: 20px;
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 15px;
}

.feature h4 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: var(--text-dark);
}

.feature p {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* ===========================
   Quiz Page Styles
   =========================== */

.quiz-page {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
}

.quiz-header {
  text-align: center;
  margin-bottom: 40px;
}

.quiz-header h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.progress-container {
  max-width: 500px;
  margin: 0 auto;
}

.progress-bar {
  width: 100%;
  height: 12px;
  background: var(--bg-light);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 10px;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  transition: width 0.5s ease;
  width: 0%;
}

.progress-text {
  color: var(--text-light);
  font-size: 0.95rem;
  margin: 0;
}

.quiz-container {
  margin-bottom: 30px;
}

.quiz-card {
  background: var(--bg-card);
  border-radius: 20px;
  padding: 40px;
  box-shadow: var(--shadow);
  animation: fadeIn 0.3s ease;
}

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

.step-indicator {
  display: inline-block;
  background: var(--bg-light);
  color: var(--text-dark);
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: bold;
  margin-bottom: 20px;
}

.question-text {
  font-size: 1.8rem;
  color: var(--text-dark);
  margin-bottom: 30px;
  line-height: 1.4;
}

.options-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
}

.option-btn {
  background: var(--bg-light);
  border: 2px solid transparent;
  padding: 20px;
  border-radius: 15px;
  font-size: 1.05rem;
  cursor: pointer;
  transition: all 0.3s ease;
  color: var(--text-dark);
  font-weight: 500;
}

.option-btn:hover {
  background: white;
  border-color: var(--accent-color);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.option-btn:active {
  transform: translateY(0);
}


@media (hover: hover) {
  .option-btn:hover {
    background: white;
    border-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
  }
}

.quiz-navigation {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  max-width: 800px;
  margin: 0 auto;
}

.nav-btn {
  padding: 15px 30px;
  font-size: 1.05rem;
  border-radius: 50px;
  border: 2px solid var(--border-color);
  background: white;
  color: var(--text-dark);
  cursor: pointer;
  transition: all 0.3s ease;
}

.nav-btn:hover {
  border-color: var(--accent-color);
  transform: translateY(-2px);
}

/* ===========================
   Lead Gen Page Styles
   =========================== */

.lead-gen-page {
  max-width: 600px;
  margin: 0 auto;
  padding: 40px 20px;
}

.lead-gen-card {
  background: var(--bg-card);
  border-radius: 20px;
  padding: 40px;
  box-shadow: var(--shadow);
}

.lead-gen-form {
  margin: 30px 0;
}

.form-group {
  margin-bottom: 25px;
  text-align: left;
}

.form-group label {
  display: block;
  font-weight: bold;
  margin-bottom: 8px;
  color: var(--text-dark);
  font-size: 1.05rem;
}

.form-group input {
  width: 100%;
  padding: 15px;
  border: 2px solid var(--border-color);
  border-radius: 10px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus {
  outline: none;
  border-color: var(--accent-color);
}

.form-group small {
  display: block;
  color: var(--text-light);
  font-size: 0.85rem;
  margin-top: 5px;
}

.privacy-note {
  margin-top: 20px;
  padding: 15px;
  background: var(--bg-light);
  border-radius: 10px;
  text-align: center;
}

/* ===========================
   Wait Page Styles
   =========================== */

.wait-page {
  max-width: 700px;
  margin: 0 auto;
  padding: 40px 20px;
}

.wait-card {
  background: var(--bg-card);
  border-radius: 20px;
  padding: 40px;
  box-shadow: var(--shadow);
  text-align: center;
}

.wait-animation {
  margin: 30px 0;
}

.heart-pulse {
  font-size: 5rem;
  animation: pulse 1.5s ease-in-out infinite;
}

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

.highlight {
  color: var(--primary-color);
  font-weight: bold;
}

.wait-info {
  margin: 40px 0;
  text-align: left;
}

.info-box {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 20px;
  background: var(--bg-light);
  border-radius: 15px;
  margin-bottom: 20px;
}

.info-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.info-content {
  flex: 1;
}

.info-content strong {
  display: block;
  margin-bottom: 5px;
  color: var(--text-dark);
}

.info-content p {
  margin: 0;
  color: var(--text-light);
  font-size: 0.95rem;
}

.share-link-box {
  flex-direction: column;
  align-items: stretch;
}

.link-container {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.link-container input {
  flex: 1;
  padding: 12px;
  border: 2px solid var(--border-color);
  border-radius: 8px;
  font-size: 0.9rem;
}

.copy-btn {
  padding: 12px 25px;
  background: var(--primary-color);
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
  transition: all 0.3s ease;
}

.copy-btn:hover {
  background: var(--secondary-color);
}

.wait-actions {
  margin: 30px 0;
}

.secondary-link {
  display: inline-block;
  margin-top: 15px;
  color: var(--text-light);
  text-decoration: none;
  transition: color 0.3s ease;
}

.secondary-link:hover {
  color: var(--primary-color);
}

.wait-footer {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
}

/* ===========================
   Partner Entry Page Styles
   =========================== */

.partner-entry-page {
  max-width: 700px;
  margin: 0 auto;
  padding: 40px 20px;
}

.partner-entry-card {
  background: var(--bg-card);
  border-radius: 20px;
  padding: 40px;
  box-shadow: var(--shadow);
  text-align: center;
}

.challenge-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
  margin: 30px 0;
}

.info-item {
  padding: 20px;
  background: var(--bg-light);
  border-radius: 15px;
}

.info-emoji {
  font-size: 2.5rem;
  display: block;
  margin-bottom: 10px;
}

.info-item p {
  margin: 0;
  font-size: 0.95rem;
}

.how-it-works-mini {
  margin-top: 30px;
  padding: 20px;
  background: var(--bg-light);
  border-radius: 15px;
  text-align: left;
}

.partner-quiz-container {
  margin-top: 40px;
}

/* ===========================
   Results Page Styles
   =========================== */

.results-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.results-header {
  text-align: center;
  margin-bottom: 40px;
}

.results-header h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.names-display {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.name-tag {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  padding: 10px 25px;
  border-radius: 25px;
  font-weight: bold;
  font-size: 1.1rem;
}

.vs {
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--text-light);
}

.vibe-score-section {
  margin-bottom: 50px;
}

.vibe-score-card {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  border-radius: 20px;
  padding: 40px;
  text-align: center;
  box-shadow: var(--shadow-hover);
  margin-bottom: 30px;
}

.score-emoji {
  font-size: 5rem;
  margin-bottom: 10px;
  animation: bounce 2s ease infinite;
}

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

.score-number {
  font-size: 4rem;
  font-weight: bold;
  margin-bottom: 10px;
}

.vibe-score-card h2 {
  font-size: 1.8rem;
  margin-bottom: 10px;
  color: white;
}

.score-message {
  font-size: 1.2rem;
  opacity: 0.95;
}

.individual-scores {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.score-item {
  background: var(--bg-card);
  padding: 25px;
  border-radius: 15px;
  box-shadow: var(--shadow);
}

.score-label {
  font-size: 1.05rem;
  margin-bottom: 15px;
  color: var(--text-dark);
}

.score-bar {
  width: 100%;
  height: 30px;
  background: var(--bg-light);
  border-radius: 15px;
  overflow: hidden;
  margin-bottom: 10px;
}

.score-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  transition: width 1s ease;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 10px;
  color: white;
  font-weight: bold;
}

.score-value {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--primary-color);
  text-align: right;
}

.comparison-section {
  margin-bottom: 50px;
}

.comparison-section h2 {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 10px;
}

.comparison-subtitle {
  text-align: center;
  color: var(--text-light);
  margin-bottom: 30px;
}

.comparison-container {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.comparison-row {
  background: var(--bg-card);
  border-radius: 20px;
  padding: 30px;
  box-shadow: var(--shadow);
}

.question-header {
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 2px solid var(--bg-light);
}

.question-header h3 {
  font-size: 1.3rem;
  color: var(--text-dark);
  margin: 0;
}

.comparison-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
}

.comparison-column {
  background: var(--bg-light);
  border-radius: 15px;
  padding: 20px;
}

.column-header {
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 15px;
  text-align: center;
}

.answer-box {
  background: white;
  border-radius: 10px;
  padding: 15px;
  margin-bottom: 15px;
  position: relative;
}

.answer-box.guess {
  border: 2px solid var(--bg-light);
}

.answer-label {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 5px;
  font-weight: 600;
}

.answer-value {
  font-size: 1.05rem;
  color: var(--text-dark);
  font-weight: 500;
}

.match-icon {
  position: absolute;
  top: -10px;
  right: -10px;
  background: var(--success-color);
  color: white;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.2rem;
  box-shadow: var(--shadow);
}

.miss-icon {
  position: absolute;
  top: -10px;
  right: -10px;
  background: var(--primary-color);
  color: white;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.2rem;
  box-shadow: var(--shadow);
}

.results-actions {
  text-align: center;
  margin: 40px 0;
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.secondary-btn {
  background: white;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  padding: 15px 35px;
  font-size: 1.1rem;
  font-weight: bold;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.secondary-btn:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.social-share {
  background: var(--bg-card);
  border-radius: 20px;
  padding: 30px;
  box-shadow: var(--shadow);
  text-align: center;
  margin: 30px 0;
}

.social-share h3 {
  margin-bottom: 20px;
}

.share-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.share-btn {
  padding: 12px 25px;
  border: none;
  border-radius: 50px;
  color: white;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.share-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.share-btn.twitter {
  background: #1DA1F2;
}

.share-btn.facebook {
  background: #4267B2;
}

.share-btn.whatsapp {
  background: #25D366;
}

/* ===========================
   Responsive Design
   =========================== */

@media (max-width: 768px) {
  .hero-section h1 {
    font-size: 2.5rem;
  }

  .subtitle {
    font-size: 1.1rem;
  }

  .entry-card {
    padding: 25px;
  }

  .quiz-card {
    padding: 25px;
  }

  .question-text {
    font-size: 1.4rem;
  }

  .options-grid {
    grid-template-columns: 1fr;
  }

  .comparison-grid {
    grid-template-columns: 1fr;
  }

  .score-number {
    font-size: 3rem;
  }

  .results-actions {
    flex-direction: column;
  }

  .names-display {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .hero-section h1 {
    font-size: 2rem;
  }

  .entry-card h2 {
    font-size: 1.5rem;
  }

  .primary-btn {
    padding: 15px 30px;
    font-size: 1rem;
  }

  .link-container {
    flex-direction: column;
  }
}
