/* ============================================
   Invadigm - Global Financial Broker
   Shared Stylesheet
   ============================================ */

/* === CSS Variables === */
:root {
  --color-primary: #C41E3A;
  --color-primary-light: #E63946;
  --color-primary-dark: #8B1538;
  --color-gold: #D4AF37;
  --color-gold-light: #F4D03F;
  --color-bg: #0B0B12;
  --color-bg-card: #15151F;
  --color-bg-elevated: #1C1C28;
  --color-border: rgba(255, 255, 255, 0.08);
  --color-text: #FFFFFF;
  --color-text-secondary: #A0A0B8;
  --color-text-muted: #6B6B80;
  --color-green: #00C853;
  --color-red: #FF1744;
  --gradient-primary: linear-gradient(135deg, #C41E3A 0%, #8B1538 100%);
  --gradient-gold: linear-gradient(135deg, #D4AF37 0%, #B8860B 100%);
  --gradient-hero: linear-gradient(180deg, #0B0B12 0%, #15151F 50%, #0B0B12 100%);
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 40px rgba(196, 30, 58, 0.15);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --max-width: 1200px;
  --header-height: 72px;
  --font-sans: 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', Arial, sans-serif;
}

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

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

body {
  font-family: var(--font-sans);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* === Container === */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* === Header === */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: rgba(11, 11, 18, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--color-border);
  z-index: 1000;
  transition: all 0.3s ease;
}

.site-header.scrolled {
  background: rgba(11, 11, 18, 0.95);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-logo img {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
}

.header-logo .logo-text {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 1px;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.main-nav a {
  padding: 8px 20px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-text-secondary);
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
  position: relative;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--color-text);
  background: rgba(196, 30, 58, 0.1);
}

.main-nav a.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 2px;
  background: var(--color-primary);
  border-radius: 2px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang-selector {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  color: var(--color-text-secondary);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 28px;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: all 0.3s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient-primary);
  color: #fff;
  box-shadow: 0 4px 16px rgba(196, 30, 58, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(196, 30, 58, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--color-text);
  border: 1px solid var(--color-border);
}

.btn-outline:hover {
  border-color: var(--color-primary);
  color: var(--color-primary-light);
}

.btn-gold {
  background: var(--gradient-gold);
  color: #1a1a1a;
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(212, 175, 55, 0.3);
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* === Hero Section === */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--header-height);
  background: var(--gradient-hero);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(196, 30, 58, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(196, 30, 58, 0.12);
  border: 1px solid rgba(196, 30, 58, 0.3);
  border-radius: 100px;
  font-size: 0.85rem;
  color: var(--color-primary-light);
  margin-bottom: 24px;
}

.hero-badge::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--color-primary-light);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero-title {
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -1px;
}

.hero-title .highlight {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--color-text-secondary);
  margin-bottom: 12px;
}

.hero-reward {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--color-gold);
  margin-bottom: 32px;
}

.hero-reward .amount {
  font-size: 2.2rem;
}

