@import url('../fonts/fonts.css');

:root {
  --teal-primary: #06b6d4;
  --teal-glow: #00f2fe;
  --teal-light: #67e8f9;
  --teal-deep: #0891b2;
  --teal-dark: #0e7490;
  --teal-border: rgba(6, 182, 212, 0.26);
  --teal-border-hover: rgba(0, 242, 254, 0.55);
  --teal-glow-subtle: rgba(6, 182, 212, 0.12);

  --bg-deep: #04090e;
  --bg-surface: #081520;
  --bg-card: rgba(8, 21, 32, 0.85);
  --bg-card-hover: rgba(11, 29, 44, 0.95);
  --bg-input: rgba(5, 14, 21, 0.88);

  --text-main: #f8fafc;
  --text-muted: #cbd5e1;
  --text-dim: #94a3b8;
  --font-base: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-heading: 'Outfit', 'Plus Jakarta Sans', sans-serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-pill: 9999px;
  --shadow-card: 0 20px 40px -10px rgba(0, 0, 0, 0.7), 0 0 30px rgba(6, 182, 212, 0.08);
  --shadow-glow: 0 4px 24px rgba(0, 242, 254, 0.35);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-base);
  background-color: var(--bg-deep);
  color: var(--text-main);
  line-height: 1.55;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

button,
input {
  font-family: inherit;
}

.wrap {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.ambient-scene {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  will-change: transform;
}

.ambient-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(50px);
  opacity: 0.28;
  pointer-events: none;
}

.glow-top {
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, #06b6d4 0%, rgba(6, 182, 212, 0.2) 40%, transparent 70%);
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
}

.glow-bottom {
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, #0891b2 0%, rgba(8, 145, 178, 0.15) 45%, transparent 70%);
  bottom: -300px;
  right: -100px;
  opacity: 0.2;
}

.ambient-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(6, 182, 212, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(6, 182, 212, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 60%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 60%, transparent 100%);
}

.custom-scrollbar::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

.custom-scrollbar::-webkit-scrollbar-track {
  background: rgba(5, 14, 21, 0.7);
  border-radius: 4px;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
  background: var(--teal-deep);
  border-radius: 4px;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
  background: var(--teal-primary);
}

.announce-bar {
  position: relative;
  z-index: 40;
  background: linear-gradient(90deg, rgba(4, 9, 14, 0.96), rgba(8, 21, 32, 0.96), rgba(4, 9, 14, 0.96));
  border-bottom: 1px solid var(--teal-border);
  backdrop-filter: blur(10px);
}

.announce-bar-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 8px;
  padding-bottom: 8px;
  font-size: 0.82rem;
}

.announce-badge {
  background: linear-gradient(135deg, #06b6d4, #0891b2);
  color: #04090e;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  flex-shrink: 0;
}

.announce-ticker {
  overflow: hidden;
  white-space: nowrap;
  color: var(--text-muted);
}

.header-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(4, 9, 14, 0.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(6, 182, 212, 0.18);
  transition: background 0.3s ease, border-color 0.3s ease;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 20px;
}

.nav-brand {
  display: flex;
  align-items: center;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-brand:hover {
  transform: translateY(-1px);
  opacity: 0.95;
}

.brand-info {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  background: linear-gradient(135deg, #ffffff 40%, var(--teal-glow) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.2;
}

.brand-tagline {
  font-size: 0.75rem;
  color: var(--teal-light);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.nav-links-menu {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-link-item {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text-muted);
  position: relative;
  padding: 6px 0;
}

.nav-link-item:hover {
  color: var(--teal-glow);
}

.nav-link-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, var(--teal-primary), var(--teal-glow));
  transition: width 0.25s ease;
  border-radius: 2px;
}

.nav-link-item:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.client-device-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(6, 182, 212, 0.08);
  border: 1px solid var(--teal-border);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  color: var(--text-muted);
}

.client-device-badge strong {
  color: var(--teal-light);
}

.badge-dot {
  width: 7px;
  height: 7px;
  background-color: var(--teal-glow);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--teal-glow);
  animation: pulse-badge 2s infinite ease-in-out;
}

@keyframes pulse-badge {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.4;
    transform: scale(0.8);
  }
}

.nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.86rem;
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  white-space: nowrap;
}

.nav-btn-dl {
  background: linear-gradient(135deg, var(--teal-primary), var(--teal-glow));
  color: #04090e;
  box-shadow: var(--shadow-glow);
}

.nav-btn-dl:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 26px rgba(0, 242, 254, 0.55);
}

/* ==========================================================================
   Portal Main & Nexus Sections
   ========================================================================= */
.portal-main {
  position: relative;
  z-index: 10;
  padding: 48px 0 80px;
}

.nexus-section {
  margin-top: 64px;
}

