/* Base styles from about.css with additions */
/* Apply consistent font to all elements */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

    :root {
      --dark-bg: #0a0e14;
      --darker-bg: #06090d;
      --card-bg: #131a25;
      --hacker-green: #00ff41;
      --neon-blue: #00d9ff;
      --text-light: #e0e0e0;
      --text-gray: #a0a0a0;
      --purple-accent: #9d4edd;
    }
    
    body {
      background-color: var(--dark-bg);
      color: var(--text-light);
      overflow-x: hidden;
      position: relative;
      background-image:
        radial-gradient(circle at 10% 20%, rgba(0, 255, 65, 0.03) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(0, 217, 255, 0.03) 0%, transparent 20%),
        linear-gradient(to bottom, var(--darker-bg), var(--dark-bg));
    }
    
    .scanline {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 10px;
      background: rgba(0, 255, 65, 0.15);
      box-shadow: 0 0 15px 5px rgba(0, 255, 65, 0.3);
      z-index: 1000;
      animation: scan 4s linear infinite;
    }
    
    @keyframes scan {
      0% { top: 0; }
      50% { top: 100%; }
      100% { top: 0; }
    }
    
    #matrix {
      position: fixed;
      top: 0;
      left: 0;
      width: 100vw;
      height: 100vh;
      pointer-events: none;
      z-index: -1;
      font-family: monospace;
      background: transparent;
      color: rgba(0, 255, 65, 0.7);
      user-select: none;
    }
    
    .container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 20px;
    }
    
    /* Header */
    header {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      padding: 20px 0;
      z-index: 100;
      backdrop-filter: blur(10px);
      background: rgba(10, 14, 20, 0.85);
      border-bottom: 1px solid rgba(0, 255, 65, 0.1);
      height: 80px;
      display: flex;
      align-items: center;
      transition: transform 0.4s ease, opacity 0.4s ease;
    }
    
    header.hide {
      transform: translateY(-100%);
      opacity: 0;
    }
    
    .header-container {
      display: flex;
      justify-content: space-between;
      align-items: center;
      width: 100%;
      padding: 0 30px;
    }
    
    .logo {
      display: flex;
      align-items: center;
      gap: 12px;
      text-decoration: none;
    }
    
    .logo-icon {
      width: 42px;
      height: 42px;
      border-radius: 10px;
      background: linear-gradient(135deg, var(--hacker-green), var(--neon-blue));
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 20px;
      color: var(--dark-bg);
    }
    
    .logo-text {
      font-size: 24px;
      font-weight: 700;
      background: linear-gradient(90deg, var(--hacker-green), var(--neon-blue));
      -webkit-background-clip: text;
      background-clip: text;
      -webkit-text-fill-color: transparent;
      letter-spacing: -0.5px;
    }
    
    nav ul {
      display: flex;
      list-style: none;
      gap: 35px;
    }
    
    nav a {
      text-decoration: none;
      color: var(--text-light);
      font-weight: 500;
      position: relative;
      padding: 5px 0;
      transition: all 0.3s ease;
    }
    
    nav a:hover,
    nav a.active {
      color: var(--hacker-green);
    }
    
    nav a::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      width: 0;
      height: 2px;
      background: var(--hacker-green);
      transition: width 0.3s ease;
    }
    
    nav a:hover::after,
    nav a.active::after {
      width: 100%;
    }
    
    .mobile-menu-btn {
      display: none;
      background: none;
      border: none;
      font-size: 24px;
      color: var(--text-light);
      cursor: pointer;
    }
    
    /* Hero Banner */
    .news-hero {
      background: linear-gradient(rgba(0, 0, 0, 0.7), url('https://images.unsplash.com/photo-1550751827-4bd374c3f58b?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1740&q=80')) center/cover no-repeat;
      height: 70vh;
      display: flex;
      align-items: center;
      justify-content: center;
      position: relative;
      padding-top: 80px;
    }
    
    .news-hero-overlay {
      width: 100%;
      height: 100%;
      display: flex;
      align-items: center;
      justify-content: center;
      text-align: center;
    }
    
    .news-hero-content {
      max-width: 800px;
      padding: 0 20px;
      opacity: 0;
      transform: translateX(50px);
      transition: opacity 0.8s ease, transform 0.8s ease;
      z-index: 2;
    }
    
    .news-hero-content.animate-in {
      opacity: 1;
      transform: translateX(0);
    }
    
    .news-hero-content h1 {
      font-size: clamp(2.8rem, 6vw, 4.5rem);
      font-weight: 800;
      margin-bottom: 20px;
      line-height: 1.1;
      text-shadow: 0 0 15px rgba(0, 255, 65, 0.5);
    }
    
    .news-hero-content p {
      font-size: 1.3rem;
      margin-bottom: 30px;
      color: var(--text-gray);
      max-width: 600px;
      margin-left: auto;
      margin-right: auto;
      line-height: 1.7;
    }
    
    /* News Content Layout */
    .news-content {
      display: flex;
      gap: 30px;
      padding: 80px 0;
      position: relative;
    }
    
    .main-news {
      flex: 3;
    }
    
    .news-sidebar {
      flex: 1;
      position: sticky;
      top: 100px;
      height: fit-content;
    }
    
    /* News Cards */
    .news-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
      gap: 30px;
      margin-bottom: 60px;
    }
    
    .news-card {
      background: var(--card-bg);
      border-radius: 16px;
      overflow: hidden;
      border: 1px solid rgba(0, 255, 65, 0.1);
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
      transition: transform 0.3s ease;
      opacity: 0;
      transform: translateY(40px);
    }
    
    .news-card.visible {
      opacity: 1;
      transform: translateY(0);
    }
    
    .news-card:hover {
      transform: translateY(-10px);
      border-color: var(--hacker-green);
    }
    
    .card-image {
      height: 200px;
      overflow: hidden;
    }
    
    .card-image img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.5s ease;
    }
    
    .news-card:hover .card-image img {
      transform: scale(1.1);
    }
    
    .card-content {
      padding: 25px;
    }
    
    .card-category {
      display: inline-block;
      background: linear-gradient(90deg, var(--purple-accent), var(--neon-blue));
      color: var(--dark-bg);
      font-size: 0.8rem;
      font-weight: 600;
      padding: 5px 15px;
      border-radius: 20px;
      margin-bottom: 15px;
    }
    
    .card-title {
      font-size: 1.4rem;
      margin-bottom: 15px;
      color: var(--text-light);
      line-height: 1.3;
    }
    
    .card-excerpt {
      color: var(--text-gray);
      margin-bottom: 20px;
      line-height: 1.6;
    }
    
    .card-meta {
      display: flex;
      justify-content: space-between;
      color: var(--text-gray);
      font-size: 0.9rem;
      border-top: 1px solid rgba(0, 255, 65, 0.1);
      padding-top: 15px;
    }
    
    /* Sidebar */
    .sidebar-widget {
      background: var(--card-bg);
      border-radius: 16px;
      padding: 25px;
      margin-bottom: 30px;
      border: 1px solid rgba(0, 255, 65, 0.1);
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    }
    
    .widget-title {
      font-size: 1.3rem;
      margin-bottom: 20px;
      color: var(--hacker-green);
      padding-bottom: 10px;
      border-bottom: 2px solid var(--purple-accent);
    }
    
    /* Auto-scrollable Ads */
    .ad-container {
      height: 400px;
      overflow: hidden;
      position: relative;
    }
    
    .ad-scroll {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      animation: scrollAds 30s linear infinite;
    }
    
    @keyframes scrollAds {
      0% { transform: translateY(0); }
      100% { transform: translateY(-100%); }
    }
    
    .ad-item {
      height: 180px;
      background: linear-gradient(135deg, var(--darker-bg), var(--card-bg));
      border: 1px solid rgba(0, 255, 65, 0.2);
      border-radius: 12px;
      margin-bottom: 20px;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      padding: 20px;
      text-align: center;
      position: relative;
      overflow: hidden;
    }
    
    .ad-item::before {
      content: '';
      position: absolute;
      top: -50%;
      left: -50%;
      width: 200%;
      height: 200%;
      background: linear-gradient(
        transparent,
        rgba(0, 255, 65, 0.1),
        transparent
      );
      transform: rotate(30deg);
      animation: shine 3s infinite;
    }
    
    @keyframes shine {
      0% { transform: rotate(30deg) translate(-50%, -50%); }
      100% { transform: rotate(30deg) translate(50%, 50%); }
    }
    
    .ad-title {
      font-size: 1.2rem;
      font-weight: 700;
      margin-bottom: 10px;
      background: linear-gradient(90deg, var(--hacker-green), var(--neon-blue));
      -webkit-background-clip: text;
      background-clip: text;
      -webkit-text-fill-color: transparent;
      z-index: 2;
    }
    
    .ad-content {
      font-size: 0.9rem;
      color: var(--text-gray);
      z-index: 2;
    }
    
    /* Updates Section */
    .updates-section {
      background: var(--card-bg);
      border-radius: 16px;
      padding: 40px;
      margin: 60px 0;
      border: 1px solid rgba(0, 255, 65, 0.1);
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    }
    
    .section-title {
      font-size: 2rem;
      margin-bottom: 30px;
      color: var(--hacker-green);
      text-align: center;
    }
    
    .update-list {
      display: flex;
      flex-direction: column;
      gap: 25px;
    }
    
    .update-item {
      display: flex;
      gap: 20px;
      padding: 20px;
      border-radius: 12px;
      background: rgba(0, 0, 0, 0.2);
      transition: transform 0.3s ease;
    }
    
    .update-item:hover {
      transform: translateX(10px);
      background: rgba(0, 255, 65, 0.05);
    }
    
    .update-icon {
      width: 50px;
      height: 50px;
      border-radius: 50%;
      background: linear-gradient(135deg, var(--purple-accent), var(--neon-blue));
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.2rem;
      flex-shrink: 0;
    }
    
    .update-content h3 {
      font-size: 1.2rem;
      margin-bottom: 8px;
    }
    
    .update-content p {
      color: var(--text-gray);
      line-height: 1.6;
    }
    
    /* Footer */
    footer {
      padding: 80px 0 40px;
      background: var(--darker-bg);
      border-top: 1px solid rgba(0, 255, 65, 0.1);
      color: var(--text-gray);
    }
    
    .footer-container {
      display: flex;
      flex-wrap: wrap;
      justify-content: space-between;
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 20px;
      gap: 30px;
    }
    
    .footer-box {
      flex: 1 1 220px;
      min-width: 220px;
    }
    
    .footer-box h3 {
      font-size: 1.2rem;
      margin-bottom: 20px;
      color: var(--hacker-green);
    }
    
    .footer-box p,
    .footer-box li {
      line-height: 1.6;
    }
    
    .footer-box ul {
      list-style: none;
      padding: 0;
    }
    
    .footer-box li {
      margin-bottom: 10px;
    }
    
    .footer-box a {
      text-decoration: none;
      color: var(--text-gray);
      transition: color 0.3s ease;
    }
    
    .footer-box a:hover {
      color: var(--hacker-green);
    }
    
    .footer-bottom {
      text-align: center;
      padding-top: 40px;
      border-top: 1px solid rgba(0, 255, 65, 0.1);
      font-size: 0.9rem;
      max-width: 1200px;
      margin: 40px auto 0;
    }
    
    /* Responsive */
    @media (max-width: 992px) {
      .news-content {
        flex-direction: column;
      }
      
      .news-sidebar {
        position: relative;
        top: 0;
      }
      
      .footer-container {
        flex-direction: column;
        align-items: center;
      }
      
      .footer-box {
        flex: 1 1 100%;
      }
    }
    
    @media (max-width: 768px) {
      .news-grid {
        grid-template-columns: 1fr;
      }
      
      nav ul {
        display: none;
      }
    
      .mobile-menu-btn {
        display: block;
      }
    }


