/* 68VIP Premium Casino - Main Stylesheet */

:root {
  --bg-primary: #080A12;
  --bg-secondary: #101522;
  --bg-tertiary: #171B2A;
  --bg-card: #1A1F2E;
  --gold: #D4AF37;
  --gold-light: #F4E4B7;
  --ruby: #E63946;
  --electric: #06B6D4;
  --text-primary: #F8FAFC;
  --text-secondary: #CBD5E1;
  --text-muted: #94A3B8;
  --border: #2D3748;
  --shadow: rgba(0, 0, 0, 0.5);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s;
}

a:hover {
  color: var(--gold);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.header {
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  gap: 20px;
}

.logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  transition: transform 0.3s, filter 0.3s;
}

.logo:hover {
  transform: scale(1.05);
  filter: brightness(1.2);
  color: inherit;
}

.logo img {
  height: 40px;
  width: auto;
  display: block;
}

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

.nav a {
  font-weight: 500;
  font-size: 15px;
  color: var(--text-secondary);
  transition: color 0.3s;
  white-space: nowrap;
}

.nav a:hover {
  color: var(--gold);
}

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

/* Search button - small on desktop */
.search-btn {
  background: var(--bg-tertiary);
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 7px 12px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.3s;
  white-space: nowrap;
  font-family: inherit;
}
.search-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.search-btn kbd {
  background: var(--bg-card);
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 11px;
  font-family: monospace;
  border: 1px solid var(--border);
  color: var(--text-muted);
}

/* App download button - hidden on desktop, shown on mobile */
.app-download-btn {
  display: none;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--gold), #B8941E);
  color: var(--bg-primary) !important;
  padding: 7px 16px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.3px;
  white-space: nowrap;
  transition: all 0.3s;
}
.app-download-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
  color: var(--bg-primary) !important;
}

.cta-btn {
  background: linear-gradient(135deg, var(--gold), #B8941E);
  color: var(--bg-primary) !important;
  padding: 8px 20px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s;
  white-space: nowrap;
}
.cta-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
  color: var(--bg-primary) !important;
}

.btn-login {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-primary);
  padding: 8px 20px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s;
  white-space: nowrap;
}
.btn-login:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 24px;
  cursor: pointer;
  padding: 4px;
}

.hero {
  background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 50%, rgba(212, 175, 55, 0.1), transparent 70%);
  pointer-events: none;
}

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

.hero h1 {
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero h1 .highlight {
  color: var(--gold);
}

.hero p {
  font-size: 20px;
  color: var(--text-secondary);
  margin-bottom: 32px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--gold), #B8941E);
  color: var(--bg-primary);
  padding: 14px 32px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(212, 175, 55, 0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  padding: 14px 32px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 16px;
  border: 2px solid var(--border);
  transition: all 0.3s;
  cursor: pointer;
}

.btn-secondary:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.section {
  padding: 80px 0;
}

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

.section-header h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 16px;
}

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

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}

.stat-item {
  text-align: center;
  padding: 30px;
  background: var(--bg-card);
  border-radius: 12px;
  border: 1px solid var(--border);
}

.stat-number {
  font-size: 42px;
  font-weight: 800;
  color: var(--gold);
  margin-bottom: 8px;
}

.stat-label {
  font-size: 16px;
  color: var(--text-secondary);
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.featured-game {
  position: relative;
}

.featured-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--gold);
  color: var(--bg-primary);
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 30px;
}

.testimonial-stars {
  color: var(--gold);
  font-size: 18px;
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.testimonial-card p {
  font-style: italic;
  color: var(--text-secondary);
  margin-bottom: 20px;
  line-height: 1.8;
}

.testimonial-author strong {
  display: block;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.news-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  position: relative;
}

.news-badge {
  position: absolute;
  top: -10px;
  right: 20px;
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
}

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

.news-card p {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 16px;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px;
  transition: all 0.3s;
  cursor: pointer;
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
  box-shadow: 0 12px 30px var(--shadow);
}

.card-icon {
  font-size: 48px;
  margin-bottom: 20px;
}

.card h3 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 12px;
}

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

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 32px;
}

.feature {
  text-align: center;
}

.feature-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--gold), #B8941E);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  margin: 0 auto 20px;
}

.feature h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
}

.feature p {
  color: var(--text-secondary);
  font-size: 15px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.step {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px;
  text-align: center;
  position: relative;
}

.step-number {
  width: 50px;
  height: 50px;
  background: var(--gold);
  color: var(--bg-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  margin: 0 auto 20px;
}

.step h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
}

.step p {
  color: var(--text-secondary);
  font-size: 15px;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-bottom: 16px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  color: var(--text-primary);
  padding: 20px 24px;
  text-align: left;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.3s;
}

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

.faq-icon {
  font-size: 20px;
  transition: transform 0.3s;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer-content {
  padding: 0 24px 20px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 60px 0 30px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-section h3, .footer-col h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--gold);
}

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

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

.footer-section ul li a, .footer-col ul li a {
  color: var(--text-secondary);
  font-size: 15px;
  transition: color 0.3s;
}

.footer-section ul li a:hover, .footer-col ul li a:hover {
  color: var(--gold);
}

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

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 14px;
}