/* ==========================================================================
   1. HERO SHOWCASE SECTION (SÂN KHẤU TRUNG TÂM HOÀNH TRÁNG)
   ========================================================================== */
.hero-showcase-section {
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
  padding: 24px 16px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(0, 242, 254, 0.35);
  padding: 6px 18px;
  border-radius: var(--radius-pill);
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--teal-glow);
  margin-bottom: 20px;
  box-shadow: 0 0 20px rgba(6, 182, 212, 0.15);
}

.pulse-indicator {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal-glow);
  box-shadow: 0 0 10px var(--teal-glow);
  animation: pulse-badge 1.8s infinite;
}

.hero-main-title {
  font-family: var(--font-heading);
  font-size: clamp(2.3rem, 5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-bottom: 18px;
}

.glow-teal-text {
  background: linear-gradient(135deg, #22d3ee 0%, #00f2fe 50%, #67e8f9 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 22px rgba(0, 242, 254, 0.45));
}

.hero-sub-description {
  font-size: 1.08rem;
  color: var(--text-muted);
  max-width: 660px;
  line-height: 1.65;
  margin-bottom: 32px;
}

.hero-action-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  width: 100%;
}

.hero-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.02rem;
  padding: 15px 34px;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, var(--teal-primary) 0%, var(--teal-glow) 100%);
  color: #04090e;
  box-shadow: 0 8px 30px rgba(0, 242, 254, 0.4);
  letter-spacing: 0.04em;
  position: relative;
  overflow: hidden;
}

.hero-btn-primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transition: left 0.6s ease;
}

.hero-btn-primary:hover::after {
  left: 100%;
}

.hero-btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 38px rgba(0, 242, 254, 0.6);
}

.hero-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.98rem;
  padding: 15px 30px;
  border-radius: var(--radius-pill);
  background: rgba(8, 21, 32, 0.8);
  border: 1px solid var(--teal-border);
  color: var(--teal-light);
  backdrop-filter: blur(10px);
}

.hero-btn-secondary:hover {
  background: rgba(6, 182, 212, 0.15);
  border-color: var(--teal-glow);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(6, 182, 212, 0.2);
}

/* ==========================================================================
   2. ACCOUNT SANCTUARY (TRUNG TÂM TÀI KHOẢN NGUYÊN KHỐI)
   ========================================================================== */
.account-card-wrapper {
  max-width: 760px;
  margin: 0 auto;
}

.account-cyber-card {
  background: var(--bg-card);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--teal-border);
  border-radius: var(--radius-lg);
  padding: 36px 36px 32px;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s ease;
}

.account-cyber-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--teal-primary), var(--teal-glow), transparent);
}

/* Pill Segmented Switcher */
.account-mode-switcher {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  background: rgba(5, 14, 21, 0.9);
  padding: 6px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(6, 182, 212, 0.16);
  margin-bottom: 28px;
}

.mode-switch-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.92rem;
  padding: 12px 18px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all 0.25s ease;
}

.mode-switch-btn:hover {
  color: #fff;
}

.mode-switch-btn.active {
  background: linear-gradient(135deg, var(--teal-primary), var(--teal-deep));
  color: #ffffff;
  box-shadow: 0 4px 18px rgba(6, 182, 212, 0.35);
}

/* Alert Message Box */
.portal-alert {
  display: none;
  padding: 12px 18px;
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.portal-alert.show {
  display: block;
  animation: slide-alert 0.3s ease forwards;
}

@keyframes slide-alert {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.alert-success {
  background: rgba(16, 185, 129, 0.14);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #34d399;
}

.alert-error {
  background: rgba(239, 68, 68, 0.14);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #f87171;
}

/* Form Styles */
.portal-form {
  display: flex;
  flex-direction: column;
}

.form-header-box {
  text-align: center;
  margin-bottom: 26px;
}

.form-badge {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--teal-glow);
  background: rgba(6, 182, 212, 0.12);
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  margin-bottom: 10px;
}

.form-title {
  font-family: var(--font-heading);
  font-size: 1.55rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 6px;
}

.form-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.form-grid-fields {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 26px;
}

.portal-input-group label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--teal-light);
  margin-bottom: 7px;
  letter-spacing: 0.02em;
}

.input-shell {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon {
  position: absolute;
  left: 16px;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  pointer-events: none;
  transition: color 0.25s ease;
}

.portal-input {
  width: 100%;
  background: var(--bg-input);
  border: 1px solid rgba(6, 182, 212, 0.22);
  border-radius: var(--radius-md);
  color: #ffffff;
  font-size: 0.95rem;
  padding: 13px 18px 13px 46px;
  outline: none;
  transition: all 0.25s ease;
}

.portal-input::placeholder {
  color: var(--text-dim);
  font-size: 0.88rem;
}

.portal-input:focus {
  border-color: var(--teal-glow);
  background: rgba(8, 23, 34, 0.95);
  box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.22), 0 0 16px rgba(0, 242, 254, 0.15);
}

