:root {
  --dark-bg: #000000;
  --darker-bg: #0a0a0a;
  --card-bg: rgba(15, 15, 15, 0.95);
  --gold-primary: #D4AF37;
  --gold-secondary: #FFD700;
  --gold-dark: #B8860B;
  --gold-light: #F5DEB3;
  --gold-glow: rgba(212, 175, 55, 0.6);
  --text-color: #ffffff;
  --text-muted: #cccccc;
  --border-color: rgba(212, 175, 55, 0.3);
  --shadow-gold: 0 0 30px rgba(212, 175, 55, 0.4);
  --shadow-gold-intense: 0 0 50px rgba(212, 175, 55, 0.8);
}

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

body {
  font-family: 'Inter', sans-serif;
  background: var(--dark-bg);
  color: var(--text-color);
  overflow-x: hidden;
  line-height: 1.6;
}

/* Loading Screen */
.loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #000000 0%, #1a1a1a 50%, #000000 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.8s ease-out;
}

.loader-content {
  text-align: center;
  animation: loaderPulse 2s infinite ease-in-out;
}

.loader-logo {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
  font-size: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--gold-primary) 0%, var(--gold-secondary) 100%);
  border-radius: 50%;
  color: #000;
  animation: logoSpin 2s linear infinite;
  box-shadow: var(--shadow-gold-intense);
}

.loader-text {
  font-family: 'Cinzel', serif;
  font-size: 1rem;
  color: var(--gold-primary);
  margin-bottom: 15px;
  text-shadow: 0 0 20px var(--gold-glow);
}

.loader-bar {
  width: 250px;
  height: 3px;
  background: rgba(212, 175, 55, 0.2);
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  border-radius: 2px;
}

.loader-bar::after {
  content: '';
  position: absolute;
  left: -80px;
  top: 0;
  height: 100%;
  width: 80px;
  background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
  animation: loading 1.5s infinite;
}

@keyframes loaderPulse {
  0%, 100% { transform: scale(1); opacity: 0.9; }
  50% { transform: scale(1.02); opacity: 1; }
}

@keyframes logoSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes loading {
  0% { left: -80px; }
  100% { left: 100%; }
}

/* 3D Canvas Background */
#hero-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  transition: all 0.3s ease;
  height: 70px;
}

.header.scrolled {
  background: rgba(0, 0, 0, 0.95);
  box-shadow: var(--shadow-gold);
}

.header-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2rem;
  height: 100%;
  position: relative;
}

.logo {
  font-family: 'Cinzel', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--gold-primary);
  text-shadow: 0 0 20px var(--gold-glow);
  letter-spacing: 2px;
  z-index: 1001;
  position: relative;
}

.nav {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.nav a {
  color: var(--text-color);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
  padding: 0.5rem 0;
  font-size: 0.95rem;
}

.nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold-primary);
  transition: width 0.3s ease;
}

.nav a:hover {
  color: var(--gold-primary);
  text-shadow: 0 0 10px var(--gold-glow);
}

.nav a:hover::after {
  width: 100%;
}

.nav-login {
  padding: 0.6rem 1.2rem !important;
  border: 1px solid var(--gold-primary);
  border-radius: 25px;
  transition: all 0.3s ease;
  font-size: 0.9rem !important;
}

.nav-login:hover {
  background: var(--gold-primary);
  color: #000;
  box-shadow: var(--shadow-gold);
}

.nav-register {
  padding: 0.6rem 1.2rem !important;
  background: linear-gradient(135deg, var(--gold-primary) 0%, var(--gold-secondary) 100%);
  color: #000;
  border-radius: 25px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-gold);
  font-size: 0.9rem !important;
}

.nav-register:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold-intense);
}

/* Mobile Menu */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 0.5rem;
  gap: 4px;
  z-index: 1002;
  background: none;
  border: none;
  position: relative;
}

.mobile-menu-toggle span {
  width: 25px;
  height: 3px;
  background: var(--gold-primary);
  transition: all 0.3s ease;
  border-radius: 2px;
  transform-origin: center;
}

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

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

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

