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

:root {
  /* Brand */
  --primary: #ff6b8a;
  --primary-dark: #e55574;
  --primary-soft: #ffd6df;
  --secondary: #ffb86b; /* 蜜桃橙 */
  --accent: #ff8fb1; /* 亮粉 */

  /* Gradients */
  --grad-primary: linear-gradient(135deg, #ff6b8a 0%, #ff8fb1 100%);
  --grad-warm: linear-gradient(135deg, #ff6b8a 0%, #ffb86b 100%);
  --grad-cool: linear-gradient(135deg, #ff8fb1 0%, #ffc3d4 100%);
  --grad-bg:
    radial-gradient(ellipse at top left, #ffe4ea 0%, transparent 50%),
    radial-gradient(ellipse at bottom right, #fff1e4 0%, transparent 50%);

  /* Category tokens (all pink/peach family) */
  --cat-skincare: #ff6b8a;
  --cat-makeup: #ff8fb1;
  --cat-nail: #ffa6b8;
  --cat-care: #ffb86b;

  /* Neutrals */
  --bg: #fff8f9;
  --bg-card: #ffffff;
  --text: #2d2d2d;
  --text-secondary: #666666;
  --text-light: #999999;
  --border: #f0e8ea;

  /* Elevation */
  --shadow: 0 2px 12px rgba(255, 107, 138, 0.08);
  --shadow-hover: 0 10px 32px rgba(255, 107, 138, 0.18);
  --shadow-glow: 0 0 0 4px rgba(255, 107, 138, 0.15);

  --radius: 12px;
  --transition: all 0.3s ease;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  position: relative;
}

/* soft background blobs + dot texture */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: var(--grad-bg);
  z-index: -2;
  pointer-events: none;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  background-image: radial-gradient(
    rgba(255, 107, 138, 0.12) 1px,
    transparent 1px
  );
  background-size: 24px 24px;
  z-index: -1;
  pointer-events: none;
  mask-image: radial-gradient(ellipse at center, black 40%, transparent 85%);
  -webkit-mask-image: radial-gradient(
    ellipse at center,
    black 40%,
    transparent 85%
  );
}

a {
  text-decoration: none;
  color: inherit;
}

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

/* ===== Header ===== */
.header {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(240, 232, 234, 0.7);
}

.header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 3px;
  background: var(--grad-warm);
  opacity: 0.9;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 16px;
}

/* ===== Search Bar (below header) ===== */
.search-box {
  position: relative;
  display: flex;
  align-items: center;
  flex: 1;
  max-width: 420px;
  min-width: 180px;
  height: 40px;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 24px;
  padding: 0 4px 0 14px;
  transition: all 0.25s ease;
  box-shadow: none;
}
.search-box:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(255, 107, 138, 0.15);
  background: #fff;
}
.search-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  fill: #999;
  transition: fill 0.2s;
}
.search-box:focus-within .search-icon {
  fill: var(--primary);
}
.search-input {
  flex: 1;
  border: none;
  outline: none;
  padding: 0 10px;
  font-size: 14px;
  background: transparent;
  color: var(--text);
  height: 100%;
  min-width: 0;
}
.search-input::placeholder {
  color: #bbb;
}
.search-btn {
  height: 32px;
  padding: 0 14px;
  border: none;
  background: var(--grad-primary);
  color: #fff;
  border-radius: 16px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.2s ease;
}
.search-btn:hover {
  transform: scale(1.04);
  box-shadow: 0 4px 12px rgba(255, 107, 138, 0.35);
}
.search-clear {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: none;
  background: #f3e4e8;
  color: var(--primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  line-height: 1;
  flex-shrink: 0;
  transition: background 0.2s;
  margin-right: 4px;
}
.search-clear:hover {
  background: var(--primary);
  color: #fff;
}

.search-suggestions {
  display: none;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-size: 22px;
  font-weight: 800;
  color: var(--text);
  position: relative;
  letter-spacing: -0.5px;
  font-family:
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    sans-serif;
  transition: transform 0.2s ease;
  cursor: pointer;
}
.logo:hover {
  transform: scale(1.03);
}

.logo .logo-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  border-radius: 8px;
  transition: transform 0.3s ease;
}
.logo:hover .logo-icon {
  transform: rotate(-8deg) scale(1.08);
}

.logo .logo-text {
  background: linear-gradient(135deg, var(--primary), #ffb86b);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.logo .logo-text span {
  background: linear-gradient(135deg, #ffb86b, #ff6b8a);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.logo::after {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  height: 40px;
  background: radial-gradient(
    ellipse at center,
    rgba(255, 107, 138, 0.15),
    transparent 70%
  );
  z-index: -1;
  border-radius: 50%;
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.nav a {
  padding: 8px 18px;
  border-radius: 24px;
  font-size: 15px;
  color: var(--text-secondary);
  transition: var(--transition);
  font-weight: 500;
  position: relative;
}

.nav a:hover {
  background: rgba(255, 107, 138, 0.08);
  color: var(--primary);
}

.nav a.active {
  background: var(--grad-primary);
  color: #fff;
  box-shadow: 0 4px 14px rgba(255, 107, 138, 0.35);
}

.nav .dropdown {
  position: relative;
}

.nav .dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-hover);
  padding: 8px;
  min-width: 160px;
  display: none;
  z-index: 999;
  margin-top: 8px;
}

.nav .dropdown:hover .dropdown-menu {
  display: block;
}

.nav .dropdown-menu a {
  display: block;
  padding: 10px 16px;
  border-radius: 8px;
  color: var(--text-secondary);
  font-size: 14px;
}

.nav .dropdown-menu a:hover {
  background: var(--bg);
  color: var(--primary);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--text);
}

/* ===== Main Container ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 20px;
}

/* ===== Hero Carousel ===== */
.hero {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 40px;
  height: 420px;
  padding: 3px;
  background: var(--grad-warm);
  box-shadow: var(--shadow-hover);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  z-index: 11;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(2px);
}

.hero::before {
  width: 120px;
  height: 120px;
  background: radial-gradient(
    circle,
    rgba(255, 184, 107, 0.55),
    transparent 70%
  );
  top: -30px;
  right: -20px;
}

.hero::after {
  width: 80px;
  height: 80px;
  background: radial-gradient(
    circle,
    rgba(255, 143, 177, 0.45),
    transparent 70%
  );
  bottom: -20px;
  left: -10px;
}

#hero-slides {
  position: relative;
  border-radius: calc(var(--radius) - 2px);
  overflow: hidden;
  height: 100%;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition:
    opacity 0.6s ease,
    transform 5s ease;
  transform: scale(1.02);
}

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

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(45, 45, 45, 0.85) 0%,
    rgba(45, 45, 45, 0.35) 40%,
    rgba(45, 45, 45, 0.05) 100%
  );
  display: flex;
  align-items: flex-end;
  padding: 40px;
}

