/* ========== HEADER ========== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: rgba(10, 10, 18, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
  z-index: 1000;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-weight: 700;
  font-size: var(--text-xl);
  color: var(--color-text);
}

.logo img {
  height: 36px;
  width: auto;
}

/* Navigation */
.nav-desktop {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

.nav-item {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-muted);
  border-radius: var(--radius-md);
  transition: var(--transition-base);
}

.nav-link:hover {
  color: var(--color-text);
  background: var(--color-bg-alt);
}

.nav-link.active {
  color: #BFFF00;
  background: rgba(191, 255, 0, 0.1);
}

.nav-item.active .nav-link {
  color: #BFFF00;
}

.nav-item.active .dropdown-arrow {
  color: #BFFF00;
}

.dropdown-arrow {
  transition: transform var(--transition-base);
}

.nav-item:hover .dropdown-arrow {
  transform: rotate(180deg);
}

/* Dropdown */
.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: var(--transition-base);
  box-shadow: var(--shadow-lg);
}

.nav-item:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-3) var(--space-4);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  border-radius: var(--radius-md);
  transition: var(--transition-base);
}

.dropdown-link:hover {
  background: var(--color-bg-alt);
  color: var(--color-text);
}

.dropdown-link.active {
  background: rgba(191, 255, 0, 0.1);
  color: #BFFF00;
  border-left: 2px solid #BFFF00;
}

.dropdown-link.active .count {
  background: rgba(191, 255, 0, 0.2);
  color: #BFFF00;
}

.dropdown-link .count {
  font-size: var(--text-xs);
  color: var(--color-text-light);
  background: var(--color-bg-alt);
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

@media (max-width: 1024px) {
  .header-actions {
    display: none;
  }
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 10px;
  border-radius: var(--radius-lg);
  background: transparent;
  border: 1px solid transparent;
  transition: all 0.3s ease;
  cursor: pointer;
}

.mobile-menu-btn:hover {
  background: rgba(191, 255, 0, 0.1);
  border-color: rgba(191, 255, 0, 0.3);
}

.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}

.mobile-menu-btn.active {
  background: rgba(191, 255, 0, 0.15);
  border-color: rgba(191, 255, 0, 0.4);
}

.mobile-menu-btn.active span {
  background: #BFFF00;
}

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

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

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

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  font-weight: 600;
  font-size: var(--text-sm);
  border-radius: var(--radius-lg);
  transition: var(--transition-base);
  white-space: nowrap;
}

.btn-primary {
  background: #BFFF00;
  color: #0a0a12;
  font-weight: 700;
}

.btn-primary:hover {
  background: #d4ff33;
  transform: translateY(-1px);
  box-shadow: 0 8px 25px rgba(191, 255, 0, 0.4);
}

.btn-secondary {
  background: var(--color-bg-alt);
  color: var(--color-text);
  border: 1px solid var(--color-border);
}

.btn-secondary:hover {
  background: var(--color-border-light);
  border-color: var(--color-text-light);
}

.btn-accent {
  background: var(--color-accent);
  color: var(--color-text);
}

.btn-accent:hover {
  background: #d4f02a;
}

.btn-lg {
  padding: var(--space-4) var(--space-8);
  font-size: var(--text-base);
  border-radius: var(--radius-xl);
}

.btn-sm {
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-xs);
}

.btn-outline {
  background: transparent;
  color: #ffffff;
  border: 1px solid rgba(191, 255, 0, 0.3);
}

.btn-outline:hover {
  background: rgba(191, 255, 0, 0.1);
  border-color: #BFFF00;
  color: #BFFF00;
}

/* ========== HERO ========== */
.hero {
  padding: var(--space-24) 0 var(--space-16);
  text-align: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #0a0a18 0%, #150a28 50%, #0a1810 100%);
}

.hero::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(91, 35, 255, 0.3) 0%, transparent 60%);
  border-radius: 50%;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(191, 255, 0, 0.15) 0%, transparent 60%);
  border-radius: 50%;
  pointer-events: none;
}

