      * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
      }

      body {
        font-family: "Cairo", "Inter", sans-serif;
        background: hsl(220 25% 8% / 1);
        color: #fff;
        overflow-x: hidden;
      }

      /* Grid Background */
      body::before {
        content: "";
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-size: 50px 50px;
        pointer-events: none;
        z-index: 0;
      }

      /* Navigation */
      nav {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 1.5rem 5%;
        position: fixed;
        width: 100%;
        top: 0;
        backdrop-filter: blur(10px);
        z-index: 1000;
        border-bottom: 1px solid rgba(124, 58, 237, 0.1);
        background: rgba(10, 14, 39, 0.8);
      }

      .logo {
        display: flex;
        align-items: center;
        cursor: pointer;
        transition: transform 0.3s ease;
      }

      .logo:hover {
        transform: scale(1.05);
      }

      .logo img {
        height: 40px;
        width: auto;
        max-width: 150px;
        object-fit: contain;
      }

      .nav-links {
        display: flex;
        gap: 2rem;
        list-style: none;
      }

      .nav-links a {
        color: #fff;
        text-decoration: none;
        transition: color 0.3s;
      }

      .nav-links a:hover,
      .nav-links a.active {
        color: #7c3aed;
      }

      .nav-btn {
        background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
        color: white;
        border: none;
        padding: 0.7rem 1.5rem;
        border-radius: 8px;
        cursor: pointer;
        font-weight: 600;
        transition: transform 0.3s;
      }

      .nav-btn:hover {
        transform: translateY(-2px);
      }

      /* Main Content */
      .main-content {
        margin-top: 5rem;
        padding: 2rem 5%;
        position: relative;
        z-index: 1;
      }

      .page-header {
        text-align: center;
        padding: 2rem 0 3rem;
      }

      .page-title {
        font-size: 3rem;
        margin-bottom: 1rem;
      }

      .highlight {
        background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
      }

      .page-subtitle {
        color: #94a3b8;
        font-size: 1.1rem;
      }

      /* Filters */
      .filters-section {
        display: flex;
        gap: 1rem;
        margin-bottom: 2rem;
        flex-wrap: wrap;
        align-items: center;
      }

      .search-box {
        flex: 1;
        min-width: 250px;
        position: relative;
      }

      .search-input {
        width: 100%;
        padding: 0.8rem 2.5rem 0.8rem 1rem;
        border-radius: 10px;
        border: 1px solid rgba(124, 58, 237, 0.3);
        background: rgba(15, 23, 42, 0.8);
        color: white;
        font-size: 0.95rem;
      }

      .search-icon {
        position: absolute;
        right: 0.8rem;
        top: 50%;
        transform: translateY(-50%);
        color: #94a3b8;
      }

      .filter-group {
        display: flex;
        gap: 0.5rem;
      }

      .filter-btn {
        padding: 0.6rem 1rem;
        border-radius: 8px;
        border: 1px solid rgba(124, 58, 237, 0.3);
        background: rgba(15, 23, 42, 0.6);
        color: #94a3b8;
        cursor: pointer;
        font-weight: 600;
        transition: all 0.3s;
        font-size: 0.85rem;
      }

      .filter-btn:hover,
      .filter-btn.active {
        background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
        color: white;
        border-color: transparent;
      }

      /* Problems Table */
      .problems-table {
        background: rgba(15, 23, 42, 0.6);
        border: 1px solid rgba(124, 58, 237, 0.2);
        border-radius: 16px;
        overflow: hidden;
        backdrop-filter: blur(10px);
        direction: ltr;
      }

      .table-header {
        display: grid;
        /* Action, Difficulty, Tags, Title, ID, Status */
        grid-template-columns: 80px 100px 1fr 2fr 50px 60px;
        padding: 1rem 1.5rem;
        background: rgba(124, 58, 237, 0.1);
        border-bottom: 1px solid rgba(124, 58, 237, 0.2);
        font-weight: 600;
        font-size: 0.85rem;
        color: #94a3b8;
        text-transform: uppercase;
        letter-spacing: 0.5px;
      }

      .problem-row {
        display: grid;
        /* Action, Difficulty, Tags, Title, ID, Status */
        grid-template-columns: 80px 100px 1fr 2fr 50px 60px;
        padding: 1.2rem 1.5rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        transition: all 0.3s;
        cursor: pointer;
        align-items: center;
      }

      .problem-row:hover {
        background: rgba(124, 58, 237, 0.05);
        border-right: 4px solid #7c3aed;
      }

      .problem-row:last-child {
        border-bottom: none;
      }

      .status-icon {
        font-size: 1.2rem;
        text-align: right;
      }

      .problem-id {
        color: #94a3b8;
        font-family: "JetBrains Mono", monospace;
        text-align: right;
      }

      .problem-title {
        font-weight: 600;
        color: #fff;
        text-align: right;
        padding-right: 12px;
      }

      .problem-title:hover {
        color: #a855f7;
      }

      .table-header > div {
        text-align: right;
      }

      .problem-tags {
        display: flex;
        gap: 0.4rem;
        flex-wrap: wrap;
        justify-content: right;
      }

      .tag {
        padding: 0.3rem 0.6rem;
        border-radius: 6px;
        font-size: 0.75rem;
        font-weight: 600;
        background: rgba(124, 58, 237, 0.2);
        color: #a855f7;
      }

      .difficulty {
        padding: 0.4rem 0.8rem;
        border-radius: 6px;
        font-size: 0.8rem;
        font-weight: 600;
        text-align: center;
      }

      .difficulty.easy {
        background: rgba(34, 197, 94, 0.2);
        color: #22c55e;
      }

      .difficulty.medium {
        background: rgba(234, 179, 8, 0.2);
        color: #eab308;
      }

      .difficulty.hard {
        background: rgba(239, 68, 68, 0.2);
        color: #ef4444;
      }

      .difficult {
        text-align: right;
      }

      .acceptance-rate {
        color: #94a3b8;
        font-family: "JetBrains Mono", monospace;
        font-size: 0.9rem;
        text-align: right;
      }

      .solve-btn {
        background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
        color: white;
        border: none;
        padding: 0.5rem 1rem;
        border-radius: 6px;
        cursor: pointer;
        font-weight: 600;
        transition: transform 0.3s;
        font-size: 0.85rem;
      }

      .solve-container {
        text-align: right;
      }

      .solve-btn:hover {
        transform: scale(1.05);
      }

      /* Stats Cards */
      .stats-section {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1.5rem;
        margin-bottom: 3rem;
      }

      .stat-card {
        background: rgba(15, 23, 42, 0.6);
        border: 1px solid rgba(124, 58, 237, 0.2);
        border-radius: 12px;
        padding: 1.5rem;
        text-align: center;
        backdrop-filter: blur(10px);
      }

      .stat-number {
        font-size: 2.5rem;
        font-weight: bold;
        background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
        background-clip: text;
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        margin-bottom: 0.5rem;
      }

      .stat-label {
        color: #94a3b8;
        font-size: 0.9rem;
      }

      /* Pagination */
      .pagination {
        display: flex;
        justify-content: center;
        gap: 0.5rem;
        margin-top: 2rem;
        padding-bottom: 3rem;
      }

      .page-btn {
        width: 40px;
        height: 40px;
        border-radius: 8px;
        border: 1px solid rgba(124, 58, 237, 0.3);
        background: rgba(15, 23, 42, 0.6);
        color: #94a3b8;
        cursor: pointer;
        font-weight: 600;
        transition: all 0.3s;
        display: flex;
        align-items: center;
        justify-content: center;
      }

      .page-btn:hover,
      .page-btn.active {
        background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
        color: white;
        border-color: transparent;
      }

      /* Mobile Responsive */
      @media (max-width: 1024px) {
        .table-header,
        .problem-row {
          grid-template-columns: 80px 2fr 1fr 60px;
        }

        /* Hide ID (5) and Difficulty (2); keep Action(1), Tags(3), Title(4), Status(6) */
        .table-header > :nth-child(2),
        .table-header > :nth-child(5),
        .problem-row > :nth-child(2),
        .problem-row > :nth-child(5) {
          display: none;
        }
      }

      @media (max-width: 768px) {
        .page-title {
          font-size: 2rem;
        }

        .logo img {
          height: 32px;
          max-width: 120px;
        }

        .filters-section {
          flex-direction: column;
        }

        .search-box {
          min-width: 100%;
        }

        .table-header,
        .problem-row {
          grid-template-columns: 1fr 80px;
          padding: 1rem;
        }

        /* Show only Title (4) and Action (1) */
        .table-header > :not(:nth-child(4)):not(:nth-child(1)),
        .problem-row > :not(:nth-child(4)):not(:nth-child(1)) {
          display: none;
        }

        .problem-title {
          font-size: 0.9rem;
        }

        .stats-section {
          grid-template-columns: repeat(2, 1fr);
        }
      }