.hero-content {
  color: #fff;
  max-width: 700px;
}

.hero-tag {
  display: inline-block;
  background: var(--grad-primary);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 12px;
  margin-bottom: 16px;
  font-weight: 600;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 12px rgba(255, 107, 138, 0.45);
}

.hero-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.4;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
}

.hero-meta {
  font-size: 14px;
  opacity: 0.88;
  letter-spacing: 0.3px;
}

.hero-dots {
  position: absolute;
  bottom: 20px;
  right: 40px;
  display: flex;
  gap: 8px;
  z-index: 10;
}

.hero-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.hero-dots span.active {
  background: var(--grad-primary);
  width: 28px;
  border-radius: 5px;
  border-color: transparent;
  box-shadow: 0 0 0 3px rgba(255, 107, 138, 0.3);
}

/* ===== Section Title ===== */
.section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.section-title h2 {
  font-size: 22px;
  font-weight: 700;
  position: relative;
  padding-left: 18px;
}

.section-title h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 24px;
  background: var(--grad-primary);
  border-radius: 3px;
  box-shadow: 0 0 8px rgba(255, 107, 138, 0.4);
}

.section-title a {
  font-size: 14px;
  background: var(--grad-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 600;
  position: relative;
}

.section-title a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 1px;
  background: var(--grad-primary);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.section-title a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* ===== News Grid ===== */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.news-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  cursor: pointer;
  position: relative;
  border: 1px solid rgba(240, 232, 234, 0.6);
}

.news-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--cat-grad, var(--grad-primary));
  opacity: 0.95;
  z-index: 1;
}

