@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@300;400;500;600;700;800&display=swap');

/* --- Modern CSS reset and base styles --- */
@layer reset, base, theme, components, utilities;

@layer reset {
  *, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }

  body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
  }

  img, picture, video, canvas, svg {
    display: block;
    max-inline-size: 100%;
    block-size: auto;
  }

  input, button, textarea, select {
    font: inherit;
  }

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

@layer base {
  :root {
    color-scheme: dark;
    
    /* Design Tokens */
    --bg-primary: #000000;
    --bg-secondary: #08080a;
    --bg-tertiary: #111115;
    
    --accent-red: #ff1f3c;
    --accent-red-rgb: 255, 31, 60;
    --accent-gradient: linear-gradient(135deg, #ff1f3c, #990012);
    --accent-gradient-hover: linear-gradient(135deg, #ff4057, #b80018);
    
    --text-primary: #f5f5f7;
    --text-secondary: #a1a1aa;
    --text-muted: #71717a;
    
    --border-color: rgba(255, 31, 60, 0.12);
    --glass-bg: rgba(8, 8, 10, 0.85);
    --glass-border: rgba(255, 31, 60, 0.18);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.85);
    
    --font-sans: 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --transition-smooth: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  }

  body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-sans);
    line-height: 1.6;
  }

  h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    text-wrap: balance;
  }

  p {
    color: var(--text-secondary);
    text-wrap: pretty;
  }

  /* Custom scrollbars */
  scrollbar-color: var(--accent-red) var(--bg-secondary);
  scrollbar-width: thin;

  /* Focus rings */
  *:focus-visible {
    outline: 2px solid var(--accent-red);
    outline-offset: 4px;
  }
}

@layer theme {
  /* Dynamic gradient text */
  .text-gradient {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }
  
  /* Glassmorphic panel */
  .glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(16px) saturate(180%);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    border-radius: 16px;
  }
}

