/* ============================================
   ng体育 - 极限滑板与街头运动文化平台
   CSS/ID前缀: ns-
   设计风格: 涂鸦街头嘻哈风 (Graffiti Street Hip-hop)
   ============================================ */

/* --- Font Faces --- */
@font-face {
  font-family: 'Bangers';
  src: url('../fonts/Bangers-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* --- CSS Variables --- */
:root {
  --ns-primary: #FFD900;
  --ns-secondary: #2A2A2A;
  --ns-accent: #FF3B30;
  --ns-blue: #4A90E2;
  --ns-bg: #1E1E1E;
  --ns-text: #FFFFFF;
  --ns-text-muted: #BDBDBD;
  --ns-radius: 4px;
  --ns-shadow: 2px 2px 0px #FF3B30;
  --ns-font-title: 'Bangers', 'Impact', sans-serif;
  --ns-font-body: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', sans-serif;
}

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

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

body {
  font-family: var(--ns-font-body);
  background-color: var(--ns-bg);
  color: var(--ns-text);
  line-height: 1.7;
  overflow-x: hidden;
}

a {
  color: var(--ns-primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--ns-accent);
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--ns-font-title);
  line-height: 1.2;
  letter-spacing: 1px;
}

.ns-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 20px;
}

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

.ns-section-title {
  font-size: 2.5rem;
  color: var(--ns-primary);
  text-shadow: var(--ns-shadow);
  margin-bottom: 40px;
  text-align: center;
}

/* --- Navigation --- */
#ns-header {
  width: 100%;
  background: rgba(42, 42, 42, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 12px 0;
  z-index: 1000;
  position: relative;
}

.ns-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 20px;
}

.ns-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ns-logo img {
  width: 48px;
  height: 48px;
  border-radius: var(--ns-radius);
}

.ns-logo-text {
  font-family: var(--ns-font-title);
  font-size: 1.8rem;
  color: var(--ns-primary);
  text-shadow: var(--ns-shadow);
}

.ns-nav-links {
  display: flex;
  list-style: none;
  gap: 8px;
  align-items: center;
}

.ns-nav-links li a {
  color: var(--ns-text);
  font-size: 0.95rem;
  padding: 8px 14px;
  position: relative;
  transition: color 0.3s;
  white-space: nowrap;
}

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

.ns-nav-links li a:hover::after,
.ns-nav-links li a.ns-active::after {
  width: 80%;
}

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

.ns-cta-btn {
  background: var(--ns-accent);
  color: #fff !important;
  padding: 10px 22px !important;
  border-radius: var(--ns-radius);
  font-weight: 700;
  font-size: 0.9rem !important;
  transition: transform 0.2s, box-shadow 0.2s !important;
  border: none;
  cursor: pointer;
}

.ns-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 59, 48, 0.4);
  color: #fff !important;
}

/* Hamburger */
.ns-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1100;
}

.ns-hamburger span {
  width: 28px;
  height: 3px;
  background: var(--ns-primary);
  border-radius: 2px;
  transition: all 0.3s;
}

.ns-hamburger.ns-open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.ns-hamburger.ns-open span:nth-child(2) {
  opacity: 0;
}

.ns-hamburger.ns-open span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Menu */
.ns-mobile-menu {
  position: fixed;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100vh;
  background: rgba(30, 30, 30, 0.98);
  z-index: 1050;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 24px;
  transition: left 0.4s ease;
}

.ns-mobile-menu.ns-open {
  left: 0;
}

.ns-mobile-menu a {
  font-family: var(--ns-font-title);
  font-size: 2rem;
  color: var(--ns-text);
  transition: color 0.3s;
}

.ns-mobile-menu a:hover {
  color: var(--ns-primary);
}

/* --- Hero Section --- */
#ns-hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ns-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.7) brightness(0.5);
}

.ns-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(0,0,0,0.6) 0%, rgba(30,30,30,0.3) 50%, rgba(30,30,30,0.9) 100%);
}

.ns-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 20px;
  animation: ns-fadeInUp 1.2s ease-out;
}