.portal-input:focus+.input-icon,
.input-shell:focus-within .input-icon {
  color: var(--teal-glow);
}

.btn-portal-submit {
  width: 100%;
  background: linear-gradient(135deg, var(--teal-primary), var(--teal-glow));
  color: #04090e;
  border: none;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1rem;
  padding: 15px 24px;
  border-radius: var(--radius-md);
  cursor: pointer;
  letter-spacing: 0.05em;
  box-shadow: 0 6px 24px rgba(0, 242, 254, 0.35);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-portal-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0, 242, 254, 0.55);
}

.btn-portal-submit:active {
  transform: translateY(0);
}

/* ==========================================================================
   3. THE ARMORY (LƯỚI TẢI GAME 4 NỀN TẢNG MATRIX PODS)
   ========================================================================== */
.section-header-centered {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 38px;
}

.section-tag-pill {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--teal-glow);
  background: rgba(6, 182, 212, 0.1);
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 12px;
  border: 1px solid rgba(6, 182, 212, 0.25);
}

.section-headline {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 10px;
  line-height: 1.25;
}

.section-subtext {
  font-size: 0.96rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.platform-pods-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.pod-card {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--teal-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.pod-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--teal-border-hover);
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6), 0 0 24px rgba(6, 182, 212, 0.16);
}

/* Thẻ thiết bị đang dùng phát sáng nổi bật */
.pod-card.active-device-pod {
  border-color: var(--teal-glow);
  background: linear-gradient(180deg, rgba(8, 28, 42, 0.92) 0%, rgba(8, 21, 32, 0.95) 100%);
  box-shadow: 0 0 30px rgba(0, 242, 254, 0.25), 0 16px 40px rgba(0, 0, 0, 0.8);
}

.pod-card.active-device-pod::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal-primary), var(--teal-glow));
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.pod-match-banner {
  background: linear-gradient(135deg, rgba(0, 242, 254, 0.16), rgba(6, 182, 212, 0.08));
  border: 1px solid rgba(0, 242, 254, 0.4);
  padding: 5px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--teal-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-bottom: 14px;
  box-shadow: 0 0 12px rgba(0, 242, 254, 0.15);
}

.match-sparkle {
  color: #fff;
  filter: drop-shadow(0 0 4px #00f2fe);
}

.pod-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.pod-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(6, 182, 212, 0.12);
  border: 1px solid rgba(6, 182, 212, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal-glow);
  flex-shrink: 0;
  transition: all 0.25s ease;
}

.pod-card:hover .pod-icon-box,
.pod-card.active-device-pod .pod-icon-box {
  background: linear-gradient(135deg, var(--teal-primary), var(--teal-deep));
  color: #04090e;
  box-shadow: 0 0 16px rgba(0, 242, 254, 0.35);
}

.pod-titles {
  display: flex;
  flex-direction: column;
}

.pod-name {
  font-family: var(--font-heading);
  font-size: 1.12rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.25;
}

.pod-sub {
  font-size: 0.76rem;
  color: var(--teal-light);
  letter-spacing: 0.03em;
}

.pod-body {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.pod-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 18px;
  flex: 1;
}

.pod-downloads-area {
  margin-top: auto;
}

.btn-pod-download {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: linear-gradient(135deg, var(--teal-primary), var(--teal-deep));
  color: #ffffff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.88rem;
  padding: 11px 16px;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 16px rgba(6, 182, 212, 0.25);
  transition: all 0.2s ease;
}

.btn-pod-download:hover {
  background: linear-gradient(135deg, var(--teal-light), var(--teal-primary));
  color: #04090e;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 242, 254, 0.45);
}

.pod-empty-msg {
  display: block;
  text-align: center;
  font-size: 0.84rem;
  color: var(--text-dim);
  padding: 10px;
  background: rgba(5, 14, 21, 0.5);
  border-radius: var(--radius-sm);
  border: 1px dashed rgba(6, 182, 212, 0.15);
}

/* Danh Sách Nhiều Bản Tải Trong Pod */
.pod-multi-links-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 180px;
  overflow-y: auto;
  padding-right: 4px;
}

.pod-link-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(5, 14, 21, 0.8);
  border: 1px solid rgba(6, 182, 212, 0.2);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  transition: all 0.2s ease;
}

.pod-link-item:hover {
  background: rgba(6, 182, 212, 0.18);
  border-color: var(--teal-glow);
  transform: translateX(3px);
}

.link-label {
  font-weight: 600;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 140px;
}

