:root {
  --primary: #0a0e27;
  --primary-light: #141a3a;
  --accent: #e2b04a;
  --accent2: #c9952e;
  --accent-glow: rgba(226, 176, 74, 0.35);
  --bg: #f0f2f8;
  --card: #ffffff;
  --card-glass: rgba(255, 255, 255, 0.72);
  --text: #1a1a2e;
  --text2: #5a5a72;
  --text3: #8888a0;
  --border: #e4e6f0;
  --border-glass: rgba(255, 255, 255, 0.35);
  --shadow-sm: 0 1px 3px rgba(10, 14, 39, 0.06);
  --shadow: 0 4px 16px rgba(10, 14, 39, 0.08);
  --shadow-lg: 0 12px 40px rgba(10, 14, 39, 0.14);
  --shadow-glow: 0 4px 24px rgba(226, 176, 74, 0.25);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
}

body.dark {
  --primary: #e2b04a;
  --primary-light: #c9952e;
  --accent: #e2b04a;
  --accent2: #f0c860;
  --accent-glow: rgba(226, 176, 74, 0.25);
  --bg: #0a0e1f;
  --card: #141a30;
  --card-glass: rgba(20, 26, 48, 0.78);
  --text: #e8eaf2;
  --text2: #a0a4bc;
  --text3: #6a6e88;
  --border: #242a45;
  --border-glass: rgba(255, 255, 255, 0.08);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.2);
  --shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.45);
  --shadow-glow: 0 4px 24px rgba(226, 176, 74, 0.2);
}

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

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

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.8;
  font-size: 16px;
  transition: background var(--transition), color var(--transition);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 10% 0%, rgba(226, 176, 74, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 90% 100%, rgba(15, 52, 96, 0.08) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

body.dark::before {
  background:
    radial-gradient(ellipse 80% 60% at 10% 0%, rgba(226, 176, 74, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 90% 100%, rgba(15, 52, 96, 0.15) 0%, transparent 60%);
}

a {
  color: var(--accent2);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--accent);
  text-decoration: underline;
}

img, svg {
  display: block;
  max-width: 100%;
}

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

input {
  font-family: inherit;
}

::selection {
  background: var(--accent);
  color: #0a0e27;
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* ===== HEADER ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--card-glass);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border-glass);
  box-shadow: var(--shadow-sm);
  transition: background var(--transition), box-shadow var(--transition), border-color var(--transition);
}

body.dark .header {
  background: rgba(10, 14, 31, 0.82);
  border-bottom-color: rgba(255, 255, 255, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 800;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.02em;
  flex-shrink: 0;
  transition: color var(--transition-fast);
}

.logo:hover {
  text-decoration: none;
  color: var(--accent2);
}

.logo svg {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  transition: transform var(--transition), box-shadow var(--transition);
}

.logo:hover svg {
  transform: rotate(-8deg) scale(1.05);
  box-shadow: var(--shadow-glow);
}

.logo span {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav {
  display: flex;
  gap: 2px;
  list-style: none;
  flex-wrap: wrap;
  align-items: center;
}

.nav a {
  display: block;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  color: var(--text2);
  font-size: 14px;
  font-weight: 500;
  transition: all var(--transition-fast);
  text-decoration: none;
  position: relative;
  white-space: nowrap;
}

.nav a::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 60%;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
  transition: transform var(--transition);
}

.nav a:hover,
.nav a.active {
  background: rgba(226, 176, 74, 0.1);
  color: var(--accent2);
  text-decoration: none;
}

.nav a:hover::after,
.nav a.active::after {
  transform: translateX(-50%) scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.search-box {
  display: flex;
  align-items: center;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-full);
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}

.search-box:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
  background: var(--card);
}

.search-box input {
  border: none;
  outline: none;
  background: transparent;
  padding: 8px 14px;
  font-size: 14px;
  color: var(--text);
  width: 150px;
  transition: width var(--transition), color var(--transition);
}

.search-box input::placeholder {
  color: var(--text3);
}

.search-box input:focus {
  width: 200px;
}

