/* =============================================
   SUBMARINE THEME - main.css
   潜水艇仪表盘风格 - Gray(#546E7A) + Blue(#0277BD) + Green(#00C853)
   Fonts: Share Tech Mono + Roboto
   @keyframes: sonarPing, depthGauge, subDive, radarSweep
   ============================================= */

/* === CSS Variables === */
:root {
  --sub-gray: #546E7A;
  --sub-gray-dark: #37474F;
  --sub-gray-light: #78909C;
  --sub-blue: #0277BD;
  --sub-blue-dark: #01579B;
  --sub-blue-light: #039BE5;
  --sub-green: #00C853;
  --sub-green-dark: #00A844;
  --sub-green-light: #69F0AE;
  --bg-primary: #0D1B2A;
  --bg-secondary: #1B2838;
  --bg-card: #1E2D3D;
  --bg-card-hover: #243447;
  --text-primary: #ECEFF1;
  --text-secondary: #B0BEC5;
  --text-muted: #78909C;
  --border-color: rgba(2, 119, 189, 0.2);
  --border-glow: rgba(0, 200, 83, 0.3);
  --shadow-sub: 0 4px 20px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 15px rgba(0, 200, 83, 0.2);
  --font-mono: 'Share Tech Mono', monospace;
  --font-body: 'Roboto', sans-serif;
  --transition: all 0.3s ease;
  --container-width: 1200px;
}

/* === @keyframes Animations === */
@keyframes sonarPing {
  0% { transform: scale(0.5); opacity: 1; }
  50% { transform: scale(1.5); opacity: 0.5; }
  100% { transform: scale(2.5); opacity: 0; }
}

@keyframes depthGauge {
  0% { transform: rotate(-45deg); }
  50% { transform: rotate(45deg); }
  100% { transform: rotate(-45deg); }
}

@keyframes subDive {
  0% { transform: translateY(0) rotate(0deg); opacity: 1; }
  25% { transform: translateY(-20px) rotate(-5deg); opacity: 0.8; }
  50% { transform: translateY(20px) rotate(5deg); opacity: 0.6; }
  75% { transform: translateY(-10px) rotate(-3deg); opacity: 0.8; }
  100% { transform: translateY(0) rotate(0deg); opacity: 1; }
}

@keyframes radarSweep {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

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

a {
  color: var(--sub-blue-light);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--sub-green);
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-mono);
  color: var(--text-primary);
  line-height: 1.3;
  margin-bottom: 0.5em;
}

p {
  margin-bottom: 1em;
  color: var(--text-secondary);
}

ul, ol {
  list-style: none;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 15px;
}

.submarine-text {
  color: var(--sub-blue-light) !important;
}

/* === Announcement Modal === */
.announcement-modal {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 10000;
  align-items: center;
  justify-content: center;
}

.announcement-modal.active {
  display: flex;
}

.announcement-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.8);
  backdrop-filter: blur(5px);
}

.announcement-content {
  position: relative;
  background: linear-gradient(135deg, var(--bg-secondary), var(--bg-card));
  border: 2px solid var(--sub-blue);
  border-radius: 15px;
  padding: 30px;
  max-width: 500px;
  width: 90%;
  box-shadow: 0 0 40px rgba(2,119,189,0.3), inset 0 0 20px rgba(0,200,83,0.05);
  z-index: 1;
  animation: subDive 0.6s ease-out;
}

.announcement-close {
  position: absolute;
  top: 10px; right: 15px;
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 28px;
  cursor: pointer;
  transition: var(--transition);
}

.announcement-close:hover {
  color: var(--sub-green);
  transform: rotate(90deg);
}

.announcement-header-icon {
  text-align: center;
  font-size: 40px;
  color: var(--sub-blue-light);
  margin-bottom: 15px;
  animation: sonarPing 2s ease-in-out infinite;
}

.announcement-title {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 18px;
  margin-bottom: 20px;
  color: var(--sub-blue-light);
}