.hero-description {
  font-size: 1rem;
  color: var(--color-text-secondary);
  line-height: 1.8;
  margin-bottom: 36px;
  max-width: 560px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.hero-badges {
  display: flex;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
}

.hero-badge-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.hero-badge-item img {
  height: 32px;
  width: auto;
  opacity: 0.8;
}

.hero-disclaimer {
  margin-top: 24px;
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

/* === Section Common === */
.section {
  padding: 80px 0;
  position: relative;
}

.section-dark {
  background: var(--color-bg-card);
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-header h2 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.section-header h2 .accent {
  color: var(--color-primary-light);
}

.section-header p {
  font-size: 1.05rem;
  color: var(--color-text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* === Promotion Card === */
.promo-section {
  padding: 80px 0;
}

.promo-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-card);
}

.promo-card-bg {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  opacity: 0.4;
  object-fit: cover;
}

.promo-card-content {
  position: relative;
  z-index: 2;
  padding: 48px;
  max-width: 60%;
}

.promo-date {
  display: inline-block;
  padding: 4px 14px;
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 100px;
  font-size: 0.8rem;
  color: var(--color-gold);
  margin-bottom: 20px;
}

.promo-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.3;
}

.promo-title .amount {
  color: var(--color-gold);
  font-size: 2.2rem;
}

.promo-description {
  font-size: 0.95rem;
  color: var(--color-text-secondary);
  line-height: 1.8;
  margin-bottom: 24px;
}

.promo-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  background: rgba(196, 30, 58, 0.1);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  color: var(--color-primary-light);
  margin-bottom: 24px;
}

/* === Features Grid === */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.feature-card {
  padding: 32px 24px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(196, 30, 58, 0.3);
  box-shadow: var(--shadow-card);
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(196, 30, 58, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.5rem;
}

.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 10px;
}

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

/* === Products Section === */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.product-card {
  position: relative;
  padding: 40px 32px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  text-align: center;
  transition: all 0.3s ease;
  overflow: hidden;
}

.product-card:hover {
  transform: translateY(-6px);
  border-color: rgba(196, 30, 58, 0.3);
  box-shadow: var(--shadow-glow);
}

.product-card img {
  width: 120px;
  height: 120px;
  margin: 0 auto 24px;
  object-fit: contain;
}

.product-card h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.product-card p {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  line-height: 1.7;
}

/* === About Section === */
.about-section {
  padding: 100px 0;
  background: var(--color-bg-card);
}

.about-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.about-content h2 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 24px;
}

.about-content h2 .accent {
  color: var(--color-primary-light);
}

.about-content p {
  font-size: 1.05rem;
  color: var(--color-text-secondary);
  line-height: 2;
  margin-bottom: 16px;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}

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

.stat-item .stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-item .stat-label {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-top: 4px;
}

/* === Partners Section === */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
  align-items: center;
}