.search-box button {
  border: none;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #0a0e27;
  padding: 8px 16px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.search-box button:hover {
  background: linear-gradient(135deg, var(--accent2), var(--accent));
  box-shadow: var(--shadow-glow);
}

.dark-toggle {
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-full);
  width: 40px;
  height: 40px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: all var(--transition);
  flex-shrink: 0;
}

.dark-toggle:hover {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
  transform: rotate(20deg) scale(1.05);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--text);
  padding: 6px;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  line-height: 1;
}

.mobile-menu-btn:hover {
  background: rgba(226, 176, 74, 0.1);
  color: var(--accent2);
}

/* ===== BANNER ===== */
.banner {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #0a0e27 0%, #141a3a 40%, #0f3460 100%);
  color: #fff;
  padding: 0;
}

.banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(226, 176, 74, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(15, 52, 96, 0.4) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(226, 176, 74, 0.05) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}

.banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1.5px 1.5px at 10% 20%, rgba(255,255,255,0.4) 50%, transparent 50%),
    radial-gradient(1px 1px at 30% 60%, rgba(255,255,255,0.3) 50%, transparent 50%),
    radial-gradient(1.5px 1.5px at 55% 15%, rgba(255,255,255,0.35) 50%, transparent 50%),
    radial-gradient(1px 1px at 70% 45%, rgba(255,255,255,0.25) 50%, transparent 50%),
    radial-gradient(1.5px 1.5px at 85% 75%, rgba(255,255,255,0.3) 50%, transparent 50%),
    radial-gradient(1px 1px at 45% 85%, rgba(255,255,255,0.2) 50%, transparent 50%),
    radial-gradient(1px 1px at 15% 80%, rgba(255,255,255,0.25) 50%, transparent 50%),
    radial-gradient(1.5px 1.5px at 92% 25%, rgba(255,255,255,0.3) 50%, transparent 50%);
  pointer-events: none;
  z-index: 1;
  animation: starTwinkle 4s ease-in-out infinite alternate;
}

@keyframes starTwinkle {
  0% { opacity: 0.6; }
  100% { opacity: 1; }
}

.banner-slides {
  position: relative;
  height: 420px;
  z-index: 2;
}

.banner-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.9s cubic-bezier(0.4, 0, 0.2, 1), transform 0.9s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 48px 24px;
  transform: scale(1.02);
}

.banner-slide.active {
  opacity: 1;
  transform: scale(1);
}

.banner-slide-inner {
  max-width: 820px;
  text-align: center;
  position: relative;
}

.banner-slide h2 {
  font-size: 38px;
  margin-bottom: 18px;
  color: #e2b04a;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.3;
  text-shadow: 0 2px 20px rgba(226, 176, 74, 0.3);
  animation: fadeInUp 0.8s ease-out both;
}

.banner-slide p {
  font-size: 17px;
  color: rgba(200, 200, 216, 0.9);
  max-width: 660px;
  margin: 0 auto 28px;
  line-height: 1.9;
  animation: fadeInUp 0.8s ease-out 0.1s both;
}