.announcement-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.announcement-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 15px;
  background: rgba(2,119,189,0.1);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  transition: var(--transition);
  color: var(--text-primary);
}

.announcement-item:hover {
  background: rgba(0,200,83,0.1);
  border-color: var(--sub-green);
  transform: translateX(5px);
  color: var(--sub-green);
}

.announcement-badge {
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 700;
  font-family: var(--font-mono);
  white-space: nowrap;
}

.announcement-badge.hot {
  background: #FF1744;
  color: #fff;
}

.announcement-badge.new {
  background: var(--sub-green);
  color: #fff;
}

.announcement-badge.info {
  background: var(--sub-blue);
  color: #fff;
}

.announcement-text {
  flex: 1;
  font-size: 13px;
  line-height: 1.4;
}

.announcement-footer {
  text-align: center;
}

.announcement-cta {
  display: inline-block;
  padding: 12px 40px;
  background: linear-gradient(135deg, var(--sub-blue), var(--sub-green));
  color: #fff !important;
  border-radius: 25px;
  font-weight: 700;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition);
}

.announcement-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(0,200,83,0.4);
}

/* === Header === */
.site-header {
  background: linear-gradient(180deg, var(--bg-secondary) 0%, rgba(13,27,42,0.95) 100%);
  border-bottom: 2px solid var(--sub-blue);
  position: sticky;
  top: 0;
  z-index: 999;
  box-shadow: 0 2px 20px rgba(0,0,0,0.5);
}

.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
}

.logo img {
  height: 50px;
  width: auto;
  filter: drop-shadow(0 0 8px rgba(2,119,189,0.5));
  transition: var(--transition);
}

.logo img:hover {
  filter: drop-shadow(0 0 15px rgba(0,200,83,0.7));
  transform: scale(1.05);
}

.header-time {
  font-family: var(--font-mono);
  color: var(--sub-green);
  font-size: 14px;
  letter-spacing: 1px;
}

.header-time::before {
  content: "▶ ";
  color: var(--sub-blue-light);
}

.header-btn-group {
  display: flex;
  gap: 10px;
}

.btn-login {
  padding: 8px 20px;
  border: 1px solid var(--sub-blue);
  color: var(--sub-blue-light);
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition);
}

.btn-login:hover {
  background: var(--sub-blue);
  color: #fff;
  box-shadow: 0 0 15px rgba(2,119,189,0.4);
}

.btn-register {
  padding: 8px 20px;
  background: linear-gradient(135deg, var(--sub-blue), var(--sub-green));
  color: #fff;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: none;
  transition: var(--transition);
}

.btn-register:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0,200,83,0.4);
  color: #fff;
}

.btn-demo {
  padding: 8px 20px;
  border: 1px solid var(--sub-green);
  color: var(--sub-green);
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition);
}

.btn-demo:hover {
  background: var(--sub-green);
  color: var(--bg-primary);
  box-shadow: 0 0 15px rgba(0,200,83,0.4);
}

/* === Navigation === */
.main-navigation {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.nav-menu {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: block;
  padding: 12px 18px;
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: var(--transition);
  border-bottom: 2px solid transparent;
}

.nav-link:hover,
.nav-item.current-menu-item .nav-link {
  color: var(--sub-green);
  background: rgba(0,200,83,0.05);
  border-bottom-color: var(--sub-green);
}

.nav-link i {
  margin-right: 5px;
  color: var(--sub-blue-light);
}

.nav-link:hover i {
  color: var(--sub-green);
}

.has-dropdown .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 0 0 8px 8px;
  min-width: 200px;
  z-index: 100;
  box-shadow: var(--shadow-sub);
}

.has-dropdown:hover .sub-menu {
  display: block;
}

.sub-menu .nav-link {
  padding: 10px 20px;
  font-size: 12px;
  border-bottom: 1px solid var(--border-color);
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--sub-blue);
  color: var(--sub-blue-light);
  padding: 8px 12px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 18px;
}

