
/* ===================================================================
   BASE & RESET STYLES (SHARED)
   =================================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s ease;
}

img, svg {
  vertical-align: middle;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===================================================================
   CRITICAL: NAVBAR NO SCROLLBAR (STRICT ENFORCEMENT)
   =================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  gap: 16px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 24px;
  color: #fff;
  box-shadow: 0 4px 14px rgba(0,0,0,0.3);
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.3px;
  line-height: 1.2;
}

.brand-sub {
  font-size: 11px;
  font-weight: 600;
  opacity: 0.75;
  letter-spacing: 0.5px;
}

.brand-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-left: 4px;
}

/* STRICT NAVBAR: NO HORIZONTAL SCROLLBAR */
.main-nav {
  display: flex !important;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap !important;
  overflow: visible !important;
  overflow-x: visible !important;
  overflow-y: visible !important;
  white-space: normal !important;
  -webkit-overflow-scrolling: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.main-nav::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

.nav-item {
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.25s ease;
  border: 1px solid transparent;
  text-decoration: none;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 13px;
}

.btn-lg {
  padding: 14px 28px;
  font-size: 16px;
}

.btn-block {
  width: 100%;
}

/* ===================================================================
   FOOTER STYLES (SHARED 4-SITE MUTUAL INTERLINKS)
   =================================================================== */
.site-footer {
  margin-top: auto;
  padding-top: 60px;
  padding-bottom: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 48px;
  margin-bottom: 40px;
}

.footer-summary {
  font-size: 14px;
  line-height: 1.8;
  margin: 16px 0;
}

.footer-features-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.footer-features-tags .tag {
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 20px;
}

.interlink-header {
  margin-bottom: 16px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.footer-title {
  font-size: 17px;
  font-weight: 800;
}

.interlink-notice {
  font-size: 12px;
  opacity: 0.7;
}

.interlinks-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.interlink-card {
  border-radius: 10px;
  padding: 14px;
  transition: all 0.25s ease;
}

.interlink-anchor {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.interlink-title {
  font-weight: 700;
  font-size: 14px;
}

.interlink-desc {
  font-size: 12px;
  opacity: 0.75;
  line-height: 1.4;
}

.interlink-domain {
  font-size: 11px;
  font-weight: 600;
  margin-top: 4px;
}

.current-tag {
  font-size: 11px;
  padding: 1px 6px;
  border-radius: 4px;
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.seo-keywords-line {
  font-size: 13px;
  margin-bottom: 12px;
  line-height: 1.8;
  opacity: 0.85;
}

.copyright-bar {
  font-size: 12px;
  opacity: 0.6;
}

/* Responsive */
@media (max-width: 900px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .interlinks-grid {
    grid-template-columns: 1fr;
  }
}

/* ===================================================================
   THEME 2: CYBERPUNK NEON PORTAL (nextially.mom)
   =================================================================== */
body.theme-cyberpunk {
  background-color: #070B14;
  color: #E2E8F0;
  background-image: 
    linear-gradient(rgba(6, 182, 212, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(6, 182, 212, 0.04) 1px, transparent 1px);
  background-size: 36px 36px;
}

.site-header {
  background: rgba(7, 11, 20, 0.9);
  border-bottom: 1px solid rgba(6, 182, 212, 0.3);
}

.logo-icon {
  background: linear-gradient(135deg, #06B6D4, #10B981);
}

.brand-badge.badge-cyberpunk {
  background: rgba(6, 182, 212, 0.15);
  color: #06B6D4;
  border: 1px solid #06B6D4;
}

.nav-item {
  color: #94A3B8;
  border: 1px solid transparent;
}

.nav-item:hover, .nav-item.active {
  color: #06B6D4;
  background: rgba(6, 182, 212, 0.08);
  border-color: rgba(6, 182, 212, 0.3);
}

.btn-primary {
  background: linear-gradient(135deg, #06B6D4, #10B981);
  color: #070B14;
  font-weight: 800;
  box-shadow: 0 0 20px rgba(6, 182, 212, 0.4);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 25px rgba(6, 182, 212, 0.6);
}

.btn-secondary {
  background: rgba(15, 23, 42, 0.8);
  color: #06B6D4;
  border: 1px solid rgba(6, 182, 212, 0.4);
}

.cyber-card {
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(6, 182, 212, 0.2);
  border-radius: 12px;
  padding: 24px;
  position: relative;
  transition: all 0.3s ease;
}

.cyber-card:hover {
  border-color: #06B6D4;
  box-shadow: 0 0 25px rgba(6, 182, 212, 0.2);
  transform: translateY(-2px);
}

.hero-section {
  padding: 70px 0 50px;
  text-align: center;
}

.hero-title {
  font-size: 44px;
  font-weight: 900;
  line-height: 1.25;
  margin-bottom: 20px;
  color: #FFFFFF;
}
.hero-title span {
  color: #06B6D4;
  text-shadow: 0 0 20px rgba(6, 182, 212, 0.5);
}

.hero-desc {
  font-size: 17px;
  color: #94A3B8;
  max-width: 820px;
  margin: 0 auto 36px;
}

.mirror-table-box {
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(6, 182, 212, 0.3);
  border-radius: 12px;
  padding: 20px;
  margin: 30px 0;
}

.status-indicator {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 10px #10B981;
  margin-right: 6px;
}

.interlink-card {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(6, 182, 212, 0.2);
}
.interlink-card:hover {
  border-color: #06B6D4;
  background: rgba(6, 182, 212, 0.08);
}
.interlink-title { color: #F1F5F9; }
.interlink-domain { color: #06B6D4; }
.current-tag { background: #06B6D4; color: #070B14; font-weight: 800; }
.footer-features-tags .tag { background: rgba(6, 182, 212, 0.15); color: #67E8F9; border: 1px solid rgba(6, 182, 212, 0.3); }

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 36px 0;
}

@media (max-width: 768px) {
  .hero-title { font-size: 30px; }
  .features-grid { grid-template-columns: 1fr; }
}