.banner-slide .banner-btn {
  display: inline-block;
  padding: 12px 32px;
  background: linear-gradient(135deg, #e2b04a, #c9952e);
  color: #0a0e27;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 15px;
  transition: all var(--transition);
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(226, 176, 74, 0.35);
  animation: fadeInUp 0.8s ease-out 0.2s both;
  position: relative;
  overflow: hidden;
}

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

.banner-slide .banner-btn:hover {
  background: linear-gradient(135deg, #f0c860, #d4a83a);
  text-decoration: none;
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(226, 176, 74, 0.5);
}

.banner-slide .banner-btn:hover::before {
  left: 100%;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.banner-dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 5;
}

.banner-dots span {
  width: 10px;
  height: 10px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: all var(--transition);
  position: relative;
}

.banner-dots span:hover {
  background: rgba(255, 255, 255, 0.6);
  transform: scale(1.2);
}

.banner-dots span.active {
  background: #e2b04a;
  width: 28px;
  box-shadow: 0 0 12px rgba(226, 176, 74, 0.6);
}

/* ===== BREADCRUMB ===== */
.breadcrumb {
  padding: 16px 0;
  font-size: 13px;
  color: var(--text3);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 2px;
}

.breadcrumb a {
  color: var(--text3);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.breadcrumb a:hover {
  color: var(--accent2);
  text-decoration: underline;
}

.breadcrumb span {
  margin: 0 6px;
  color: var(--text3);
}

/* ===== SECTION ===== */
.section {
  padding: 56px 0;
  position: relative;
}

.section-title {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 10px;
  color: var(--text);
  position: relative;
  padding-left: 20px;
  letter-spacing: -0.02em;
  line-height: 1.4;
}

.section-title::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 4px;
  background: linear-gradient(180deg, var(--accent), var(--accent2));
  border-radius: 2px;
  box-shadow: 0 0 12px var(--accent-glow);
}

.section-subtitle {
  color: var(--text2);
  font-size: 15px;
  margin-bottom: 32px;
  padding-left: 20px;
  line-height: 1.7;
}

/* ===== CARD GRID ===== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}

.card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition), background var(--transition);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  opacity: 0;
  transition: opacity var(--transition);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(226, 176, 74, 0.25);
}

.card:hover::before {
  opacity: 1;
}

.card h3 {
  font-size: 18px;
  margin-bottom: 12px;
  color: var(--text);
  font-weight: 700;
  line-height: 1.4;
}

.card p {
  color: var(--text2);
  font-size: 14px;
  line-height: 1.8;
}

.card-icon {
  width: 52px;
  height: 52px;
  margin-bottom: 16px;
  border-radius: 14px;
  background: linear-gradient(135deg, #0a0e27, #0f3460);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
  overflow: hidden;
}

.card-icon::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(226, 176, 74, 0.15), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}

.card:hover .card-icon {
  transform: scale(1.08) rotate(-4deg);
  box-shadow: 0 6px 20px rgba(226, 176, 74, 0.25);
}

.card:hover .card-icon::after {
  opacity: 1;
}

.card-icon svg {
  width: 28px;
  height: 28px;
  position: relative;
  z-index: 1;
}

/* ===== STATS ===== */
.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 22px;
  margin: 36px 0;
}

.stat-item {
  text-align: center;
  padding: 28px 16px;
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  position: relative;
  overflow: hidden;
}

.stat-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 60%;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  border-radius: 2px;
  transition: transform var(--transition);
}

.stat-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(226, 176, 74, 0.2);
}

.stat-item:hover::after {
  transform: translateX(-50%) scaleX(1);
}

.stat-num {
  font-size: 38px;
  font-weight: 800;
  color: var(--accent2);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 14px;
  color: var(--text2);
  margin-top: 8px;
  font-weight: 500;
}

/* ===== FAQ ===== */
.faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), border-color var(--transition), background var(--transition);
}

.faq-item:hover {
  border-color: rgba(226, 176, 74, 0.25);
  box-shadow: var(--shadow);
}

.faq-item.open {
  border-color: rgba(226, 176, 74, 0.35);
  box-shadow: var(--shadow);
}

.faq-q {
  padding: 20px 24px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text);
  transition: background var(--transition-fast), color var(--transition-fast);
  gap: 16px;
  user-select: none;
}

.faq-q:hover {
  background: rgba(226, 176, 74, 0.06);
}

.faq-q .arrow {
  transition: transform var(--transition);
  font-size: 12px;
  color: var(--accent2);
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(226, 176, 74, 0.1);
}

.faq-item.open .faq-q .arrow {
  transform: rotate(180deg);
  background: rgba(226, 176, 74, 0.2);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1), padding 0.3s ease;
  padding: 0 24px;
  color: var(--text2);
  font-size: 14px;
  line-height: 1.9;
}

.faq-item.open .faq-a {
  max-height: 800px;
  padding: 0 24px 22px;
}

.faq-a p {
  border-top: 1px solid var(--border);
  padding-top: 16px;
}

/* ===== ARTICLE LIST ===== */
.article-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 22px;
}

.article-card {
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  display: flex;
  flex-direction: column;
}

.article-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(226, 176, 74, 0.25);
}

