/* SEO + traffic: visible hub (indexed), landing block, footer nav */

/* Main traffic hub — visible in HTML for Google & visitors */
.fb-traffic-hub {
  max-width: 1200px;
  margin: 0 auto 2.5rem;
  padding: 0 1.25rem;
}

.fb-traffic-inner {
  padding: 2rem 1.5rem 2.25rem;
  border-radius: 20px;
  border: 1px solid rgba(255, 61, 61, 0.28);
  background: linear-gradient(160deg, rgba(35, 12, 12, 0.92), rgba(15, 15, 26, 0.98));
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.fb-traffic-hub h2 {
  font-size: clamp(1.4rem, 3.5vw, 2rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.25;
  margin-bottom: 0.85rem;
}

.fb-traffic-lead {
  color: #e8e8e8;
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

.fb-traffic-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.fb-traffic-card {
  padding: 1.1rem 1.2rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 107, 107, 0.22);
  background: rgba(0, 0, 0, 0.28);
}

.fb-traffic-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffb6b6;
  margin-bottom: 0.5rem;
}

.fb-traffic-card p {
  font-size: 0.9rem;
  color: #c8c8c8;
  line-height: 1.65;
  margin: 0;
}

.fb-traffic-card a {
  color: #ffb6b6;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 142, 142, 0.4);
  padding-bottom: 1px;
  transition: color 0.22s ease, border-color 0.22s ease, text-shadow 0.22s ease;
}

.fb-traffic-card a:hover {
  color: #fff;
  border-bottom-color: #ff6b6b;
  text-shadow: 0 0 14px rgba(255, 107, 107, 0.5);
}

.fb-traffic-sub {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.65rem;
}

.fb-traffic-list {
  color: #bdc3c7;
  font-size: 0.92rem;
  line-height: 1.8;
  margin: 0 0 1.5rem 1.1rem;
}

.fb-traffic-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem;
  margin-bottom: 1.25rem;
}

.fb-traffic-nav a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 1.05rem;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #ffd8d8;
  text-decoration: none;
  background: linear-gradient(145deg, rgba(255, 61, 61, 0.18), rgba(255, 61, 61, 0.06));
  border: 1px solid rgba(255, 107, 107, 0.38);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  transition:
    transform 0.22s cubic-bezier(0.34, 1.56, 0.64, 1),
    color 0.22s ease,
    background 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease;
}

.fb-traffic-nav a:hover {
  color: #fff;
  transform: translateY(-2px);
  background: linear-gradient(135deg, rgba(255, 61, 61, 0.45), rgba(255, 142, 142, 0.22));
  border-color: rgba(255, 180, 180, 0.65);
  box-shadow: 0 8px 22px rgba(255, 61, 61, 0.35);
  text-decoration: none;
}

.fb-traffic-nav a:active {
  transform: translateY(0) scale(0.98);
}

.fb-traffic-nav a::before {
  content: '›';
  font-size: 1rem;
  font-weight: 700;
  color: #ff8e8e;
  line-height: 1;
}

.fb-traffic-nav a:hover::before {
  color: #fff;
}

.fb-traffic-faq {
  display: grid;
  gap: 0.65rem;
}

.fb-traffic-faq details {
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.22);
  padding: 0.7rem 1rem;
}

.fb-traffic-faq summary {
  cursor: pointer;
  font-weight: 600;
  color: #fff;
  list-style: none;
}

.fb-traffic-faq summary::-webkit-details-marker {
  display: none;
}

/* Load More — between grid & SEO (marked spot on homepage) */
.fb-loadmore-section {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 2.75rem 1.25rem 2.5rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-sizing: border-box;
}

.fb-loadmore-particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.fb-loadmore-aurora {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(720px, 95vw);
  height: 140px;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse at center, rgba(255, 61, 61, 0.35) 0%, transparent 68%);
  filter: blur(28px);
  animation: fbLoadAurora 4s ease-in-out infinite alternate;
  pointer-events: none;
}

