/* BJ88 Static Site Styles */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Roboto:wght@400;500;700;900&display=swap');

/* CSS Variables - Design Tokens */
:root {
  --background: hsl(200 20% 8%);
  --foreground: hsl(180 100% 97%);
  --card: hsl(200 25% 12%);
  --card-foreground: hsl(180 100% 97%);
  --primary: hsl(175 80% 45%);
  --primary-foreground: hsl(200 20% 8%);
  --secondary: hsl(0 85% 55%);
  --secondary-foreground: hsl(0 0% 100%);
  --muted: hsl(200 20% 18%);
  --muted-foreground: hsl(180 20% 65%);
  --accent: hsl(45 100% 55%);
  --accent-foreground: hsl(200 20% 8%);
  --border: hsl(200 20% 20%);
  --radius: 0.75rem;
  
  /* Brand Colors */
  --brand-cyan: hsl(175 80% 45%);
  --brand-cyan-light: hsl(175 80% 55%);
  --brand-red: hsl(0 85% 55%);
  --brand-red-dark: hsl(0 85% 45%);
  --brand-gold: hsl(45 100% 55%);
  --brand-dark: hsl(200 20% 8%);
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--brand-cyan) 0%, var(--brand-cyan-light) 100%);
  --gradient-red: linear-gradient(135deg, var(--brand-red-dark) 0%, var(--brand-red) 100%);
  --gradient-gold: linear-gradient(135deg, hsl(45 100% 45%) 0%, var(--brand-gold) 100%);
  --gradient-hero: linear-gradient(135deg, var(--brand-dark) 0%, hsl(200 25% 15%) 50%, var(--brand-dark) 100%);
  
  /* Shadows */
  --shadow-cyan: 0 0 40px hsla(175 80% 45% / 0.4);
  --shadow-gold: 0 0 30px hsla(45 100% 55% / 0.3);
  --shadow-card: 0 10px 40px hsla(0 0% 0% / 0.5);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Roboto', sans-serif;
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  min-height: 100vh;
}

/* Typography */
.font-bebas {
  font-family: 'Bebas Neue', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Bebas Neue', sans-serif;
  font-weight: 400;
  line-height: 1.2;
}

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

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

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

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

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

/* Gradient Text */
.text-gradient-cyan {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

/* Background Gradients */
.bg-gradient-hero {
  background: var(--gradient-hero);
}

.bg-gradient-red {
  background: var(--gradient-red);
  position: relative;
  overflow: hidden;
}

.bg-gradient-red::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 200%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    hsla(45 100% 55% / 0.08) 25%,
    hsla(175 80% 45% / 0.1) 50%,
    hsla(45 100% 55% / 0.08) 75%,
    transparent 100%
  );
  animation: flowingLight 8s linear infinite;
  pointer-events: none;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

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

.btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: var(--shadow-cyan);
}

.btn-gold {
  background: var(--gradient-gold);
  color: var(--accent-foreground);
  font-weight: 600;
}

.btn-gold:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

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

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

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

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

/* Cards */
.card {
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: all 0.3s ease;
}

.card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
}

.card-body {
  padding: 1.5rem;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: var(--gradient-red);
  border-bottom: 1px solid hsla(0 0% 100% / 0.1);
  padding: 0 1rem;
}

.navbar-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
  max-width: 1400px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .navbar-content {
    height: 5rem;
  }
}

.navbar-logo {
  height: 2.5rem;
  width: auto;
  filter: drop-shadow(0 0 8px hsla(45 100% 55% / 0.6));
  animation: logoFloat 3s ease-in-out infinite;
}

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

.navbar-nav {
  display: none;
  list-style: none;
  gap: 2rem;
}

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

.navbar-nav a {
  color: var(--secondary-foreground);
  opacity: 0.9;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.875rem;
}

.navbar-nav a:hover {
  opacity: 1;
  color: var(--secondary-foreground);
}

.navbar-buttons {
  display: none;
  gap: 1rem;
}

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

.mobile-menu-btn {
  display: block;
  padding: 0.5rem;
  background: none;
  border: none;
  color: var(--secondary-foreground);
  cursor: pointer;
}

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

.mobile-menu {
  display: none;
  padding: 1rem 0;
  border-top: 1px solid hsla(0 0% 100% / 0.2);
}

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

.mobile-menu ul {
  list-style: none;
}

.mobile-menu li {
  padding: 0.75rem 0;
}

.mobile-menu a {
  color: var(--secondary-foreground);
  text-transform: uppercase;
}

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

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1s ease;
}