.article-thumb {
  height: 170px;
  background: linear-gradient(135deg, #0a0e27, #0f3460);
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.article-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(10, 14, 39, 0.6) 100%);
  pointer-events: none;
}

.article-thumb svg {
  width: 100%;
  height: 100%;
  transition: transform var(--transition-slow);
}

.article-card:hover .article-thumb svg {
  transform: scale(1.06);
}

.article-body {
  padding: 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.article-meta {
  font-size: 12px;
  color: var(--text3);
  margin-bottom: 10px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}

.article-meta span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.article-body h3 {
  font-size: 17px;
  margin-bottom: 10px;
  color: var(--text);
  font-weight: 700;
  line-height: 1.5;
  transition: color var(--transition-fast);
}

.article-card:hover .article-body h3 {
  color: var(--accent2);
}

.article-body p {
  font-size: 14px;
  color: var(--text2);
  line-height: 1.8;
  margin-bottom: 14px;
  flex: 1;
}

.read-more {
  font-size: 14px;
  color: var(--accent2);
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all var(--transition-fast);
  align-self: flex-start;
}

.read-more:hover {
  color: var(--accent);
  text-decoration: none;
  gap: 8px;
}

/* ===== HOWTO ===== */
.howto-steps {
  counter-reset: step;
  position: relative;
}

.howto-steps::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 40px;
  bottom: 40px;
  width: 2px;
  background: linear-gradient(180deg, var(--accent), var(--accent2), transparent);
  opacity: 0.3;
  border-radius: 1px;
}

.howto-step {
  display: flex;
  gap: 20px;
  margin-bottom: 24px;
  counter-increment: step;
  position: relative;
  transition: transform var(--transition);
}

.howto-step:hover {
  transform: translateX(6px);
}

.howto-step-num {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0a0e27, #0f3460);
  color: #e2b04a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 16px;
  position: relative;
  z-index: 1;
  box-shadow: 0 4px 12px rgba(10, 14, 39, 0.2);
  transition: transform var(--transition), box-shadow var(--transition);
}

.howto-step:hover .howto-step-num {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(226, 176, 74, 0.3);
}

.howto-step-content {
  padding-top: 4px;
}

.howto-step-content h4 {
  font-size: 16px;
  margin-bottom: 8px;
  color: var(--text);
  font-weight: 700;
  line-height: 1.4;
}

.howto-step-content p {
  font-size: 14px;
  color: var(--text2);
  line-height: 1.8;
}

/* ===== CONTACT ===== */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
}

.contact-item {
  background: var(--card);
  border-radius: var(--radius);
  padding: 28px 22px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  position: relative;
  overflow: hidden;
}

.contact-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  transform: scaleX(0);
  transition: transform var(--transition);
}

.contact-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: rgba(226, 176, 74, 0.25);
}

.contact-item:hover::before {
  transform: scaleX(1);
}

.contact-item svg {
  width: 36px;
  height: 36px;
  margin: 0 auto 14px;
  transition: transform var(--transition);
}

.contact-item:hover svg {
  transform: scale(1.15) rotate(-5deg);
}

.contact-item h4 {
  font-size: 15px;
  margin-bottom: 8px;
  color: var(--text);
  font-weight: 700;
}

.contact-item p {
  font-size: 14px;
  color: var(--text2);
  line-height: 1.6;
}

/* ===== SITEMAP ===== */
.sitemap-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}

.sitemap-col h4 {
  font-size: 15px;
  margin-bottom: 14px;
  color: var(--text);
  padding-bottom: 8px;
  border-bottom: 2px solid var(--accent);
  font-weight: 700;
  display: inline-block;
}

.sitemap-col ul {
  list-style: none;
}

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

