@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;700&display=swap');

body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background: linear-gradient(to bottom right, #1e1e1e,#ffffff);
    color: white;
    text-align: center;
    min-height: 100vh;
}

.hero {
    padding: 2rem 1rem;
}

.profile-pic {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid white;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
    margin: 0.3rem 0;
}

.subtitle {
    font-size: 1.1rem;
    color: #ccc;
    margin-bottom: 2rem;
}

.categories {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    padding: 0 1rem;
}

.card {
    position: relative;
    width: 260px;
    height: 170px;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.4);
}

.card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
    transition: 0.3s;
}

.card:hover img {
    filter: brightness(1);
    transform: scale(1.05);
}

.card-btn {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    transform-origin: center;
    background: transparent;
    border: 2px solid white;
    padding: 0.6rem 1.2rem;
    border-radius: 30px;
    color: white;
    font-weight: bold;
    text-decoration: none;
    transition: background 0.3s, transform 0.3s, color 0.3s;
}

.card-btn:hover {
    background: white;
    color: #1f3c4a;
    transform: translateX(-50%) scale(1.05);
}


