/* RR88 Static Site Styles */
@import url('https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:wght@300;400;500;600;700;800;900&display=swap');

/* CSS Custom Properties */
:root {
  /* Colors - HSL values */
  --background: 270 50% 5%;
  --foreground: 45 100% 96%;
  --card: 270 45% 10%;
  --card-foreground: 45 100% 96%;
  --primary: 45 100% 50%;
  --primary-foreground: 271 81% 56%;
  --secondary: 280 80% 55%;
  --secondary-foreground: 45 100% 96%;
  --muted: 270 35% 15%;
  --muted-foreground: 270 15% 60%;
  --accent: 280 80% 55%;
  --accent-foreground: 45 100% 96%;
  --border: 270 40% 20%;
  --ring: 45 100% 50%;
  --radius: 0.75rem;

  /* Custom tokens */
  --gold: 45 100% 50%;
  --gold-light: 48 100% 65%;
  --gold-dark: 40 100% 38%;
  --neon-purple: 280 80% 55%;
  --neon-purple-light: 280 90% 70%;
  --neon-purple-dark: 280 70% 40%;
  --neon-blue: 210 100% 60%;
  --neon-pink: 320 90% 60%;
  --success: 150 80% 45%;

  /* Gradients */
  --gradient-gold: linear-gradient(135deg, hsl(48 100% 55%), hsl(40 100% 40%));
  --gradient-neon: linear-gradient(135deg, hsl(280 80% 55%), hsl(320 90% 60%));
  --gradient-dark: linear-gradient(180deg, hsl(270 50% 7%), hsl(270 55% 3%));
  --gradient-card: linear-gradient(145deg, hsl(270 45% 12%), hsl(270 45% 8%));

  /* Shadows */
  --shadow-gold: 0 0 30px hsl(45 100% 50% / 0.4);
  --shadow-neon: 0 0 40px hsl(280 80% 55% / 0.4);
  --shadow-card: 0 20px 40px hsl(0 0% 0% / 0.4);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Be Vietnam Pro', sans-serif;
  background: var(--gradient-dark);
  color: hsl(var(--foreground));
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 800;
  line-height: 1.2;
}

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

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

/* Container */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 768px) {
  .container {
    padding: 0 2rem;
  }
}

/* Utility Classes */
.text-gold {
  color: hsl(var(--gold));
}

.text-muted {
  color: hsl(var(--muted-foreground));
}

.text-foreground {
  color: hsl(var(--foreground));
}

.text-gradient-gold {
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.bg-card {
  background: hsl(var(--card));
}

.bg-gradient-gold {
  background: var(--gradient-gold);
}

.bg-gradient-neon {
  background: var(--gradient-neon);
}

/* Header Styles */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: hsl(var(--background) / 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid hsl(var(--border) / 0.5);
}

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

@media (min-width: 768px) {
  .header-inner {
    height: 80px;
  }
}

.logo {
  height: 40px;
  width: auto;
  filter: drop-shadow(0 0 8px hsl(45 100% 50% / 0.6)) 
          drop-shadow(0 0 20px hsl(280 80% 55% / 0.4));
  transition: filter 0.3s ease, transform 0.3s ease;
}

.logo:hover {
  filter: drop-shadow(0 0 12px hsl(45 100% 50% / 0.8)) 
          drop-shadow(0 0 30px hsl(280 80% 55% / 0.6));
  transform: scale(1.1);
}

@media (min-width: 768px) {
  .logo {
    height: 48px;
  }
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 2rem;
}

@media (min-width: 768px) {
  .nav-desktop {
    display: flex;
  }
}

.nav-link {
  color: hsl(var(--muted-foreground));
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: hsl(var(--gold));
}

/* Nav Dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  cursor: pointer;
}

.nav-dropdown-arrow {
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid currentColor;
  transition: transform 0.2s ease;
  margin-top: 1px;
}

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

.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 220px;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  padding: 0.5rem 0;
  margin-top: 0.75rem;
  box-shadow: var(--shadow-card);
  z-index: 100;
}

.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -0.75rem;
  left: 0;
  right: 0;
  height: 0.75rem;
}

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

.nav-dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.625rem 1rem;
  color: hsl(var(--muted-foreground));
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.nav-dropdown-item:hover {
  color: hsl(var(--gold));
  background: hsl(var(--muted) / 0.5);
}

.nav-dropdown-item .dropdown-icon {
  font-size: 1.1rem;
}

.nav-dropdown-divider {
  height: 1px;
  background: hsl(var(--border));
  margin: 0.25rem 0;
}

/* Mobile dropdown */
.mobile-menu .nav-dropdown-mobile {
  padding-left: 1rem;
}

.mobile-menu .nav-dropdown-mobile a {
  display: block;
  padding: 0.5rem 0;
  color: hsl(var(--muted-foreground));
  font-size: 0.875rem;
}

.mobile-menu .nav-dropdown-mobile a:hover {
  color: hsl(var(--gold));
}

.btn-group {
  display: none;
  align-items: center;
  gap: 1rem;
}

@media (min-width: 768px) {
  .btn-group {
    display: flex;
  }
}

/* Button Styles */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.875rem;
  cursor: default;
  transition: all 0.2s ease;
  border: none;
}

