/* =========================================
   INDEX.CSS - Homepage Specific Styles
========================================= */

.main-container { padding: 10px 20px; max-width: 800px; margin: 0 auto; }

/* =========================================
   HERO SECTION
========================================= */
.hero { position: relative; padding: 40px 10px 20px; text-align: center; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at center, rgba(59, 130, 246, 0.12), transparent 70%);
  z-index: -1;
}
.hero h1 {
  font-size: 2.3rem; font-weight: 900; line-height: 1.3;
  background: linear-gradient(90deg, #00dbde, #fc00ff, #3b82f6, #00dbde);
  background-size: 300%; -webkit-background-clip: text; color: transparent;
  animation: heroGradient 6s linear infinite;
}
.hero p { margin-top: 15px; color: var(--text-muted); font-size: 1rem; max-width: 600px; margin-inline: auto; }
@keyframes heroGradient { 0% { background-position: 0%; } 100% { background-position: 300%; } }

/* =========================================
   QUOTE SECTION
========================================= */
.quote-box {
  position: relative; overflow: hidden; padding: 30px 24px; border-radius: 28px;
  background: var(--card-bg-grad); border: 1px solid var(--border-glass);
  backdrop-filter: blur(18px); margin-bottom: 40px;
  box-shadow: 0 10px 40px rgba(59, 130, 246, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  animation: quoteFloat 6s ease-in-out infinite; 
}
.quote-box::before {
  content: ""; position: absolute; top: -120%; left: -40%;
  width: 180%; height: 300%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.08), transparent);
  transform: rotate(20deg); animation: shineMove 8s linear infinite;
}
.quote-header {
  display: inline-block; margin-bottom: 15px; padding: 7px 16px; border-radius: 999px;
  background: rgba(59, 130, 246, 0.15); color: #60a5fa; font-size: 12px; font-weight: 700;
}
.quote-box h3 { position: relative; z-index: 2; font-size: 1.3rem; font-weight: 700; color: #fff; line-height: 1.5; text-align: center; }
.quote-footer { display: flex; justify-content: space-between; align-items: center; margin-top: 20px; position: relative; z-index: 2; }
.quote-footer p { color: var(--text-muted); font-size: 0.95rem; font-weight: 600; margin: 0; }
.share-btn {
  background: rgba(59, 130, 246, 0.15); border: 1px solid rgba(59, 130, 246, 0.3);
  color: #60a5fa; border-radius: 50%; width: 42px; height: 42px;
  display: flex; justify-content: center; align-items: center; cursor: pointer; transition: 0.3s ease; box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}
.share-btn:hover, .share-btn:active { background: var(--primary-blue); color: #fff; box-shadow: 0 0 15px var(--glow-blue); transform: translateY(-3px); }
@keyframes shineMove { 0% { transform: translateX(-100%) rotate(20deg); } 100% { transform: translateX(100%) rotate(20deg); } }
@keyframes quoteFloat { 0%, 100% { transform: translateY(0px); } 50% { transform: translateY(-6px); } }

/* =========================================
   PLAY ZONE CARDS
========================================= */
.section-title { font-size: 1.5rem; font-weight: 800; margin-bottom: 15px; text-shadow: 0 0 10px rgba(255,255,255,0.1); }
.mt-4 { margin-top: 40px; }
.list-section { display: flex; flex-direction: column; gap: 14px; margin-bottom: 40px; }
.list-card {
  position: relative; display: flex; align-items: center; gap: 15px;
  padding: 18px; border-radius: 22px; overflow: hidden; text-decoration: none; color: #fff;
  background: var(--card-bg-solid); backdrop-filter: blur(12px); border: 1px solid var(--border-glass);
  transition: 0.3s ease; box-shadow: 0 8px 25px rgba(0, 0, 0, 0.18);
}
.list-card::after {
  content: ""; position: absolute; top: 0; left: -120%; width: 60%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.15), transparent);
  transform: skewX(-20deg); transition: 0.6s ease;
}
.list-card:hover::after { left: 120%; }
.list-card:hover { transform: translateY(-5px); box-shadow: 0 14px 34px var(--glow-blue); border-color: rgba(59, 130, 246, 0.5); }
.list-card:active { transform: scale(0.97); }

