* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  :root {
    --primary: #d90429;
    --primary-dark: #a90320;
    --text: #171717;
    --muted: #666;
    --bg: #f5f6f8;
    --card: #ffffff;
    --border: #e5e5e5;
    --dark: #111827;
  }
  
  body {
    font-family: Arial, "Noto Sans Tamil", sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    transition: 0.3s;
  }
  
  a {
    text-decoration: none;
    color: inherit;
  }
  
  button,
  input {
    font: inherit;
  }
  
  .container {
    width: min(1200px, 92%);
    margin: auto;
  }
  
  /* HEADER */
  
  .header {
    background: #f0f0f0;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
  }
  
  .header-inner {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  
  .logo {
    display: flex;
    align-items: baseline;
    gap: 7px;
    font-weight: 900;
  }
  
  .logo-main {
    font-size: 34px;
    color: var(--primary);
    letter-spacing: -1px;
  }
  
  .logo-sub {
    font-size: 19px;
    color: var(--dark);
  }
  
  .header-actions {
    display: flex;
    gap: 10px;
  }
  
  .header-actions button {
    border: 0;
    background: #f1f1f1;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
  }
  
  /* BREAKING NEWS */
  
  .breaking {
    background: var(--primary);
    color: white;
  }
  
  .breaking-inner {
    min-height: 42px;
    display: flex;
    align-items: center;
    gap: 15px;
    overflow: hidden;
  }
  
  .breaking-label {
    background: white;
    color: var(--primary);
    font-size: 12px;
    font-weight: 900;
    padding: 5px 10px;
    border-radius: 4px;
    flex-shrink: 0;
  }
  
  .breaking-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  
  /* NAVBAR */
  
  .navbar {
    background: var(--dark);
    color: white;
  }
  
  .nav-inner {
    min-height: 54px;
    display: flex;
    align-items: center;
    gap: 22px;
  }
  
  .nav-inner > a {
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    transition: 0.2s;
  }
  
  .nav-inner > a:hover {
    color: #ffccd5;
  }
  
  .search-box {
    margin-left: auto;
    display: flex;
    background: white;
    border-radius: 5px;
    overflow: hidden;
    min-width: 230px;
  }
  
  .search-box input {
    width: 100%;
    border: 0;
    outline: none;
    padding: 9px 12px;
    color: #222;
  }
  
  .search-box button {
    border: 0;
    background: white;
    padding: 0 12px;
    cursor: pointer;
  }
  
  /* HERO */
  
  .hero {
    display: grid;
    grid-template-columns: 1.7fr 1fr;
    gap: 22px;
    margin: 30px 0;
  }
  
  .hero-main {
    background: var(--card);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.06);
  }
  
  .hero-image {
    height: 320px;
    display: grid;
    place-items: center;
    font-size: 100px;
    background: linear-gradient(135deg, #e9ecef, #d9dde2);
  }
  
  .hero-content {
    padding: 25px;
  }
  
  .category {
    display: inline-block;
    color: var(--primary);
    font-size: 12px;
    font-weight: 800;
    margin-bottom: 8px;
  }
  
  .hero-content h1 {
    font-size: 31px;
    line-height: 1.25;
    margin-bottom: 12px;
  }
  
  .hero-content p {
    color: var(--muted);
    margin-bottom: 20px;
  }
  
  .read-btn {
    border: 0;
    background: var(--primary);
    color: white;
    padding: 11px 18px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 700;
  }
  
  .read-btn:hover {
    background: var(--primary-dark);
  }
  
  /* SIDE NEWS */
  
  .side-news {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }
  
  .news-card {
    background: var(--card);
    padding: 14px;
    border-radius: 10px;
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 14px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.05);
  }
  
  .card-image {
    height: 100px;
    border-radius: 8px;
    display: grid;
    place-items: center;
    background: #eceff2;
    font-size: 38px;
  }
  
  .news-card h3 {
    font-size: 16px;
    line-height: 1.35;
    margin-bottom: 8px;
  }
  
  .news-card small,
  .article-card small {
    color: #888;
    font-size: 11px;
  }
  
  /* SECTION */
  
  .section {
    margin: 45px 0;
  }
  
  .section-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
    border-left: 5px solid var(--primary);
    padding-left: 12px;
  }
  
  .section-title h2 {
    font-size: 24px;
  }
  
  .section-title a {
    color: var(--primary);
    font-size: 13px;
    font-weight: 700;
  }
  
  /* NEWS GRID */
  
  .news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
  
  .article-card {
    background: var(--card);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.25s, box-shadow 0.25s;
  }
  
  .article-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.1);
  }
  
  .article-image {
    height: 180px;
    display: grid;
    place-items: center;
    font-size: 65px;
    background: #e9ecef;
  }
  
  .article-content {
    padding: 18px;
  }
  
  .article-content h3 {
    font-size: 18px;
    line-height: 1.4;
    margin-bottom: 8px;
  }
  
  .article-content p {
    color: var(--muted);
    font-size: 14px;
    margin-bottom: 12px;
  }
  
  /* VIDEO */
  
  .video-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
  
  .video-card {
    background: var(--card);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.05);
  }
  
  .video-placeholder {
    height: 190px;
    display: grid;
    place-items: center;
    background: #20242b;
    color: white;
    font-size: 50px;
  }
  
  .video-card h3 {
    padding: 15px;
    font-size: 17px;
  }
  
  /* FOOTER */
  
  .footer {
    background: var(--dark);
    color: white;
    margin-top: 60px;
  }
  
  .footer-grid {
    padding: 45px 0;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
  }
  
  .footer-logo {
    font-size: 25px;
    font-weight: 900;
    color: #ff4d6d;
    margin-bottom: 10px;
  }
  
  .footer p {
    color: #bfc5cf;
    max-width: 400px;
  }
  
  .footer h3 {
    margin-bottom: 12px;
  }
  
  .footer a {
    display: block;
    color: #cbd0d8;
    font-size: 14px;
    margin: 7px 0;
  }
  
  .footer a:hover {
    color: white;
  }
  
  .copyright {
    border-top: 1px solid #303744;
    text-align: center;
    padding: 18px;
    color: #aeb4bf;
    font-size: 12px;
  }
  
  /* DARK MODE */
  
  body.dark {
    --text: #f5f5f5;
    --muted: #b8b8b8;
    --bg: #0b0f14;
    --card: #151a21;
    --border: #292f38;
    --dark: #05070a;
  }
  
  body.dark .header {
    background: #11161d;
  }
  
  body.dark .header-actions button {
    background: #242a33;
    color: white;
  }
  
  body.dark .hero-image,
  body.dark .card-image,
  body.dark .article-image {
    background: #242a33;
  }
  
  /* MOBILE */
  
  #menuBtn {
    display: none;
  }
  
  @media (max-width: 1000px) {
    .nav-inner {
      gap: 14px;
      overflow-x: auto;
    }
  
    .nav-inner > a {
      font-size: 13px;
    }
  
    .hero {
      grid-template-columns: 1fr;
    }
  
    .news-grid,
    .video-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  }
  
  @media (max-width: 700px) {
  
    .header-inner {
      min-height: 68px;
    }
  
    .logo-main {
      font-size: 27px;
    }
  
    .logo-sub {
      font-size: 15px;
    }
  
    #menuBtn {
      display: block;
    }
  
    .navbar {
      display: none;
    }
  
    .navbar.active {
      display: block;
    }
  
    .nav-inner {
      padding: 15px 0;
      display: flex;
      flex-direction: column;
      align-items: stretch;
      overflow: visible;
    }
  
    .search-box {
      width: 100%;
      margin: 5px 0 0;
    }
  
    .breaking-inner {
      min-height: 38px;
    }
  
    .breaking-text {
      font-size: 12px;
    }
  
    .hero {
      margin: 18px 0;
    }
  
    .hero-image {
      height: 220px;
    }
  
    .hero-content h1 {
      font-size: 24px;
    }
  
    .news-grid,
    .video-grid {
      grid-template-columns: 1fr;
    }
  
    .footer-grid {
      grid-template-columns: 1fr;
      gap: 25px;
    }
  }
  
  @media (max-width: 450px) {
  
    .container {
      width: 94%;
    }
  
    .news-card {
      grid-template-columns: 80px 1fr;
    }
  
    .card-image {
      height: 80px;
    }
  
    .section-title h2 {
      font-size: 20px;
    }
  }