.btn-gold {
  background: var(--gradient-gold);
  color: hsl(var(--primary-foreground));
}

.btn-gold:hover {
  box-shadow: var(--shadow-gold);
}

.btn-gold-outline {
  background: transparent;
  border: 2px solid hsl(var(--gold));
  color: hsl(var(--gold));
}

.btn-gold-outline:hover {
  background: hsl(var(--gold) / 0.1);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1rem;
}

.btn-xl {
  padding: 1.25rem 2.5rem;
  font-size: 1.125rem;
}

/* Mobile Menu */
.menu-toggle {
  display: block;
  padding: 0.5rem;
  background: none;
  border: none;
  color: hsl(var(--foreground));
  cursor: pointer;
}

@media (min-width: 768px) {
  .menu-toggle {
    display: none;
  }
}

.mobile-menu {
  display: none;
  padding: 1rem 0;
  border-top: 1px solid hsl(var(--border) / 0.5);
}

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

.mobile-menu .nav-link {
  display: block;
  padding: 0.75rem 0;
}

.mobile-menu .btn-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-top: 1rem;
}

.mobile-menu .btn {
  width: 100%;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 64px;
}

@media (min-width: 768px) {
  .hero {
    padding-top: 80px;
  }
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, hsl(var(--background) / 0.5), hsl(var(--background) / 0.3), hsl(var(--background)));
}

.hero-glow {
  position: absolute;
  width: 800px;
  height: 800px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: hsl(var(--neon-purple) / 0.15);
  border-radius: 50%;
  filter: blur(60px);
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 56rem;
  padding: 3rem 1rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  background: var(--gradient-neon);
  border: 1px solid hsl(var(--neon-purple) / 0.4);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 900;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 4rem;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 4.5rem;
  }
}

.hero-subtitle {
  font-size: 1.125rem;
  color: hsl(var(--muted-foreground));
  max-width: 48rem;
  margin: 0 auto 1rem;
}

@media (min-width: 768px) {
  .hero-subtitle {
    font-size: 1.25rem;
  }
}

.hero-features {
  font-size: 1rem;
  color: hsl(var(--muted-foreground));
  margin-bottom: 2rem;
}

.hero-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-bottom: 3rem;
}

@media (min-width: 640px) {
  .hero-cta {
    flex-direction: row;
    justify-content: center;
  }
}

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

@media (min-width: 640px) {
  .hero-cta .btn {
    width: auto;
  }
}

/* Trust Badges */
.trust-badges {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 768px) {
  .trust-badges {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }
}

.trust-badge {
  background: hsl(var(--card) / 0.6);
  backdrop-filter: blur(8px);
  padding: 1rem;
  border-radius: 1rem;
  border: 1px solid hsl(var(--neon-purple) / 0.2);
  text-align: center;
  transition: transform 0.2s ease;
}

.trust-badge:hover {
  transform: translateY(-4px);
}

.trust-badge-icon {
  width: 2rem;
  height: 2rem;
  color: hsl(var(--gold));
  margin: 0 auto 0.5rem;
}

.trust-badge-title {
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: 0.25rem;
}

.trust-badge-subtitle {
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
}