/* Floating shapes */
.hero-shapes {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-shape {
  position: absolute;
  opacity: 0.7;
  animation: float 20s ease-in-out infinite;
}

/* Spade - top left */
.hero-shape.shape-1 {
  top: 15%;
  left: 8%;
  width: 70px;
  height: 80px;
  background: transparent;
  animation-delay: 0s;
  filter: drop-shadow(0 0 15px rgba(191, 255, 0, 0.6));
}

.hero-shape.shape-1::before {
  content: '\2660';
  font-size: 70px;
  color: transparent;
  -webkit-text-stroke: 2px #BFFF00;
  text-stroke: 2px #BFFF00;
}

/* Heart - top right */
.hero-shape.shape-2 {
  top: 20%;
  right: 10%;
  width: 60px;
  height: 70px;
  background: transparent;
  animation-delay: -5s;
  filter: drop-shadow(0 0 15px rgba(255, 50, 100, 0.6));
}

.hero-shape.shape-2::before {
  content: '\2665';
  font-size: 60px;
  color: transparent;
  -webkit-text-stroke: 2px #ff3264;
  text-stroke: 2px #ff3264;
}

/* Diamond - bottom left */
.hero-shape.shape-3 {
  bottom: 25%;
  left: 12%;
  width: 50px;
  height: 60px;
  background: transparent;
  animation-delay: -10s;
  filter: drop-shadow(0 0 15px rgba(91, 35, 255, 0.6));
}

.hero-shape.shape-3::before {
  content: '\2666';
  font-size: 55px;
  color: transparent;
  -webkit-text-stroke: 2px #8B5CF6;
  text-stroke: 2px #8B5CF6;
}

/* Club - bottom right */
.hero-shape.shape-4 {
  bottom: 18%;
  right: 8%;
  width: 65px;
  height: 75px;
  background: transparent;
  animation-delay: -15s;
  filter: drop-shadow(0 0 15px rgba(0, 255, 136, 0.6));
}

.hero-shape.shape-4::before {
  content: '\2663';
  font-size: 65px;
  color: transparent;
  -webkit-text-stroke: 2px #00FF88;
  text-stroke: 2px #00FF88;
}

/* Small heart - top center */
.hero-shape.shape-5 {
  top: 12%;
  left: 35%;
  background: transparent;
  animation-delay: -3s;
  filter: drop-shadow(0 0 10px rgba(255, 50, 100, 0.5));
  opacity: 0.5;
}

.hero-shape.shape-5::before {
  content: '\2665';
  font-size: 35px;
  color: transparent;
  -webkit-text-stroke: 1.5px #ff3264;
  text-stroke: 1.5px #ff3264;
}

/* Large spade - right side */
.hero-shape.shape-6 {
  top: 40%;
  right: 5%;
  background: transparent;
  animation-delay: -8s;
  filter: drop-shadow(0 0 20px rgba(191, 255, 0, 0.4));
  opacity: 0.4;
}

.hero-shape.shape-6::before {
  content: '\2660';
  font-size: 90px;
  color: transparent;
  -webkit-text-stroke: 2px #BFFF00;
  text-stroke: 2px #BFFF00;
}

/* Tiny diamond - top right */
.hero-shape.shape-7 {
  top: 8%;
  right: 25%;
  background: transparent;
  animation-delay: -12s;
  filter: drop-shadow(0 0 8px rgba(91, 35, 255, 0.5));
  opacity: 0.6;
}

.hero-shape.shape-7::before {
  content: '\2666';
  font-size: 28px;
  color: transparent;
  -webkit-text-stroke: 1.5px #8B5CF6;
  text-stroke: 1.5px #8B5CF6;
}

/* Medium club - left side */
.hero-shape.shape-8 {
  top: 50%;
  left: 3%;
  background: transparent;
  animation-delay: -18s;
  filter: drop-shadow(0 0 12px rgba(0, 255, 136, 0.5));
  opacity: 0.5;
}

.hero-shape.shape-8::before {
  content: '\2663';
  font-size: 45px;
  color: transparent;
  -webkit-text-stroke: 1.5px #00FF88;
  text-stroke: 1.5px #00FF88;
}

/* Small spade - bottom center */
.hero-shape.shape-9 {
  bottom: 12%;
  left: 40%;
  background: transparent;
  animation-delay: -6s;
  filter: drop-shadow(0 0 10px rgba(191, 255, 0, 0.5));
  opacity: 0.5;
}

.hero-shape.shape-9::before {
  content: '\2660';
  font-size: 38px;
  color: transparent;
  -webkit-text-stroke: 1.5px #BFFF00;
  text-stroke: 1.5px #BFFF00;
}

/* Large heart - left bottom */
.hero-shape.shape-10 {
  bottom: 35%;
  left: 6%;
  background: transparent;
  animation-delay: -14s;
  filter: drop-shadow(0 0 18px rgba(255, 50, 100, 0.4));
  opacity: 0.35;
}

.hero-shape.shape-10::before {
  content: '\2665';
  font-size: 85px;
  color: transparent;
  -webkit-text-stroke: 2px #ff3264;
  text-stroke: 2px #ff3264;
}

/* Tiny club - top left */
.hero-shape.shape-11 {
  top: 25%;
  left: 22%;
  background: transparent;
  animation-delay: -9s;
  filter: drop-shadow(0 0 8px rgba(0, 255, 136, 0.5));
  opacity: 0.55;
}

.hero-shape.shape-11::before {
  content: '\2663';
  font-size: 25px;
  color: transparent;
  -webkit-text-stroke: 1.5px #00FF88;
  text-stroke: 1.5px #00FF88;
}

/* Medium diamond - right bottom */
.hero-shape.shape-12 {
  bottom: 40%;
  right: 18%;
  background: transparent;
  animation-delay: -2s;
  filter: drop-shadow(0 0 12px rgba(91, 35, 255, 0.5));
  opacity: 0.5;
}

.hero-shape.shape-12::before {
  content: '\2666';
  font-size: 50px;
  color: transparent;
  -webkit-text-stroke: 1.5px #8B5CF6;
  text-stroke: 1.5px #8B5CF6;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0) rotate(var(--rotate, 0deg));
  }
  50% {
    transform: translateY(-25px) rotate(calc(var(--rotate, 0deg) + 8deg));
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background: rgba(191, 255, 0, 0.1);
  border: 1px solid rgba(191, 255, 0, 0.3);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 600;
  color: #BFFF00;
  margin-bottom: var(--space-6);
  text-shadow: 0 0 20px rgba(191, 255, 0, 0.5);
}

.hero-badge-icon {
  width: 20px;
  height: 20px;
  background: var(--color-accent);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-title {
  font-size: var(--text-5xl);
  font-weight: 800;
  color: var(--color-text);
  max-width: 900px;
  margin: 0 auto var(--space-6);
  line-height: 1.1;
}

.hero-title .highlight {
  position: relative;
  color: var(--color-primary);
}

.hero-title .highlight::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 8px;
  background: var(--color-accent);
  border-radius: 4px;
  z-index: -1;
}

.hero-description {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  max-width: 600px;
  margin: 0 auto var(--space-8);
  line-height: 1.7;
}

.hero-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-8);
  margin-top: var(--space-12);
  padding-top: var(--space-8);
  border-top: 1px solid rgba(191, 255, 0, 0.2);
}

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