@layer components {
  /* Navigation Bar */
  .navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(8, 8, 12, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition-smooth);
  }
  
  .navbar-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.25rem 2rem;
    display: flex;
    justify-content: flex-end; /* Push links to right */
    align-items: center;
    position: relative;
  }

  /* Left-aligned brand logo wrapper */
  .brand-logo-link {
    margin-right: auto; /* Push navbar elements away to the right */
    display: flex;
    align-items: center;
  }

  .brand-logo {
    height: 48px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.5));
  }

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

  .nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition-smooth);
    position: relative;
    padding: 0.5rem 0;
  }

  .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gradient);
    transition: var(--transition-smooth);
  }

  .nav-link:hover, .nav-link.active {
    color: var(--text-primary);
  }

  .nav-link:hover::after, .nav-link.active::after {
    width: 100%;
  }

  /* Buttons */
  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 1.8rem;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: var(--transition-smooth);
    min-inline-size: 44px;
    min-block-size: 44px;
  }

  .btn-primary {
    background: var(--accent-gradient);
    color: var(--text-primary);
    box-shadow: 0 4px 20px rgba(255, 56, 80, 0.3);
  }

  .btn-primary:hover {
    background: var(--accent-gradient-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(255, 56, 80, 0.45);
  }

  .btn-secondary {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.1);
  }

  .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.25);
  }

  /* Hamburger Menu */
  .menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
    min-block-size: 44px;
    min-inline-size: 44px;
    justify-content: center;
    align-items: flex-end;
  }

  .bar {
    width: 25px;
    height: 2px;
    background-color: var(--text-primary);
    transition: var(--transition-smooth);
  }

  /* Hero Section */
  .hero-section {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 8rem 2rem 4rem;
    background: linear-gradient(rgba(8, 8, 12, 0.5), rgba(8, 8, 12, 0.95)), 
                url('../assets/hero_singer_bg.jpg') center 12% / cover no-repeat;
    overflow: hidden;
  }

  .hero-content {
    max-width: 800px;
    z-index: 2;
  }

  .hero-badge {
    display: inline-block;
    padding: 0.4rem 1.2rem;
    background: rgba(255, 56, 80, 0.15);
    border: 1px solid rgba(255, 56, 80, 0.3);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent-red);
    margin-bottom: 1.5rem;
  }

  .hero-title {
    font-size: clamp(2.5rem, 1.2rem + 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
  }

  .hero-desc {
    font-size: clamp(1.05rem, 0.9rem + 1vw, 1.25rem);
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
  }

  .hero-btns {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
  }

  /* Stats Section */
  .stats-section {
    padding: 4rem 2rem;
    background-color: var(--bg-secondary);
    border-block: 1px solid var(--border-color);
  }

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

  .stat-card {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }

  .stat-num {
    font-size: clamp(2.5rem, 2rem + 2vw, 3.5rem);
    font-weight: 800;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }

  .stat-label {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
  }

  /* Section Styles */
  .section {
    padding: 7rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
  }

  .section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 4.5rem;
  }

  .section-subtitle {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent-red);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.75rem;
    display: block;
  }

  .section-title {
    font-size: clamp(2rem, 1.5rem + 2vw, 3rem);
    font-weight: 800;
    margin-bottom: 1rem;
  }

  /* Features / Info Cards Grid */
  .events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr));
    gap: 2rem;
  }

  .event-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: var(--transition-smooth);
    height: 100%;
  }

  .event-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 56, 80, 0.25);
  }

  .event-img-wrapper {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background-color: var(--bg-tertiary);
  }

  .event-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
  }

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

  .event-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.35rem 0.9rem;
    background: rgba(8, 8, 12, 0.8);
    backdrop-filter: blur(8px);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent-red);
  }

  .event-card-body {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
  }

  .event-card-date {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
  }

  .event-card-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
  }

  .event-artists {
    margin-top: auto;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
  }

  .artist-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    list-style: none;
    margin-top: 0.5rem;
  }

  .artist-tag {
    font-size: 0.75rem;
    padding: 0.2rem 0.6rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    color: var(--text-secondary);
    font-weight: 500;
  }

  /* Gallery Grid */
  .gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
    gap: 1.5rem;
  }

  .gallery-item {
    position: relative;
    aspect-ratio: 1;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid var(--border-color);
    transition: var(--transition-smooth);
  }

  .gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(8, 8, 12, 0.8), transparent);
    opacity: 0;
    transition: var(--transition-smooth);
  }

  .gallery-item:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 30px rgba(0,0,0,0.4);
    border-color: rgba(255, 56, 80, 0.3);
  }

  .gallery-item:hover::after {
    opacity: 1;
  }

  .gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
  }

  .gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem;
    z-index: 2;
    opacity: 0;
    transform: translateY(10px);
    transition: var(--transition-smooth);
  }

  .gallery-item:hover .gallery-caption {
    opacity: 1;
    transform: translateY(0);
  }

  .gallery-caption h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
  }

  .gallery-caption p {
    font-size: 0.85rem;
    color: var(--text-secondary);
  }

  /* Testimonials/Featured Quote Slider */
  .slider-wrapper {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden;
    padding: 1rem;
  }

  .slide-container {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .slide {
    min-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 3rem 2rem;
  }

  .slide-quote {
    font-size: clamp(1.2rem, 1rem + 1vw, 1.75rem);
    font-weight: 500;
    line-height: 1.5;
    color: var(--text-primary);
    margin-bottom: 2rem;
    position: relative;
  }

  .slide-author-name {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--accent-red);
  }

  .slide-author-title {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
  }

  .slider-dots {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 2rem;
    list-style: none;
  }

  .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition-smooth);
    padding: 0;
  }

  .dot.active {
    background-color: var(--accent-red);
    transform: scale(1.2);
  }

  /* Contact and Map layout */
  .contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    gap: 4rem;
    margin-top: 2rem;
  }

  .contact-info {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
  }

  .info-item {
    display: flex;
    gap: 1.25rem;
  }

  .info-icon {
    font-size: 1.75rem;
    color: var(--accent-red);
    line-height: 1;
    margin-top: 0.2rem;
  }

  .info-details h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
  }

  .info-details p, .info-details a {
    font-size: 0.95rem;
    color: var(--text-secondary);
  }

  .contact-form {
    padding: 3rem;
  }

  .form-group {
    margin-bottom: 1.75rem;
  }

  .form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
  }

  .form-control {
    width: 100%;
    padding: 0.9rem 1.25rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    color: var(--text-primary);
    transition: var(--transition-smooth);
  }

  .form-control:focus {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--accent-red);
    outline: none;
    box-shadow: 0 0 15px rgba(255, 56, 80, 0.15);
  }

  textarea.form-control {
    resize: vertical;
    min-height: 120px;
  }

  .map-wrapper {
    margin-top: 5rem;
    height: 450px;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-color);
  }

  .map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: 0;
  }

  /* Lightbox Modal */
  .lightbox-modal {
    position: fixed;
    inset: 0;
    background: rgba(8, 8, 12, 0.95);
    z-index: 2000;
    display: none;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    opacity: 0;
    transition: opacity 0.3s ease;
  }

  .lightbox-modal.show {
    display: flex;
    opacity: 1;
  }

  .lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 80vh;
  }

  .lightbox-img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 10px 40px rgba(0,0,0,0.8);
  }

  .lightbox-close {
    position: absolute;
    top: -2.5rem;
    right: 0;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
  }

  .lightbox-caption {
    text-align: center;
    margin-top: 1rem;
    color: var(--text-secondary);
  }

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

  .footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
  }

  .footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
  }

  .footer-logo {
    height: 48px;
    width: auto;
    object-fit: contain;
    align-self: flex-start;
  }

  .footer-brand p {
    font-size: 0.95rem;
    max-width: 320px;
  }

  .footer-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
  }

  .footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
  }

  .footer-links a {
    color: var(--text-secondary);
    font-size: 0.95rem;
    transition: var(--transition-smooth);
  }

  .footer-links a:hover {
    color: var(--accent-red);
    padding-left: 4px;
  }

  .footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
  }

  .footer-bottom p {
    font-size: 0.85rem;
    color: var(--text-muted);
  }

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

  .social-icon {
    font-size: 1.25rem;
    color: var(--text-secondary);
    transition: var(--transition-smooth);
  }

  .social-icon:hover {
    color: var(--accent-red);
    transform: translateY(-2px);
  }

  /* Responsive helper components */
  .split-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
  }

  .spotlight-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    overflow: hidden;
    align-items: center;
    border-radius: 20px;
  }

  .spotlight-content {
    padding: 3.5rem 3.5rem 3.5rem 0;
  }
}

