/* ============================================
   南宫28 - 在线开奖与投注数据分析平台
   主样式表 nf-style.css
   CSS前缀: nf-
   设计风格: 运动打卡活力风
   ============================================ */

/* --- CSS Variables --- */
:root {
  --nf-primary: #FF5722;
  --nf-secondary: #4CAF50;
  --nf-accent: #FFC107;
  --nf-highlight: #03A9F4;
  --nf-bg: #FAFAFA;
  --nf-text: #212121;
  --nf-text-light: #757575;
  --nf-white: #ffffff;
  --nf-border: #E0E0E0;
  --nf-gold: #FFD700;
  --nf-silver: #C0C0C0;
  --nf-bronze: #CD7F32;
  --nf-radius: 12px;
  --nf-shadow: 0 4px 12px rgba(255,87,34,0.2);
  --nf-shadow-lg: 0 8px 24px rgba(255,87,34,0.25);
  --nf-gradient: linear-gradient(135deg, #FF5722, #FFC107);
  --nf-font-title: 'Montserrat', sans-serif;
  --nf-font-body: 'Noto Sans SC', sans-serif;
  --nf-transition: all 0.3s ease;
}

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--nf-font-body);
  color: var(--nf-text);
  background-color: var(--nf-bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--nf-primary);
  text-decoration: none;
  transition: var(--nf-transition);
}

a:hover {
  color: #E64A19;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--nf-font-title);
  font-weight: 700;
  line-height: 1.3;
  color: var(--nf-text);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; margin-bottom: 1rem; }
h3 { font-size: 1.5rem; margin-bottom: 0.75rem; }
h4 { font-size: 1.25rem; margin-bottom: 0.5rem; }

p {
  margin-bottom: 1rem;
  color: var(--nf-text-light);
}

ul, ol {
  list-style: none;
}

/* --- Container --- */
.nf-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

.nf-section {
  padding: 80px 0;
}

.nf-section-title {
  text-align: center;
  margin-bottom: 50px;
}

.nf-section-title h2 {
  font-size: 2rem;
  position: relative;
  display: inline-block;
  padding-bottom: 15px;
}

.nf-section-title h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: var(--nf-gradient);
  border-radius: 2px;
}

.nf-section-title p {
  margin-top: 15px;
  font-size: 1.05rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* --- Navigation --- */
.nf-navbar {
  background: var(--nf-bg);
  border-bottom: 3px solid transparent;
  border-image: linear-gradient(90deg, var(--nf-primary), var(--nf-secondary), var(--nf-accent), var(--nf-primary)) 1;
  padding: 0 20px;
  z-index: 1000;
  position: relative;
}

.nf-navbar-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.nf-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--nf-font-title);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--nf-text);
  text-decoration: none;
}

.nf-logo span {
  color: var(--nf-primary);
}

.nf-logo img {
  height: 40px;
  width: auto;
}

.nf-nav-links {
  display: flex;
  align-items: center;
  gap: 5px;
}

.nf-nav-links a {
  font-size: 0.95rem;
  color: var(--nf-text);
  padding: 8px 14px;
  border-radius: var(--nf-radius);
  position: relative;
  font-weight: 500;
  transition: var(--nf-transition);
}

.nf-nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background: var(--nf-primary);
  border-radius: 2px;
  transition: width 0.3s ease;
}

.nf-nav-links a:hover {
  color: var(--nf-primary);
}

.nf-nav-links a:hover::after,
.nf-nav-links a.nf-active::after {
  width: 70%;
}

.nf-nav-links a.nf-active {
  color: var(--nf-primary);
}

.nf-btn-cta {
  display: inline-block;
  background: var(--nf-gradient);
  color: var(--nf-white) !important;
  padding: 10px 24px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  transition: var(--nf-transition);
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(255,87,34,0.3);
}

.nf-btn-cta:hover {
  box-shadow: var(--nf-shadow-lg);
  transform: translateY(-2px);
  color: var(--nf-white) !important;
}

.nf-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
  background: none;
  border: none;
}

.nf-hamburger span {
  width: 28px;
  height: 3px;
  background: var(--nf-text);
  border-radius: 2px;
  transition: var(--nf-transition);
}

/* --- Hero Banner --- */
.nf-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.nf-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.85) 0%, rgba(255,255,255,0.7) 50%, rgba(255,255,255,0.9) 100%);
  z-index: 1;
}