/* Section Styles */
.section {
  position: relative;
  padding: 5rem 0;
  overflow: hidden;
}

@media (min-width: 768px) {
  .section {
    padding: 8rem 0;
  }
}

.section-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.section-overlay {
  position: absolute;
  inset: 0;
  background: hsl(var(--background) / 0.85);
  backdrop-filter: blur(4px);
}

.section-header {
  text-align: center;
  max-width: 48rem;
  margin: 0 auto 3rem;
}

.section-title {
  font-size: 2rem;
  font-weight: 900;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 3rem;
  }
}

.section-subtitle {
  font-size: 1.125rem;
  color: hsl(var(--muted-foreground));
}

/* Card Grid */
.card-grid {
  display: grid;
  gap: 1.5rem;
}

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

@media (min-width: 768px) {
  .card-grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

@media (min-width: 768px) {
  .card-grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .card-grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Game Card */
.game-card {
  position: relative;
  background: hsl(var(--card) / 0.8);
  backdrop-filter: blur(8px);
  border: 1px solid hsl(var(--neon-purple) / 0.2);
  border-radius: 1rem;
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.game-card:hover {
  transform: translateY(-8px);
  border-color: hsl(var(--gold) / 0.5);
}

.game-card-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
}

.game-card-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  transition: transform 0.3s ease;
}

.game-card:hover .game-card-icon {
  transform: scale(1.1);
}

.game-card-icon svg {
  width: 2rem;
  height: 2rem;
  color: hsl(var(--foreground));
}

.game-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  transition: color 0.2s ease;
}

.game-card:hover .game-card-title {
  color: hsl(var(--gold));
}

.game-card-desc {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  margin-bottom: 1rem;
}

.game-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: hsl(var(--gold));
  transition: gap 0.2s ease;
}

.game-card:hover .game-card-cta {
  gap: 1rem;
}

