 body {
        font-family: Arial, sans-serif;
        background: #121212;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 20px;
    }
    #gallery {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
        width: 100%;
        max-width: 1200px;
    }
    .card {
        position: relative;
        width: 250px;
        height: 250px;
        overflow: hidden;
        border-radius: 10px;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
        cursor: pointer;
        background: #000000;
        transition: transform 0.3s ease;
    }
    .card:hover {
        transform: scale(1.05);
    }
    .card img, .card video {
        width: 100%;
        height: 100%;
        object-fit: cover;
        
    }
    .label {
        position: absolute;
        top: 5px;
        left: 5px;
        background: rgba(0,0,0,0.7);
        color: #fff;
        padding: 3px 6px;
        border-radius: 5px;
        font-size: 12px;
    }
    .duration {
        position: absolute;
        bottom: 5px;
        right: 5px;
        background: rgba(0,0,0,0.7);
        color: #fff;
        padding: 2px 5px;
        border-radius: 5px;
        font-size: 12px;
    }
    .pagination {
        margin: 20px 0;
        display: flex;
        gap: 10px;
    }
    .pagination button {
        padding: 8px 16px;
        border: solid 2px black;
        border-radius: 5px;
        background: darkred;
        color: black;
        font-weight: 900;
        cursor: pointer;
        font-size: 14px;
    }
    .pagination button:disabled {
        background: rgb(132, 59, 59);
        cursor: not-allowed;
    }

    h1 {
      font-size: 2.5rem;
      color: darkred;
      margin-bottom: 10px;
      letter-spacing: 2px;
      margin: 100px;
      -webkit-text-stroke: 2px black; /* outline thickness & color */

    }

    footer {
      margin-top: 100px;
      padding: 20px;
      font-size: 0.9rem;
      color: #666;
    }