.hero-stat-number {
  display: block;
  font-size: var(--text-3xl);
  font-weight: 800;
  color: #BFFF00;
  text-shadow: 0 0 20px rgba(191, 255, 0, 0.4);
}

.hero-stat-label {
  display: block;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

/* Decorative elements */
.hero-decoration {
  position: absolute;
  pointer-events: none;
  opacity: 0.6;
}

.hero-decoration-1 {
  top: 100px;
  left: 5%;
  width: 60px;
  height: 60px;
  background: var(--color-accent);
  border-radius: var(--radius-lg);
  transform: rotate(15deg);
}

.hero-decoration-2 {
  top: 200px;
  right: 10%;
  width: 40px;
  height: 40px;
  background: var(--color-primary);
  border-radius: var(--radius-full);
}

.hero-decoration-3 {
  bottom: 100px;
  left: 15%;
  width: 30px;
  height: 30px;
  background: var(--color-secondary);
  border-radius: var(--radius-md);
  transform: rotate(-10deg);
}

/* ========== SECTION TITLES ========== */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--space-12);
}

.section-label {
  display: inline-block;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-4);
}

.section-title {
  font-size: var(--text-4xl);
  font-weight: 800;
  color: var(--color-text);
  margin-bottom: var(--space-4);
}

.categories-section .section-title,
.articles-section .section-title,
.popular-tags-section .section-title {
  color: #BFFF00;
  text-shadow: 0 0 20px rgba(191, 255, 0, 0.3);
}

.section-subtitle {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
}

.section-description {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
}

/* ========== CATEGORIES GRID ========== */
.categories-section {
  background: linear-gradient(180deg, #0a0a12 0%, #0f0a1a 50%, #0a120f 100%);
  position: relative;
}

.categories-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(191, 255, 0, 0.4), transparent);
}

.categories-section::after {
  content: '';
  position: absolute;
  top: 20%;
  right: 5%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(91, 35, 255, 0.15) 0%, transparent 60%);
  pointer-events: none;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-5);
}

.category-card {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  padding: var(--space-6);
  background: rgba(21, 21, 32, 0.8);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  transition: var(--transition-base);
  position: relative;
  overflow: hidden;
  min-height: 90px;
}

.category-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(191, 255, 0, 0.05), rgba(91, 35, 255, 0.05));
  opacity: 0;
  transition: var(--transition-base);
}

.category-card:hover {
  border-color: #BFFF00;
  box-shadow: 0 8px 30px rgba(191, 255, 0, 0.2);
  transform: translateY(-4px);
}

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