.warning-18 {
  background: var(--ruby);
  color: white;
  padding: 12px;
  text-align: center;
  font-weight: 600;
  font-size: 14px;
}

.breadcrumb {
  padding: 20px 0;
  font-size: 14px;
  color: var(--text-muted);
}

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

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

.breadcrumb span {
  margin: 0 8px;
}

.content-page {
  padding: 60px 0;
}

.content-header {
  margin-bottom: 40px;
}

.content-header h1 {
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 16px;
}

.content-header .meta {
  color: var(--text-muted);
  font-size: 14px;
}

.content-body {
  max-width: 900px;
  margin: 0 auto;
}

.content-body h2 {
  font-size: 28px;
  font-weight: 600;
  margin: 40px 0 20px;
  color: var(--gold);
}

.content-body h3 {
  font-size: 22px;
  font-weight: 600;
  margin: 30px 0 16px;
}

.content-body p {
  margin-bottom: 20px;
  line-height: 1.8;
  color: var(--text-secondary);
}

.content-body ul, .content-body ol {
  margin: 20px 0 20px 30px;
  color: var(--text-secondary);
}

.content-body li {
  margin-bottom: 12px;
  line-height: 1.7;
}

.info-table {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  margin: 30px 0;
}

.info-table th, .info-table td {
  padding: 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.info-table th {
  background: var(--bg-tertiary);
  font-weight: 600;
  color: var(--gold);
}

.info-table tr:last-child td {
  border-bottom: none;
}
@media (max-width: 768px) {
  .header-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding: 10px 0;
    gap: 8px;
  }

  /* Row 1: ☰ left, logo, search right */
  .mobile-toggle {
    display: block;
    order: 1;
    font-size: 22px;
  }

  .logo {
    font-size: 24px;
    order: 2;
  }

  .search-btn {
    order: 4;
    margin-left: 0;
    padding: 6px 14px;
  }
  .search-btn kbd { display: none; }

  /* App download button: left of the search icon, mobile only */
  .app-download-btn {
    display: inline-flex;
    order: 3;
    margin-left: auto;
    padding: 6px 10px;
  }

  /* Row 2: auth buttons */
  .header-actions {
    order: 4;
    width: 100%;
    display: flex;
    gap: 8px;
  }

  /* Nav: slide-in menu */
  .nav {
    order: 4;
    position: fixed;
    top: 92px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 92px);
    background: var(--bg-secondary);
    flex-direction: column;
    padding: 20px;
    transition: left 0.3s ease;
    border-top: 1px solid var(--border);
    overflow-y: auto;
    gap: 0;
    z-index: 999;
  }
  .nav.active { left: 0; }
  .nav a {
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
    width: 100%;
    text-align: center;
    font-size: 16px;
  }

  /* Row 2: Đăng ký + Đăng nhập + ☰ */
  .header-actions {
    grid-row: 2;
    grid-column: 1 / -1;
    display: flex;
    gap: 8px;
  }
  .cta-btn {
    flex: 1;
    text-align: center;
    padding: 8px 12px;
    font-size: 13px;
  }
  .btn-login {
    flex: 1;
    text-align: center;
    padding: 8px 12px;
    font-size: 13px;
  }
  .mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    padding: 6px 10px;
  }

  .hero {
    padding: 60px 0;
  }

  .hero h1 {
    font-size: 32px;
  }

  .hero p {
    font-size: 16px;
  }

  .hero-cta {
    flex-direction: column;
    gap: 12px;
  }

  .btn-primary, .btn-secondary {
    width: 100%;
  }

  .section {
    padding: 60px 0;
  }

  .section-header h2 {
    font-size: 28px;
  }

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

  .stat-number {
    font-size: 32px;
  }

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

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

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

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

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

  .content-header h1 {
    font-size: 28px;
  }

  .content-body h2 {
    font-size: 24px;
    margin: 30px 0 16px;
  }

  .content-body h3 {
    font-size: 20px;
    margin: 24px 0 14px;
  }

  .content-body ul, .content-body ol {
    margin-left: 20px;
  }

  .info-table {
    font-size: 14px;
  }

  .info-table th, .info-table td {
    padding: 12px 10px;
  }
}

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

  .hero h1 {
    font-size: 26px;
  }

  .section {
    padding: 50px 0;
  }

  .section-header h2 {
    font-size: 24px;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .stat-item {
    padding: 20px;
  }

  .stat-number {
    font-size: 28px;
  }

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

  .btn-primary, .btn-secondary {
    width: 100%;
    padding: 12px 24px;
    font-size: 15px;
  }

  .content-header h1 {
    font-size: 24px;
  }

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

#search-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  padding: 10vh 20px 20px;
  animation: fadeIn 0.2s ease;
}
#search-overlay.active { display: flex; justify-content: center; align-items: flex-start; }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.search-modal {
  width: 100%;
  max-width: 640px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0,0,0,0.5);
  animation: slideDown 0.25s ease;
}
@keyframes slideDown { from { transform: translateY(-20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

.search-modal-header {
  border-bottom: 1px solid var(--border);
}

.search-input-wrap {
  display: flex;
  align-items: center;
  padding: 16px 20px;
  gap: 12px;
}

.search-icon-lg {
  font-size: 20px;
  flex-shrink: 0;
}

#search-input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: var(--text-primary);
  font-size: 18px;
  font-family: inherit;
}
#search-input::placeholder { color: var(--text-muted); }

.search-kbd {
  background: var(--bg-tertiary);
  color: var(--text-muted);
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-family: monospace;
  border: 1px solid var(--border);
  flex-shrink: 0;
}

.search-results {
  max-height: 60vh;
  overflow-y: auto;
  padding: 8px;
}

.search-empty {
  padding: 40px 20px;
  text-align: center;
  color: var(--text-muted);
  font-size: 15px;
}
.search-empty strong { color: var(--text-secondary); }

.search-result-item {
  display: block;
  padding: 14px 16px;
  border-radius: 10px;
  transition: background 0.15s;
  text-decoration: none;
  color: inherit;
}
.search-result-item:hover {
  background: var(--bg-tertiary);
  color: inherit;
}

.search-result-title {
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 4px;
  color: var(--text-primary);
}

.search-result-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 4px;
}

.search-result-url {
  font-size: 12px;
  color: var(--text-muted);
}

.search-result-item mark {
  background: rgba(212, 175, 55, 0.3);
  color: var(--gold);
  border-radius: 2px;
  padding: 0 2px;
}

@media (max-width: 768px) {
  #search-overlay { padding: 5vh 12px 12px; }
  .search-modal { border-radius: 12px; }
}

.banner-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: var(--bg-primary);
}
.slider-track { position: relative; width: 100%; }
.slide {
  display: none;
  position: relative;
  animation: fadeSlide 0.8s ease;
}
.slide.active { display: block; }
@keyframes fadeSlide {
  from { opacity: 0; transform: scale(1.02); }
  to { opacity: 1; transform: scale(1); }
}
.slide img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  object-position: center;
  display: block;
}
.slide-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 40px;
  background: linear-gradient(transparent, rgba(10,14,26,0.9));
  text-align: left;
}
.slide-overlay h2 { font-size: 32px; margin-bottom: 8px; }
.slide-overlay p { color: var(--text-muted); margin-bottom: 16px; font-size: 16px; }
.slider-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 2;
}
.dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  background: transparent;
  cursor: pointer;
  transition: all 0.3s;
}
.dot.active { background: var(--gold); }
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  color: white;
  border: none;
  font-size: 24px;
  padding: 12px 16px;
  cursor: pointer;
  z-index: 2;
  border-radius: 4px;
  transition: background 0.3s;
}
.slider-arrow:hover { background: rgba(212,175,55,0.7); }
.slider-arrow.prev { left: 16px; }
.slider-arrow.next { right: 16px; }

