/* =====================================================
   FunArenaNigeria — Inner Pages CSS
   ===================================================== */

/* Page Hero */
.page-hero {
  padding: 80px 24px 100px;
  background: linear-gradient(135deg, #2d0d6e, #7B2FBE, #a855f7);
  text-align: center; position: relative; overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 60px;
  background: var(--light-bg);
  clip-path: ellipse(55% 100% at 50% 100%);
}
.responsible-hero { background: linear-gradient(135deg, #0f4c2a, #1e7d46, #27ae60); }
.contact-hero { background: linear-gradient(135deg, #1a2744, #2c4a8f, #3498db); }
.terms-hero { background: linear-gradient(135deg, #2d0d6e, #5A189A, #7B2FBE); }
.privacy-hero { background: linear-gradient(135deg, #1a2744, #2c4a8f, #8e44ad); }

.page-hero-inner { position: relative; z-index: 1; max-width: 700px; margin: 0 auto; }
.page-hero-icon {
  width: 72px; height: 72px;
  background: rgba(255,255,255,0.15);
  border-radius: 20px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 24px;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.25);
}
.page-hero-icon i { font-size: 1.8rem; color: white; }
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: white; margin-bottom: 16px;
  text-shadow: 0 4px 16px rgba(0,0,0,0.3);
}
.page-hero p { color: rgba(255,255,255,0.85); font-size: 1.05rem; max-width: 560px; margin: 0 auto; }

/* Content Wrap */
.page-content-wrap { background: var(--light-bg); padding: 60px 0 80px; }
.page-container { max-width: 900px; margin: 0 auto; padding: 0 24px; }

/* Info Highlight */
.info-highlight-box {
  background: #fff8e6;
  border: 1px solid rgba(245,166,35,0.4);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  display: flex; gap: 14px; align-items: flex-start;
  margin-bottom: 40px;
}
.info-highlight-box i { color: var(--accent); font-size: 1.2rem; margin-top: 2px; flex-shrink: 0; }
.info-highlight-box div { color: var(--text-body); font-size: 0.95rem; line-height: 1.7; }

/* Page Sections */
.page-section { margin-bottom: 48px; }
.page-section h2 {
  font-size: 1.4rem; font-weight: 800; color: var(--text-dark);
  margin-bottom: 20px; display: flex; align-items: center; gap: 10px;
}
.page-section h2 i { color: var(--primary); font-size: 1.2rem; }
.page-section p { color: var(--text-body); margin-bottom: 14px; line-height: 1.8; }

/* Styled List */
.styled-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.styled-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.95rem; color: var(--text-body); }
.styled-list li i { color: #27ae60; margin-top: 3px; flex-shrink: 0; }

/* Habits Grid */
.habits-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.habit-card {
  background: white; border-radius: var(--radius-md);
  padding: 24px; border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}
.habit-card.good { border-top: 3px solid #27ae60; }
.habit-card.warn { border-top: 3px solid var(--accent); }
.habit-icon {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.habit-icon i { font-size: 1.2rem; color: white; }
.habit-card.warn .habit-icon { background: linear-gradient(135deg, var(--accent), var(--accent-dark)); }
.habit-card h3 { font-size: 1rem; font-weight: 700; color: var(--text-dark); margin-bottom: 8px; }
.habit-card p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.7; }

/* Age Policy */
.age-policy-box {
  background: white; border-radius: var(--radius-md);
  padding: 28px; display: flex; gap: 24px; align-items: flex-start;
  box-shadow: var(--shadow-sm); border: 1px solid var(--border-light);
  border-left: 4px solid var(--primary);
}
.age-policy-badge {
  width: 56px; height: 56px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; font-weight: 900;
}
.age-policy-box p { color: var(--text-body); font-size: 0.95rem; margin-bottom: 10px; line-height: 1.7; }

/* Support Cards */
.support-cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; margin-top: 20px; }
.support-card {
  background: white; border-radius: var(--radius-md);
  padding: 24px; text-align: center;
  box-shadow: var(--shadow-sm); border: 1px solid var(--border-light);
}
.support-card i { font-size: 1.5rem; color: var(--primary); margin-bottom: 12px; }
.support-card h4 { font-size: 0.95rem; font-weight: 700; color: var(--text-dark); margin-bottom: 6px; }
.support-card p { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 8px; }
.support-card strong { display: block; color: var(--primary); font-size: 0.9rem; word-break: break-word; }

/* Commitment */
.commitment-list { display: flex; flex-direction: column; gap: 16px; }
.commitment-item {
  background: white; border-radius: var(--radius-md);
  padding: 20px 24px;
  display: flex; gap: 16px; align-items: flex-start;
  box-shadow: var(--shadow-sm); border: 1px solid var(--border-light);
}
.commitment-item > i { color: #27ae60; font-size: 1.2rem; margin-top: 2px; flex-shrink: 0; }
.commitment-item strong { display: block; font-size: 1rem; color: var(--text-dark); margin-bottom: 4px; }
.commitment-item p { font-size: 0.88rem; color: var(--text-muted); margin: 0; line-height: 1.7; }

/* CTA Box */
.page-cta-box {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: var(--radius-lg);
  padding: 40px; text-align: center; color: white;
}
.page-cta-box h3 { font-family: var(--font-display); font-size: 1.6rem; margin-bottom: 10px; }
.page-cta-box p { opacity: 0.85; margin-bottom: 24px; }

/* ---- CONTACT PAGE ---- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 36px; margin-bottom: 48px; }
.contact-cards { display: flex; flex-direction: column; gap: 16px; }
.contact-info-card {
  background: white; border-radius: var(--radius-md);
  padding: 22px; box-shadow: var(--shadow-sm); border: 1px solid var(--border-light);
  display: flex; flex-direction: column; gap: 6px;
}
.contact-card-icon {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 12px; display: flex; align-items: center; justify-content: center;
  margin-bottom: 8px;
}
.contact-card-icon i { font-size: 1.1rem; color: white; }
.map-icon { background: linear-gradient(135deg, #e74c3c, #c0392b) !important; }
.hours-icon { background: linear-gradient(135deg, #27ae60, #1e8449) !important; }
.resp-icon { background: linear-gradient(135deg, #e91e63, #c2185b) !important; }
.contact-info-card h3 { font-size: 1rem; font-weight: 700; color: var(--text-dark); margin: 0; }
.contact-info-card p { font-size: 0.85rem; color: var(--text-muted); margin: 0; }
.contact-link { color: var(--primary); font-weight: 700; font-size: 0.9rem; word-break: break-word; }
.contact-meta { font-size: 0.78rem; color: var(--text-muted); display: flex; align-items: center; gap: 6px; }
.contact-meta i { color: var(--accent); }

/* Form */
.contact-form-wrap {
  background: white; border-radius: var(--radius-md);
  padding: 36px; box-shadow: var(--shadow-md); border: 1px solid var(--border-light);
}
.contact-form-wrap h2 { font-size: 1.4rem; font-weight: 800; color: var(--text-dark); margin-bottom: 6px; }
.form-note { font-size: 0.88rem; color: var(--text-muted); margin-bottom: 24px; }
.contact-form { display: flex; flex-direction: column; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 0.85rem; font-weight: 600; color: var(--text-dark); }
.req { color: #e74c3c; }
.form-group input, .form-group select, .form-group textarea {
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 0.9rem; font-family: var(--font-main);
  color: var(--text-dark);
  background: var(--light-bg);
  transition: var(--transition);
  outline: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--primary);
  background: white;
  box-shadow: 0 0 0 3px rgba(123,47,190,0.1);
}
.form-check { flex-direction: row; align-items: center; }
.checkbox-label { display: flex; align-items: center; gap: 10px; cursor: pointer; font-size: 0.88rem; }
.checkbox-label input { width: 18px; height: 18px; accent-color: var(--primary); }
.btn-submit {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white; border: none;
  padding: 14px 28px; border-radius: var(--radius-sm);
  font-size: 1rem; font-weight: 700;
  display: flex; align-items: center; gap: 8px; justify-content: center;
  transition: var(--transition);
  cursor: pointer;
}
.btn-submit:hover:not(:disabled) { background: linear-gradient(135deg, var(--primary-dark), var(--primary)); transform: translateY(-2px); }
.btn-submit:disabled { opacity: 0.6; cursor: not-allowed; }
.form-success, .form-error {
  padding: 14px 18px; border-radius: var(--radius-sm);
  display: flex; align-items: center; gap: 10px; font-size: 0.9rem;
}
.form-success { background: #e8f8f0; color: #1e7d46; border: 1px solid #7dcea0; }
.form-error { background: #fdf2f2; color: #c0392b; border: 1px solid #f1948a; }

/* Map */
.map-section { margin-bottom: 48px; }
.map-section h2 { font-size: 1.4rem; font-weight: 800; color: var(--text-dark); margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }
.map-section h2 i { color: var(--primary); }
.map-embed-wrap { border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-md); border: 1px solid var(--border-light); }

/* FAQ */
.faq-section { margin-bottom: 48px; }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: white; border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.faq-item summary {
  padding: 18px 20px;
  font-size: 0.95rem; font-weight: 700; color: var(--text-dark);
  cursor: pointer; user-select: none;
  display: flex; align-items: center; justify-content: space-between;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 1.3rem; color: var(--primary); transition: var(--transition); }
.faq-item[open] summary::after { content: '−'; }
.faq-item p { padding: 0 20px 18px; font-size: 0.9rem; color: var(--text-body); line-height: 1.8; border-top: 1px solid var(--border-light); padding-top: 14px; }

/* ---- TERMS PAGE ---- */
.terms-container { max-width: 760px; }
.terms-toc {
  background: var(--light-bg);
  border-radius: var(--radius-md);
  padding: 24px; margin-bottom: 40px;
  border: 1px solid var(--border-light);
}
.terms-toc h3 { font-size: 1rem; font-weight: 700; color: var(--text-dark); margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
.terms-toc h3 i { color: var(--primary); }
.terms-toc ol { padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }
.terms-toc a { color: var(--primary); font-size: 0.9rem; font-weight: 500; }
.terms-toc a:hover { text-decoration: underline; }
.terms-section { margin-bottom: 36px; padding-bottom: 36px; border-bottom: 1px solid var(--border-light); }
.terms-section:last-child { border-bottom: none; }
.terms-section h2 { font-size: 1.2rem; font-weight: 800; color: var(--text-dark); margin-bottom: 16px; }
.terms-section p { font-size: 0.92rem; color: var(--text-body); margin-bottom: 12px; line-height: 1.8; }
.terms-list { list-style: none; display: flex; flex-direction: column; gap: 8px; padding-left: 4px; }
.terms-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.92rem; color: var(--text-body); line-height: 1.6; }
.terms-list li::before { content: '•'; color: var(--primary); font-size: 1.2rem; margin-top: -2px; flex-shrink: 0; }
.terms-highlight {
  background: #fff8e6; border: 1px solid rgba(245,166,35,0.4);
  border-radius: var(--radius-sm); padding: 14px 18px;
  display: flex; align-items: center; gap: 12px;
  font-size: 0.95rem; color: var(--text-dark); margin-bottom: 14px;
}
.terms-highlight i { color: var(--accent); font-size: 1.1rem; flex-shrink: 0; }
.contact-info-inline {
  display: flex; align-items: center; gap: 10px;
  background: var(--light-bg); border-radius: var(--radius-sm);
  padding: 14px 18px; font-size: 0.95rem;
}
.contact-info-inline i { color: var(--primary); }
.contact-info-inline a { color: var(--primary); font-weight: 700; }

/* Fade-in animations */
.fade-in-el { opacity: 0; transform: translateY(20px); transition: opacity 0.5s ease, transform 0.5s ease; }
.fade-in-el.visible { opacity: 1; transform: translateY(0); }

/* Scrolled header */
.site-header.scrolled { box-shadow: 0 4px 20px rgba(123,47,190,0.12); }

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .habits-grid { grid-template-columns: 1fr; }
  .page-hero { padding: 60px 20px 80px; }
}
@media (max-width: 480px) {
  .support-cards-grid { grid-template-columns: 1fr; }
  .responsible-promo-card { padding: 28px 20px; }
}