.category-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #BFFF00, #00FF88);
  border-radius: var(--radius-lg);
  color: #0a0a12;
  flex-shrink: 0;
  box-shadow: 0 0 20px rgba(191, 255, 0, 0.3);
}

.category-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.category-name {
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--color-text);
  line-height: 1.3;
  word-wrap: break-word;
}

.category-count {
  font-size: var(--text-sm);
  color: #BFFF00;
  font-weight: 500;
}

/* ========== FEATURE CARDS ========== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.feature-card {
  padding: var(--space-8);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-2xl);
  transition: var(--transition-base);
}

.feature-card:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-lg);
}

.feature-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg-alt);
  border-radius: var(--radius-xl);
  margin-bottom: var(--space-5);
  color: var(--color-primary);
}

.feature-title {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-3);
}

.feature-description {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ========== ARTICLES SECTION ========== */
.articles-section {
  background: linear-gradient(180deg, #0f0a1a 0%, #0a0a12 50%, #0a0f0a 100%);
  position: relative;
}

.articles-section::before {
  content: '';
  position: absolute;
  top: 10%;
  right: 5%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(91, 35, 255, 0.15) 0%, transparent 60%);
  border-radius: 50%;
  pointer-events: none;
}

.articles-section::after {
  content: '';
  position: absolute;
  bottom: 10%;
  left: 5%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(191, 255, 0, 0.1) 0%, transparent 60%);
  border-radius: 50%;
  pointer-events: none;
}

/* ========== ARTICLES GRID ========== */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: var(--space-6);
  position: relative;
  z-index: 1;
}

.article-card {
  background: rgba(21, 21, 32, 0.8);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: var(--transition-base);
}

.article-card:hover {
  border-color: #BFFF00;
  box-shadow: 0 12px 40px rgba(191, 255, 0, 0.2);
  transform: translateY(-6px);
}

.article-card:nth-child(3n+1):hover {
  border-color: #BFFF00;
  box-shadow: 0 12px 40px rgba(191, 255, 0, 0.2);
}

.article-card:nth-child(3n+2):hover {
  border-color: var(--color-primary);
  box-shadow: 0 12px 40px rgba(91, 35, 255, 0.25);
}

.article-card:nth-child(3n):hover {
  border-color: #00FF88;
  box-shadow: 0 12px 40px rgba(0, 255, 136, 0.2);
}

.article-image {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--color-bg-alt);
}

.article-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

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

.article-content {
  padding: var(--space-5);
}

.article-title {
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--color-text);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ========== STATS SECTION ========== */
.stats-section {
  background: linear-gradient(135deg, #1a1a2e 0%, #2d1b4e 50%, #1a2a4e 100%);
  color: white;
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(91, 35, 255, 0.2) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.stats-section::after {
  content: '';
  position: absolute;
  bottom: -30%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(228, 255, 48, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-8);
  text-align: center;
}

.stat-item {
  padding: var(--space-6);
}

.stat-number {
  display: block;
  font-size: var(--text-4xl);
  font-weight: 800;
  color: var(--color-accent);
  margin-bottom: var(--space-2);
}

.stat-label {
  font-size: var(--text-base);
  color: rgba(255, 255, 255, 0.7);
}

/* ========== CAROUSEL SECTION ========== */
.carousel-section {
  background: linear-gradient(135deg, #0a0f0a 0%, #0a1a0f 50%, #0f0a1a 100%);
  overflow: hidden;
  position: relative;
  padding: var(--space-16) 0;
}

.carousel-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(191, 255, 0, 0.1) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 50%, rgba(91, 35, 255, 0.15) 0%, transparent 50%);
  pointer-events: none;
}

.carousel-section .section-header {
  position: relative;
  z-index: 1;
}

.carousel-section .section-title {
  color: #BFFF00;
  text-shadow: 0 0 30px rgba(191, 255, 0, 0.3);
}

.carousel-section .section-subtitle {
  color: rgba(255, 255, 255, 0.7);
}

.carousel-wrapper {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
}

.carousel-row {
  display: flex;
  gap: var(--space-3);
  width: max-content;
}

.carousel-animate {
  animation: scrollLeft 120s linear infinite;
}

.carousel-animate-reverse {
  animation: scrollRight 130s linear infinite;
}

.carousel-animate-slow {
  animation: scrollLeft 150s linear infinite;
}

@keyframes scrollLeft {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes scrollRight {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

.kw-pill {
  padding: var(--space-3) var(--space-5);
  background: rgba(191, 255, 0, 0.05);
  border: 1px solid rgba(191, 255, 0, 0.2);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  white-space: nowrap;
  cursor: pointer;
  transition: var(--transition-base);
  backdrop-filter: blur(4px);
}

.kw-pill:hover {
  background: #BFFF00;
  border-color: #BFFF00;
  color: #0a0a12;
  box-shadow: 0 0 20px rgba(191, 255, 0, 0.4);
}

/* ========== SEO SECTION ========== */
.seo-section {
  background: linear-gradient(180deg, #0a0a12 0%, #0a0f0a 100%);
  position: relative;
}

.seo-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(191, 255, 0, 0.3), transparent);
}

.seo-section::after {
  content: '';
  position: absolute;
  bottom: 10%;
  right: 10%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(91, 35, 255, 0.1) 0%, transparent 60%);
  pointer-events: none;
}

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

.seo-content h2 {
  font-size: var(--text-2xl);
  color: var(--color-text);
  margin-bottom: var(--space-6);
}

.seo-content h3 {
  font-size: var(--text-xl);
  color: var(--color-text);
  margin: var(--space-8) 0 var(--space-4);
}

.seo-content p {
  line-height: 1.8;
  margin-bottom: var(--space-4);
}

/* ========== PAGE HERO ========== */
.page-hero {
  padding: var(--space-16) 0 var(--space-8);
  text-align: center;
  background: linear-gradient(135deg, #0a0a18 0%, #150a28 50%, #0a1810 100%);
  position: relative;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(91, 35, 255, 0.2) 0%, transparent 60%);
  border-radius: 50%;
  pointer-events: none;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 10%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(191, 255, 0, 0.1) 0%, transparent 60%);
  border-radius: 50%;
  pointer-events: none;
}