/* === Notification Bar === */
.notification-bar {
  background: linear-gradient(90deg, var(--sub-blue-dark), var(--sub-blue), var(--sub-blue-dark));
  overflow: hidden;
  padding: 8px 0;
}

.notification-content {
  display: flex;
  gap: 50px;
  white-space: nowrap;
  animation: marquee 30s linear infinite;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--sub-green-light);
}

@keyframes marquee {
  0% { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}

/* === Hero Section === */
.submarine-hero {
  position: relative;
  padding: 80px 30px;
  margin: 30px 0;
  background: linear-gradient(135deg, var(--bg-secondary) 0%, #0a1628 50%, var(--bg-secondary) 100%);
  border: 1px solid var(--border-color);
  border-radius: 15px;
  overflow: hidden;
  text-align: center;
}

.sonar-rings {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.sonar-ring {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(0,200,83,0.15);
  border-radius: 50%;
  animation: sonarPing 4s ease-out infinite;
}

.sonar-ring.ring-1 { width: 100px; height: 100px; animation-delay: 0s; }
.sonar-ring.ring-2 { width: 200px; height: 200px; animation-delay: 0.8s; }
.sonar-ring.ring-3 { width: 300px; height: 300px; animation-delay: 1.6s; }
.sonar-ring.ring-4 { width: 400px; height: 400px; animation-delay: 2.4s; }
.sonar-ring.ring-5 { width: 500px; height: 500px; animation-delay: 3.2s; }

.depth-gauge-widget {
  position: absolute;
  top: 20px; right: 30px;
  width: 80px; height: 80px;
  border: 2px solid var(--sub-blue);
  border-radius: 50%;
  background: rgba(13,27,42,0.8);
  box-shadow: 0 0 15px rgba(2,119,189,0.3);
}

.gauge-needle {
  position: absolute;
  top: 50%; left: 50%;
  width: 2px; height: 30px;
  background: var(--sub-green);
  transform-origin: bottom center;
  transform: translate(-50%, -100%);
  animation: depthGauge 3s ease-in-out infinite;
  box-shadow: 0 0 8px var(--sub-green);
}

.gauge-label {
  position: absolute;
  bottom: -20px; left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--sub-blue-light);
  letter-spacing: 2px;
}

.radar-sweep-effect {
  position: absolute;
  top: 20px; left: 30px;
  width: 60px; height: 60px;
  border: 1px solid var(--sub-blue);
  border-radius: 50%;
  background: rgba(13,27,42,0.8);
  overflow: hidden;
}

.radar-sweep-effect::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 50%; height: 2px;
  background: linear-gradient(90deg, var(--sub-green), transparent);
  transform-origin: left center;
  animation: radarSweep 3s linear infinite;
}

.hero-inner-content {
  position: relative;
  z-index: 2;
}

.hero-main-title {
  margin-bottom: 20px;
}

.hero-brand {
  display: block;
  font-family: var(--font-mono);
  font-size: 48px;
  color: var(--sub-blue-light);
  text-shadow: 0 0 20px rgba(2,119,189,0.5);
  letter-spacing: 5px;
}

.hero-divider-line {
  display: block;
  width: 100px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--sub-green), transparent);
  margin: 15px auto;
}

.hero-tagline {
  display: block;
  font-family: var(--font-mono);
  font-size: 18px;
  color: var(--sub-green);
  letter-spacing: 3px;
}

.hero-description {
  max-width: 700px;
  margin: 0 auto 30px;
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.8;
}