.news-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 32px
    color-mix(in srgb, var(--cat-main, #ff6b8a) 18%, transparent);
  border-color: transparent;
}

.news-card:hover::before {
  height: 5px;
  opacity: 1;
  box-shadow: 0 2px 12px
    color-mix(in srgb, var(--cat-main, #ff6b8a) 55%, transparent);
}

.news-card .card-img {
  width: 100%;
  height: 200px;
  overflow: hidden;
  position: relative;
}

.news-card .card-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 60%,
    rgba(0, 0, 0, 0.08) 100%
  );
  pointer-events: none;
}

.news-card .card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    transform 0.5s ease,
    filter 0.5s ease;
}

.news-card:hover .card-img img {
  transform: scale(1.08);
  filter: saturate(1.08);
}

.news-card .card-body {
  padding: 18px;
}

.news-card .card-tag {
  display: inline-block;
  background: #fff0f3;
  color: var(--primary);
  font-size: 12px;
  padding: 4px 12px;
  border-radius: 12px;
  margin-bottom: 10px;
  font-weight: 600;
  letter-spacing: 0.3px;
  border: 1px solid rgba(255, 107, 138, 0.15);
}

.news-card .card-title {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--text);
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s ease;
}

.news-card:hover .card-title {
  color: var(--cat-main, var(--primary));
}

.news-card .card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-light);
}

.news-card .card-meta span:first-child {
  position: relative;
  padding-left: 14px;
}

.news-card .card-meta span:first-child::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--secondary);
  transform: translateY(-50%);
}

/* ===== Category Page ===== */
.page-header {
  text-align: center;
  padding: 48px 20px;
  background: var(--grad-warm);
  color: #fff;
  border-radius: var(--radius);
  margin-bottom: 32px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-hover);
}

.page-header::before,
.page-header::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0.35;
}

.page-header::before {
  width: 180px;
  height: 180px;
  background: rgba(255, 255, 255, 0.3);
  top: -60px;
  left: -40px;
}

.page-header::after {
  width: 100px;
  height: 100px;
  background: rgba(255, 255, 255, 0.2);
  bottom: -30px;
  right: 40px;
}

.page-header h1 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 8px;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
  position: relative;
  z-index: 1;
}

.page-header p {
  font-size: 15px;
  opacity: 0.95;
  position: relative;
  z-index: 1;
}

.category-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
  justify-content: center;
}

.category-tab {
  padding: 9px 26px;
  background: #fff;
  border: 1px solid rgba(255, 107, 138, 0.18);
  border-radius: 24px;
  font-size: 14px;
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition);
  font-weight: 500;
}

.category-tab:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: #fff6f8;
  transform: translateY(-1px);
}

.category-tab.active {
  background: var(--grad-primary);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 6px 18px rgba(255, 107, 138, 0.4);
  font-weight: 600;
}

/* ===== Detail Page ===== */
.detail-container {
  max-width: 800px;
  margin: 0 auto;
}

.detail-header {
  margin-bottom: 32px;
  position: relative;
  padding: 28px 32px;
  background: linear-gradient(
    135deg,
    rgba(255, 107, 138, 0.08),
    rgba(255, 184, 107, 0.08)
  );
  border-radius: var(--radius);
  border: 1px solid rgba(255, 107, 138, 0.12);
}

.detail-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--grad-warm);
  border-radius: var(--radius) 0 0 var(--radius);
}

.detail-header .back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-secondary);
  font-size: 14px;
  margin-bottom: 20px;
  transition: var(--transition);
  font-weight: 500;
}

.detail-header .back-link:hover {
  color: var(--primary);
  transform: translateX(-3px);
}

.detail-title {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 16px;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  font-size: 14px;
  color: var(--text-secondary);
}

.detail-meta .tag {
  background: var(--grad-primary);
  color: #fff;
  padding: 4px 14px;
  border-radius: 12px;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(255, 107, 138, 0.35);
}

.detail-img {
  width: 100%;
  border-radius: var(--radius);
  margin-bottom: 32px;
  max-height: 450px;
  object-fit: cover;
  box-shadow: var(--shadow-hover);
  padding: 3px;
  background: var(--grad-warm);
}

.detail-content {
  background: #fff;
  padding: 40px 44px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid rgba(240, 232, 234, 0.6);
  position: relative;
}