.page-title {
  font-size: var(--text-4xl);
  font-weight: 800;
  color: #BFFF00;
  margin-bottom: var(--space-4);
  text-shadow: 0 0 30px rgba(191, 255, 0, 0.3);
}

.page-description {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  max-width: 600px;
  margin: 0 auto var(--space-4);
}

.page-count {
  font-size: var(--text-sm);
  color: var(--color-primary);
  font-weight: 600;
}

/* ========== BREADCRUMBS ========== */
.breadcrumbs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-6);
}

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

.breadcrumbs span {
  color: var(--color-text-light);
}

/* ========== PAGINATION ========== */
.pagination {
  display: flex;
  justify-content: center;
  gap: var(--space-2);
  margin-top: var(--space-12);
}

.pagination-link {
  min-width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 var(--space-4);
  background: rgba(21, 21, 32, 0.8);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-muted);
  transition: var(--transition-base);
}

.pagination-link:hover,
.pagination-link.active {
  background: #BFFF00;
  border-color: #BFFF00;
  color: #0a0a12;
  box-shadow: 0 0 15px rgba(191, 255, 0, 0.3);
}

/* ========== ARTICLE PAGE ========== */
.article-container {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: var(--space-8);
}

.article-main {
  min-width: 0;
}

.article-body {
  background: rgba(21, 21, 32, 0.9);
  padding: var(--space-8);
  border-radius: var(--radius-2xl);
  border: 1px solid var(--color-border);
}

.article-body h1 {
  font-size: var(--text-3xl);
  margin-bottom: var(--space-6);
}

.article-body h2 {
  font-size: var(--text-2xl);
  margin: var(--space-8) 0 var(--space-4);
}

.article-body h3 {
  font-size: var(--text-xl);
  margin: var(--space-6) 0 var(--space-3);
}

.article-body p {
  margin-bottom: var(--space-4);
  line-height: 1.8;
}

.article-body ul, .article-body ol {
  margin: var(--space-4) 0;
  padding-left: var(--space-6);
}

.article-body li {
  margin-bottom: var(--space-2);
  color: var(--color-text-muted);
}

.article-body ul li { list-style: disc; }
.article-body ol li { list-style: decimal; }

.article-body a {
  color: var(--color-primary);
  text-decoration: underline;
}

.article-body img {
  border-radius: var(--radius-lg);
  margin: var(--space-6) 0;
}

.article-tags {
  margin-top: var(--space-8);
  padding-top: var(--space-6);
  border-top: 1px solid rgba(191, 255, 0, 0.2);
}

.article-tags h3 {
  font-size: var(--text-lg);
  margin-bottom: var(--space-4);
  color: #BFFF00;
}

/* Tag Page Badge */
.tag-badge {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #BFFF00, #00FF88);
  border-radius: var(--radius-xl);
  margin: 0 auto var(--space-6);
  color: #0a0a12;
  box-shadow: 0 0 40px rgba(191, 255, 0, 0.4);
}