.nf-hero-particles {
  position: absolute;
  inset: 0;
  z-index: 2;
  overflow: hidden;
}

.nf-particle {
  position: absolute;
  width: 6px;
  height: 6px;
  background: var(--nf-primary);
  border-radius: 50%;
  opacity: 0.4;
  animation: nf-float 6s infinite ease-in-out;
}

.nf-particle:nth-child(2) { background: var(--nf-secondary); animation-delay: 1s; animation-duration: 8s; }
.nf-particle:nth-child(3) { background: var(--nf-accent); animation-delay: 2s; animation-duration: 7s; }
.nf-particle:nth-child(4) { background: var(--nf-highlight); animation-delay: 0.5s; animation-duration: 9s; }
.nf-particle:nth-child(5) { background: var(--nf-primary); animation-delay: 3s; animation-duration: 6s; }
.nf-particle:nth-child(6) { background: var(--nf-secondary); animation-delay: 1.5s; animation-duration: 10s; }

@keyframes nf-float {
  0%, 100% { transform: translateY(0) translateX(0); opacity: 0.3; }
  25% { transform: translateY(-80px) translateX(30px); opacity: 0.6; }
  50% { transform: translateY(-150px) translateX(-20px); opacity: 0.4; }
  75% { transform: translateY(-80px) translateX(40px); opacity: 0.5; }
}

.nf-hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 800px;
  padding: 0 20px;
}

.nf-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,87,34,0.1);
  color: var(--nf-primary);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.nf-pulse-dot {
  width: 10px;
  height: 10px;
  background: var(--nf-primary);
  border-radius: 50%;
  animation: nf-pulse 1.5s infinite;
}

@keyframes nf-pulse {
  0% { box-shadow: 0 0 0 0 rgba(255,87,34,0.5); }
  70% { box-shadow: 0 0 0 10px rgba(255,87,34,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,87,34,0); }
}

.nf-hero h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  line-height: 1.2;
}

.nf-gradient-text {
  background: var(--nf-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nf-hero-subtitle {
  font-size: 1.1rem;
  color: var(--nf-text-light);
  max-width: 640px;
  margin: 0 auto 30px;
  line-height: 1.8;
}

.nf-hero-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 50px;
}

.nf-btn-primary {
  display: inline-block;
  background: var(--nf-gradient);
  color: var(--nf-white);
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: var(--nf-transition);
  box-shadow: 0 4px 15px rgba(255,87,34,0.3);
}

.nf-btn-primary:hover {
  box-shadow: var(--nf-shadow-lg);
  transform: translateY(-3px);
  color: var(--nf-white);
}

.nf-btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--nf-primary);
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  border: 2px solid var(--nf-primary);
  cursor: pointer;
  transition: var(--nf-transition);
}

.nf-btn-outline:hover {
  background: var(--nf-primary);
  color: var(--nf-white);
  box-shadow: var(--nf-shadow);
}

.nf-hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  max-width: 700px;
  margin: 0 auto;
}

.nf-stat-item {
  text-align: center;
}

.nf-stat-number {
  font-family: var(--nf-font-title);
  font-size: 2rem;
  font-weight: 800;
  color: var(--nf-primary);
  display: block;
}

.nf-stat-label {
  font-size: 0.85rem;
  color: var(--nf-text-light);
  margin-top: 4px;
}

/* --- Cards --- */
.nf-card {
  background: var(--nf-white);
  border-radius: var(--nf-radius);
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  transition: var(--nf-transition);
}

.nf-card:hover {
  box-shadow: var(--nf-shadow);
  transform: translateY(-4px);
}

.nf-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.nf-card-body {
  padding: 20px;
}