.mobile-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.mobile-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 70px 2rem 0;
  position: relative;
  z-index: 1;
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-content {
  text-align: left;
  animation: heroSlideIn 1s ease-out;
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1.2rem;
  background: linear-gradient(135deg, var(--gold-primary) 0%, var(--gold-secondary) 50%, var(--gold-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: titleGlow 3s ease-in-out infinite alternate;
}

.hero-subtitle {
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  color: var(--text-muted);
  margin-bottom: 1.8rem;
  line-height: 1.6;
}

.player-counter {
  color: var(--gold-primary);
  font-weight: 700;
  text-shadow: 0 0 10px var(--gold-glow);
}

.hero-buttons {
  display: flex;
  gap: 1.2rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.8rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  border: none;
  cursor: pointer;
  min-width: 160px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold-primary) 0%, var(--gold-secondary) 100%);
  color: #000;
  box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-gold-intense);
}

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

.btn-secondary:hover {
  background: var(--gold-primary);
  color: #000;
  box-shadow: var(--shadow-gold);
}

.btn-shine {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.6s ease;
}

.btn:hover .btn-shine {
  left: 100%;
}

.hero-badges {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.badge {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid var(--border-color);
  border-radius: 25px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--gold-light);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.badge i {
  color: var(--gold-primary);
  font-size: 0.85rem;
}

.badge:hover {
  background: rgba(212, 175, 55, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero-logo-container {
  position: relative;
  width: 300px;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-logo-container img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 30px var(--gold-glow));
  animation: logoFloat 4s ease-in-out infinite;
}

/* Crime Feed */
.crime-feed {
  background: linear-gradient(135deg, rgba(10, 10, 10, 0.9) 0%, rgba(20, 20, 20, 0.9) 100%);
  padding: 2rem;
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.crime-feed-container {
  max-width: 1400px;
  margin: 0 auto;
}

.crime-feed-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.crime-feed-header h2 {
  font-family: 'Cinzel', serif;
  font-size: 1.8rem;
  color: var(--gold-primary);
  margin-bottom: 0.5rem;
  text-shadow: 0 0 20px var(--gold-glow);
}

.crime-feed-items {
  background: rgba(0, 0, 0, 0.5);
  border-radius: 15px;
  padding: 1.5rem;
  border: 1px solid var(--border-color);
}

.crime-feed-alert {
  background: linear-gradient(135deg, #8B0000 0%, #ff4444 100%);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 1rem;
  animation: alertPulse 2s infinite;
}

.crime-feed-scroll {
  max-height: 180px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--gold-primary) transparent;
}

.crime-event {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.7rem;
  border-bottom: 1px solid rgba(212, 175, 55, 0.1);
  transition: all 0.3s ease;
}

.crime-event:hover {
  background: rgba(212, 175, 55, 0.05);
}

.crime-event-icon {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--gold-primary) 0%, var(--gold-secondary) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000;
  font-size: 0.9rem;
}

.crime-event-content {
  flex: 1;
}

.crime-event-text {
  color: var(--text-color);
  margin-bottom: 0.2rem;
  font-size: 0.85rem;
}

.crime-event-time {
  color: var(--text-muted);
  font-size: 0.7rem;
}

/* Features Section */
.features {
  padding: 3rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

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

.section-header h2 {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  color: var(--gold-primary);
  margin-bottom: 1rem;
  text-shadow: 0 0 20px var(--gold-glow);
}

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

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

.feature-card {
  background: var(--card-bg);
  padding: 1.8rem;
  border-radius: 20px;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(20px);
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, transparent 0%, rgba(212, 175, 55, 0.1) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

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

.feature-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--gold-primary) 0%, var(--gold-secondary) 100%);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
  font-size: 1.5rem;
  color: #000;
  box-shadow: var(--shadow-gold);
}

.feature-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  color: var(--gold-primary);
  margin-bottom: 0.8rem;
}

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