.partner-logo {
  padding: 16px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  text-align: center;
  transition: all 0.3s ease;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.partner-logo:hover {
  border-color: rgba(196, 30, 58, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.partner-logo img {
  max-height: 44px;
  max-width: 90%;
  width: auto;
  height: auto;
  opacity: 0.85;
  transition: opacity 0.3s ease;
  object-fit: contain;
}

.partner-logo:hover img {
  opacity: 1;
}

/* === FAQ Section === */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  margin-bottom: 16px;
  overflow: hidden;
  transition: border-color 0.3s ease;
}

.faq-item.active {
  border-color: rgba(196, 30, 58, 0.3);
}

.faq-question {
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.2s ease;
}

.faq-question:hover {
  color: var(--color-primary-light);
}

.faq-question .faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(196, 30, 58, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
  font-size: 1.2rem;
}

.faq-item.active .faq-icon {
  background: var(--gradient-primary);
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  padding: 0 24px;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 24px 20px;
}

.faq-answer p {
  font-size: 0.95rem;
  color: var(--color-text-secondary);
  line-height: 1.8;
}

.faq-help {
  text-align: center;
  margin-top: 40px;
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
}

.faq-help-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 28px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: all 0.3s ease;
}

.faq-help-item:hover {
  border-color: rgba(196, 30, 58, 0.3);
}

.faq-help-item .help-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(196, 30, 58, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.faq-help-item .help-text {
  font-size: 0.9rem;
}

.faq-help-item .help-text strong {
  display: block;
  font-size: 0.95rem;
}

.faq-help-item .help-text span {
  color: var(--color-text-muted);
  font-size: 0.8rem;
}

/* === CTA Section === */
.cta-section {
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(196, 30, 58, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.cta-content p {
  font-size: 1.05rem;
  color: var(--color-text-secondary);
  margin-bottom: 32px;
}

.cta-features {
  display: flex;
  gap: 32px;
  justify-content: center;
  margin-top: 24px;
  flex-wrap: wrap;
}

.cta-feature {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.cta-feature::before {
  content: '✓';
  color: var(--color-green);
  margin-right: 6px;
}

/* === Footer === */
.site-footer {
  background: #060609;
  border-top: 1px solid var(--color-border);
  padding: 60px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}

.footer-brand .logo-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.footer-brand .logo-row img {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
}

.footer-brand .logo-row span {
  font-size: 1.3rem;
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-brand p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
}

.footer-contact li {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-bottom: 10px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.footer-contact li::before {
  content: '•';
  color: var(--color-primary);
  flex-shrink: 0;
}

.footer-col h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--color-text);
}

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

.footer-col ul li a {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  transition: color 0.2s ease;
}

.footer-col ul li a:hover {
  color: var(--color-primary-light);
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--color-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 0.82rem;
  color: var(--color-text-muted);
}

.footer-risk {
  margin-top: 16px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* === Page Banner (for news pages) === */
.page-banner {
  padding: 140px 0 60px;
  background: var(--gradient-hero);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-banner::before {
  content: '';
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(196, 30, 58, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.page-banner h1 {
  position: relative;
  z-index: 2;
  font-size: 2.6rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.page-banner p {
  position: relative;
  z-index: 2;
  font-size: 1.05rem;
  color: var(--color-text-secondary);
}

.breadcrumb {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 20px;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

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

.breadcrumb a:hover {
  color: var(--color-primary-light);
}

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

/* === News List === */
.news-section {
  padding: 60px 0 80px;
}

.news-filter {
  display: flex;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.news-filter button {
  padding: 8px 20px;
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 100px;
  transition: all 0.3s ease;
}

.news-filter button:hover,
.news-filter button.active {
  color: #fff;
  background: var(--gradient-primary);
  border-color: transparent;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.news-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.3s ease;
}

.news-card:hover {
  transform: translateY(-4px);
  border-color: rgba(196, 30, 58, 0.3);
  box-shadow: var(--shadow-card);
}

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

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

.news-card:hover .news-card-image img {
  transform: scale(1.05);
}

.news-card-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 12px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #fff;
  background: rgba(196, 30, 58, 0.9);
  border-radius: 100px;
  backdrop-filter: blur(4px);
}

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

.news-card-date {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}

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

.news-card:hover .news-card-title {
  color: var(--color-primary-light);
}

.news-card-excerpt {
  font-size: 0.88rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 16px;
}

.news-card-link {
  font-size: 0.85rem;
  color: var(--color-primary-light);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.2s ease;
}

.news-card:hover .news-card-link {
  gap: 8px;
}

/* Pagination */
.pagination {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 48px;
}

.pagination a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  transition: all 0.3s ease;
}

.pagination a:hover,
.pagination a.active {
  color: #fff;
  background: var(--gradient-primary);
  border-color: transparent;
}

/* === News Detail === */
.news-detail-section {
  padding: 40px 0 80px;
}

.news-detail-wrapper {
  max-width: 840px;
  margin: 0 auto;
}

.news-detail-header {
  margin-bottom: 32px;
}

.news-detail-meta {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.news-detail-tag {
  padding: 4px 14px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-primary-light);
  background: rgba(196, 30, 58, 0.1);
  border-radius: 100px;
}

.news-detail-date,
.news-detail-author,
.news-detail-views {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

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

.news-detail-subtitle {
  font-size: 1.05rem;
  color: var(--color-text-secondary);
  line-height: 1.7;
}

.news-detail-cover {
  width: 100%;
  height: 400px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 36px;
}

.news-detail-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-detail-content {
  font-size: 1rem;
  line-height: 2;
  color: var(--color-text-secondary);
}

.news-detail-content p {
  margin-bottom: 20px;
}

.news-detail-content h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-text);
  margin: 32px 0 16px;
}

.news-detail-content h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--color-text);
  margin: 24px 0 12px;
}

.news-detail-content blockquote {
  padding: 20px 24px;
  margin: 24px 0;
  background: rgba(196, 30, 58, 0.06);
  border-left: 3px solid var(--color-primary);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 1.05rem;
  color: var(--color-text);
  font-style: italic;
}

.news-detail-content ul,
.news-detail-content ol {
  margin: 16px 0 20px 20px;
}

.news-detail-content ul li,
.news-detail-content ol li {
  margin-bottom: 8px;
  list-style: disc;
}

.news-detail-content ol li {
  list-style: decimal;
}

.news-detail-content img {
  width: 100%;
  border-radius: var(--radius-md);
  margin: 24px 0;
}

.news-detail-content strong {
  color: var(--color-text);
  font-weight: 600;
}

.news-detail-share {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px 0;
  margin-top: 40px;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.news-detail-share span {
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.share-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  transition: all 0.3s ease;
}

.share-btn:hover {
  background: var(--gradient-primary);
  color: #fff;
  border-color: transparent;
}

/* Related news */
.related-news {
  margin-top: 60px;
}

.related-news h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 24px;
}

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

/* Sidebar */
.news-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
}

.news-sidebar {
  position: sticky;
  top: 100px;
  align-self: start;
}

.sidebar-widget {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 24px;
}

.sidebar-widget h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--color-border);
}

.sidebar-news-item {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--color-border);
}

.sidebar-news-item:last-child {
  border-bottom: none;
}

.sidebar-news-item .thumb {
  width: 70px;
  height: 70px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
}

.sidebar-news-item .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sidebar-news-item .info {
  flex: 1;
  min-width: 0;
}

.sidebar-news-item .info .date {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  margin-bottom: 4px;
}

.sidebar-news-item .info .title {
  font-size: 0.85rem;
  font-weight: 500;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s ease;
}

.sidebar-news-item:hover .info .title {
  color: var(--color-primary-light);
}

.sidebar-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.sidebar-tags a {
  padding: 4px 12px;
  font-size: 0.8rem;
  color: var(--color-text-secondary);
  background: rgba(255, 255, 255, 0.05);
  border-radius: 100px;
  transition: all 0.3s ease;
}

.sidebar-tags a:hover {
  color: #fff;
  background: var(--gradient-primary);
}

/* === Animations === */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

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

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .partners-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

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

  .news-sidebar {
    position: static;
  }

  .related-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .promo-card-content {
    max-width: 100%;
  }

  .promo-card-bg {
    opacity: 0.2;
    width: 100%;
  }

  .hero-title {
    font-size: 2.6rem;
  }

  .about-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 64px;
  }

  .menu-toggle {
    display: flex;
  }

  .main-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: rgba(11, 11, 18, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    gap: 4px;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    border-bottom: 1px solid var(--color-border);
  }

  .main-nav.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .main-nav a {
    padding: 14px 20px;
    font-size: 1rem;
  }

  .header-actions .lang-selector {
    display: none;
  }

  .header-actions .btn {
    padding: 8px 18px;
    font-size: 0.85rem;
  }

  .hero {
    min-height: auto;
    padding: 120px 0 60px;
  }

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

  .hero-reward {
    font-size: 1.3rem;
  }

  .hero-reward .amount {
    font-size: 1.8rem;
  }

  .hero-description {
    font-size: 0.92rem;
  }

  .section {
    padding: 56px 0;
  }

  .section-header h2 {
    font-size: 1.7rem;
  }

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

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

  .partners-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .stat-item .stat-number {
    font-size: 1.8rem;
  }

  .promo-card-content {
    padding: 28px 20px;
  }

  .promo-title {
    font-size: 1.4rem;
  }

  .promo-title .amount {
    font-size: 1.7rem;
  }

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

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

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

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

  .news-detail-title {
    font-size: 1.5rem;
  }

  .news-detail-cover {
    height: 240px;
  }

  .page-banner h1 {
    font-size: 1.8rem;
  }

  .page-banner {
    padding: 110px 0 40px;
  }

  .cta-content h2 {
    font-size: 1.8rem;
  }

  .faq-help {
    flex-direction: column;
  }

  .container {
    padding: 0 16px;
  }

  .header-inner {
    padding: 0 16px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.7rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .section-header h2 {
    font-size: 1.5rem;
  }

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

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

  .news-detail-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}