.nf-card-tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.nf-tag-live { background: #FFEBEE; color: #D32F2F; }
.nf-tag-done { background: #E8F5E9; color: #388E3C; }
.nf-tag-soon { background: #FFF3E0; color: #F57C00; }
.nf-tag-exclusive { background: #FFF3E0; color: var(--nf-primary); }

.nf-card-title {
  font-size: 1.1rem;
  margin-bottom: 8px;
  transition: var(--nf-transition);
}

.nf-card:hover .nf-card-title {
  color: var(--nf-primary);
}

.nf-card-desc {
  font-size: 0.9rem;
  color: var(--nf-text-light);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* --- Lottery Cards Grid --- */
.nf-lottery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.nf-lottery-featured {
  grid-row: span 2;
}

.nf-lottery-featured .nf-card-img {
  height: 100%;
  min-height: 300px;
}

.nf-lottery-number {
  font-family: var(--nf-font-title);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--nf-primary);
  margin: 10px 0;
}

.nf-mini-chart {
  height: 40px;
  display: flex;
  align-items: flex-end;
  gap: 3px;
  margin-top: 10px;
}

.nf-mini-bar {
  flex: 1;
  background: var(--nf-primary);
  border-radius: 2px 2px 0 0;
  opacity: 0.6;
  transition: var(--nf-transition);
}

.nf-mini-bar:hover {
  opacity: 1;
}

/* --- Video Section --- */
.nf-video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.nf-video-card {
  background: var(--nf-white);
  border-radius: var(--nf-radius);
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  transition: var(--nf-transition);
}

.nf-video-card:hover {
  box-shadow: var(--nf-shadow);
  transform: translateY(-4px);
}

.nf-video-wrapper {
  position: relative;
  width: 100%;
}

.nf-video-wrapper video {
  width: 100%;
  display: block;
}

.nf-video-duration {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(0,0,0,0.7);
  color: var(--nf-white);
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 600;
}

.nf-video-info {
  padding: 16px 20px;
}

.nf-video-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.nf-video-desc {
  font-size: 0.85rem;
  color: var(--nf-text-light);
}

/* --- Track Background --- */
.nf-track-bg {
  position: relative;
  background: linear-gradient(135deg, #FFF5F2 0%, #F0FFF0 100%);
}

.nf-track-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: repeating-linear-gradient(
    90deg,
    transparent,
    transparent 80px,
    rgba(255,87,34,0.05) 80px,
    rgba(255,87,34,0.05) 82px
  );
  pointer-events: none;
}

/* --- Ranking --- */
.nf-ranking-layout {
  display: grid;
  grid-template-columns: 350px 1fr;
  gap: 40px;
  align-items: start;
}

.nf-podium {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 16px;
  padding: 40px 0;
}

.nf-podium-item {
  text-align: center;
}

.nf-podium-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--nf-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--nf-white);
  font-weight: 800;
  font-size: 1.2rem;
  margin: 0 auto 8px;
  font-family: var(--nf-font-title);
}

.nf-podium-bar {
  width: 80px;
  border-radius: 8px 8px 0 0;
  margin: 0 auto;
}

.nf-podium-name {
  font-size: 0.85rem;
  font-weight: 600;
  margin-top: 8px;
}

.nf-ranking-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--nf-white);
  border-radius: var(--nf-radius);
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.nf-ranking-table th {
  background: var(--nf-text);
  color: var(--nf-white);
  padding: 14px 16px;
  text-align: left;
  font-size: 0.9rem;
  font-weight: 600;
}

.nf-ranking-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--nf-border);
  font-size: 0.9rem;
}

.nf-ranking-table tr:hover {
  background: #FFF5F2;
}

.nf-trend-up {
  color: var(--nf-secondary);
  font-weight: 600;
}

.nf-rank-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--nf-white);
}

/* --- Tool Cards --- */
.nf-tools-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.nf-tool-card {
  background: var(--nf-white);
  border-radius: var(--nf-radius);
  padding: 30px 24px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  transition: var(--nf-transition);
}

.nf-tool-card:hover {
  box-shadow: var(--nf-shadow);
  transform: translateY(-4px);
}

.nf-tool-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  background: linear-gradient(135deg, #FFF5F2, #FFF8E1);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
}