.hero-stats-row {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.hero-stat {
  text-align: center;
}

.hero-stat-number {
  display: block;
  font-family: var(--font-mono);
  font-size: 28px;
  color: var(--sub-green);
  text-shadow: 0 0 10px rgba(0,200,83,0.3);
}

.hero-stat-label {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-cta-group {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-sub-primary {
  display: inline-block;
  padding: 14px 40px;
  background: linear-gradient(135deg, var(--sub-blue), var(--sub-green));
  color: #fff !important;
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 2px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(2,119,189,0.3);
}

.btn-sub-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0,200,83,0.4);
  color: #fff;
}

.btn-outline-sub {
  display: inline-block;
  padding: 14px 40px;
  border: 2px solid var(--sub-blue);
  color: var(--sub-blue-light) !important;
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 2px;
  background: transparent;
  cursor: pointer;
  transition: var(--transition);
}

.btn-outline-sub:hover {
  background: var(--sub-blue);
  color: #fff !important;
  box-shadow: 0 0 20px rgba(2,119,189,0.4);
}

/* === Section Title === */
.section-title {
  font-family: var(--font-mono);
  font-size: 24px;
  text-align: center;
  margin-bottom: 10px;
  color: var(--sub-blue-light);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.section-title i {
  margin-right: 10px;
  color: var(--sub-green);
}

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 40px;
  font-size: 14px;
}

/* === Sonar Games Grid === */
.sonar-games {
  padding: 50px 0;
}

.sonar-games-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.sonar-game-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 30px 20px;
  text-align: center;
  transition: var(--transition);
  overflow: hidden;
  display: block;
  color: var(--text-primary);
}

.sonar-game-card:hover {
  border-color: var(--sub-green);
  transform: translateY(-5px);
  box-shadow: var(--shadow-glow);
  color: var(--text-primary);
}

.sonar-game-ping {
  position: absolute;
  top: 10px; right: 10px;
  width: 10px; height: 10px;
  background: var(--sub-green);
  border-radius: 50%;
  animation: sonarPing 2s ease-out infinite;
}

.sonar-game-icon {
  font-size: 40px;
  color: var(--sub-blue-light);
  margin-bottom: 15px;
  transition: var(--transition);
}

.sonar-game-card:hover .sonar-game-icon {
  color: var(--sub-green);
  transform: scale(1.1);
}

.sonar-game-rating {
  margin-bottom: 10px;
  color: var(--sub-green);
  font-size: 12px;
}

.sonar-game-card h3 {
  font-family: var(--font-mono);
  font-size: 16px;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.sonar-game-card p {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 12px;
  line-height: 1.6;
}

.sonar-game-players {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--sub-green);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

/* === Depth Grid Section === */
.depth-grid-section {
  padding: 50px 0;
  background: var(--bg-secondary);
  border-radius: 15px;
  margin: 30px 0;
}

.depth-grid-map {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.depth-grid-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  margin-bottom: 15px;
}

.depth-grid-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 10px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  transition: var(--transition);
  color: var(--text-primary);
}

.depth-grid-node:hover {
  border-color: var(--sub-green);
  background: var(--bg-card-hover);
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
  color: var(--sub-green);
}

.depth-node-icon {
  font-size: 24px;
  color: var(--sub-blue-light);
  margin-bottom: 8px;
  transition: var(--transition);
}

.depth-grid-node:hover .depth-node-icon {
  color: var(--sub-green);
}

.depth-node-label {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-secondary);
  text-align: center;
}

.depth-grid-node:hover .depth-node-label {
  color: var(--sub-green);
}

/* === Instrument Features === */
.instrument-features {
  padding: 50px 0;
}

.instrument-features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

.instrument-feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 30px 20px;
  text-align: center;
  transition: var(--transition);
}

.instrument-feature-card:hover {
  border-color: var(--sub-green);
  transform: translateY(-5px);
  box-shadow: var(--shadow-glow);
}

.instrument-feature-icon {
  width: 60px; height: 60px;
  margin: 0 auto 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(2,119,189,0.1);
  border: 1px solid var(--sub-blue);
  border-radius: 50%;
  font-size: 24px;
  color: var(--sub-blue-light);
  transition: var(--transition);
}

.instrument-feature-card:hover .instrument-feature-icon {
  background: rgba(0,200,83,0.1);
  border-color: var(--sub-green);
  color: var(--sub-green);
}

.instrument-feature-card h3 {
  font-family: var(--font-mono);
  font-size: 14px;
  margin-bottom: 10px;
  color: var(--sub-blue-light);
}