.tag-hero {
  background: linear-gradient(135deg, #0a0f0a 0%, #0a1a0f 50%, #0f0a1a 100%);
}

.tag-hero::before {
  background: radial-gradient(circle, rgba(191, 255, 0, 0.15) 0%, transparent 60%);
}

.tag-hero::after {
  background: radial-gradient(circle, rgba(91, 35, 255, 0.1) 0%, transparent 60%);
}

.tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.tag {
  padding: var(--space-2) var(--space-4);
  background: rgba(191, 255, 0, 0.1);
  border: 1px solid rgba(191, 255, 0, 0.2);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  color: #BFFF00;
  transition: var(--transition-base);
}

.tag:hover {
  background: #BFFF00;
  border-color: #BFFF00;
  color: #0a0a12;
  box-shadow: 0 0 15px rgba(191, 255, 0, 0.3);
}

/* ========== SIDEBAR ========== */
.article-sidebar {
  position: sticky;
  top: 100px;
  align-self: start;
}

.sidebar-widget {
  background: rgba(21, 21, 32, 0.9);
  padding: var(--space-6);
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border);
  margin-bottom: var(--space-6);
}

.sidebar-widget h3 {
  color: #BFFF00;
}

.sidebar-widget h3 {
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: var(--space-4);
}

.casino-cards {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.casino-card {
  display: flex;
  gap: var(--space-3);
  padding: var(--space-3);
  background: rgba(10, 10, 18, 0.8);
  border-radius: var(--radius-lg);
  transition: var(--transition-base);
  border: 1px solid transparent;
}

.casino-card:hover {
  background: rgba(191, 255, 0, 0.05);
  border-color: rgba(191, 255, 0, 0.2);
}

.casino-card img {
  width: 60px;
  height: 40px;
  object-fit: cover;
  border-radius: var(--radius-md);
}

.casino-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
}

.casino-name {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text);
}

.casino-bonus {
  font-size: var(--text-xs);
  color: var(--color-primary);
}

/* ========== TOP CASINOS SECTION ========== */
.top-casinos-section {
  padding: var(--space-8) 0;
  background: linear-gradient(180deg, rgba(10, 15, 10, 0.5) 0%, transparent 100%);
}

.top-casinos-header {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
}

.top-casinos-header h2 {
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--color-text);
}

.top-casinos-badge {
  padding: var(--space-1) var(--space-3);
  background: linear-gradient(135deg, #BFFF00, #00FF88);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 800;
  color: #0a0a12;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.top-casinos-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-4);
}

.top-casino-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: var(--space-5);
  background: rgba(21, 21, 32, 0.9);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  text-align: center;
  transition: var(--transition-base);
  position: relative;
  overflow: hidden;
}

.top-casino-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #BFFF00, #00FF88);
  opacity: 0;
  transition: var(--transition-base);
}

.top-casino-card:hover {
  border-color: rgba(191, 255, 0, 0.3);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
  transform: translateY(-6px);
}

.top-casino-card:hover::before {
  opacity: 1;
}

.top-casino-rank {
  position: absolute;
  top: var(--space-3);
  left: var(--space-3);
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #BFFF00, #00FF88);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 800;
  color: #0a0a12;
}

.top-casino-logo {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-lg);
  font-size: var(--text-lg);
  font-weight: 800;
  color: white;
  margin-bottom: var(--space-3);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.top-casino-info {
  margin-bottom: var(--space-3);
}

.top-casino-name {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-1);
}

.top-casino-rating {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-1);
  font-size: var(--text-xs);
}

.top-casino-rating .stars {
  color: #FFD41D;
  letter-spacing: -1px;
}

.top-casino-rating .rating-value {
  color: var(--color-text-muted);
  font-weight: 600;
}

.top-casino-bonus {
  margin-bottom: var(--space-4);
}

.top-casino-bonus .bonus-amount {
  font-size: var(--text-xl);
  font-weight: 800;
  color: #BFFF00;
  text-shadow: 0 0 15px rgba(191, 255, 0, 0.3);
}

.top-casino-bonus .bonus-spins {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin-top: 2px;
}