/* Promo Card */
.promo-card {
  position: relative;
  background: linear-gradient(to bottom right, hsl(var(--gold) / 0.3), hsl(var(--gold-dark) / 0.3));
  backdrop-filter: blur(8px);
  border: 1px solid hsl(var(--gold) / 0.5);
  border-radius: 1rem;
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.promo-card:hover {
  transform: scale(1.02);
}

.promo-card-tag {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  background: var(--gradient-gold);
  color: hsl(var(--primary-foreground));
  font-size: 0.75rem;
  font-weight: 700;
  box-shadow: var(--shadow-gold);
}

.promo-card-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 0.75rem;
  background: hsl(var(--gold) / 0.3);
  border: 1px solid hsl(var(--gold) / 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.promo-card-icon svg {
  width: 1.75rem;
  height: 1.75rem;
  color: hsl(var(--gold));
}

.promo-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  transition: color 0.2s ease;
}

.promo-card:hover .promo-card-title {
  color: hsl(var(--gold));
}

.promo-card-desc {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

.promo-card-cta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: hsl(var(--gold));
  transition: gap 0.2s ease;
}

.promo-card:hover .promo-card-cta {
  gap: 1rem;
}

/* FAQ Section */
.faq-section {
  padding: 4rem 0;
  background: linear-gradient(to bottom, hsl(var(--background)), hsl(var(--neon-purple) / 0.05), hsl(var(--background)));
}

.faq-item {
  background: hsl(var(--card) / 0.6);
  backdrop-filter: blur(4px);
  border: 1px solid hsl(var(--neon-purple) / 0.2);
  border-radius: 0.75rem;
  margin-bottom: 1rem;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item.active {
  border-color: hsl(var(--neon-pink) / 0.5);
  box-shadow: 0 0 30px hsl(280 80% 55% / 0.2);
}

.faq-question {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  text-align: left;
  font-weight: 600;
  color: hsl(var(--foreground));
  cursor: pointer;
  transition: color 0.2s ease;
}

.faq-question:hover {
  color: hsl(var(--neon-pink));
}

.faq-number {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--gradient-neon);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 700;
  flex-shrink: 0;
}

.faq-chevron {
  margin-left: auto;
  transition: transform 0.3s ease;
}

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

.faq-answer {
  display: none;
  padding: 0 1.5rem 1.25rem 4rem;
  color: hsl(var(--muted-foreground));
}

.faq-item.active .faq-answer {
  display: block;
}

/* Footer */
.footer {
  position: relative;
  padding: 3rem 0;
  overflow: hidden;
}

.footer-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.footer-overlay {
  position: absolute;
  inset: 0;
  background: hsl(var(--background) / 0.95);
  backdrop-filter: blur(8px);
  border-top: 1px solid hsl(var(--neon-purple) / 0.3);
}

.footer-content {
  position: relative;
  z-index: 10;
}

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

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.footer-brand p {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  margin-top: 1rem;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1rem;
}

.footer-social-link {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-social-link svg {
  width: 1rem;
  height: 1rem;
  color: white;
}

.footer-title {
  font-weight: 600;
  color: hsl(var(--gold));
  margin-bottom: 1rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  transition: color 0.2s ease;
}

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

.footer-partners {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.footer-partner {
  padding: 0.5rem;
  background: hsl(var(--background) / 0.5);
  border: 1px solid hsl(var(--neon-purple) / 0.2);
  border-radius: 0.25rem;
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
  text-align: center;
}

.footer-legal p {
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
}

.footer-badges {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
}

.footer-badge {
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  font-size: 0.75rem;
  font-weight: 600;
}

.footer-badge-pagcor {
  background: var(--gradient-neon);
  color: hsl(var(--foreground));
}

.footer-badge-ssl {
  background: var(--gradient-gold);
  color: hsl(var(--primary-foreground));
}

.footer-badge-18 {
  background: hsl(var(--success) / 0.2);
  border: 1px solid hsl(var(--success) / 0.5);
  color: hsl(var(--success));
}

.footer-bottom {
  border-top: 1px solid hsl(var(--neon-purple) / 0.3);
  padding-top: 1.5rem;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
}

/* Blog Page Specific */
.blog-hero {
  position: relative;
  padding-top: 6rem;
  padding-bottom: 4rem;
  overflow: hidden;
}

@media (min-width: 768px) {
  .blog-hero {
    padding-top: 8rem;
    padding-bottom: 6rem;
  }
}

.blog-search {
  max-width: 36rem;
  margin: 0 auto;
  position: relative;
}

.blog-search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1.25rem;
  height: 1.25rem;
  color: hsl(var(--muted-foreground));
}

.blog-search input {
  width: 100%;
  padding: 1rem 1rem 1rem 3rem;
  background: hsl(var(--card) / 0.8);
  border: 1px solid hsl(var(--neon-purple) / 0.3);
  border-radius: var(--radius);
  color: hsl(var(--foreground));
  font-size: 1rem;
  transition: border-color 0.2s ease;
}

.blog-search input:focus {
  outline: none;
  border-color: hsl(var(--gold));
}

.blog-search input::placeholder {
  color: hsl(var(--muted-foreground));
}

/* Blog Categories */
.blog-categories {
  padding: 1.5rem 0;
  border-bottom: 1px solid hsl(var(--neon-purple) / 0.2);
}

.blog-categories-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.blog-category {
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  background: hsl(var(--card) / 0.5);
  border: 1px solid hsl(var(--neon-purple) / 0.3);
  color: hsl(var(--muted-foreground));
}

.blog-category:hover {
  color: hsl(var(--foreground));
}

.blog-category.active {
  background: var(--gradient-gold);
  color: hsl(var(--primary-foreground));
  border-color: transparent;
}

/* Blog Grid */
#blog-grid {
  display: grid;
  gap: 1.5rem;
  padding: 3rem 0;
}

@media (min-width: 768px) {
  #blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  #blog-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Blog Card */
.blog-card {
  display: block;
  background: hsl(var(--card) / 0.5);
  border-radius: 0.75rem;
  overflow: hidden;
  border: 1px solid hsl(var(--neon-purple) / 0.2);
  transition: all 0.3s ease;
}

.blog-card:hover {
  border-color: hsl(var(--gold) / 0.5);
}

.blog-card-image {
  aspect-ratio: 16/9;
  overflow: hidden;
}

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

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

.blog-card-content {
  padding: 1.25rem;
}

.blog-card-category {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: var(--gradient-gold);
  color: hsl(var(--primary-foreground));
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 9999px;
  margin-bottom: 0.75rem;
}

.blog-card-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: hsl(var(--foreground));
  margin-bottom: 0.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s ease;
}

.blog-card:hover .blog-card-title {
  color: hsl(var(--gold));
}

.blog-card-summary {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
}

.blog-card-meta span {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.blog-card-meta svg {
  width: 0.875rem;
  height: 0.875rem;
}

/* Blog Loading */
#blog-loading {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 5rem 0;
}

.spinner {
  width: 2.5rem;
  height: 2.5rem;
  border: 3px solid hsl(var(--border));
  border-top-color: hsl(var(--primary));
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Blog Error */
#blog-error {
  text-align: center;
  padding: 5rem 0;
  color: hsl(var(--muted-foreground));
}

/* Blog Pagination */
#blog-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  padding: 2rem 0 4rem;
}