.instrument-feature-card p {
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* === Depth Stats === */
.depth-stats {
  position: relative;
  padding: 60px 30px;
  margin: 50px 0;
  border-radius: 15px;
  overflow: hidden;
}

.depth-stats-bg {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: linear-gradient(135deg, var(--bg-secondary), var(--sub-blue-dark));
  z-index: 0;
}

.ocean-gradient-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: linear-gradient(45deg, rgba(0,200,83,0.05), rgba(2,119,189,0.1), rgba(0,200,83,0.05));
}

.depth-stats .section-title,
.depth-stats .section-subtitle {
  position: relative;
  z-index: 1;
}

.depth-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  position: relative;
  z-index: 1;
}

.depth-stat-card {
  background: rgba(13,27,42,0.8);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 30px 15px;
  text-align: center;
  transition: var(--transition);
}

.depth-stat-card:hover {
  border-color: var(--sub-green);
  box-shadow: var(--shadow-glow);
  transform: translateY(-3px);
}

.stat-sub-decoration {
  color: var(--sub-blue-light);
  font-size: 18px;
  margin-bottom: 10px;
  opacity: 0.5;
}

.stat-sub-decoration.bottom {
  margin-bottom: 0;
  margin-top: 10px;
}

.stat-number {
  font-family: var(--font-mono);
  font-size: 36px;
  color: var(--sub-green);
  text-shadow: 0 0 15px rgba(0,200,83,0.3);
  margin-bottom: 5px;
}

.stat-label {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-family: var(--font-mono);
}

/* === Sonar Promos === */
.sonar-promos {
  padding: 50px 0;
}

.sonar-promos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.sonar-promo-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  transition: var(--transition);
}

.sonar-promo-card:hover {
  border-color: var(--sub-green);
  transform: translateY(-5px);
  box-shadow: var(--shadow-glow);
}

.promo-ocean-bg {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: linear-gradient(135deg, rgba(2,119,189,0.05), rgba(0,200,83,0.03));
  pointer-events: none;
}

.sonar-promo-inner {
  position: relative;
  padding: 30px 20px;
  text-align: center;
  z-index: 1;
}

.promo-icon {
  font-size: 36px;
  color: var(--sub-blue-light);
  margin-bottom: 15px;
}

.sonar-promo-inner h3 {
  font-family: var(--font-mono);
  font-size: 16px;
  color: var(--sub-green);
  margin-bottom: 10px;
}

.sonar-promo-inner p {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 15px;
  line-height: 1.6;
}

.promo-timer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 15px;
  font-size: 12px;
  color: var(--text-muted);
}

.promo-badge {
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 700;
  font-family: var(--font-mono);
}

.promo-badge.hot { background: #FF1744; color: #fff; }
.promo-badge.new { background: var(--sub-green); color: #fff; }
.promo-badge.vip { background: var(--sub-blue); color: #fff; }

.btn-promo {
  display: inline-block;
  padding: 10px 30px;
  background: linear-gradient(135deg, var(--sub-blue), var(--sub-green));
  color: #fff !important;
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition);
}

.btn-promo:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0,200,83,0.4);
  color: #fff;
}

/* === Footer CTA === */
.footer-cta-section {
  position: relative;
  padding: 60px 30px;
  margin: 50px 0;
  border-radius: 15px;
  overflow: hidden;
  text-align: center;
}

.footer-cta-oceanfield {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: linear-gradient(135deg, var(--sub-blue-dark), var(--bg-secondary));
  z-index: 0;
}

.footer-cta-inner {
  position: relative;
  z-index: 1;
}

.cta-sub-decoration {
  margin-bottom: 20px;
}

.cta-sub-icon {
  font-size: 50px;
  color: var(--sub-blue-light);
  animation: subDive 4s ease-in-out infinite;
}

.footer-cta-inner h2 {
  font-family: var(--font-mono);
  font-size: 28px;
  color: var(--sub-green);
  margin-bottom: 15px;
  letter-spacing: 2px;
}