.hero-bg.active {
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, hsla(200 20% 8% / 0.8), hsla(200 20% 8% / 0.6), var(--background));
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: hsla(200 20% 18% / 0.8);
  backdrop-filter: blur(8px);
  border-radius: 9999px;
  padding: 0.5rem 1rem;
  margin-bottom: 1.5rem;
  border: 1px solid hsla(175 80% 45% / 0.3);
}

.hero-badge-icon {
  width: 1rem;
  height: 1rem;
  color: var(--primary);
}

.hero-badge-text {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--foreground);
}

.hero-title {
  font-size: 3rem;
  margin-bottom: 1rem;
}

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

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

.hero-description {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  max-width: 42rem;
  margin: 0 auto 2rem;
}

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

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

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

.hero-stat-value {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.875rem;
  color: var(--primary);
}

@media (min-width: 768px) {
  .hero-stat-value {
    font-size: 2.25rem;
  }
}

.hero-stat-label {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.hero-cta {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}

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

.hero-indicators {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2.5rem;
}

.hero-indicator {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 9999px;
  background: hsla(180 20% 65% / 0.3);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.hero-indicator.active {
  background: var(--primary);
  width: 2rem;
}

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

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

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

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

.section-subtitle {
  color: var(--muted-foreground);
  max-width: 42rem;
  margin: 0 auto;
}

/* Game Cards */
.games-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1.5rem;
}

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

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

.game-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--border);
  transition: all 0.5s ease;
}

.game-card:hover {
  border-color: var(--primary);
  transform: translateY(-8px);
  box-shadow: var(--shadow-cyan);
}

.game-card-image {
  position: relative;
  height: 12rem;
  overflow: hidden;
}

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

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

.game-card-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--card) 0%, hsla(200 25% 12% / 0.5) 50%, transparent 100%);
}

.game-card-content {
  padding: 1.5rem;
}

.game-card-category {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.game-card-title {
  font-size: 1.5rem;
  color: var(--foreground);
  margin-bottom: 0.5rem;
  transition: color 0.3s ease;
}

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

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

.game-card-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--primary);
  transition: gap 0.3s ease;
}

.game-card:hover .game-card-link {
  gap: 0.75rem;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 2rem;
}

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

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

.feature-card {
  position: relative;
  background: hsla(200 25% 12% / 0.5);
  backdrop-filter: blur(8px);
  border-radius: var(--radius);
  padding: 2rem;
  border: 1px solid var(--border);
  transition: all 0.5s ease;
}

.feature-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
}

.feature-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 0.75rem;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-cyan);
  transition: transform 0.3s ease;
}

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

.feature-icon svg {
  width: 1.75rem;
  height: 1.75rem;
  color: var(--primary-foreground);
}

.feature-title {
  font-size: 1.25rem;
  color: var(--foreground);
  margin-bottom: 0.75rem;
  transition: color 0.3s ease;
}

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

.feature-description {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.7;
}

/* FAQ Section */
.faq-list {
  max-width: 48rem;
  margin: 0 auto;
}

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

.faq-item.active {
  border-color: var(--primary);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  color: var(--foreground);
  font-size: 1rem;
  text-align: left;
  cursor: pointer;
  transition: color 0.3s ease;
}

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

.faq-question-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  background: hsla(175 80% 45% / 0.1);
  border-radius: 9999px;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.875rem;
  margin-right: 0.75rem;
  flex-shrink: 0;
}

.faq-question-text {
  flex: 1;
}

.faq-icon {
  width: 1.25rem;
  height: 1.25rem;
  transition: transform 0.3s ease;
}

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

.faq-answer {
  display: none;
  padding: 0 1.5rem 1.25rem 4rem;
  color: var(--muted-foreground);
  font-size: 0.9375rem;
  line-height: 1.7;
}

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

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

.cta-content {
  max-width: 56rem;
  margin: 0 auto;
  text-align: center;
}

.cta-stars {
  display: flex;
  justify-content: center;
  gap: 0.25rem;
  margin-bottom: 1.5rem;
}

.cta-stars svg {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--accent);
  fill: var(--accent);
}

.cta-title {
  font-size: 2rem;
  color: var(--secondary-foreground);
  margin-bottom: 1rem;
}

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