@media (max-width: 768px) {
  .slide img { height: 250px; }
  .slide-overlay { padding: 20px; }
  .slide-overlay h2 { font-size: 22px; }
  .slider-arrow { padding: 8px 12px; font-size: 18px; }
}

.card-img {
  width: 100%;
  height: 180px;
  overflow: hidden;
  border-radius: 8px;
  margin-bottom: 16px;
}
.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.card:hover .card-img img {
  transform: scale(1.08);
}

.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--bg-primary);
  font-size: 22px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(212,175,55,0.4);
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover {
  background: #f5d060;
  transform: translateY(-4px);
  box-shadow: 0 6px 20px rgba(212,175,55,0.6);
}

.feature-img {
  width: 80px;
  height: 80px;
  border-radius: 12px;
  overflow: hidden;
  margin: 0 auto 16px;
}
.feature-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.featured-link {
  display: block;
  text-decoration: none;
  color: inherit;
  text-align: center;
  padding: 16px;
  border-radius: 12px;
  background: linear-gradient(135deg, #1a1f2e, #101522);
  transition: transform 0.3s, box-shadow 0.3s;
}
.featured-link:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(212,175,55,0.2);
}

.article-hero {
  width: 100%;
  max-height: 400px;
  overflow: hidden;
  border-radius: 12px;
  margin-bottom: 24px;
}
.article-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