.ns-hero-content h1 {
  font-size: 4rem;
  color: var(--ns-primary);
  text-shadow: 3px 3px 0px var(--ns-accent), 6px 6px 0px rgba(0,0,0,0.3);
  margin-bottom: 20px;
  animation: ns-glitch 0.8s ease-out;
}

.ns-hero-subtitle {
  font-size: 1.3rem;
  color: var(--ns-text-muted);
  max-width: 600px;
  margin: 0 auto 30px;
  font-style: italic;
}

.ns-hero-cta {
  display: inline-block;
  background: var(--ns-primary);
  color: var(--ns-secondary) !important;
  padding: 16px 40px;
  font-family: var(--ns-font-title);
  font-size: 1.3rem;
  border-radius: var(--ns-radius);
  transition: transform 0.3s, box-shadow 0.3s;
  text-shadow: none;
}

.ns-hero-cta:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 25px rgba(255, 217, 0, 0.4);
  color: var(--ns-secondary) !important;
}

/* --- NG Headlines (Module 2) --- */
.ns-headlines-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.ns-headline-card {
  background: var(--ns-secondary);
  border-radius: var(--ns-radius);
  overflow: hidden;
  position: relative;
  transition: transform 0.3s, box-shadow 0.3s;
  border: 2px solid transparent;
}

.ns-headline-card:hover {
  transform: translateY(-8px);
  box-shadow: 4px 4px 0px var(--ns-accent);
  border-color: var(--ns-accent);
}

.ns-headline-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.4s;
}

.ns-headline-card:hover img {
  transform: scale(1.05);
}

.ns-headline-card-body {
  padding: 16px;
}

.ns-tag {
  display: inline-block;
  background: var(--ns-primary);
  color: var(--ns-secondary);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  transform: rotate(-2deg);
  margin-bottom: 8px;
}

.ns-headline-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: var(--ns-text);
  font-family: var(--ns-font-body);
  font-weight: 700;
}

.ns-headline-card .ns-date {
  font-size: 0.8rem;
  color: var(--ns-text-muted);
}

/* --- Street Beats (Module 3) --- */
#ns-beats {
  background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
}

.ns-beats-wrap {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.ns-album-cover {
  flex-shrink: 0;
  width: 300px;
  height: 300px;
  border-radius: var(--ns-radius);
  overflow: hidden;
  box-shadow: var(--ns-shadow);
}

.ns-album-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ns-playlist {
  flex: 1;
}

.ns-playlist h3 {
  font-size: 1.5rem;
  color: var(--ns-primary);
  margin-bottom: 20px;
}

.ns-track {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 16px;
  border-radius: var(--ns-radius);
  transition: background 0.3s;
  cursor: pointer;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.ns-track:hover {
  background: rgba(255, 217, 0, 0.1);
}

.ns-track-num {
  font-family: var(--ns-font-title);
  font-size: 1.5rem;
  color: var(--ns-text-muted);
  min-width: 30px;
}

.ns-track-info {
  flex: 1;
}

.ns-track-title {
  font-weight: 700;
  color: var(--ns-text);
}

.ns-track-artist {
  font-size: 0.85rem;
  color: var(--ns-text-muted);
}

.ns-track-play {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--ns-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ns-secondary);
  font-size: 0.9rem;
  transition: transform 0.2s;
}

.ns-track-play:hover {
  transform: scale(1.15);
}

/* --- Graffiti Wall (Module 4) --- */
.ns-graffiti-grid {
  column-count: 3;
  column-gap: 16px;
}

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

.ns-graffiti-item img {
  width: 100%;
  display: block;
  transition: transform 0.4s;
}

.ns-graffiti-item:hover img {
  transform: scale(1.05);
}

.ns-graffiti-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px;
  background: linear-gradient(transparent, rgba(0,0,0,0.85));
  opacity: 0;
  transition: opacity 0.3s;
}

.ns-graffiti-item:hover .ns-graffiti-overlay {
  opacity: 1;
}

.ns-graffiti-author {
  font-weight: 700;
  font-size: 0.9rem;
}

.ns-graffiti-likes {
  color: var(--ns-accent);
  font-size: 0.85rem;
}