.nf-tool-name {
  font-family: var(--nf-font-title);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.nf-tool-desc {
  font-size: 0.85rem;
  color: var(--nf-text-light);
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.nf-tool-heat {
  font-size: 0.8rem;
  color: var(--nf-primary);
  font-weight: 600;
  margin-bottom: 16px;
}

.nf-btn-tool {
  display: inline-block;
  padding: 8px 24px;
  border: 2px solid var(--nf-primary);
  color: var(--nf-primary);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  transition: var(--nf-transition);
  background: transparent;
  cursor: pointer;
}

.nf-btn-tool:hover {
  background: var(--nf-primary);
  color: var(--nf-white);
}

/* --- Recruit Section --- */
.nf-recruit-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.nf-recruit-benefits h3 {
  margin-bottom: 20px;
}

.nf-benefit-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.nf-benefit-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.nf-benefit-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  background: linear-gradient(135deg, #FFF5F2, #FFF8E1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.nf-benefit-text h4 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.nf-benefit-text p {
  font-size: 0.85rem;
  margin: 0;
}

.nf-form-card {
  background: var(--nf-white);
  border-radius: var(--nf-radius);
  padding: 36px;
  box-shadow: var(--nf-shadow);
}

.nf-form-group {
  margin-bottom: 20px;
}

.nf-form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--nf-text);
}

.nf-form-group input,
.nf-form-group select,
.nf-form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--nf-border);
  border-radius: var(--nf-radius);
  font-size: 0.95rem;
  font-family: var(--nf-font-body);
  transition: var(--nf-transition);
  background: var(--nf-bg);
}

.nf-form-group input:focus,
.nf-form-group select:focus,
.nf-form-group textarea:focus {
  outline: none;
  border-color: var(--nf-primary);
  box-shadow: 0 0 0 3px rgba(255,87,34,0.1);
}

.nf-form-group textarea {
  min-height: 100px;
  resize: vertical;
}

.nf-btn-submit {
  width: 100%;
  padding: 14px;
  background: var(--nf-gradient);
  color: var(--nf-white);
  border: none;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--nf-transition);
}

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

/* --- Prediction Section --- */
.nf-predict-card {
  max-width: 700px;
  margin: 0 auto;
  background: var(--nf-white);
  border-radius: var(--nf-radius);
  padding: 40px;
  box-shadow: var(--nf-shadow);
  text-align: center;
}

.nf-predict-options {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 24px 0;
}

.nf-predict-btn {
  padding: 12px 28px;
  border: 2px solid var(--nf-border);
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--nf-transition);
  background: var(--nf-white);
  color: var(--nf-text);
}

.nf-predict-btn:hover,
.nf-predict-btn.nf-selected {
  border-color: var(--nf-primary);
  background: var(--nf-primary);
  color: var(--nf-white);
}

.nf-predict-chart {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 30px;
}

.nf-chart-bar-group {
  text-align: center;
}

.nf-chart-bar-wrapper {
  width: 60px;
  height: 150px;
  background: #F5F5F5;
  border-radius: 8px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  margin-bottom: 8px;
}

.nf-chart-bar-fill {
  width: 100%;
  border-radius: 8px 8px 0 0;
  transition: height 0.5s ease;
}

.nf-chart-label {
  font-size: 0.8rem;
  font-weight: 600;
}

.nf-chart-percent {
  font-size: 0.75rem;
  color: var(--nf-text-light);
}

/* --- Articles Grid --- */
.nf-articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.nf-article-card {
  background: var(--nf-white);
  border-radius: var(--nf-radius);
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  transition: var(--nf-transition);
}

.nf-article-card:hover {
  box-shadow: var(--nf-shadow);
  transform: translateY(-4px);
}

.nf-article-img-wrapper {
  position: relative;
  overflow: hidden;
}

.nf-article-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.nf-article-card:hover .nf-article-img {
  transform: scale(1.05);
}

.nf-article-body {
  padding: 20px;
}

.nf-article-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
  transition: var(--nf-transition);
}

.nf-article-card:hover .nf-article-title {
  color: var(--nf-primary);
}

.nf-article-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  font-size: 0.8rem;
  color: var(--nf-text-light);
}

.nf-article-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--nf-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--nf-white);
  font-weight: 700;
  font-size: 0.75rem;
}

/* --- Gallery Masonry --- */
.nf-gallery-grid {
  columns: 4;
  column-gap: 16px;
}

.nf-gallery-item {
  break-inside: avoid;
  margin-bottom: 16px;
  border-radius: var(--nf-radius);
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.nf-gallery-item img {
  width: 100%;
  display: block;
  transition: transform 0.4s ease;
}

.nf-gallery-item:hover img {
  transform: scale(1.08);
}

.nf-gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.7) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: flex-end;
  padding: 16px;
}

.nf-gallery-item:hover .nf-gallery-overlay {
  opacity: 1;
}

.nf-gallery-info {
  color: var(--nf-white);
}