.sitemap-col a {
  font-size: 13px;
  color: var(--text2);
  text-decoration: none;
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.sitemap-col a::before {
  content: '›';
  color: var(--accent);
  font-weight: 700;
  opacity: 0;
  transform: translateX(-6px);
  transition: all var(--transition-fast);
}

.sitemap-col a:hover {
  color: var(--accent2);
  text-decoration: none;
  padding-left: 4px;
}

.sitemap-col a:hover::before {
  opacity: 1;
  transform: translateX(0);
}

/* ===== FOOTER ===== */
.footer {
  background: linear-gradient(180deg, #0a0e27 0%, #06091a 100%);
  color: #b8b8cc;
  padding: 56px 0 24px;
  margin-top: 56px;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(226, 176, 74, 0.4), transparent);
}

.footer::after {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(226, 176, 74, 0.04) 0%, transparent 70%);
  pointer-events: none;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 36px;
  margin-bottom: 36px;
  position: relative;
  z-index: 1;
}

.footer-col h4 {
  color: #e2b04a;
  font-size: 15px;
  margin-bottom: 16px;
  font-weight: 700;
  position: relative;
  padding-bottom: 8px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 28px;
  height: 2px;
  background: linear-gradient(90deg, #e2b04a, transparent);
  border-radius: 1px;
}

.footer-col p,
.footer-col li {
  font-size: 13px;
  line-height: 2;
  color: #9a9ab0;
}

.footer-col ul {
  list-style: none;
}

.footer-col a {
  color: #9a9ab0;
  text-decoration: none;
  font-size: 13px;
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-col a::before {
  content: '›';
  color: #e2b04a;
  opacity: 0;
  transform: translateX(-6px);
  transition: all var(--transition-fast);
  font-weight: 700;
}

.footer-col a:hover {
  color: #e2b04a;
  text-decoration: none;
  padding-left: 4px;
}

.footer-col a:hover::before {
  opacity: 1;
  transform: translateX(0);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 24px;
  text-align: center;
  font-size: 12px;
  color: #6a6a80;
  position: relative;
  z-index: 1;
  line-height: 1.8;
}

.footer-bottom a {
  color: #9a9ab0;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-bottom a:hover {
  color: #e2b04a;
}

/* ===== BACK TO TOP ===== */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #0a0e27;
  border: none;
  cursor: pointer;
  font-size: 20px;
  font-weight: 700;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(226, 176, 74, 0.4);
  z-index: 999;
  transition: all var(--transition);
  line-height: 1;
}

.back-to-top.show {
  display: flex;
  animation: fadeInUp 0.3s ease-out;
}

.back-to-top:hover {
  background: linear-gradient(135deg, var(--accent2), var(--accent));
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 8px 30px rgba(226, 176, 74, 0.55);
}

.back-to-top:active {
  transform: translateY(-2px) scale(0.98);
}

/* ===== REVEAL ANIMATION ===== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: opacity, transform;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal:nth-child(2) { transition-delay: 0.06s; }
.reveal:nth-child(3) { transition-delay: 0.12s; }
.reveal:nth-child(4) { transition-delay: 0.18s; }
.reveal:nth-child(5) { transition-delay: 0.24s; }
.reveal:nth-child(6) { transition-delay: 0.30s; }

/* ===== TAG ===== */
.tag {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(226, 176, 74, 0.1);
  color: var(--accent2);
  border-radius: var(--radius-full);
  font-size: 12px;
  margin: 0 4px 4px 0;
  font-weight: 500;
  border: 1px solid rgba(226, 176, 74, 0.15);
  transition: all var(--transition-fast);
}

.tag:hover {
  background: rgba(226, 176, 74, 0.2);
  border-color: rgba(226, 176, 74, 0.3);
  transform: translateY(-1px);
}

/* ===== AUTHOR BOX ===== */
.author-box {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  margin-top: 24px;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.author-box:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: rgba(226, 176, 74, 0.2);
}

.author-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0a0e27, #0f3460);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(10, 14, 39, 0.2);
  transition: transform var(--transition);
}

.author-box:hover .author-avatar {
  transform: scale(1.08);
}

.author-avatar svg {
  width: 32px;
  height: 32px;
}

.author-info h4 {
  font-size: 16px;
  color: var(--text);
  margin-bottom: 6px;
  font-weight: 700;
}

.author-info p {
  font-size: 13px;
  color: var(--text2);
  line-height: 1.8;
}