.top-casino-btn {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  background: linear-gradient(135deg, #BFFF00, #00FF88);
  border-radius: var(--radius-lg);
  font-size: var(--text-sm);
  font-weight: 700;
  color: #0a0a12;
  transition: var(--transition-base);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.top-casino-btn:hover {
  box-shadow: 0 0 25px rgba(191, 255, 0, 0.5);
  transform: scale(1.02);
}

/* First place special styling */
.top-casino-card:first-child {
  border-color: rgba(191, 255, 0, 0.2);
  background: linear-gradient(180deg, rgba(191, 255, 0, 0.05) 0%, rgba(21, 21, 32, 0.9) 100%);
}

.top-casino-card:first-child .top-casino-rank {
  width: 30px;
  height: 30px;
  font-size: var(--text-sm);
  box-shadow: 0 0 15px rgba(191, 255, 0, 0.5);
}

/* Sidebar Articles */
.sidebar-articles {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.sidebar-article {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  padding: var(--space-3);
  background: rgba(10, 10, 18, 0.6);
  border-radius: var(--radius-lg);
  transition: var(--transition-base);
  border: 1px solid transparent;
}

.sidebar-article:hover {
  background: rgba(191, 255, 0, 0.05);
  border-color: rgba(191, 255, 0, 0.2);
}

.sidebar-article-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(191, 255, 0, 0.1);
  border-radius: var(--radius-md);
  color: #BFFF00;
  flex-shrink: 0;
}

.sidebar-article-title {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: var(--transition-base);
}

.sidebar-article:hover .sidebar-article-title {
  color: #BFFF00;
}

/* ========== MODAL ========== */
.modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--space-4);
}

.modal.active {
  display: flex;
}

.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
}

.modal-content {
  position: relative;
  width: 100%;
  max-width: 700px;
  max-height: 85vh;
  background: #151520;
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
  overflow-y: auto;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5);
  border: 1px solid var(--color-border);
}

.modal-close {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(191, 255, 0, 0.1);
  border-radius: var(--radius-full);
  color: #BFFF00;
  transition: var(--transition-base);
}

.modal-close:hover {
  background: #BFFF00;
  color: #0a0a12;
}

.modal-body {
  margin-top: var(--space-4);
  font-weight: 400;
}

.modal-body h1, .modal-body h2, .modal-body h3 {
  margin: var(--space-4) 0;
  font-weight: 600;
}

.modal-body p {
  margin-bottom: var(--space-4);
  font-weight: 400;
}

.modal-body strong, .modal-body b {
  font-weight: 400;
}

/* ========== CONTACT FORM ========== */
.contact-section,
.content-section {
  background: linear-gradient(180deg, #0a0a12 0%, #0f0a1a 50%, #0a0f0a 100%);
  position: relative;
}

.contact-section::before,
.content-section::before {
  content: '';
  position: absolute;
  top: 20%;
  left: 5%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(91, 35, 255, 0.15) 0%, transparent 60%);
  border-radius: 50%;
  pointer-events: none;
}

.contact-section::after,
.content-section::after {
  content: '';
  position: absolute;
  bottom: 20%;
  right: 10%;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(191, 255, 0, 0.1) 0%, transparent 60%);
  border-radius: 50%;
  pointer-events: none;
}

.contact-form-wrapper {
  max-width: 560px;
  margin: 0 auto;
  background: rgba(21, 21, 32, 0.9);
  padding: var(--space-8);
  border-radius: var(--radius-2xl);
  border: 1px solid var(--color-border);
  position: relative;
  z-index: 1;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.form-group label {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text);
}

.form-group input,
.form-group textarea {
  padding: var(--space-4);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  font-size: var(--text-base);
  transition: var(--transition-base);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(var(--color-primary-rgb), 0.1);
}

.alert {
  padding: var(--space-4);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-5);
  font-size: var(--text-sm);
}

.alert-success {
  background: #ecfdf5;
  border: 1px solid #10b981;
  color: #065f46;
}

.alert-error {
  background: #fef2f2;
  border: 1px solid #ef4444;
  color: #991b1b;
}

/* ========== ERROR PAGE ========== */
.error-section {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.error-title {
  font-size: 8rem;
  font-weight: 800;
  color: #BFFF00;
  line-height: 1;
  margin-bottom: var(--space-4);
  text-shadow: 0 0 50px rgba(191, 255, 0, 0.4);
}

.error-subtitle {
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-4);
}

.error-message {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  margin-bottom: var(--space-8);
}

.error-actions {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
}

/* ========== FOOTER ========== */
.footer {
  background: linear-gradient(135deg, #050508 0%, #0a0a12 50%, #0a0f0a 100%);
  color: white;
  padding: var(--space-16) 0 var(--space-8);
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #BFFF00, #00FF88, transparent);
}

.footer::after {
  content: '';
  position: absolute;
  bottom: -20%;
  right: -5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(191, 255, 0, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: var(--space-12);
  margin-bottom: var(--space-12);
}

.footer-logo img {
  height: 36px;
  width: auto;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.6);
  font-size: var(--text-sm);
  line-height: 1.7;
  margin-top: var(--space-4);
}

.age-badge {
  display: inline-block;
  padding: var(--space-2) var(--space-3);
  background: var(--color-primary);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  font-weight: 700;
  color: white;
  margin-top: var(--space-3);
}

.footer-links {
  display: flex;
  gap: var(--space-6);
}

.footer-links a {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.5);
  transition: var(--transition-base);
}

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