.pagination-btn {
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  background: hsl(var(--card) / 0.5);
  border: 1px solid hsl(var(--neon-purple) / 0.3);
  color: hsl(var(--muted-foreground));
  cursor: pointer;
  transition: all 0.2s ease;
}

.pagination-btn:hover:not(:disabled) {
  color: hsl(var(--foreground));
  border-color: hsl(var(--gold) / 0.5);
}

.pagination-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.pagination-btn svg {
  width: 1rem;
  height: 1rem;
}

.pagination-pages {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pagination-page {
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  background: hsl(var(--card) / 0.5);
  border: 1px solid hsl(var(--neon-purple) / 0.3);
  color: hsl(var(--muted-foreground));
}

.pagination-page:hover {
  color: hsl(var(--foreground));
}

.pagination-page.active {
  background: var(--gradient-gold);
  color: hsl(var(--primary-foreground));
  border-color: transparent;
}

.pagination-jump {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: 1rem;
}

.pagination-jump input {
  width: 4rem;
  padding: 0.5rem;
  text-align: center;
  background: hsl(var(--card) / 0.5);
  border: 1px solid hsl(var(--neon-purple) / 0.3);
  border-radius: 0.5rem;
  color: hsl(var(--foreground));
  font-size: 0.875rem;
}

.pagination-jump input:focus {
  outline: none;
  border-color: hsl(var(--gold));
}

.pagination-jump-btn {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

/* Noscript Fallback */
noscript .static-links {
  padding: 2rem;
}

noscript .static-links ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

noscript .static-links a {
  color: hsl(var(--gold));
  text-decoration: underline;
}

/* Category Emoji Mapping */
[data-category="🎰 Slot"] .blog-card-category,
[data-category="slot"] .blog-card-category { background: linear-gradient(135deg, hsl(280 80% 55%), hsl(320 90% 60%)); }

[data-category="⚽ Thể Thao"] .blog-card-category,
[data-category="sports"] .blog-card-category { background: linear-gradient(135deg, hsl(45 100% 50%), hsl(40 100% 38%)); }

[data-category="🎮 Live Game"] .blog-card-category,
[data-category="live-game"] .blog-card-category { background: linear-gradient(135deg, hsl(320 90% 60%), hsl(280 80% 55%)); }

[data-category="🎁 Khuyến Mãi"] .blog-card-category,
[data-category="promotion"] .blog-card-category { background: linear-gradient(135deg, hsl(48 100% 55%), hsl(40 100% 38%)); }

[data-category="📚 Hướng Dẫn"] .blog-card-category,
[data-category="guide"] .blog-card-category { background: linear-gradient(135deg, hsl(210 100% 60%), hsl(280 80% 55%)); }

/* Animations */
.fade-in {
  animation: fadeIn 0.6s ease-out forwards;
}

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

.slide-up {
  animation: slideUp 0.6s ease-out forwards;
}

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

.slide-down {
  animation: slideDown 0.6s ease-out forwards;
}

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

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

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

::-webkit-scrollbar-thumb {
  background: hsl(var(--gold) / 0.5);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: hsl(var(--gold) / 0.7);
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
}

.breadcrumb a {
  color: hsl(var(--muted-foreground));
  transition: color 0.2s ease;
}

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

.breadcrumb-separator {
  color: hsl(var(--muted-foreground));
}

.breadcrumb-current {
  color: hsl(var(--foreground));
}

/* Floating CTA */
.floating-cta {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 40;
}

.floating-cta .btn {
  box-shadow: var(--shadow-gold);
}

/* Internal Links Section */
.internal-links {
  padding: 3rem 0;
  background: hsl(var(--card) / 0.3);
  border-top: 1px solid hsl(var(--neon-purple) / 0.2);
}

.internal-links-title {
  font-size: 1.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 2rem;
}

.internal-links-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 768px) {
  .internal-links-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.internal-link {
  display: block;
  padding: 1rem;
  background: hsl(var(--card) / 0.5);
  border: 1px solid hsl(var(--neon-purple) / 0.2);
  border-radius: 0.75rem;
  text-align: center;
  transition: all 0.2s ease;
}

.internal-link:hover {
  border-color: hsl(var(--gold) / 0.5);
  background: hsl(var(--card) / 0.8);
}

.internal-link-title {
  font-weight: 600;
  color: hsl(var(--foreground));
  margin-bottom: 0.25rem;
}

.internal-link-desc {
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
}

/* ============= Cross Page Links (SEO Internal Linking) ============= */
.cross-links-section {
  padding: 4rem 0;
  background: linear-gradient(180deg, hsl(var(--background)), hsl(var(--card) / 0.3));
}

.cross-links-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.cross-links-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 640px) {
  .cross-links-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .cross-links-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.cross-link-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 1.25rem;
  background: hsl(var(--card) / 0.5);
  border: 1px solid hsl(var(--border) / 0.5);
  border-radius: 0.75rem;
  transition: all 0.3s ease;
}

.cross-link-card:hover {
  border-color: hsl(var(--gold) / 0.5);
  background: hsl(var(--card) / 0.7);
  box-shadow: 0 10px 30px hsl(var(--gold) / 0.1);
  transform: translateY(-2px);
}

.cross-link-card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.cross-link-card-icon {
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-neon);
  border-radius: 0.5rem;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.cross-link-card:hover .cross-link-card-icon {
  box-shadow: var(--shadow-neon);
}

.cross-link-card-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: hsl(var(--foreground));
  line-height: 1.3;
  transition: color 0.2s ease;
}