.link-ext {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--teal-light);
  background: rgba(6, 182, 212, 0.15);
  padding: 2px 6px;
  border-radius: 4px;
}

/* ==========================================================================
   4. COMMUNITY & SUPPORT DOCK (KẾT NỐI CỘNG ĐỒNG NHẪN GIẢ)
   ========================================================================== */
.community-dock-bar {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--teal-border);
  border-radius: var(--radius-lg);
  padding: 28px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-shadow: var(--shadow-card);
}

.community-dock-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.dock-badge {
  background: linear-gradient(135deg, var(--teal-primary), var(--teal-deep));
  color: #04090e;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  flex-shrink: 0;
}

.dock-title {
  font-family: var(--font-heading);
  font-size: 1.28rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 4px;
}

.dock-sub {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.community-dock-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.dock-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.86rem;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  background: rgba(5, 14, 21, 0.8);
  border: 1px solid var(--teal-border);
  color: var(--teal-light);
  white-space: nowrap;
}

.dock-action-btn:hover {
  background: rgba(6, 182, 212, 0.18);
  border-color: var(--teal-glow);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(6, 182, 212, 0.25);
}

.dock-btn-zalo {
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.2), rgba(8, 145, 178, 0.2));
  border-color: var(--teal-glow);
  color: #ffffff;
}

.btn-dot-live {
  width: 7px;
  height: 7px;
  background-color: var(--teal-glow);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--teal-glow);
  animation: pulse-badge 1.5s infinite;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.portal-footer {
  border-top: 1px solid rgba(6, 182, 212, 0.14);
  background: rgba(4, 9, 14, 0.95);
  padding: 28px 0;
  font-size: 0.85rem;
  color: var(--text-dim);
}

.footer-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--text-dim);
  font-size: 0.88rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--teal-glow);
}

/* ==========================================================================
   Modal Thông Báo Tự Động (Notice Modal)
   ========================================================================== */
.notice-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.notice-modal.show {
  display: flex;
}

.notice-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 9, 14, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.notice-card {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 520px;
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--teal-glow);
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9), 0 0 40px rgba(0, 242, 254, 0.28);
  overflow: hidden;
  animation: modal-enter 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes modal-enter {
  from {
    opacity: 0;
    transform: scale(0.92) translateY(16px);
  }

  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.notice-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 24px;
  border-bottom: 1px solid rgba(6, 182, 212, 0.2);
  background: rgba(6, 182, 212, 0.06);
}

.notice-icon-box {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--teal-primary), var(--teal-deep));
  color: #04090e;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 0 16px rgba(0, 242, 254, 0.3);
}

.notice-header-text {
  flex: 1;
}

.notice-top-tag {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--teal-glow);
  margin-bottom: 2px;
}

.notice-main-title {
  font-family: var(--font-heading);
  font-size: 1.22rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
}

.notice-close-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  padding: 4px;
  transition: color 0.2s ease;
}

.notice-close-btn:hover {
  color: #fff;
}

.notice-card-body {
  padding: 24px;
}

.notice-content-box {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 24px;
}

.notice-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: rgba(5, 14, 21, 0.7);
  border: 1px solid rgba(6, 182, 212, 0.18);
  padding: 12px 16px;
  border-radius: var(--radius-md);
}

.notice-bullet {
  color: var(--teal-glow);
  font-size: 0.95rem;
  line-height: 1.4;
}

.notice-text {
  font-size: 0.9rem;
  color: var(--text-main);
  line-height: 1.5;
}

.btn-notice-confirm {
  width: 100%;
  background: linear-gradient(135deg, var(--teal-primary), var(--teal-glow));
  color: #04090e;
  border: none;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.95rem;
  padding: 13px 20px;
  border-radius: var(--radius-md);
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(0, 242, 254, 0.35);
  transition: all 0.2s ease;
}

.btn-notice-confirm:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0, 242, 254, 0.55);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1100px) {
  .platform-pods-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 820px) {
  .nav-links-menu {
    display: none;
  }

  .client-device-badge {
    display: none;
  }

  .community-dock-bar {
    flex-direction: column;
    text-align: center;
  }

  .community-dock-left {
    flex-direction: column;
  }

  .community-dock-actions {
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .wrap {
    padding: 0 16px;
  }

  .header-nav {
    height: 64px;
  }

  .brand-name {
    font-size: 1.15rem;
  }

  .hero-showcase-section {
    padding-top: 10px;
  }

  .hero-main-title {
    font-size: 2rem;
  }

  .hero-btn-primary,
  .hero-btn-secondary {
    width: 100%;
    justify-content: center;
  }

  .account-cyber-card {
    padding: 24px 18px;
  }

  .platform-pods-grid {
    grid-template-columns: 1fr;
  }

  .footer-wrap {
    flex-direction: column;
    text-align: center;
  }
}