.detail-content::before {
  content: "";
  position: absolute;
  left: 0;
  top: 20px;
  bottom: 20px;
  width: 3px;
  background: var(--grad-primary);
  border-radius: 0 3px 3px 0;
  opacity: 0.5;
}

.detail-content p {
  font-size: 16px;
  line-height: 1.9;
  color: #333;
  margin-bottom: 20px;
  text-align: justify;
  padding-left: 12px;
}

.detail-content p:first-of-type::first-letter {
  font-size: 52px;
  font-weight: 700;
  float: left;
  line-height: 0.95;
  margin: 4px 10px 0 0;
  background: var(--grad-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.detail-content p:last-child {
  margin-bottom: 0;
}

/* ===== Share Bar ===== */
.share-bar {
  margin-top: 32px;
  padding: 24px 28px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid rgba(240, 232, 234, 0.6);
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.share-bar .share-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  padding-right: 14px;
  border-right: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 8px;
}

.share-bar .share-label svg {
  width: 18px;
  height: 18px;
  fill: var(--primary);
}

.share-bar .share-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  flex: 1;
}

.share-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
  color: #fff;
  flex-shrink: 0;
  position: relative;
}

.share-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  flex-shrink: 0;
}

.share-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
}

.share-btn[data-platform="twitter"] {
  background: #fff;
  color: #1da1f2;
}
.share-btn[data-platform="twitter"]:hover {
  background: #1da1f2;
  color: #fff;
  border-color: #1da1f2;
}

.share-btn[data-platform="facebook"] {
  background: #fff;
  color: #1877f2;
}
.share-btn[data-platform="facebook"]:hover {
  background: #1877f2;
  color: #fff;
  border-color: #1877f2;
}

.share-btn[data-platform="linkedin"] {
  background: #fff;
  color: #0a66c2;
}
.share-btn[data-platform="linkedin"]:hover {
  background: #0a66c2;
  color: #fff;
  border-color: #0a66c2;
}

.share-btn[data-platform="reddit"] {
  background: #fff;
  color: #ff4500;
}
.share-btn[data-platform="reddit"]:hover {
  background: #ff4500;
  color: #fff;
  border-color: #ff4500;
}

/* .share-btn[data-platform="whatsapp"]     { background: #fff; color: #25d366; }
.share-btn[data-platform="whatsapp"]:hover{ background: #25d366; color: #fff; border-color: #25d366; } */

.share-btn[data-platform="telegram"] {
  background: #fff;
  color: #2aabee;
}
.share-btn[data-platform="telegram"]:hover {
  background: #2aabee;
  color: #fff;
  border-color: #2aabee;
}

.share-btn[data-platform="pinterest"] {
  background: #fff;
  color: #e60023;
}
.share-btn[data-platform="pinterest"]:hover {
  background: #e60023;
  color: #fff;
  border-color: #e60023;
}

.share-btn[data-platform="copy"] {
  background: #fff;
  color: var(--primary);
}
.share-btn[data-platform="copy"]:hover {
  background: var(--grad-primary);
  color: #fff;
  border-color: transparent;
}

.share-btn[data-platform="native"] {
  background: #fff;
  color: #7c3aed;
}
.share-btn[data-platform="native"]:hover {
  background: #7c3aed;
  color: #fff;
  border-color: #7c3aed;
}

.share-toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--grad-primary);
  color: #fff;
  padding: 12px 28px;
  border-radius: 24px;
  font-size: 14px;
  font-weight: 500;
  box-shadow: 0 10px 30px rgba(255, 107, 138, 0.4);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
  z-index: 9999;
}

.share-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

@media (max-width: 600px) {
  .share-bar {
    padding: 20px 16px;
    gap: 14px;
  }
  .share-bar .share-label {
    border-right: none;
    padding-right: 0;
    width: 100%;
    margin-bottom: 4px;
  }
  .share-btn {
    width: 44px;
    height: 44px;
  }
}

/* ===== Privacy Page ===== */
.privacy-content {
  background: #fff;
  padding: 48px 52px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid rgba(240, 232, 234, 0.6);
}