.fb-loadmore-particles span {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 142, 142, 0.85);
  box-shadow: 0 0 12px rgba(255, 61, 61, 0.8);
  animation: fbLoadParticle 5s ease-in-out infinite;
  pointer-events: none;
}

.fb-loadmore-particles span:nth-child(1) { left: 12%; top: 30%; animation-delay: 0s; }
.fb-loadmore-particles span:nth-child(2) { left: 28%; top: 70%; animation-delay: 0.8s; width: 4px; height: 4px; }
.fb-loadmore-particles span:nth-child(3) { left: 50%; top: 20%; animation-delay: 1.2s; }
.fb-loadmore-particles span:nth-child(4) { right: 22%; top: 65%; left: auto; animation-delay: 0.4s; }
.fb-loadmore-particles span:nth-child(5) { right: 10%; top: 35%; left: auto; animation-delay: 1.6s; width: 5px; height: 5px; }
.fb-loadmore-particles span:nth-child(6) { left: 72%; top: 50%; animation-delay: 2s; opacity: 0.7; }

.fb-loadmore-wrap {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
}

.fb-loadmore-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  padding: 4px;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(135deg, #ff3d3d, #ffd700, #ff6b6b, #ff3d3d);
  background-size: 300% 300%;
  animation: fbLoadBorderFlow 4s ease infinite, fbLoadMoreFloat 3s ease-in-out infinite;
  box-shadow:
    0 12px 40px rgba(255, 61, 61, 0.5),
    0 0 60px rgba(255, 61, 61, 0.15);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s ease;
}

.fb-loadmore-btn::before {
  content: '';
  position: absolute;
  inset: 4px;
  border-radius: 999px;
  background: linear-gradient(165deg, #1a0a0a 0%, #120810 40%, #0f0f1a 100%);
  z-index: 0;
}

.fb-loadmore-glow {
  position: absolute;
  inset: -8px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255, 61, 61, 0.55) 0%, transparent 70%);
  opacity: 0.6;
  animation: fbLoadGlow 2s ease-in-out infinite alternate;
  pointer-events: none;
  z-index: -1;
}

.fb-loadmore-orbit {
  position: absolute;
  inset: -6px;
  border-radius: 999px;
  border: 2px dashed rgba(255, 180, 180, 0.35);
  animation: fbLoadOrbit 8s linear infinite;
  pointer-events: none;
}

.fb-loadmore-shine {
  position: absolute;
  inset: 4px;
  border-radius: 999px;
  overflow: hidden;
  z-index: 1;
  pointer-events: none;
}

.fb-loadmore-shine::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.22), transparent);
  animation: fbLoadMoreShine 2.5s ease-in-out infinite;
}

.fb-loadmore-inner {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem 2.35rem;
  min-width: min(320px, 88vw);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255, 61, 61, 0.95) 0%, rgba(255, 107, 107, 0.92) 50%, rgba(255, 61, 61, 0.95) 100%);
  background-size: 200% 200%;
  animation: fbLoadInnerShift 3s ease infinite;
}

.fb-loadmore-btn:hover:not(:disabled) {
  transform: translateY(-5px) scale(1.04);
  box-shadow:
    0 20px 50px rgba(255, 61, 61, 0.6),
    0 0 80px rgba(255, 107, 107, 0.25);
}

.fb-loadmore-btn:active:not(:disabled) {
  transform: translateY(-1px) scale(0.99);
}

.fb-loadmore-btn:disabled {
  cursor: not-allowed;
  opacity: 0.75;
  animation: none;
}

.fb-loadmore-btn.is-loading {
  animation: fbLoadBorderFlow 1.2s ease infinite;
}

.fb-loadmore-btn.is-loading .fb-loadmore-icon {
  animation: fbLoadMoreSpin 0.7s linear infinite;
}

.fb-loadmore-btn.is-loading .fb-loadmore-arrow {
  opacity: 0;
}