/* Stats Section */
.stats {
  background: linear-gradient(135deg, rgba(10, 10, 10, 0.9) 0%, rgba(20, 20, 20, 0.9) 100%);
  padding: 2.5rem 2rem;
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.stats-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  text-align: center;
}

.stat-item {
  padding: 1.2rem;
}

.stat-number {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--gold-primary);
  text-shadow: 0 0 20px var(--gold-glow);
  margin-bottom: 0.5rem;
  display: block;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* FAQ Section */
.faq {
  padding: 3rem 2rem;
  max-width: 1000px;
  margin: 0 auto;

  backdrop-filter: blur(20px);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.faq-items {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
  backdrop-filter: blur(20px);
}

.faq-item:hover {
  border-color: var(--gold-primary);
  box-shadow: 0 5px 20px rgba(212, 175, 55, 0.2);
}

.faq-item summary {
  padding: 1.5rem;
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--gold-primary);
  cursor: pointer;
  list-style: none;
  position: relative;
  transition: all 0.3s ease;
  border-bottom: 1px solid transparent;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--gold-primary);
  transition: transform 0.3s ease;
}

.faq-item[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
}

.faq-item[open] summary {
  border-bottom-color: var(--border-color);
  background: rgba(212, 175, 55, 0.05);
}

.faq-content {
  padding: 0 1.5rem 1.5rem;
  color: var(--text-muted);
  line-height: 1.6;
  animation: fadeInDown 0.3s ease;
}

.faq-content p {
  margin: 0;
  font-size: 0.95rem;
}

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

/* CTA Section */
.cta {
  padding: 3rem 2rem;
  text-align: center;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.9) 0%, rgba(10, 10, 10, 0.9) 100%);
}

.cta-content {
  max-width: 800px;
  margin: 0 auto;
}

.cta h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  color: var(--gold-primary);
  margin-bottom: 1.2rem;
  text-shadow: 0 0 30px var(--gold-glow);
}

.cta p {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.cta-note {
  margin-top: 1.2rem;
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* Footer */
.footer {
  background: var(--darker-bg);
  padding: 2.5rem 2rem 1rem;
  border-top: 1px solid var(--border-color);
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 1.5rem;
}

.footer-logo h3 {
  font-family: 'Cinzel', serif;
  font-size: 1.4rem;
  color: var(--gold-primary);
  margin-bottom: 0.8rem;
  text-shadow: 0 0 15px var(--gold-glow);
}

.footer-logo p {
  color: var(--text-muted);
  margin-bottom: 1.2rem;
  font-size: 0.9rem;
}

.social-links {
  display: flex;
  gap: 0.8rem;
}

.social-links a {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--gold-primary) 0%, var(--gold-secondary) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.social-links a:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-gold);
}

.footer-column h4 {
  color: var(--gold-primary);
  margin-bottom: 0.8rem;
  font-size: 0.95rem;
}

.footer-column ul {
  list-style: none;
}

.footer-column ul li {
  margin-bottom: 0.4rem;
}

.footer-column ul li a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: 0.85rem;
}

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

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

/* Animations */
@keyframes heroSlideIn {
  0% {
      opacity: 0;
      transform: translateX(-30px);
  }
  100% {
      opacity: 1;
      transform: translateX(0);
  }
}

@keyframes titleGlow {
  0% {
      filter: drop-shadow(0 0 20px var(--gold-glow));
  }
  100% {
      filter: drop-shadow(0 0 40px var(--gold-glow));
  }
}

@keyframes logoFloat {
  0%, 100% {
      transform: translateY(0px) rotate(0deg);
  }
  50% {
      transform: translateY(-10px) rotate(1deg);
  }
}