.privacy-content h2 {
  font-size: 20px;
  font-weight: 700;
  margin: 32px 0 16px;
  background: var(--grad-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  position: relative;
  padding-left: 18px;
}

.privacy-content h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 20px;
  background: var(--grad-primary);
  border-radius: 3px;
  box-shadow: 0 0 6px rgba(255, 107, 138, 0.35);
}

.privacy-content h2:first-child {
  margin-top: 0;
}

.privacy-content p {
  font-size: 15px;
  line-height: 1.8;
  color: #444;
  margin-bottom: 14px;
}

.privacy-content ul {
  padding-left: 24px;
  margin-bottom: 14px;
  list-style: none;
}

.privacy-content li {
  font-size: 15px;
  line-height: 1.8;
  color: #444;
  margin-bottom: 8px;
  position: relative;
  padding-left: 18px;
}

.privacy-content li::before {
  content: "✦";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-size: 12px;
}

/* ===== Footer ===== */
.footer {
  background: #fff;
  border-top: none;
  padding: 48px 20px;
  margin-top: 60px;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: var(--grad-warm);
}

.footer::after {
  content: "";
  position: absolute;
  bottom: -80px;
  right: -60px;
  width: 200px;
  height: 200px;
  background: radial-gradient(
    circle,
    rgba(255, 107, 138, 0.08),
    transparent 70%
  );
  pointer-events: none;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
  position: relative;
  z-index: 1;
}

.footer-brand {
  flex: 1;
  min-width: 250px;
}

.footer-brand .logo {
  margin-bottom: 12px;
}
.footer-brand .logo .logo-icon {
  width: 28px;
  height: 28px;
}

.footer-brand p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

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

.footer-col h4 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 16px;
  background: var(--grad-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.footer-col a {
  display: block;
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 10px;
  transition: var(--transition);
}

.footer-col a:hover {
  background: var(--grad-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.footer-bottom {
  max-width: 1200px;
  margin: 32px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 13px;
  color: var(--text-light);
  position: relative;
  z-index: 1;
}

/* ===== Loading ===== */
.loading {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-light);
}

.loading::after {
  content: "...";
  animation: dots 1.5s steps(4, end) infinite;
}

@keyframes dots {
  0%,
  20% {
    content: "";
  }
  40% {
    content: ".";
  }
  60% {
    content: "..";
  }
  80%,
  100% {
    content: "...";
  }
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .search-box {
    display: none;
  }

  .nav {
    display: flex;
    gap: 6px;
  }

  .nav a {
    padding: 6px 12px;
    font-size: 14px;
  }

  .nav .dropdown {
    position: relative;
  }

  .nav .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow-hover);
    padding: 8px;
    min-width: 160px;
    display: none;
    z-index: 999;
    margin-top: 8px;
  }

  .nav .dropdown:hover .dropdown-menu {
    display: block;
  }

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

  .hero {
    height: 280px;
    margin-bottom: 28px;
  }

  .hero-overlay {
    padding: 24px;
  }

  .hero-title {
    font-size: 20px;
  }

  .hero-dots {
    bottom: 12px;
    right: 24px;
  }

  .container {
    padding: 20px 16px;
  }

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

  .section-title h2 {
    font-size: 18px;
  }

  .detail-container {
    padding: 0 12px;
  }

  .detail-content {
    padding: 24px;
  }

  .privacy-content {
    padding: 24px;
  }

  .footer-inner {
    flex-direction: column;
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .header-inner {
    gap: 8px;
    padding: 0 12px;
  }

  .nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    gap: 4px;
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    display: block;
    text-align: center;
    padding: 12px 18px;
  }

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

  .hero {
    height: 220px;
  }

  .hero-title {
    font-size: 17px;
  }

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

  .news-card .card-img {
    height: 160px;
  }

  .news-card .card-body {
    padding: 14px;
  }

  .news-card .card-title {
    font-size: 14px;
  }

  .header-search-bar .search-box {
    max-width: 100%;
  }
}

.hero-title {
  font-size: 17px;
}

.news-card .card-img {
  height: 160px;
}

.news-card .card-body {
  padding: 14px;
}

.news-card .card-title {
  font-size: 14px;
}

/* ===== Header Search Bar (full-width, below nav) ===== */
.header-search-bar {
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
}
.header-search-bar .container {
  display: flex;
  justify-content: center;
}
.header-search-bar .search-box {
  max-width: 600px;
  width: 100%;
}