.footer-cta-inner > p {
  max-width: 600px;
  margin: 0 auto 25px;
  color: var(--text-secondary);
  font-size: 15px;
}

.cta-features {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 25px;
  flex-wrap: wrap;
}

.cta-feature {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--sub-blue-light);
}

.cta-feature i {
  color: var(--sub-green);
  margin-right: 5px;
}

.cta-main-btn {
  font-size: 16px;
  padding: 16px 50px;
}

/* === News Section === */
.home-news-section {
  padding: 50px 0;
}

.home-news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin-bottom: 30px;
}

.article-card {
  display: block;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  transition: var(--transition);
  color: var(--text-primary);
}

.article-card:hover {
  border-color: var(--sub-green);
  transform: translateY(-5px);
  box-shadow: var(--shadow-glow);
  color: var(--text-primary);
}

.article-card-thumb {
  width: 100%;
  height: 180px;
  overflow: hidden;
}

.article-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

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

.article-card-title {
  padding: 15px 15px 5px;
  font-family: var(--font-mono);
  font-size: 14px;
  line-height: 1.5;
  min-height: 50px;
}

.article-card-title a {
  color: var(--text-primary);
}

.article-card-title a:hover {
  color: var(--sub-green);
}

.article-card-meta {
  padding: 0 15px;
  font-size: 12px;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.article-card-meta i {
  color: var(--sub-blue-light);
  margin-right: 5px;
}

.article-card-excerpt {
  padding: 10px 15px 15px;
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.article-card-more {
  display: block;
  padding: 12px 15px;
  border-top: 1px solid var(--border-color);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--sub-blue-light);
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition);
}

.article-card-more:hover {
  color: var(--sub-green);
  background: rgba(0,200,83,0.05);
}

.view-more-btn {
  display: inline-block;
  padding: 12px 35px;
  border: 1px solid var(--sub-blue);
  color: var(--sub-blue-light);
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition);
  text-align: center;
  margin: 0 auto;
  display: block;
  width: fit-content;
}

.view-more-btn:hover {
  background: var(--sub-blue);
  color: #fff;
  box-shadow: 0 0 15px rgba(2,119,189,0.3);
}

.home-news-placeholder {
  display: contents;
}

/* === Content Area & Layout === */
.content-area {
  display: flex;
  gap: 30px;
  padding: 30px 0;
}

.main-content {
  flex: 1;
  min-width: 0;
}

/* === Breadcrumb === */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px 0;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.breadcrumb a {
  color: var(--sub-blue-light);
}

.breadcrumb a:hover {
  color: var(--sub-green);
}

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

/* === Category Header === */
.category-header {
  padding: 20px 0;
  margin-bottom: 20px;
}

.category-title {
  font-family: var(--font-mono);
  font-size: 22px;
  color: var(--sub-blue-light);
  margin-bottom: 10px;
}

.category-title i {
  color: var(--sub-green);
  margin-right: 8px;
}

.category-desc {
  color: var(--text-secondary);
  font-size: 14px;
}

/* === Provider Tabs === */
.provider-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 25px;
  padding: 15px 0;
  border-bottom: 1px solid var(--border-color);
}

.provider-tab {
  padding: 8px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  border-radius: 20px;
  font-family: var(--font-mono);
  font-size: 12px;
  cursor: pointer;
  transition: var(--transition);
}

.provider-tab:hover,
.provider-tab.active {
  background: var(--sub-blue);
  color: #fff;
  border-color: var(--sub-blue);
}

/* === Article Grid === */
.article-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
  margin-bottom: 30px;
}

.no-posts {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
}

/* === Pagination === */
.pagination {
  display: flex;
  justify-content: center;
  padding: 30px 0;
}

.pagination .nav-links {
  display: flex;
  gap: 8px;
}

.pagination .page-numbers {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 14px;
  transition: var(--transition);
}

.pagination .page-numbers:hover,
.pagination .page-numbers.current {
  background: var(--sub-blue);
  color: #fff;
  border-color: var(--sub-blue);
}