@layer utilities {
  /* Animation utilities */
  .fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s forwards ease;
  }

  @keyframes fadeInUp {
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  /* Utility alignments */
  .mt-4 { margin-top: 1.5rem; }
  .text-center { text-align: center; }
}

/* --- Media Queries for Responsiveness --- */
@media (max-width: 968px) {
  .navbar-container {
    padding: 1rem 1.5rem;
  }

  .menu-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 73px;
    left: 100%;
    width: 100%;
    height: calc(100vh - 73px);
    background: var(--bg-secondary);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    transition: var(--transition-smooth);
    border-top: 1px solid var(--border-color);
  }

  .nav-menu.active {
    left: 0;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .contact-form {
    padding: 2rem;
  }

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

  .footer-brand {
    grid-column: span 2;
  }

  /* Responsive overrides */
  .split-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .spotlight-card {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .spotlight-content {
    padding: 2.5rem !important;
  }
}

@media (max-width: 576px) {
  .footer-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-brand {
    grid-column: span 1;
  }

  .hero-btns {
    flex-direction: column;
    width: 100%;
  }

  .btn {
    width: 100%;
  }

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

  .spotlight-content {
    padding: 1.5rem !important;
  }
}

/* ==========================================================================
   Popup Banner Modal (Dashain Fest 2083)
   ========================================================================== */
.fest-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.4s;
}

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

.fest-popup-dialog {
  background: #0d0d12;
  border: 2px solid var(--accent-red);
  border-radius: 20px;
  max-width: 480px;
  width: 100%;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.95), 0 0 40px rgba(255, 31, 60, 0.25);
  position: relative;
  overflow: hidden;
  transform: scale(0.92) translateY(20px);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.fest-popup-overlay.active .fest-popup-dialog {
  transform: scale(1) translateY(0);
}

.fest-popup-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  font-size: 1.25rem;
  transition: var(--transition-smooth);
}

.fest-popup-close:hover {
  background: var(--accent-red);
  border-color: var(--accent-red);
  transform: rotate(90deg);
}

.fest-popup-banner-img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  display: block;
  background: #000;
}

.fest-popup-body {
  padding: 1.5rem 1.75rem 1.75rem;
  text-align: center;
  background: linear-gradient(180deg, rgba(13, 13, 18, 0.9) 0%, #08080a 100%);
}

.fest-badge {
  display: inline-block;
  background: var(--accent-gradient);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.85rem;
  border-radius: 20px;
  margin-bottom: 0.65rem;
}

.fest-popup-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.4rem;
  letter-spacing: -0.02em;
}

.fest-popup-subtitle {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
  line-height: 1.5;
}

.fest-popup-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.85rem;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 12px;
}

/* ==========================================================================
   Blog Styles
   ========================================================================== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 2rem;
}

.blog-card {
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.blog-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 31, 60, 0.4);
  box-shadow: 0 15px 35px rgba(255, 31, 60, 0.12);
}

.blog-img-wrap {
  width: 100%;
  aspect-ratio: 16/10;
  overflow: hidden;
  position: relative;
  background: #111;
}

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

.blog-card:hover .blog-img-wrap img {
  transform: scale(1.06);
}

.blog-cat-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(6px);
  border: 1px solid var(--border-color);
  color: #ff8b99;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.65rem;
  border-radius: 20px;
}

.blog-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-date-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.6rem;
}

.blog-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 0.75rem;
  color: #fff;
  transition: color 0.2s;
}

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

.blog-card-excerpt {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.blog-read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-red);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.blog-read-more:hover {
  text-decoration: underline;
}

/* Single Article Layout */
.article-container {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 1.5rem 5rem;
}

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

.article-cover {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid var(--border-color);
  margin-bottom: 2.5rem;
}

.article-content {
  font-size: 1.12rem;
  line-height: 1.85;
  color: #d1d1d6;
}

.article-content p {
  margin-bottom: 1.5rem;
}

.article-content h2, .article-content h3 {
  color: #fff;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.article-content ul, .article-content ol {
  margin-bottom: 1.5rem;
  padding-left: 1.75rem;
}

.article-content li {
  margin-bottom: 0.5rem;
}

.article-content blockquote {
  border-left: 4px solid var(--accent-red);
  padding: 1rem 1.5rem;
  background: rgba(255, 31, 60, 0.05);
  border-radius: 0 12px 12px 0;
  font-style: italic;
  font-size: 1.2rem;
  margin: 2rem 0;
  color: #fff;
}