.nf-gallery-info h4 {
  color: var(--nf-white);
  font-size: 0.9rem;
  margin-bottom: 4px;
}

.nf-gallery-info p {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.8);
  margin: 0;
}

/* --- Community --- */
.nf-community-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 30px;
}

.nf-topic-list {
  background: var(--nf-white);
  border-radius: var(--nf-radius);
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.nf-topic-item {
  padding: 12px 0;
  border-bottom: 1px solid var(--nf-border);
  cursor: pointer;
  transition: var(--nf-transition);
}

.nf-topic-item:last-child {
  border-bottom: none;
}

.nf-topic-item:hover {
  color: var(--nf-primary);
}

.nf-topic-hot {
  font-size: 0.75rem;
  background: #FFEBEE;
  color: #D32F2F;
  padding: 2px 8px;
  border-radius: 4px;
  margin-left: 8px;
}

.nf-comments-flow {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.nf-comment-card {
  background: var(--nf-white);
  border-radius: var(--nf-radius);
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.nf-comment-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.nf-comment-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--nf-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--nf-white);
  font-weight: 700;
  font-size: 0.9rem;
}

.nf-comment-name {
  font-weight: 600;
  font-size: 0.95rem;
}

.nf-comment-time {
  font-size: 0.8rem;
  color: var(--nf-text-light);
}

.nf-comment-text {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--nf-text);
}

.nf-comment-actions {
  display: flex;
  gap: 20px;
  margin-top: 12px;
  font-size: 0.85rem;
  color: var(--nf-text-light);
}

.nf-comment-actions span {
  cursor: pointer;
  transition: var(--nf-transition);
}

.nf-comment-actions span:hover {
  color: var(--nf-primary);
}

/* --- Partners --- */
.nf-partners-section {
  background: #F5F5F5;
  padding: 60px 0;
}

.nf-partners-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.nf-partner-logo {
  height: 50px;
  opacity: 0.6;
  transition: var(--nf-transition);
  filter: grayscale(100%);
}

.nf-partner-logo:hover {
  opacity: 1;
  filter: grayscale(0%);
}

.nf-badges {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.nf-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--nf-white);
  padding: 12px 24px;
  border-radius: var(--nf-radius);
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  font-size: 0.9rem;
  font-weight: 600;
}

.nf-badge-icon {
  width: 36px;
  height: 36px;
  background: var(--nf-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--nf-white);
  font-size: 1rem;
}

/* --- Footer --- */
.nf-footer {
  background: #F5F5F5;
  border-top: 3px solid transparent;
  border-image: linear-gradient(90deg, var(--nf-primary), var(--nf-secondary), var(--nf-accent)) 1;
  padding: 50px 0 0;
}

.nf-footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}

.nf-footer-brand p {
  font-size: 0.9rem;
  margin-top: 12px;
  line-height: 1.7;
}

.nf-footer-social {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.nf-social-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--nf-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--nf-white);
  font-size: 0.9rem;
  transition: var(--nf-transition);
}

.nf-social-icon:hover {
  background: #E64A19;
  transform: translateY(-3px);
}

.nf-footer-links h4 {
  font-size: 1rem;
  margin-bottom: 16px;
  color: var(--nf-text);
}

.nf-footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.nf-footer-links a {
  color: var(--nf-text-light);
  font-size: 0.9rem;
  transition: var(--nf-transition);
}

.nf-footer-links a:hover {
  color: var(--nf-primary);
  padding-left: 4px;
}

.nf-footer-bottom {
  border-top: 1px solid var(--nf-border);
  padding: 20px 0;
  text-align: center;
  font-size: 0.8rem;
  color: var(--nf-text-light);
  line-height: 1.8;
}

/* --- Breadcrumb --- */
.nf-breadcrumb {
  padding: 16px 0;
  font-size: 0.85rem;
}

.nf-breadcrumb a {
  color: var(--nf-text-light);
}

.nf-breadcrumb a:hover {
  color: var(--nf-primary);
}

.nf-breadcrumb span {
  color: var(--nf-text-light);
  margin: 0 8px;
}

/* --- Page Hero --- */
.nf-page-hero {
  position: relative;
  height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.nf-page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,87,34,0.85), rgba(76,175,80,0.7));
  z-index: 1;
}