@keyframes alertPulse {
  0%, 100% {
      opacity: 1;
      transform: scale(1);
  }
  50% {
      opacity: 0.8;
      transform: scale(1.02);
  }
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .header-container {
      padding: 0 1rem;
  }

  .logo {
      font-size: 1.5rem;
      z-index: 1001;
  }

  .nav {
      position: fixed;
      top: 0;
      right: -100%;
      width: 280px;
      height: 100vh;
      background: linear-gradient(to bottom, #000000 0%, #1a1a1a 100%);
      flex-direction: column;
      justify-content: flex-start;
      align-items: flex-start;
      padding: 5rem 2rem 2rem;
      gap: 1.5rem;
      transition: right 0.4s ease;
      border-left: 1px solid var(--border-color);
      z-index: 999;
  }

  .nav.active {
      right: 0;
  }

  .nav a {
      width: 100%;
      padding: 1rem 0;
      font-size: 1.1rem;
      border-bottom: 1px solid rgba(212, 175, 55, 0.1);
  }

  .mobile-menu-toggle {
      display: flex;
  }

  .hero {
      min-height: 90vh;
      padding: 80px 1rem 1rem;
  }

  .hero-container {
      grid-template-columns: 1fr;
      gap: 2rem;
      text-align: center;
  }

  .hero-content {
      text-align: center;
      order: 2;
  }

  .hero-visual {
      order: 1;
  }

  .hero-logo-container {
      width: 200px;
      height: 200px;
  }

  .hero-buttons {
      justify-content: center;
      flex-direction: column;
      align-items: center;
  }

  .btn {
      width: 100%;
      max-width: 250px;
  }

  .hero-badges {
      justify-content: center;
  }

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

  .feature-card {
      padding: 1.5rem;
  }

  .stats-container {
      grid-template-columns: repeat(2, 1fr);
      gap: 1.2rem;
  }

  .crime-feed {
      padding: 1.5rem 1rem;
  }

  .faq {
      padding: 2rem 1rem;
  }

  .faq-item summary {
      padding: 1.2rem;
      font-size: 1rem;
  }

  .faq-content {
      padding: 0 1.2rem 1.2rem;
  }

  .footer-content {
      grid-template-columns: 1fr;
      gap: 1.5rem;
      text-align: center;
  }
}

@media (max-width: 480px) {
  .hero {
      padding: 70px 0.5rem 1rem;
      min-height: 85vh;
  }

  .stats-container {
      grid-template-columns: 1fr;
      gap: 1rem;
  }

  .hero-logo-container {
      width: 160px;
      height: 160px;
  }

  .header-container {
      padding: 0 0.5rem;
  }

  .logo {
      font-size: 1.3rem;
  }
}


.color-feed {
  color: var(--gold-primary);
  font-weight: 700;
  font-size: 1.3rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  letter-spacing: 0.5px;

}

.color-feed-user {
  color: var(--gold-dark);
  font-weight: 700;
  font-size: 1.3rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  letter-spacing: 0.5px;

}

.color-feed-doel {
  color: var(--gold-light);
  font-weight: 700;
  font-size: 1.3rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  letter-spacing: 0.5px;

}

.credits {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

.credits a {
  color: var(--gold-primary);
  text-decoration: none;
  transition: opacity 0.2s;
}

.credits a:hover {
  text-decoration: underline;
  opacity: 0.9;
}

.install-banner {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--card-bg);
  border: 1px solid var(--gold-primary);
  border-radius: 10px;
  padding: 12px;
  display: none;
  align-items: center;
  gap: 15px;
  max-width: 90%;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.install-content {
  display: flex;
  align-items: center;
  gap: 12px;
}

.install-content h4 {
  color: var(--gold-primary);
  margin-bottom: 4px;
}

.install-btn {
  background: var(--gold-primary);
  color: #000;
  border: none;
  padding: 8px 16px;
  border-radius: 20px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}

.dismiss-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0 8px;
}


/* Blog Hero Section */
.blog-hero {
  padding: 3rem 2rem;
  text-align: center;
  background: linear-gradient(135deg, rgba(10, 10, 10, 0.9) 0%, rgba(20, 20, 20, 0.9) 100%);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 2rem;
}

.blog-hero h1 {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  color: var(--gold-primary);
  margin-bottom: 0.8rem;
  text-shadow: 0 0 20px var(--gold-glow);
}

.blog-hero p {
  color: var(--text-muted);
  font-size: 1.1rem;
}



.posts-slider-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.posts-slider-header h2 {
  font-family: 'Cinzel', serif;
  font-size: 1.5rem;
  color: var(--gold-primary);
  text-shadow: 0 0 15px var(--gold-glow);
}

.slider-controls {
  display: flex;
  gap: 0.8rem;
}

.slider-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid var(--border-color);
  color: var(--gold-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.slider-btn:hover {
  background: rgba(212, 175, 55, 0.3);
  box-shadow: 0 0 15px var(--gold-glow);
}

.slider-container {
  position: relative;
  overflow: hidden;
}




.post-image-container {
  height: 160px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
 
  overflow: hidden;
  position: relative;
  border-radius: 15px 15px 0 0;
}

.post-image {
  padding-top:10px;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
  margin: auto;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}





/* Fallback for no image */
.post-image-placeholder {
  font-family: 'Cinzel', serif;
  color: var(--gold-primary);
  font-size: 1.2rem;
  padding: 1rem;
  text-align: center;
}

.post-content {
  padding: 1.2rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.post-title {
  font-size: 1rem; /* Smaller title */
  margin-bottom: 0.6rem;
  line-height: 1.3;
}

.post-excerpt {
  font-size: 0.8rem; /* Smaller text */
  -webkit-line-clamp: 3; /* Limit to 3 lines */
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .post-card {
    min-width: 240px;
    width: 240px;
    height: 340px;
  }
  
  .post-image-container {
    height: 120px;
  }
  
  .post-title {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .post-card {
    min-width: 220px;
    width: 220px;
    height: 320px;
  }
  
  .post-image-container {
    height: 110px;
  }
}


/* Single Post Page Styles */
.post-page {
  background: var(--dark-bg);
  color: var(--text-color);
  min-height: 100vh;
  padding-bottom: 3rem;
}

.post-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.post-header {
  padding: 5rem 0 2rem;
  text-align: center;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 2rem;
}

.post-title1 {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  color: var(--gold-primary);
  margin-bottom: 1rem;
  line-height: 1.3;
  text-shadow: 0 0 15px var(--gold-glow);
}

.post-meta {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.post-meta span {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.post-meta i {
  color: var(--gold-primary);
  font-size: 0.8rem;
}

.post-featured-image {
  width: 100%;
  max-height: 500px;
  object-fit: contain;
  border-radius: 10px;
  margin: 2rem 0;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-gold);
  background: var(--darker-bg);
  padding: 0.5rem;
}

.post-body {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-color);
}

.post-body h2, 
.post-body h3, 
.post-body h4 {
  font-family: 'Playfair Display', serif;
  color: var(--gold-primary);
  margin: 2rem 0 1rem;
}

.post-body h2 {
  font-size: 1.8rem;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 0.5rem;
}

.post-body h3 {
  font-size: 1.5rem;
}

.post-body p {
  margin-bottom: 1.2rem;
}

.post-body a {
  color: var(--gold-secondary);
  text-decoration: none;
  border-bottom: 1px dotted var(--gold-primary);
  transition: all 0.3s ease;
}

.post-body a:hover {
  color: var(--gold-primary);
  border-bottom: 1px solid var(--gold-primary);
}

.post-body img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 1.5rem auto;
  display: block;
  border: 1px solid var(--border-color);
}

.post-body blockquote {
  border-left: 3px solid var(--gold-primary);
  padding-left: 1.5rem;
  margin: 1.5rem 0;
  color: var(--gold-light);
  font-style: italic;
}

.post-body ul,
.post-body ol {
  margin: 1rem 0 1rem 1.5rem;
}

.post-body li {
  margin-bottom: 0.5rem;
}

.post-footer {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--gold-primary);
  text-decoration: none;
  padding: 0.5rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: 25px;
  transition: all 0.3s ease;
}

.back-link:hover {
  background: rgba(212, 175, 55, 0.1);
  box-shadow: var(--shadow-gold);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .post-header {
    padding: 3rem 0 1.5rem;
  }
  
  .post-featured-image {
    max-height: 300px;
  }
  
  .post-body {
    font-size: 1rem;
  }
  
  .post-body h2 {
    font-size: 1.5rem;
  }
  
  .post-body h3 {
    font-size: 1.3rem;
  }
}

@media (max-width: 480px) {
  .post-container {
    padding: 0 1rem;
  }
  
  .post-meta {
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
  }
  
  .post-featured-image {
    max-height: 250px;
    margin: 1.5rem 0;
  }
}

/* Optimized Slider CSS */
.posts-slider {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1rem;
}

.slider-container {
  width: 100%;
  overflow: visible;
}

.posts-track {
  display: flex;
  gap: 1rem;
  padding: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  cursor: grab;
}

.posts-track::-webkit-scrollbar {
  display: none;
}

.post-card {
  scroll-snap-align: start;
  flex: 0 0 75%;
  min-width: 0;
  height: 360px;
  background: var(--card-bg);
  border-radius: 15px;
  border: 1px solid var(--border-color);
  user-select: none;
  max-width:350px;
}

/* Mobile Peek Effect */
@media (max-width: 768px) {
  .posts-track {
    padding: 1rem 1.5rem;
  }
  
  .post-card {
    flex: 0 0 65%;
  }
  
  .posts-track::after {
    content: '';
    flex: 0 0 1rem;
  }
}

.post-card {
  scroll-snap-align: start;
  flex: 0 0 75%;
  min-width: 0;
  height: 360px; /* Fixed height */
  background: var(--card-bg);
  border-radius: 15px;
  border: 1px solid var(--border-color);
  user-select: none;
  max-width: 350px;
  display: flex;
  flex-direction: column;
  position: relative;
}

.post-content {
  padding: 1.2rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.post-title {
  font-size: 1rem;
  margin-bottom: 0.6rem;
  line-height: 1.3;
  flex-shrink: 0;
}

/* Button container that pushes to bottom */
.post-button-container {
  margin-top: auto; /* This pushes the button to the bottom */
  padding-top: 1rem;
  flex-shrink: 0;
}

/* Ensure consistent image container height */
.post-image-container {
  height: 160px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  border-radius: 15px 15px 0 0;
  flex-shrink: 0; /* Prevent image from shrinking */
}

/* Button styles for consistency */
.btn {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  background: rgba(212, 175, 55, 0.1);
  color: var(--gold-primary);
  text-decoration: none;
  border: 1px solid var(--border-color);
  border-radius: 25px;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  text-align: center;
  width: 100%;
  box-sizing: border-box;
}

.btn:hover {
  background: rgba(212, 175, 55, 0.3);
  box-shadow: 0 0 15px var(--gold-glow);
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .post-card {
      flex: 0 0 65%;
      height: 340px; /* Slightly smaller on mobile */
  }
  
  .post-image-container {
      height: 120px;
  }
  
  .post-content {
      padding: 1rem;
  }
}

@media (max-width: 480px) {
  .post-card {
      flex: 0 0 80%;
      height: 320px;
  }
  
  .post-image-container {
      height: 110px;
  }
  
  .btn {
      padding: 0.5rem 1rem;
      font-size: 0.85rem;
  }
}

/* If you want to add excerpt text in the future */
.post-excerpt {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin-bottom: 1rem;
  flex-grow: 1;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.dropdown {
  position: relative;
  display: inline-block;
}
.dropdown-toggle {
  background: none;
  border: none;
  cursor: pointer;
}
.dropdown-menu {
  display: none;
  position: absolute;
  z-index: 1000;
  background: var(--gold-primary);

  padding: 5px;
}
.dropdown:hover .dropdown-menu {
  display: block;
}