/* === Single Article === */
.single-article {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 30px;
  margin-bottom: 30px;
}

.article-header {
  margin-bottom: 25px;
}

.article-title {
  font-family: var(--font-mono);
  font-size: 26px;
  color: var(--text-primary);
  margin-bottom: 15px;
  line-height: 1.4;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  font-size: 13px;
  color: var(--text-muted);
  font-family: var(--font-mono);
  padding-bottom: 15px;
  border-bottom: 1px solid var(--border-color);
}

.article-meta i {
  color: var(--sub-blue-light);
  margin-right: 5px;
}

.article-meta a {
  color: var(--sub-blue-light);
}

.article-featured-img {
  margin-bottom: 25px;
  border-radius: 10px;
  overflow: hidden;
}

.article-featured-img img {
  width: 100%;
  height: auto;
}

.article-content {
  font-size: 15px;
  line-height: 1.9;
  color: var(--text-secondary);
}

.article-content h2,
.article-content h3,
.article-content h4 {
  color: var(--sub-blue-light);
  margin: 25px 0 10px;
}

.article-content p {
  margin-bottom: 15px;
}

.article-content a {
  color: var(--sub-green);
  text-decoration: underline;
}

.article-content img {
  border-radius: 8px;
  margin: 15px 0;
}

.article-content blockquote {
  border-left: 3px solid var(--sub-blue);
  padding: 15px 20px;
  margin: 20px 0;
  background: rgba(2,119,189,0.05);
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: var(--text-secondary);
}

.article-content ul, .article-content ol {
  padding-left: 25px;
  margin-bottom: 15px;
  list-style: disc;
}

.article-content li {
  margin-bottom: 8px;
  color: var(--text-secondary);
}

.article-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 20px 0;
  border-top: 1px solid var(--border-color);
  margin-top: 25px;
}

.article-tags i {
  color: var(--sub-blue-light);
}

.article-tags span {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(2,119,189,0.1);
  border: 1px solid var(--border-color);
  border-radius: 15px;
  font-size: 12px;
  color: var(--text-secondary);
  font-family: var(--font-mono);
}

.article-tags a {
  color: var(--text-secondary);
}

.article-tags a:hover span {
  background: var(--sub-blue);
  color: #fff;
  border-color: var(--sub-blue);
}

/* === Article Navigation === */
.article-nav {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0;
  border-top: 1px solid var(--border-color);
  margin-top: 20px;
}

.article-nav-prev,
.article-nav-next {
  flex: 1;
}

.article-nav-next {
  text-align: right;
}

.article-nav a {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--sub-blue-light);
  padding: 10px 15px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  display: inline-block;
  transition: var(--transition);
}

.article-nav a:hover {
  border-color: var(--sub-green);
  color: var(--sub-green);
  background: rgba(0,200,83,0.05);
}

/* === Related Posts === */
.related-posts {
  padding: 30px 0;
}

.related-posts-title {
  font-family: var(--font-mono);
  font-size: 18px;
  color: var(--sub-blue-light);
  margin-bottom: 20px;
}

.related-posts-title i {
  color: var(--sub-green);
  margin-right: 8px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}

.related-item {
  display: block;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  overflow: hidden;
  transition: var(--transition);
  color: var(--text-primary);
}

.related-item:hover {
  border-color: var(--sub-green);
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
  color: var(--text-primary);
}

.related-item-thumb {
  width: 100%;
  height: 100px;
  overflow: hidden;
}

.related-item-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.related-item:hover .related-item-thumb img {
  transform: scale(1.05);
}

.related-item-title {
  padding: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.4;
  color: var(--text-primary);
}

/* === Page Article === */
.page-article {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 30px;
}

.page-title {
  font-family: var(--font-mono);
  font-size: 26px;
  color: var(--sub-blue-light);
  margin-bottom: 20px;
}

.page-featured-img {
  margin-bottom: 25px;
  border-radius: 10px;
  overflow: hidden;
}

.page-content {
  font-size: 15px;
  line-height: 1.9;
  color: var(--text-secondary);
}

