body {
    font-family: Arial, sans-serif;
    background: #f4f6f9;
    margin: 0;
}

.container {
    width: 90%;
    margin: 30px auto;
}

h1 {
    text-align: center;
    margin-bottom: 30px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.card {
    background: white;
    border-radius: 15px;
    padding: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: 0.3s;
}

.card:hover {
    transform: translateY(-5px);
}

.icon {
    font-size: 30px;
}

.name {
    font-weight: bold;
    margin: 10px 0;
    word-break: break-word;
}

.preview {
    height: 150px;
    overflow: hidden;
    border-radius: 10px;
    background: #eee;
    display: flex;
    align-items: center;
    justify-content: center;
}

.preview img {
    width: 100%;
}

.preview iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.no-preview {
    color: gray;
}

.btn {
    display: block;
    text-align: center;
    margin-top: 10px;
    padding: 10px;
    background: #007bff;
    color: white;
    border-radius: 8px;
    text-decoration: none;
}

.btn:hover {
    background: #0056b3;
}

.filters {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    justify-content: center;
}

.filters input, .filters select {
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #ccc;
}

.filters button {
    padding: 10px 15px;
    border: none;
    background: #28a745;
    color: white;
    border-radius: 8px;
    cursor: pointer;
}

.filters button:hover {
    background: #1e7e34;
}

.info {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    margin-top: 10px;
    color: #555;
}

h2 {
    margin-top: 30px;
    border-left: 5px solid #007bff;
    padding-left: 10px;
}