.card-icon { width: 50px; height: 50px; border-radius: 14px; display: flex; justify-content: center; align-items: center; font-size: 1.6rem; z-index: 2; }
.bg-gradient-1 { background: linear-gradient(135deg, #00dbde, #fc00ff); }
.bg-gradient-2 { background: linear-gradient(135deg, #3b82f6, #22d3ee); }
.bg-gradient-3 { background: linear-gradient(135deg, #c084fc, #9333ea); }
.bg-gradient-4 { background: linear-gradient(135deg, #10b981, #3b82f6); }
.bg-gradient-5 { background: linear-gradient(135deg, #f59e0b, #ef4444); }

.card-info { flex: 1; z-index: 2; }
.card-info h3 { font-size: 1.1rem; font-weight: 700; }
.card-info p { font-size: 0.85rem; color: var(--text-muted); margin-top: 4px; }
.arrow { color: #60a5fa; font-size: 1.2rem; font-weight: bold; z-index: 2; transition: 0.3s; }
.list-card:hover .arrow { transform: translateX(5px); }

/* =========================================
   BIOGRAPHY SECTION
========================================= */
.biography-home-section { padding: 20px 0 40px; }
.section-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 24px; flex-wrap: wrap; gap: 15px; }
.section-badge {
  display: inline-block; padding: 6px 14px; border-radius: 999px;
  background: rgba(59, 130, 246, 0.14); color: #60a5fa; font-size: 12px; font-weight: 700; margin-bottom: 10px;
}
.section-header h2 {
  font-size: 1.8rem; line-height: 1.3; font-weight: 800;
  background: linear-gradient(90deg, #60a5fa, #c084fc, #22d3ee); -webkit-background-clip: text; color: transparent;
}
.view-all-btn {
  border: none; cursor: pointer; padding: 12px 20px; border-radius: 18px; color: #fff; font-weight: 700;
  background: linear-gradient(135deg, #2563eb, #9333ea); transition: 0.35s ease; box-shadow: 0 10px 24px rgba(59, 130, 246, 0.25);
}
.view-all-btn:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(59, 130, 246, 0.4); }

.biography-preview-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.mini-bio-card {
  display: flex; align-items: center; gap: 16px; position: relative; overflow: hidden; border-radius: 28px; cursor: pointer;
  background: var(--card-bg-grad); border: 1px solid var(--border-glass); transition: 0.35s ease; padding: 12px 18px;
}
.mini-bio-card:hover { transform: translateY(-8px) scale(1.02); box-shadow: 0 18px 40px var(--glow-blue); border-color: var(--primary-blue); }
.mini-bio-card img { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; transition: transform 0.5s ease; border: 2px solid #60a5fa; }
.mini-bio-card:hover img { transform: scale(1.1); }
.mini-bio-content span { font-size: 0.75rem; color: #60a5fa; font-weight: 700; text-transform: uppercase; }
.mini-bio-content h3 { font-size: 1.1rem; line-height: 1.4; color: #fff; font-weight: 700; }

/* =========================================
   GRID CARDS
========================================= */
.grid-section { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding-bottom: 40px; }
.grid-card {
  position: relative; overflow: hidden; border-radius: 22px; padding: 22px 18px;
  background: linear-gradient(145deg, #1e293b, #020617); border: 1px solid var(--border-glass);
  cursor: pointer; transition: 0.3s ease; font-weight: 800; font-size: 1.1rem; text-align: center;
}
.grid-card::before {
  content: ""; position: absolute; inset: -1px; border-radius: 22px;
  background: linear-gradient(45deg, #00dbde, #fc00ff, #3b82f6, #00dbde); background-size: 300%;
  filter: blur(12px); opacity: 0.32; z-index: -1; animation: neonMove 8s linear infinite;
}
.grid-card::after {
  content: "Start Quiz"; display: block; margin-top: 14px; padding: 9px; border-radius: 12px;
  text-align: center; font-size: 13px; font-weight: 700; background: var(--primary-blue); color: #fff;
}
.grid-card:hover { transform: translateY(-6px) scale(1.02); box-shadow: 0 16px 40px var(--glow-blue); }
.grid-card:active { transform: scale(0.97); }

@keyframes neonMove { 0% { background-position: 0%; } 100% { background-position: 200%; } }