.fb-loadmore-btn.is-done .fb-loadmore-inner {
  background: linear-gradient(135deg, #3d3d4a, #2a2a35);
}

.fb-loadmore-btn.is-done {
  background: linear-gradient(135deg, #555, #888);
  animation: none;
}

.fb-loadmore-icon {
  font-size: 1.35rem;
  color: #fff;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.35));
}

.fb-loadmore-label {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1rem, 2.8vw, 1.15rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.fb-loadmore-arrow {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.9);
  animation: fbLoadArrowBounce 1.6s ease-in-out infinite;
}

.fb-loadmore-hint {
  margin: 0;
  font-size: 0.9rem;
  color: #9ca3af;
  text-align: center;
  max-width: 440px;
  line-height: 1.55;
}

@keyframes fbLoadBorderFlow {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes fbLoadInnerShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

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

@keyframes fbLoadAurora {
  0% { opacity: 0.5; transform: translate(-50%, -50%) scale(0.95); }
  100% { opacity: 1; transform: translate(-50%, -50%) scale(1.05); }
}

@keyframes fbLoadParticle {
  0%, 100% { transform: translateY(0) scale(1); opacity: 0.4; }
  50% { transform: translateY(-12px) scale(1.2); opacity: 1; }
}

@keyframes fbLoadGlow {
  0% { opacity: 0.4; }
  100% { opacity: 0.85; }
}

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

@keyframes fbLoadMoreShine {
  0%, 35% { left: -100%; }
  55%, 100% { left: 150%; }
}

@keyframes fbLoadArrowBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(4px); }
}

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

@media (prefers-reduced-motion: reduce) {
  .fb-loadmore-btn,
  .fb-loadmore-aurora,
  .fb-loadmore-particles span,
  .fb-loadmore-orbit,
  .fb-loadmore-shine::after,
  .fb-loadmore-inner,
  .fb-loadmore-arrow,
  .fb-loadmore-btn.is-loading .fb-loadmore-icon {
    animation: none !important;
  }
}

.fb-traffic-faq p {
  margin: 0.5rem 0 0;
  font-size: 0.88rem;
  color: #c8c8c8;
  line-height: 1.6;
}

/* Legacy landing block (if JS adds duplicate — hidden when hub exists) */
.fb-seo-landing {
  max-width: 1200px;
  margin: 3rem auto 2rem;
  padding: 2rem 1.5rem;
  border-radius: 20px;
  border: 1px solid rgba(255, 61, 61, 0.2);
  background: linear-gradient(145deg, rgba(30, 39, 46, 0.85), rgba(15, 15, 26, 0.95));
}

.fb-seo-landing h2 {
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  color: #fff;
  margin-bottom: 0.75rem;
}

.fb-seo-landing p {
  color: #bdc3c7;
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 0.75rem;
}

.fb-seo-landing nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin-top: 1.25rem;
}

.fb-seo-landing nav a {
  color: #ff8e8e;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
}

.fb-seo-faq {
  margin-top: 1.5rem;
  display: grid;
  gap: 0.75rem;
}

.fb-seo-faq details {
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.25);
  padding: 0.65rem 1rem;
}

.fb-seo-faq summary {
  cursor: pointer;
  font-weight: 600;
  color: #fff;
  list-style: none;
}

.fb-footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  justify-content: center;
  margin-top: 0.75rem;
}

.fb-footer-nav a {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.95rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #ffd0d0;
  text-decoration: none;
  background: rgba(255, 61, 61, 0.12);
  border: 1px solid rgba(255, 107, 107, 0.3);
  transition: transform 0.2s ease, color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.fb-footer-nav a:hover {
  color: #fff;
  transform: translateY(-2px);
  background: rgba(255, 61, 61, 0.28);
  border-color: rgba(255, 142, 142, 0.55);
  box-shadow: 0 6px 16px rgba(255, 61, 61, 0.28);
}