/* ===== BRAND INTRO ===== */
.brand-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.brand-text h3 {
  font-size: 24px;
  margin-bottom: 16px;
  color: var(--text);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand-text p {
  font-size: 15px;
  color: var(--text2);
  line-height: 2;
  margin-bottom: 14px;
}

.brand-visual {
  background: linear-gradient(135deg, #0a0e27 0%, #141a3a 50%, #0f3460 100%);
  border-radius: var(--radius-lg);
  padding: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.brand-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 40%, rgba(226, 176, 74, 0.12) 0%, transparent 50%),
    radial-gradient(circle at 70% 60%, rgba(15, 52, 96, 0.3) 0%, transparent 50%);
  pointer-events: none;
}

.brand-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1.5px 1.5px at 15% 25%, rgba(255,255,255,0.35) 50%, transparent 50%),
    radial-gradient(1px 1px at 60% 70%, rgba(255,255,255,0.25) 50%, transparent 50%),
    radial-gradient(1.5px 1.5px at 80% 30%, rgba(255,255,255,0.3) 50%, transparent 50%),
    radial-gradient(1px 1px at 40% 80%, rgba(255,255,255,0.2) 50%, transparent 50%);
  pointer-events: none;
  animation: starTwinkle 3s ease-in-out infinite alternate;
}

.brand-visual svg {
  width: 100%;
  max-width: 340px;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 4px 20px rgba(226, 176, 74, 0.2));
}

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

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

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--accent2), var(--accent));
  border-radius: var(--radius-full);
  border: 2px solid var(--bg);
}

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

body.dark ::-webkit-scrollbar-track {
  background: #0a0e1f;
}

body.dark ::-webkit-scrollbar-thumb {
  border-color: #0a0e1f;
}

/* ===== FOCUS VISIBLE ===== */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .container {
    padding: 0 20px;
  }

  .banner-slides {
    height: 380px;
  }

  .banner-slide h2 {
    font-size: 30px;
  }

  .nav a {
    padding: 8px 10px;
    font-size: 13px;
  }

  .search-box input {
    width: 120px;
  }

  .search-box input:focus {
    width: 160px;
  }
}

