@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background: linear-gradient(120deg, #0f0f0f, #1a1a1a);
    color: white;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    padding: 2rem 2rem;
}

a {
    position: relative;
    width: 320px;
    height: 180px;
    text-decoration: none;
    color: white;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    padding: 1.2rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

a:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
}

a::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.25;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

a:hover::before {
    opacity: 0.4;
    transform: scale(1.05);
}

a span {
    position: relative;
    z-index: 1;
    font-weight: 600;
    font-size: 1.2rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
}

/* Backgrounds for each card */
#deepwoken-build-ideas::before {
    background-image: url("https://i.ytimg.com/vi/RUFHr02tbQM/maxresdefault.jpg");
}

#deepwoken-wordle::before {
    background-image: url("https://static.beebom.com/wp-content/uploads/2024/05/Best-Deepwoken-Talents-Cover.jpg");
}

#pokemon-guessing-game::before {
    background-image: url("https://mrwallpaper.com/images/hd/pikachu-pokemon-4k-ccyz36l7m34fq1w7.jpg");
}

#charisma-trainer::before {
    background-image: url("https://i.ytimg.com/vi/C-9DZ_T1gyI/maxresdefault.jpg");
}
header {
    text-align: center;
    padding: 1.5rem;
    font-size: 1rem;
    color: #aaa;
    margin-bottom: 1rem;
}
footer {
    text-align: center;
    padding: 1.5rem;
    font-size: 1rem;
    color: #aaa;
}