.footer-col h4 {
  font-size: var(--text-base);
  font-weight: 600;
  color: white;
  margin-bottom: var(--space-5);
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer-col a {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.6);
  transition: var(--transition-base);
}

.footer-col a:hover {
  color: var(--color-accent);
}

.footer-col p {
  color: rgba(255, 255, 255, 0.6);
  font-size: var(--text-sm);
  line-height: 1.7;
}

.footer-bottom {
  padding-top: var(--space-8);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.5);
}

.footer-social {
  display: flex;
  gap: var(--space-3);
}

.footer-social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  color: white;
  transition: var(--transition-base);
}

.footer-social a:hover {
  background: var(--color-primary);
}

/* ========== TAGS SECTION ========== */
.tags-section {
  background: linear-gradient(135deg, #0a0a12 0%, #0f0a1a 100%);
}

.popular-tags-section {
  background: linear-gradient(180deg, #0a0a12 0%, #0a0f0a 50%, #0f0a1a 100%);
  position: relative;
}

.popular-tags-section::before {
  content: '';
  position: absolute;
  bottom: 20%;
  left: 10%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(191, 255, 0, 0.1) 0%, transparent 60%);
  border-radius: 50%;
  pointer-events: none;
}

.popular-tags-section::after {
  content: '';
  position: absolute;
  top: 20%;
  right: 15%;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(91, 35, 255, 0.15) 0%, transparent 60%);
  border-radius: 50%;
  pointer-events: none;
}

.tags-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  justify-content: center;
}

.tag-pill {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-5);
  background: rgba(21, 21, 32, 0.8);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-muted);
  transition: var(--transition-base);
}

.tag-pill:nth-child(4n+1):hover {
  background: rgba(191, 255, 0, 0.15);
  border-color: #BFFF00;
  color: #BFFF00;
  box-shadow: 0 0 15px rgba(191, 255, 0, 0.3);
}

.tag-pill:nth-child(4n+2):hover {
  background: rgba(91, 35, 255, 0.2);
  border-color: var(--color-primary);
  color: #a78bfa;
  box-shadow: 0 0 15px rgba(91, 35, 255, 0.3);
}

.tag-pill:nth-child(4n+3):hover {
  background: rgba(0, 255, 136, 0.15);
  border-color: #00FF88;
  color: #00FF88;
  box-shadow: 0 0 15px rgba(0, 255, 136, 0.3);
}

.tag-pill:nth-child(4n):hover {
  background: rgba(0, 139, 255, 0.15);
  border-color: var(--color-secondary);
  color: #00BFFF;
  box-shadow: 0 0 15px rgba(0, 139, 255, 0.3);
}

.tag-pill:hover {
  transform: translateY(-2px);
}

.tag-pill .tag-count {
  padding: 2px 8px;
  background: var(--color-bg-alt);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 600;
}

/* ========== LEGAL PAGES ========== */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
  background: rgba(21, 21, 32, 0.9);
  padding: var(--space-10);
  border-radius: var(--radius-2xl);
  border: 1px solid var(--color-border);
}

.legal-content h2 {
  font-size: var(--text-xl);
  margin: var(--space-8) 0 var(--space-4);
  padding-top: var(--space-6);
  border-top: 1px solid var(--color-border);
}

.legal-content h2:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.legal-content p {
  margin-bottom: var(--space-4);
  line-height: 1.8;
}

.legal-content ul {
  margin: var(--space-4) 0;
  padding-left: var(--space-6);
}

.legal-content li {
  margin-bottom: var(--space-2);
  line-height: 1.7;
  list-style: disc;
  color: var(--color-text-muted);
}

.legal-content a {
  color: #BFFF00;
}

.legal-content h2 {
  color: #BFFF00;
}

/* ========== RELATED SECTION ========== */
.related-section {
  background: linear-gradient(180deg, #0a0a12 0%, #0a0f0a 100%);
  position: relative;
}

.related-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(191, 255, 0, 0.3), transparent);
}

/* ========== ARTICLE PAGE ========== */
.article-page {
  background: var(--color-bg);
}

.article-hero {
  background: linear-gradient(135deg, #0a0a18 0%, #150a28 50%, #0a1810 100%);
}

/* ========== ERROR PAGE ========== */
.error-section {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(135deg, #0a0a12 0%, #0f0a1a 50%, #0a0f0a 100%);
}