@media (max-width: 900px) {
  .brand-intro {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .banner-slide h2 {
    font-size: 26px;
  }

  .banner-slides {
    height: 360px;
  }

  .section-title {
    font-size: 24px;
  }

  .nav {
    gap: 0;
  }

  .nav a {
    padding: 7px 8px;
    font-size: 12px;
  }

  .search-box input {
    width: 100px;
  }

  .search-box input:focus {
    width: 130px;
  }
}

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

  .header-inner {
    height: 60px;
    flex-wrap: nowrap;
    gap: 10px;
  }

  .logo {
    font-size: 17px;
  }

  .logo svg {
    width: 32px;
    height: 32px;
  }

  .nav {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: var(--card-glass);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    flex-direction: column;
    padding: 12px;
    border-bottom: 1px solid var(--border-glass);
    box-shadow: var(--shadow-lg);
    gap: 2px;
    z-index: 999;
  }

  .nav.open {
    display: flex;
    animation: slideDown 0.3s ease-out;
  }

  @keyframes slideDown {
    from {
      opacity: 0;
      transform: translateY(-10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .nav a {
    padding: 12px 16px;
    font-size: 14px;
    border-radius: var(--radius-sm);
  }

  .nav a::after {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }

  .search-box input {
    width: 80px;
    padding: 7px 10px;
    font-size: 13px;
  }

  .search-box input:focus {
    width: 110px;
  }

  .search-box button {
    padding: 7px 12px;
    font-size: 12px;
  }

  .section {
    padding: 40px 0;
  }

  .section-title {
    font-size: 22px;
    padding-left: 16px;
  }

  .section-title::before {
    width: 3px;
    top: 6px;
    bottom: 6px;
  }

  .section-subtitle {
    padding-left: 16px;
    font-size: 14px;
    margin-bottom: 24px;
  }

  .banner-slides {
    height: 320px;
  }

  .banner-slide {
    padding: 32px 16px;
  }

  .banner-slide h2 {
    font-size: 22px;
    margin-bottom: 12px;
  }

  .banner-slide p {
    font-size: 14px;
    margin-bottom: 20px;
  }

  .banner-slide .banner-btn {
    padding: 10px 24px;
    font-size: 14px;
  }

  .banner-dots {
    bottom: 16px;
  }

  .stat-num {
    font-size: 30px;
  }

  .stat-item {
    padding: 22px 12px;
  }

  .card {
    padding: 22px;
  }

  .card-grid {
    gap: 16px;
  }

  .article-list {
    grid-template-columns: 1fr;
  }

  .article-thumb {
    height: 150px;
  }

  .howto-steps::before {
    left: 18px;
  }

  .howto-step-num {
    width: 38px;
    height: 38px;
    font-size: 14px;
  }

  .howto-step {
    gap: 14px;
    margin-bottom: 20px;
  }

  .faq-q {
    padding: 16px 18px;
    font-size: 15px;
  }

  .faq-a {
    padding: 0 18px;
    font-size: 13px;
  }

  .faq-item.open .faq-a {
    padding: 0 18px 18px;
  }

  .author-box {
    padding: 18px;
    gap: 14px;
  }

  .author-avatar {
    width: 48px;
    height: 48px;
  }

  .author-avatar svg {
    width: 26px;
    height: 26px;
  }

  .footer {
    padding: 40px 0 20px;
    margin-top: 40px;
  }

  .footer-grid {
    gap: 24px;
  }

  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 42px;
    height: 42px;
    font-size: 18px;
  }

  .contact-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
  }

  .contact-item {
    padding: 22px 16px;
  }

  .sitemap-links {
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 14px;
  }

  .header-inner {
    height: 56px;
    gap: 8px;
  }

  .logo {
    font-size: 15px;
    gap: 8px;
  }

  .logo svg {
    width: 28px;
    height: 28px;
  }

  .search-box {
    display: none;
  }

  .dark-toggle {
    width: 36px;
    height: 36px;
    font-size: 16px;
  }

  .nav {
    top: 56px;
  }

  .section {
    padding: 32px 0;
  }

  .section-title {
    font-size: 19px;
  }

  .section-subtitle {
    font-size: 13px;
  }

  .banner-slides {
    height: 300px;
  }

  .banner-slide h2 {
    font-size: 19px;
  }

  .banner-slide p {
    font-size: 13px;
    line-height: 1.7;
  }

  .banner-slide .banner-btn {
    padding: 9px 20px;
    font-size: 13px;
  }

  .card {
    padding: 18px;
  }

  .card h3 {
    font-size: 16px;
  }

  .card p {
    font-size: 13px;
  }

  .card-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
  }

  .card-icon svg {
    width: 24px;
    height: 24px;
  }

  .stat-num {
    font-size: 26px;
  }

  .stat-label {
    font-size: 12px;
  }

  .stats-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .stat-item {
    padding: 18px 10px;
  }

  .article-body {
    padding: 16px;
  }

  .article-body h3 {
    font-size: 15px;
  }

  .article-body p {
    font-size: 13px;
  }

  .howto-step-content h4 {
    font-size: 15px;
  }

  .howto-step-content p {
    font-size: 13px;
  }

  .faq-q {
    padding: 14px 16px;
    font-size: 14px;
  }

  .faq-a {
    padding: 0 16px;
    font-size: 13px;
  }

  .faq-item.open .faq-a {
    padding: 0 16px 16px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .sitemap-links {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .back-to-top {
    bottom: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    font-size: 16px;
  }

  .breadcrumb {
    font-size: 12px;
    padding: 12px 0;
  }

  .author-box {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .author-avatar {
    width: 52px;
    height: 52px;
  }
}

@media (max-width: 360px) {
  .logo span {
    display: none;
  }

  .banner-slide h2 {
    font-size: 17px;
  }

  .stats-row {
    grid-template-columns: 1fr;
  }

  .sitemap-links {
    grid-template-columns: 1fr;
  }
}

/* ===== PRINT ===== */
@media print {
  .header,
  .banner,
  .back-to-top,
  .dark-toggle,
  .mobile-menu-btn,
  .search-box,
  .footer {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
  }

  .card,
  .faq-item,
  .article-card {
    box-shadow: none;
    border: 1px solid #ddd;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}