/* --- Extreme Videos (Module 5) --- */
.ns-videos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.ns-video-card {
  background: var(--ns-secondary);
  border-radius: 16px;
  overflow: hidden;
  border: 4px solid #444;
  box-shadow: inset 0 0 20px rgba(0,0,0,0.5), 4px 4px 0px #333;
  position: relative;
}

.ns-video-card::before {
  content: '';
  position: absolute;
  top: 10px;
  right: 14px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: radial-gradient(circle, #666 30%, #444 70%);
  border: 2px solid #555;
  z-index: 2;
}

.ns-video-card video {
  width: 100%;
  height: 220px;
  object-fit: cover;
  background: #000;
}

.ns-video-card-body {
  padding: 16px;
}

.ns-video-card h3 {
  font-size: 1rem;
  color: var(--ns-primary);
  margin-bottom: 6px;
  font-family: var(--ns-font-body);
  font-weight: 700;
}

.ns-video-card p {
  font-size: 0.85rem;
  color: var(--ns-text-muted);
}

/* --- Skatepark Radar (Module 6) --- */
.ns-radar-wrap {
  display: flex;
  gap: 30px;
  align-items: stretch;
}

.ns-radar-map {
  flex: 1;
  min-height: 400px;
  border-radius: var(--ns-radius);
  overflow: hidden;
  position: relative;
}

.ns-radar-map img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ns-radar-list {
  width: 360px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ns-park-card {
  display: flex;
  gap: 14px;
  background: var(--ns-secondary);
  border-radius: var(--ns-radius);
  padding: 12px;
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
}

.ns-park-card:hover {
  transform: translateX(6px);
  box-shadow: -4px 0 0 var(--ns-primary);
}

.ns-park-card img {
  width: 80px;
  height: 80px;
  border-radius: var(--ns-radius);
  object-fit: cover;
  flex-shrink: 0;
}

.ns-park-info h4 {
  font-family: var(--ns-font-title);
  font-size: 1.1rem;
  color: var(--ns-primary);
  margin-bottom: 4px;
}

.ns-park-info p {
  font-size: 0.8rem;
  color: var(--ns-text-muted);
}

.ns-stars {
  color: var(--ns-primary);
  font-size: 0.85rem;
}

/* --- Street Legends (Module 7) --- */
.ns-legends-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.ns-legend-card {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.ns-legend-photo {
  width: 200px;
  height: 260px;
  flex-shrink: 0;
  border-radius: var(--ns-radius);
  overflow: hidden;
  box-shadow: var(--ns-shadow);
}

.ns-legend-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  transition: filter 0.4s;
}

.ns-legend-card:hover .ns-legend-photo img {
  filter: grayscale(0%);
}

.ns-legend-info h3 {
  font-size: 1.6rem;
  color: var(--ns-primary);
  margin-bottom: 4px;
}

.ns-legend-info .ns-legend-role {
  font-size: 0.9rem;
  color: var(--ns-accent);
  margin-bottom: 12px;
  display: block;
}

.ns-legend-info p {
  font-size: 0.95rem;
  color: var(--ns-text-muted);
  line-height: 1.8;
}

.ns-legend-info blockquote {
  border-left: 3px solid var(--ns-primary);
  padding-left: 16px;
  margin-top: 12px;
  font-style: italic;
  color: var(--ns-text-muted);
}

/* --- Equipment (Module 8) --- */
.ns-equip-carousel {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 20px 0;
  scrollbar-width: none;
}

.ns-equip-carousel::-webkit-scrollbar {
  display: none;
}

.ns-equip-card {
  flex: 0 0 280px;
  scroll-snap-align: center;
  background: var(--ns-secondary);
  border-radius: var(--ns-radius);
  overflow: hidden;
  transition: transform 0.4s;
  position: relative;
}

.ns-equip-card:hover {
  transform: scale(1.05);
}

.ns-equip-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.ns-equip-label {
  position: absolute;
  top: 12px;
  right: -8px;
  background: var(--ns-primary);
  color: var(--ns-secondary);
  padding: 4px 14px;
  font-size: 0.75rem;
  font-weight: 700;
  transform: rotate(3deg);
}

.ns-equip-body {
  padding: 16px;
}

.ns-equip-body .ns-brand {
  font-size: 0.8rem;
  color: var(--ns-text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.ns-equip-body h3 {
  font-family: var(--ns-font-body);
  font-weight: 700;
  font-size: 1rem;
  margin: 4px 0;
}

.ns-equip-body .ns-price {
  font-family: var(--ns-font-title);
  font-size: 1.3rem;
  color: var(--ns-primary);
}

.ns-equip-btn {
  display: inline-block;
  margin-top: 10px;
  padding: 8px 20px;
  background: transparent;
  border: 2px solid var(--ns-primary);
  color: var(--ns-primary);
  border-radius: var(--ns-radius);
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.3s;
}

.ns-equip-btn:hover {
  background: var(--ns-primary);
  color: var(--ns-secondary);
}

/* --- Join Us (Module 9) --- */
#ns-join {
  position: relative;
  background-size: cover;
  background-position: center;
  padding: 100px 0;
}

#ns-join::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(30, 30, 30, 0.85);
}

.ns-join-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.ns-neon-title {
  font-family: var(--ns-font-title);
  font-size: 3rem;
  color: var(--ns-primary);
  text-shadow: 0 0 10px rgba(255,217,0,0.5), 0 0 20px rgba(255,217,0,0.3), 0 0 40px rgba(255,217,0,0.1);
  animation: ns-neonFlicker 3s infinite alternate;
  margin-bottom: 16px;
}

.ns-join-content p {
  color: var(--ns-text-muted);
  margin-bottom: 30px;
  font-size: 1.05rem;
}

.ns-join-form {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.ns-join-form input {
  padding: 14px 20px;
  border: 2px solid #444;
  border-radius: var(--ns-radius);
  background: rgba(42,42,42,0.8);
  color: var(--ns-text);
  font-size: 1rem;
  width: 260px;
  outline: none;
  transition: border-color 0.3s;
}

.ns-join-form input:focus {
  border-color: var(--ns-primary);
}

.ns-join-form button {
  padding: 14px 32px;
  background: var(--ns-primary);
  color: var(--ns-secondary);
  border: none;
  border-radius: var(--ns-radius);
  font-family: var(--ns-font-title);
  font-size: 1.1rem;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.ns-join-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255,217,0,0.3);
}

/* --- Partners (Module 10) --- */
.ns-partners-track {
  display: flex;
  gap: 40px;
  align-items: center;
  animation: ns-scroll 20s linear infinite;
  width: max-content;
}

.ns-partners-wrapper {
  overflow: hidden;
}

.ns-partner-item {
  flex-shrink: 0;
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: grayscale(100%);
  opacity: 0.6;
  transition: all 0.3s;
  position: relative;
}

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

.ns-partner-item img {
  max-width: 100px;
  max-height: 100px;
  object-fit: contain;
}

.ns-partner-tooltip {
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--ns-secondary);
  color: var(--ns-text);
  padding: 4px 10px;
  border-radius: var(--ns-radius);
  font-size: 0.75rem;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}

.ns-partner-item:hover .ns-partner-tooltip {
  opacity: 1;
}

/* --- Footer --- */
#ns-footer {
  background: #141414;
  padding: 60px 0 0;
}