.cross-link-card:hover .cross-link-card-title {
  color: hsl(var(--gold));
}

.cross-link-card-desc {
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
  line-height: 1.5;
  margin-bottom: 0.75rem;
  flex-grow: 1;
}

.cross-link-keywords {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  margin-bottom: 0.75rem;
}

.cross-link-keyword {
  font-size: 0.625rem;
  padding: 0.125rem 0.375rem;
  background: hsl(var(--gold) / 0.1);
  color: hsl(var(--gold) / 0.8);
  border-radius: 0.25rem;
}

.cross-link-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.75rem;
  color: hsl(var(--gold));
  opacity: 0;
  transition: opacity 0.2s ease;
}

.cross-link-card:hover .cross-link-cta {
  opacity: 1;
}

/* Cross Links Inline Variant */
.cross-links-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.cross-link-inline {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.375rem 0.75rem;
  font-size: 0.875rem;
  background: hsl(var(--card) / 0.5);
  border: 1px solid hsl(var(--border) / 0.5);
  border-radius: 9999px;
  transition: all 0.2s ease;
}

.cross-link-inline:hover {
  border-color: hsl(var(--gold) / 0.5);
  color: hsl(var(--gold));
}

.cross-link-inline .cross-link-icon {
  font-size: 0.875rem;
}

/* Cross Links Sidebar Variant */
.cross-links-sidebar {
  padding: 1rem;
  background: hsl(var(--card) / 0.3);
  border: 1px solid hsl(var(--border) / 0.3);
  border-radius: 0.75rem;
}

.cross-links-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
  font-weight: 700;
  color: hsl(var(--foreground));
  margin-bottom: 1rem;
}

.cross-links-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.cross-link-sidebar-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem;
  background: hsl(var(--card) / 0.4);
  border: 1px solid hsl(var(--border) / 0.3);
  border-radius: 0.5rem;
  transition: all 0.2s ease;
}