/* === Error Page === */
.error-page {
  text-align: center;
  padding: 80px 20px;
}

.error-sub {
  margin-bottom: 20px;
}

.error-sub-icon {
  font-size: 60px;
  color: var(--sub-blue-light);
  animation: subDive 3s ease-in-out infinite;
}

.error-code {
  font-family: var(--font-mono);
  font-size: 80px;
  color: var(--sub-green);
  text-shadow: 0 0 30px rgba(0,200,83,0.3);
  margin-bottom: 10px;
}

.error-title {
  font-family: var(--font-mono);
  font-size: 22px;
  color: var(--text-primary);
  margin-bottom: 15px;
}

.error-desc {
  max-width: 500px;
  margin: 0 auto 30px;
  color: var(--text-secondary);
  font-size: 15px;
}

/* === Footer === */
.site-footer {
  background: var(--bg-secondary);
  border-top: 2px solid var(--sub-blue);
  padding: 50px 0 30px;
  margin-top: 50px;
}

.footer-columns-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-bottom: 40px;
}

.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--sub-blue-light);
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-color);
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col ul li a {
  font-size: 13px;
  color: var(--text-secondary);
  transition: var(--transition);
}

.footer-col ul li a:hover {
  color: var(--sub-green);
  padding-left: 5px;
}

.footer-brand-logo img {
  height: 40px;
  width: auto;
  margin-bottom: 15px;
  filter: drop-shadow(0 0 5px rgba(2,119,189,0.3));
}

.footer-brand-text {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 15px;
}

.footer-18plus {
  display: inline-block;
  width: 40px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  border: 2px solid #FF1744;
  border-radius: 50%;
  color: #FF1744;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 15px;
}

.footer-social-links {
  display: flex;
  gap: 10px;
}

.footer-social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 50%;
  color: var(--text-secondary);
  font-size: 14px;
  transition: var(--transition);
}

.footer-social-links a:hover {
  background: var(--sub-blue);
  color: #fff;
  border-color: var(--sub-blue);
  transform: translateY(-2px);
}

.footer-license-bar {
  text-align: center;
  padding: 25px 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 20px;
}

.footer-license-bar h4 {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--sub-blue-light);
  margin-bottom: 15px;
  border-bottom: none;
  padding-bottom: 0;
}

.license-icons {
  display: flex;
  justify-content: center;
  gap: 25px;
  flex-wrap: wrap;
}

.license-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.license-item i {
  font-size: 24px;
  color: var(--sub-blue-light);
}

.license-item span {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
}

.footer-bottom {
  text-align: center;
  padding: 15px 0;
}

.footer-copyright {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 1px;
}

/* === Floating Sidebar === */
.floating-sidebar {
  position: fixed;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 998;
}

.sidebar-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 50%;
  color: var(--sub-blue-light);
  font-size: 16px;
  transition: var(--transition);
  position: relative;
}

.sidebar-btn:hover {
  background: var(--sub-blue);
  color: #fff;
  border-color: var(--sub-blue);
  transform: scale(1.1);
  box-shadow: 0 0 15px rgba(2,119,189,0.4);
}

.sidebar-btn-facebook:hover {
  background: #1877F2;
  border-color: #1877F2;
}

.sidebar-btn-telegram:hover {
  background: #0088CC;
  border-color: #0088CC;
}

.sidebar-label {
  display: none;
}

/* === Scrollbar === */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: var(--sub-gray);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--sub-blue);
}

/* === Selection === */
::selection {
  background: var(--sub-blue);
  color: #fff;
}

/* === Utility Classes === */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.mt-1 { margin-top: 10px; }
.mt-2 { margin-top: 20px; }
.mt-3 { margin-top: 30px; }
.mb-1 { margin-bottom: 10px; }
.mb-2 { margin-bottom: 20px; }
.mb-3 { margin-bottom: 30px; }
.p-1 { padding: 10px; }
.p-2 { padding: 20px; }
.p-3 { padding: 30px; }