.cta-description {
  color: hsla(0 0% 100% / 0.8);
  font-size: 1.125rem;
  margin-bottom: 2rem;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

.cta-promo {
  display: inline-block;
  background: hsla(200 20% 8% / 0.1);
  backdrop-filter: blur(8px);
  border-radius: var(--radius);
  padding: 1.5rem 2rem;
  border: 1px solid hsla(0 0% 100% / 0.2);
  margin-bottom: 2rem;
}

.cta-promo-items {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

@media (min-width: 768px) {
  .cta-promo-items {
    flex-direction: row;
    gap: 2rem;
  }
}

.cta-promo-item {
  text-align: center;
}

.cta-promo-value {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.5rem;
  color: var(--accent);
}

@media (min-width: 768px) {
  .cta-promo-value {
    font-size: 3rem;
  }
}

.cta-promo-label {
  font-size: 0.875rem;
  color: hsla(0 0% 100% / 0.8);
}

.cta-promo-divider {
  width: 1px;
  height: 3rem;
  background: hsla(0 0% 100% / 0.3);
  display: none;
}

@media (min-width: 768px) {
  .cta-promo-divider {
    display: block;
  }
}

/* Footer */
.footer {
  background: var(--gradient-red);
  border-top: 1px solid hsla(0 0% 100% / 0.1);
  padding: 4rem 0 2rem;
}

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

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

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

.footer-brand p {
  color: hsla(0 0% 100% / 0.7);
  font-size: 0.875rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social a {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  background: hsla(0 0% 100% / 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: hsla(0 0% 100% / 0.7);
  transition: all 0.3s ease;
}

.footer-social a:hover {
  background: hsla(0 0% 100% / 0.2);
  color: var(--secondary-foreground);
}

.footer-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.25rem;
  color: var(--secondary-foreground);
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: hsla(0 0% 100% / 0.7);
  font-size: 0.875rem;
  transition: color 0.3s ease;
}

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

.footer-bottom {
  border-top: 1px solid hsla(0 0% 100% / 0.2);
  padding-top: 2rem;
}

.footer-legal {
  background: hsla(0 0% 100% / 0.05);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.footer-legal-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.125rem;
  color: var(--secondary-foreground);
  margin-bottom: 0.75rem;
}

.footer-legal-text {
  color: hsla(0 0% 100% / 0.6);
  font-size: 0.75rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.footer-legal-text:last-child {
  margin-bottom: 0;
}

.footer-copyright {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  text-align: center;
}

@media (min-width: 768px) {
  .footer-copyright {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.footer-copyright-text {
  color: hsla(0 0% 100% / 0.6);
  font-size: 0.875rem;
}

.footer-legal-links {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-legal-links span {
  color: hsla(0 0% 100% / 0.6);
  font-size: 0.75rem;
}

.footer-legal-links a {
  color: hsla(0 0% 100% / 0.6);
  font-size: 0.75rem;
}

.footer-legal-links a:hover {
  color: var(--secondary-foreground);
}

.footer-age-badge {
  background: hsla(0 0% 100% / 0.1);
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  font-weight: 700;
}

/* Blog Grid */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 2rem;
}

@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 {
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}

.blog-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
}

.blog-card-image {
  position: relative;
  height: 12rem;
  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.1);
}

.blog-card-category {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: hsla(175 80% 45% / 0.9);
  color: var(--primary-foreground);
  font-size: 0.75rem;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
}

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

.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.75rem;
  color: var(--muted-foreground);
  margin-bottom: 0.75rem;
}

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

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

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

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

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

.blog-card-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--primary);
  transition: gap 0.3s ease;
}

.blog-card:hover .blog-card-link {
  gap: 0.75rem;
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-top: 3rem;
}

.pagination-btn {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--foreground);
  cursor: pointer;
  transition: all 0.3s ease;
}

.pagination-btn:hover:not(:disabled) {
  background: var(--muted);
  border-color: var(--primary);
}

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

.pagination-info {
  padding: 0 1rem;
  color: var(--muted-foreground);
}

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

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

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

/* Loading & Error States */
.loading-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem;
  gap: 1rem;
}

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

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

.error-container {
  text-align: center;
  padding: 3rem;
}

.error-text {
  color: var(--secondary);
  margin-bottom: 1rem;
}

/* Category Filter */
.category-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  padding: 2rem 0;
  background: hsla(200 20% 18% / 0.3);
}

.category-btn {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--foreground);
  cursor: pointer;
  transition: all 0.3s ease;
}

.category-btn:hover {
  background: var(--muted);
  border-color: var(--primary);
}

.category-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--primary-foreground);
}

/* Breadcrumbs */
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-bottom: 1rem;
}

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

.breadcrumbs a:hover {
  text-decoration: underline;
}

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

/* Utility Classes */
.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.text-accent { color: var(--accent); }
.text-muted { color: var(--muted-foreground); }

.hidden { display: none; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

@keyframes logoFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

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

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

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 3rem;
  height: 3rem;
  background: var(--primary);
  color: var(--primary-foreground);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 40;
  box-shadow: var(--shadow-cyan);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-4px);
}

/* Noscript Fallback */
noscript .blog-list-static {
  display: block;
}

noscript .blog-list-static ul {
  list-style: disc;
  padding-left: 1.5rem;
}

noscript .blog-list-static li {
  margin-bottom: 0.5rem;
}

noscript .blog-list-static a {
  color: var(--primary);
}