.cross-link-sidebar-item:hover {
  border-color: hsl(var(--gold) / 0.5);
  background: hsl(var(--card) / 0.6);
}

.cross-link-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.cross-link-sidebar-item .cross-link-icon {
  font-size: 1rem;
}

.cross-link-name {
  font-size: 0.875rem;
  font-weight: 500;
  color: hsl(var(--foreground));
  transition: color 0.2s ease;
}

.cross-link-sidebar-item:hover .cross-link-name {
  color: hsl(var(--gold));
}

.cross-link-arrow {
  width: 1rem;
  height: 1rem;
  color: hsl(var(--muted-foreground));
  transition: color 0.2s ease;
}

.cross-link-sidebar-item:hover .cross-link-arrow {
  color: hsl(var(--gold));
}

/* Legal Content Pages */
.legal-content {
  color: hsl(var(--muted-foreground));
  line-height: 1.8;
  font-size: 0.95rem;
}
.legal-content h2 {
  color: hsl(var(--foreground));
}
.legal-content p {
  margin-bottom: 0.75rem;
}
.legal-content ul {
  margin-bottom: 1rem;
}
.legal-content li {
  margin-bottom: 0.4rem;
}
.legal-content strong {
  color: hsl(var(--foreground));
}

/* ========== E-E-A-T Signals ========== */

/* Author Box */
.author-box {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: hsl(var(--card) / 0.6);
  border: 1px solid hsl(var(--border) / 0.5);
  border-radius: var(--radius);
  margin-bottom: 1.5rem;
}
.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  color: hsl(var(--background));
  flex-shrink: 0;
}
.author-info {
  flex: 1;
}
.author-name {
  font-weight: 700;
  color: hsl(var(--foreground));
  font-size: 0.9375rem;
}
.author-role {
  font-size: 0.8125rem;
  color: hsl(var(--muted-foreground));
  line-height: 1.4;
}
.author-credentials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
  margin-top: 0.25rem;
}
.author-credential {
  font-size: 0.6875rem;
  padding: 0.125rem 0.5rem;
  background: hsl(var(--gold) / 0.1);
  color: hsl(var(--gold));
  border-radius: 9999px;
}

/* Article Meta (date + reading time) */
.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 0;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid hsl(var(--border) / 0.3);
  font-size: 0.8125rem;
  color: hsl(var(--muted-foreground));
}
.article-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
}
.article-meta-item svg {
  width: 14px;
  height: 14px;
  stroke: hsl(var(--gold));
}

/* Source Citations */
.sources-section {
  margin-top: 2.5rem;
  padding: 1.25rem 1.5rem;
  background: hsl(var(--card) / 0.4);
  border: 1px solid hsl(var(--border) / 0.3);
  border-radius: var(--radius);
}
.sources-title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: hsl(var(--foreground));
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.sources-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.sources-list li {
  font-size: 0.8125rem;
  color: hsl(var(--muted-foreground));
  padding: 0.375rem 0;
  border-bottom: 1px solid hsl(var(--border) / 0.15);
  line-height: 1.5;
}
.sources-list li:last-child {
  border-bottom: none;
}
.sources-list a {
  color: hsl(var(--gold));
  text-decoration: underline;
  text-underline-offset: 2px;
}
.sources-list a:hover {
  color: hsl(var(--gold-light));
}

/* Editorial Disclaimer */
.editorial-note {
  margin-top: 2rem;
  padding: 1rem 1.25rem;
  background: hsl(var(--muted) / 0.3);
  border-left: 3px solid hsl(var(--gold) / 0.5);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 0.8125rem;
  color: hsl(var(--muted-foreground));
  line-height: 1.6;
}
.editorial-note strong {
  color: hsl(var(--foreground));
}

/* Last Updated Badge */
.last-updated-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.75rem;
  color: hsl(var(--success));
  background: hsl(var(--success) / 0.1);
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  border: 1px solid hsl(var(--success) / 0.2);
}

/* Page updated date timestamp */
.page-updated-date {
  font-size: 0.85rem;
  color: #94a3b8;
  margin: 0.5rem 0 1.5rem;
}
.page-updated-date time {
  font-style: italic;
}
