/* release.css */

/* Custom Animations */
@keyframes slideUp {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
  }
  .animate-slide-up {
    animation: slideUp 0.5s ease-out forwards;
  }
  
  /* Scroll Progress Bar - Updated */
  #scrollProgress {
    position: fixed;
    top: 60px;
    left: 0;
    width: 100%;
    height: 2px;
    background: rgba(0, 0, 0, 0.05);
    z-index: 40;
    border-radius: 2px;
    transition: all 0.3s ease-in-out;
  }
  body.sidebar-open #scrollProgress {
    left: 220px;
    width: calc(100% - 220px);
    border-radius: 0 2px 2px 0;
  }
  #scrollProgressBar {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-purple));
    border-radius: 0 2px 2px 0;
    transition: width 0.2s ease;
  }
  
  /* Fluid Typography */
  h1 {
    font-size: clamp(2.5rem, 6vw, 5rem);
    line-height: 1.1;
  }
  h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
  }
  .prose p {
    margin-bottom: 1.25rem;
    line-height: 1.75;
  }
  
  /* Updated Colors */
  :root {
    --main-bg: #ffffff;
    --text-primary: rgb(13,13,13);
    --accent-blue: rgb(99, 134, 248);
    --accent-purple: rgb(150, 210, 220);
    --hover-bg: rgb(236,236,236);
    --border-light: #d1d5db;
    --card-bg: rgba(250, 250, 250, 0.95);
  }
  body.dark-mode {
    --accent-blue: rgb(70, 118, 220);
    --accent-purple: rgb(120, 183, 190);
    --card-bg: rgba(40, 40, 40, 0.95);
  }
  
/* Much smaller preview image */
.news-preview-image {
    width: 100%;
    height: 100px;
    object-fit: cover;
    border-radius: 0.75rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  }
  
  /* Smaller button */
  .preview-button {
    padding: 0.375rem 1rem;
    font-size: 0.75rem;
  }
  /* Modern Section Styling */
  .news-section {
    background: var(--main-bg);
    border-radius: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  .news-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  }
  
  /* Gradient Header Accent */
  .gradient-header {
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-purple));
  }
  
  /* Featured Image */
  .featured-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  }
  
  /* Buttons */
  .action-button {
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-purple));
    padding: 1rem 2.5rem;
    border-radius: 9999px;
    color: white;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  .action-button:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  }
  
  /* Interactive Controls */
  .control-button {
    background: var(--hover-bg);
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease, transform 0.3s ease;
  }
  .control-button:hover {
    background: var(--selector-hover-bg);
    transform: scale(1.1);
  }
  
  /* Footer CTA */
  .footer-cta {
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-purple));
    color: white;
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
  }
  .footer-cta a {
    color: white;
    font-weight: 600;
    text-decoration: underline;
    transition: opacity 0.3s ease;
  }
  .footer-cta a:hover {
    opacity: 0.8;
  }
  
  /* Enhanced Feature Cards */
  .feature-card {
    background: var(--card-bg);
    border-radius: 1rem;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
  }
  .feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    background: var(--main-bg);
  }
  .feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-purple));
    opacity: 0;
    transition: opacity 0.3s ease;
  }
  .feature-card:hover::before {
    opacity: 1;
  }
  .feature-card svg {
    transition: transform 0.3s ease;
  }
  .feature-card:hover svg {
    transform: scale(1.1);
  }
  
  /* Additional styles for header and main container */
  .main-container {
    margin-left: 0;
    transition: margin-left 0.3s ease-in-out;
  }
  body.sidebar-open .main-container {
    margin-left: 220px;
  }
  .header {
    left: 0;
    right: 0;
    transition: left 0.3s ease-in-out;
  }
  body.sidebar-open .header {
    left: 220px;
  }

  .feature-card {
    background: var(--card-bg);
    border-radius: 1rem;
    padding: 2rem;
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
  }
  
  .feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
  }
  
  .action-button {
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-purple));
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    color: white;
    transition: all 0.3s ease;
  }
  
  .action-button:hover {
    background: linear-gradient(90deg, var(--accent-purple), var(--accent-blue));
  }