.ns-footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid #333;
}

.ns-footer-col h4 {
  font-family: var(--ns-font-title);
  font-size: 1.3rem;
  color: var(--ns-primary);
  margin-bottom: 20px;
}

.ns-footer-links {
  list-style: none;
}

.ns-footer-links li {
  margin-bottom: 8px;
}

.ns-footer-links li a {
  color: var(--ns-text-muted);
  font-size: 0.9rem;
  transition: color 0.3s, padding-left 0.3s;
}

.ns-footer-links li a:hover {
  color: var(--ns-primary);
  padding-left: 6px;
}

.ns-social-icons {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
}

.ns-social-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #333;
  border-radius: var(--ns-radius);
  color: var(--ns-text-muted);
  font-size: 1rem;
  transition: all 0.3s;
}

.ns-social-icon:hover {
  transform: translateY(-3px);
}

.ns-social-icon.ns-ig:hover { background: #E1306C; color: #fff; }
.ns-social-icon.ns-tt:hover { background: #000; color: #fff; }
.ns-social-icon.ns-yt:hover { background: #FF0000; color: #fff; }
.ns-social-icon.ns-fb:hover { background: #1877F2; color: #fff; }
.ns-social-icon.ns-tw:hover { background: #1DA1F2; color: #fff; }

.ns-newsletter {
  margin-top: 16px;
}

.ns-newsletter p {
  font-size: 0.85rem;
  color: var(--ns-text-muted);
  margin-bottom: 10px;
}

.ns-newsletter-form {
  display: flex;
  gap: 8px;
}

.ns-newsletter-form input {
  flex: 1;
  padding: 10px 14px;
  border: 2px solid #444;
  border-radius: var(--ns-radius);
  background: #222;
  color: var(--ns-text);
  font-size: 0.9rem;
  outline: none;
}

.ns-newsletter-form input:focus {
  border-color: var(--ns-primary);
}

.ns-newsletter-form button {
  padding: 10px 18px;
  background: var(--ns-primary);
  color: var(--ns-secondary);
  border: none;
  border-radius: var(--ns-radius);
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.3s;
}

.ns-newsletter-form button:hover {
  opacity: 0.85;
}

.ns-footer-badges {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.ns-footer-badges img {
  width: 80px;
  height: 80px;
  object-fit: contain;
}

.ns-footer-contact {
  font-size: 0.85rem;
  color: var(--ns-text-muted);
  line-height: 1.8;
}

.ns-footer-bottom {
  background: #0d0d0d;
  padding: 20px;
  margin-top: 30px;
}

.ns-footer-bottom p {
  max-width: 1440px;
  margin: 0 auto;
  font-size: 0.8rem;
  color: var(--ns-text-muted);
  line-height: 1.7;
  text-align: center;
}

.ns-copyright {
  text-align: center;
  padding: 16px 0;
  font-size: 0.8rem;
  color: #666;
  border-top: 1px solid #222;
  margin-top: 16px;
}

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

.ns-breadcrumb a {
  color: var(--ns-text-muted);
}

.ns-breadcrumb span {
  color: var(--ns-primary);
}

/* --- Inner Page Hero --- */
.ns-page-hero {
  position: relative;
  height: 50vh;
  min-height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.ns-page-hero img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4) saturate(0.8);
}

.ns-page-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.ns-page-hero-content h1 {
  font-size: 3rem;
  color: var(--ns-primary);
  text-shadow: 3px 3px 0px var(--ns-accent);
  margin-bottom: 12px;
}

.ns-page-hero-content p {
  color: var(--ns-text-muted);
  font-size: 1.1rem;
}

/* --- Article Content --- */
.ns-article {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px;
}

.ns-article h2 {
  font-size: 1.8rem;
  color: var(--ns-primary);
  margin: 40px 0 16px;
  text-shadow: var(--ns-shadow);
}

.ns-article h3 {
  font-size: 1.4rem;
  color: var(--ns-text);
  margin: 30px 0 12px;
}

.ns-article p {
  margin-bottom: 20px;
  color: var(--ns-text-muted);
  line-height: 1.9;
}

.ns-article img {
  width: 100%;
  border-radius: var(--ns-radius);
  margin: 24px 0;
  box-shadow: var(--ns-shadow);
}

.ns-article blockquote {
  border-left: 4px solid var(--ns-primary);
  padding: 16px 24px;
  margin: 24px 0;
  background: rgba(255,217,0,0.05);
  border-radius: 0 var(--ns-radius) var(--ns-radius) 0;
  font-style: italic;
  color: var(--ns-text-muted);
}

/* --- Cards Grid for Inner Pages --- */
.ns-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.ns-card {
  background: var(--ns-secondary);
  border-radius: var(--ns-radius);
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}

.ns-card:hover {
  transform: translateY(-6px);
  box-shadow: 4px 4px 0px var(--ns-accent);
}

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

.ns-card-body {
  padding: 16px;
}

.ns-card-body h3 {
  font-family: var(--ns-font-body);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 8px;
}

.ns-card-body p {
  font-size: 0.85rem;
  color: var(--ns-text-muted);
}

/* --- Skatepark Map Page --- */
.ns-map-layout {
  display: flex;
  height: calc(100vh - 80px);
  min-height: 600px;
}

.ns-map-sidebar {
  width: 380px;
  background: var(--ns-secondary);
  overflow-y: auto;
  padding: 20px;
  flex-shrink: 0;
}

.ns-map-search {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #444;
  border-radius: var(--ns-radius);
  background: #333;
  color: var(--ns-text);
  font-size: 0.95rem;
  outline: none;
  margin-bottom: 16px;
}

.ns-map-search:focus {
  border-color: var(--ns-primary);
}

.ns-filter-group {
  margin-bottom: 16px;
}

.ns-filter-group h4 {
  font-size: 0.9rem;
  color: var(--ns-primary);
  margin-bottom: 8px;
  font-family: var(--ns-font-title);
}

.ns-filter-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.ns-filter-tag {
  padding: 4px 12px;
  border: 1px solid #555;
  border-radius: var(--ns-radius);
  font-size: 0.8rem;
  color: var(--ns-text-muted);
  cursor: pointer;
  transition: all 0.3s;
  background: transparent;
}

.ns-filter-tag:hover,
.ns-filter-tag.ns-active {
  border-color: var(--ns-primary);
  color: var(--ns-primary);
  background: rgba(255,217,0,0.1);
}

.ns-map-main {
  flex: 1;
  position: relative;
  background: #1a1a2e;
}

.ns-map-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --- Video Page Specific --- */
.ns-video-featured {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
  border-radius: var(--ns-radius);
  margin-bottom: 30px;
}

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

.ns-faq-item {
  border-bottom: 1px solid #333;
  padding: 20px 0;
}

.ns-faq-question {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ns-text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.ns-faq-question::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--ns-primary);
  transition: transform 0.3s;
}

.ns-faq-item.ns-open .ns-faq-question::after {
  transform: rotate(45deg);
}

.ns-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  color: var(--ns-text-muted);
  line-height: 1.8;
}

.ns-faq-item.ns-open .ns-faq-answer {
  max-height: 300px;
  padding-top: 12px;
}

/* --- Animations --- */
@keyframes ns-fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes ns-glitch {
  0% { opacity: 0; filter: blur(8px); }
  50% { filter: blur(2px); }
  100% { opacity: 1; filter: blur(0); }
}

@keyframes ns-neonFlicker {
  0%, 19%, 21%, 23%, 25%, 54%, 56%, 100% {
    text-shadow: 0 0 10px rgba(255,217,0,0.5), 0 0 20px rgba(255,217,0,0.3), 0 0 40px rgba(255,217,0,0.1);
  }
  20%, 24%, 55% {
    text-shadow: none;
  }
}

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

/* --- Responsive: 1024px --- */
@media (max-width: 1024px) {
  .ns-headlines-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .ns-videos-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .ns-legends-grid {
    grid-template-columns: 1fr;
  }
  .ns-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .ns-footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .ns-radar-wrap {
    flex-direction: column;
  }
  .ns-radar-list {
    width: 100%;
    flex-direction: row;
    overflow-x: auto;
  }
  .ns-park-card {
    min-width: 280px;
  }
}

/* --- Responsive: 768px --- */
@media (max-width: 768px) {
  .ns-nav-links {
    display: none;
  }
  .ns-hamburger {
    display: flex;
  }
  .ns-hero-content h1 {
    font-size: 2.5rem;
  }
  .ns-section-title {
    font-size: 2rem;
  }
  .ns-headlines-grid {
    grid-template-columns: 1fr;
  }
  .ns-beats-wrap {
    flex-direction: column;
    align-items: center;
  }
  .ns-album-cover {
    width: 200px;
    height: 200px;
  }
  .ns-graffiti-grid {
    column-count: 2;
  }
  .ns-videos-grid {
    grid-template-columns: 1fr;
  }
  .ns-legend-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .ns-legend-photo {
    width: 160px;
    height: 200px;
  }
  .ns-cards-grid {
    grid-template-columns: 1fr;
  }
  .ns-footer-grid {
    grid-template-columns: 1fr;
  }
  .ns-page-hero-content h1 {
    font-size: 2rem;
  }
  .ns-map-layout {
    flex-direction: column;
    height: auto;
  }
  .ns-map-sidebar {
    width: 100%;
    max-height: 50vh;
  }
  .ns-map-main {
    min-height: 400px;
  }
  .ns-neon-title {
    font-size: 2rem;
  }
}

/* --- Responsive: 360px --- */
@media (max-width: 480px) {
  .ns-hero-content h1 {
    font-size: 1.8rem;
  }
  .ns-hero-subtitle {
    font-size: 1rem;
  }
  .ns-graffiti-grid {
    column-count: 1;
  }
  .ns-section {
    padding: 50px 0;
  }
  .ns-join-form {
    flex-direction: column;
    align-items: center;
  }
  .ns-join-form input {
    width: 100%;
  }
}

/* --- Utility Classes --- */
.ns-text-center { text-align: center; }
.ns-text-primary { color: var(--ns-primary); }
.ns-text-accent { color: var(--ns-accent); }
.ns-text-muted { color: var(--ns-text-muted); }
.ns-mt-20 { margin-top: 20px; }
.ns-mb-20 { margin-bottom: 20px; }
.ns-hidden { display: none; }

/* --- Graffiti Filter SVG (for spray effect) --- */
.ns-spray-filter {
  position: absolute;
  width: 0;
  height: 0;
}

/* --- App Download Page --- */
.ns-app-layout {
  display: flex;
  gap: 60px;
  align-items: center;
  padding: 80px 0;
}

.ns-app-mockup {
  flex-shrink: 0;
  width: 320px;
}

.ns-app-mockup img {
  width: 100%;
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.ns-app-info {
  flex: 1;
}

.ns-app-info h1 {
  font-size: 2.5rem;
  color: var(--ns-primary);
  text-shadow: var(--ns-shadow);
  margin-bottom: 16px;
}

.ns-app-features {
  list-style: none;
  margin: 24px 0;
}

.ns-app-features li {
  padding: 8px 0;
  color: var(--ns-text-muted);
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.ns-app-features li::before {
  content: '▸';
  color: var(--ns-primary);
  font-size: 1.2rem;
}

.ns-app-buttons {
  display: flex;
  gap: 16px;
  margin-top: 24px;
}

.ns-app-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: var(--ns-secondary);
  border: 2px solid #555;
  border-radius: 12px;
  color: var(--ns-text);
  font-size: 0.95rem;
  transition: all 0.3s;
}

.ns-app-btn:hover {
  border-color: var(--ns-primary);
  color: var(--ns-primary);
}

.ns-app-btn-label {
  font-size: 0.7rem;
  color: var(--ns-text-muted);
  display: block;
}

.ns-app-btn-store {
  font-weight: 700;
  font-size: 1.1rem;
}

@media (max-width: 768px) {
  .ns-app-layout {
    flex-direction: column;
    text-align: center;
  }
  .ns-app-mockup {
    width: 220px;
  }
  .ns-app-buttons {
    justify-content: center;
  }
}

/* --- Internal Link Styles --- */
.ns-internal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0;
}

.ns-internal-link {
  padding: 6px 16px;
  background: rgba(255,217,0,0.1);
  border: 1px solid rgba(255,217,0,0.3);
  border-radius: var(--ns-radius);
  color: var(--ns-primary);
  font-size: 0.85rem;
  transition: all 0.3s;
}

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

/* --- Skatepark Modal --- */
.ns-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.85);
  z-index: 2000;
  align-items: center;
  justify-content: center;
}

.ns-modal.ns-open {
  display: flex;
}

.ns-modal-content {
  background: var(--ns-secondary);
  border-radius: 8px;
  max-width: 700px;
  width: 90%;
  max-height: 85vh;
  overflow-y: auto;
  padding: 30px;
  position: relative;
}

.ns-modal-close {
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 1.5rem;
  color: var(--ns-text-muted);
  cursor: pointer;
  background: none;
  border: none;
  transition: color 0.3s;
}

.ns-modal-close:hover {
  color: var(--ns-accent);
}