.nf-page-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--nf-white);
}

.nf-page-hero-content h1 {
  color: var(--nf-white);
  font-size: 2.5rem;
  margin-bottom: 12px;
}

.nf-page-hero-content p {
  color: rgba(255,255,255,0.9);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* --- Content Page --- */
.nf-content-section {
  padding: 60px 0;
}

.nf-content-body {
  max-width: 900px;
  margin: 0 auto;
  font-size: 1rem;
  line-height: 1.9;
}

.nf-content-body h2 {
  margin-top: 40px;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--nf-primary);
}

.nf-content-body h3 {
  margin-top: 30px;
  margin-bottom: 12px;
}

.nf-content-body p {
  color: var(--nf-text);
  margin-bottom: 16px;
}

.nf-content-body img {
  border-radius: var(--nf-radius);
  margin: 24px 0;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* --- Data Wall --- */
.nf-data-screen {
  background: #1a1a2e;
  border-radius: var(--nf-radius);
  padding: 30px;
  color: var(--nf-white);
  overflow: hidden;
}

.nf-data-ticker {
  display: flex;
  gap: 20px;
  animation: nf-scroll 20s linear infinite;
}

@keyframes nf-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.nf-data-item {
  flex-shrink: 0;
  background: rgba(255,255,255,0.1);
  padding: 16px 24px;
  border-radius: 8px;
  min-width: 200px;
  text-align: center;
}

.nf-data-item-name {
  font-size: 0.85rem;
  opacity: 0.8;
  margin-bottom: 6px;
}

.nf-data-item-number {
  font-family: var(--nf-font-title);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--nf-accent);
}

.nf-chart-container {
  background: var(--nf-white);
  border-radius: var(--nf-radius);
  padding: 30px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  margin-bottom: 30px;
}

.nf-heatmap-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}

.nf-heat-cell {
  aspect-ratio: 1;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--nf-white);
  transition: var(--nf-transition);
  cursor: pointer;
}

.nf-heat-cell:hover {
  transform: scale(1.1);
}

/* --- APP Download --- */
.nf-app-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.nf-app-mockup {
  position: relative;
  text-align: center;
}

.nf-app-mockup img {
  max-height: 500px;
  margin: 0 auto;
  transform: perspective(800px) rotateY(-8deg);
  border-radius: 20px;
  box-shadow: var(--nf-shadow-lg);
}

.nf-app-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255,87,34,0.2), transparent);
  border-radius: 50%;
  z-index: -1;
}

.nf-app-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 30px 0;
}

.nf-app-feature {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.nf-app-feature-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: linear-gradient(135deg, #FFF5F2, #FFF8E1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.nf-download-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.nf-download-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--nf-radius);
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--nf-transition);
  cursor: pointer;
  border: none;
}

.nf-download-btn-ios {
  background: var(--nf-text);
  color: var(--nf-white);
}

.nf-download-btn-android {
  background: var(--nf-secondary);
  color: var(--nf-white);
}

.nf-download-btn-apk {
  background: var(--nf-primary);
  color: var(--nf-white);
}

.nf-download-btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--nf-shadow);
}

/* --- FAQ --- */
.nf-faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.nf-faq-item {
  background: var(--nf-white);
  border-radius: var(--nf-radius);
  margin-bottom: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  overflow: hidden;
}

.nf-faq-question {
  padding: 18px 24px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--nf-transition);
}

.nf-faq-question:hover {
  color: var(--nf-primary);
}

.nf-faq-arrow {
  transition: transform 0.3s ease;
  font-size: 0.9rem;
}

.nf-faq-item.nf-open .nf-faq-arrow {
  transform: rotate(180deg);
}

.nf-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.nf-faq-answer-inner {
  padding: 0 24px 18px;
  font-size: 0.95rem;
  color: var(--nf-text-light);
  line-height: 1.7;
}

/* --- Utility --- */
.nf-text-center { text-align: center; }
.nf-text-primary { color: var(--nf-primary); }
.nf-text-secondary { color: var(--nf-secondary); }
.nf-mt-20 { margin-top: 20px; }
.nf-mt-40 { margin-top: 40px; }
.nf-mb-20 { margin-bottom: 20px; }
.nf-mb-40 { margin-bottom: 40px; }
.nf-glow {
  box-shadow: var(--nf-shadow);
}
