
    :root {
      --primary: #c60000;
      --secondary: #181818;
      --accent: #292929;
      --text: #f5f5f5;
      --muted: #aaa;
      --shard-color: #4a86e8; /* New color for shards */
    }

    html { scroll-behavior: smooth; }

    body {
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
      background: #0e0e0e;
      color: var(--text);
      margin: 0;
      padding: 0;
      line-height: 1.6;
    }

    header {
      background: var(--secondary);
      padding: 15px 20px;
      border-bottom: 3px solid var(--primary);
      display: flex;
      align-items: center;
      justify-content: space-between;
      flex-wrap: wrap;
    }

    header h1 {
      font-size: 1.5rem;
      display: flex;
      align-items: center;
      gap: 8px;
      color: var(--text);
      margin: 0;
    }

    header p {
      color: var(--muted);
      font-size: 0.85rem;
      margin-top: 4px;
    }

    nav ul {
      list-style: none;
      display: flex;
      gap: 15px;
      margin: 0;
      padding: 0;
    }

    nav a {
      color: var(--text);
      text-decoration: none;
      position: relative;
      font-size: 0.9rem;
      font-weight: 500;
    }

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

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

    .hero {
      text-align: center;
      padding: 40px 20px;
      background: linear-gradient(180deg, var(--accent), var(--secondary));
    }

    .hero h1 { 
      font-size: 2.2rem; 
      margin-bottom: 10px; 
    }

    .hero p {
      max-width: 700px;
      margin: 0 auto 15px;
      color: var(--muted);
      font-size: 1.05rem;
    }

    .month-display {
      margin-top: 15px;
      display: inline-block;
      padding: 6px 12px;
      border: 1px solid var(--primary);
      border-radius: 5px;
      font-weight: bold;
      color: var(--primary);
      font-size: 0.9rem;
    }

    .container {
      max-width: 1200px;
      margin: auto;
      padding: 15px;
    }

    .section-title {
      margin: 30px 0 15px;
      font-size: 1.8rem;
      border-left: 4px solid var(--primary);
      padding-left: 12px;
    }

    .section-subtitle {
      font-size: 1.2rem;
      color: var(--muted);
      margin: 20px 0 10px;
    }

    .coupon-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
      gap: 20px;
    }

    .coupon-card {
      background: var(--secondary);
      border: 1px solid #2a2a2a;
      border-radius: 8px;
      padding: 20px;
      transition: transform 0.3s, box-shadow 0.3s;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      position: relative;
    }

    .coupon-card:hover {
      transform: translateY(-4px);
      box-shadow: 0 0 10px rgba(198, 0, 0, 0.4);
    }

    .shard-card {
      border-left: 4px solid var(--shard-color);
    }

    .shard-badge {
      position: absolute;
      top: 10px;
      right: 10px;
      background: var(--shard-color);
      color: white;
      padding: 2px 6px;
      border-radius: 4px;
      font-size: 0.6rem;
      font-weight: bold;
    }

    .coupon-header {
      font-size: 1.1rem;
      font-weight: bold;
      margin-bottom: 10px;
      color: var(--primary);
      line-height: 1.3;
    }

    .shard-header {
      color: var(--shard-color);
    }

    .coupon-desc {
      color: var(--muted);
      font-size: 0.9rem;
      margin-bottom: 15px;
      line-height: 1.4;
    }

    .coupon-code {
      text-align: center;
      background: #1d1d1d;
      border: 1px dashed var(--primary);
      padding: 10px;
      border-radius: 5px;
      font-size: 1.1rem;
      font-family: monospace;
      letter-spacing: 1px;
      margin-bottom: 15px;
      overflow: hidden;
      text-overflow: ellipsis;
      cursor: pointer;
    }

    .shard-code {
      border-color: var(--shard-color);
    }

    .coupon-code:hover {
      background: #252525;
    }

    .btn {
      background: var(--primary);
      color: white;
      border: none;
      padding: 10px;
      border-radius: 4px;
      cursor: pointer;
      font-weight: bold;
      transition: background 0.3s;
      width: 100%;
      font-size: 0.95rem;
    }

    .btn-shard {
      background: var(--shard-color);
    }

    .btn-shard:hover {
      background: #5a96f0;
    }

    .btn:hover { background: #e00000; }

    .coupon-meta {
      margin-top: 12px;
      display: flex;
      justify-content: space-between;
      font-size: 0.8rem;
      color: var(--muted);
    }

    .coupon-meta i { font-size: 0.75rem; }

    .ad-container {
      margin: 30px 0;
      background: var(--secondary);
      border: 1px solid #333;
      border-radius: 5px;
      text-align: center;
      padding: 20px;
    }

    .ad-placeholder {
      height: 90px;
      background: repeating-linear-gradient(45deg, #222, #2a2a2a 20px);
      color: var(--muted);
      display: flex;
      justify-content: center;
      align-items: center;
      border-radius: 4px;
      font-size: 0.9rem;
    }

    footer {
      margin-top: 50px;
      background: var(--secondary);
      padding: 30px;
      border-top: 3px solid var(--primary);
      text-align: center;
      color: var(--muted);
      font-size: 0.9rem;
    }

    .search-box {
      width: 100%;
      max-width: 400px;
      margin-bottom: 20px;
      position: relative;
    }

    .search-box input {
      width: 100%;
      box-sizing: border-box;
      padding: 12px 15px 12px 40px;
      border-radius: 5px;
      border: 1px solid #333;
      background: var(--accent);
      color: var(--text);
      font-size: 1rem;
    }

    .search-box i {
      position: absolute;
      left: 15px;
      top: 50%;
      transform: translateY(-50%);
      color: var(--muted);
    }

    .no-results {
      text-align: center;
      padding: 30px;
      color: var(--muted);
      font-style: italic;
      grid-column: 1 / -1;
    }

    .filters {
      display: flex;
      gap: 10px;
      margin-bottom: 20px;
      flex-wrap: wrap;
    }

    .filter-btn {
      padding: 8px 15px;
      background: var(--accent);
      border: 1px solid #333;
      border-radius: 4px;
      color: var(--text);
      cursor: pointer;
      transition: all 0.3s;
    }

    .filter-btn:hover, .filter-btn.active {
      background: var(--primary);
      border-color: var(--primary);
    }

    .filter-btn.shard-active {
      background: var(--shard-color);
      border-color: var(--shard-color);
    }

    .pagination {
      display: flex;
      justify-content: center;
      margin: 30px 0;
      gap: 5px;
    }

    .pagination button {
      padding: 8px 15px;
      background: var(--accent);
      border: 1px solid #333;
      border-radius: 4px;
      color: var(--text);
      cursor: pointer;
    }

    .pagination button.active {
      background: var(--primary);
      border-color: var(--primary);
    }

    .toast {
      position: fixed;
      bottom: 20px;
      right: 20px;
      padding: 12px 20px;
      background: #4CAF50;
      color: white;
      border-radius: 4px;
      box-shadow: 0 2px 10px rgba(0,0,0,0.2);
      opacity: 0;
      transition: opacity 0.3s;
      z-index: 1000;
    }

    .toast.show {
      opacity: 1;
    }

    .faq-item {
      margin-bottom: 20px;
      border-bottom: 1px solid #333;
      padding-bottom: 15px;
    }

    .faq-question {
      font-weight: bold;
      color: var(--primary);
      margin-bottom: 8px;
      cursor: pointer;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .faq-answer {
      color: var(--muted);
    }

    .last-updated {
      text-align: right;
      font-size: 0.85rem;
      color: var(--muted);
      margin-bottom: 20px;
    }

    @media (max-width: 768px) {
      .coupon-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 15px; }
      header { flex-direction: column; gap: 10px; }
      nav ul { gap: 10px; }
      .hero h1 { font-size: 1.8rem; }
      .section-title { font-size: 1.5rem; }
    }

    @media (max-width: 480px) {
      .coupon-grid { grid-template-columns: 1fr; }
      .hero h1 { font-size: 1.6rem; }
      .filters { flex-direction: column; }
      .search-box {
        max-width: 100%;
      }
      .search-box input {
        font-size: 0.95rem;
        padding: 10px 12px 10px 36px;
      }
    }
