body {
    font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    background: linear-gradient(to bottom, #0a0a0a, #1a1a1a);
    color: #f0f0f0;
    line-height: 1.6;
}

main {
    padding: 60px 20px;
}

h1 {
    text-align: center;
    font-size: 3rem;
    margin: -10px 0 30px;
    font-weight: 600;
    color: #fff;
    background: none;
}

@keyframes gradient-move {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

p.text-center.mb-5 {
    font-size: 1.25rem;
    font-weight: 500;
    color: #f8f8f8;
    background: rgba(40, 20, 60, 0.45);
    box-shadow: 0 4px 24px 0 rgba(60, 16, 100, 0.18);
    border-radius: 14px;
    padding: 18px 32px;
    max-width: 900px;
    margin: 0 auto 40px auto;
    border: 1.5px solid rgba(120, 60, 200, 0.10);
    backdrop-filter: blur(1.5px);
}

.card-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 150px;
    padding: 40px 0;
}

.card-container .box {
    position: relative;
    width: 320px;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.5s;
}

.card-container .box::before,
.card-container .box::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50px;
    width: 50%;
    height: 100%;
    border-radius: 8px;
    transition: 0.5s;
}

.card-container .box::before {
    transform: skewX(15deg);
}

.card-container .box::after {
    transform: skewX(15deg);
    filter: blur(30px);
}

.card-container .box:hover::before,
.card-container .box:hover::after {
    transform: skewX(0deg);
    left: 20px;
    width: calc(100% - 90px);
}

.vote1::before,
.vote1::after {
    background: linear-gradient(315deg, #4ebb13, #1378bb);
}

.vote2::before,
.vote2::after {
    background: linear-gradient(315deg, #00d0ff, #E700FF);
}

.vote3::before,
.vote3::after {
    background: linear-gradient(315deg, #dfe213, #F0065E);
}

.card-container .box span {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 5;
    pointer-events: none;
}

.card-container .box span::before,
.card-container .box span::after {
    content: '';
    position: absolute;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    opacity: 0;
    transition: 0.5s;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    animation: animate 2s ease-in-out infinite;
}

.card-container .box span::after {
    animation-delay: -1s;
}

.card-container .box:hover span::before {
    top: -50px;
    left: 50px;
    width: 100px;
    height: 100px;
    opacity: 1;
}

.card-container .box:hover span::after {
    bottom: -50px;
    right: 50px;
    width: 100px;
    height: 100px;
    opacity: 1;
}

@keyframes animate {

    0%,
    100% {
        transform: translateY(10px);
    }

    50% {
        transform: translate(-10px);
    }
}

.card-container .box .content {
    position: relative;
    left: 0;
    padding: 20px 40px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    z-index: 1;
    color: #e0e0e0;
    text-align: center;
    transition: 0.5s;
    font-weight: 600;
}

.card-container .box:hover .content {
    left: -25px;
    padding: 60px 40px;
}

.card-container .box .content h2 {
    font-size: 2em;
    margin-bottom: 10px;
    font-weight: 800;
    color: #fff7d1;
}

.card-container .box .content p {
    font-size: 1.1em;
    margin-bottom: 10px;
    line-height: 1.4em;
}

.card-container .box .content a {
    display: inline-block;
    font-size: 1.1em;
    color: #111;
    background: #fff7d1;
    padding: 10px;
    border-radius: 15px;
    text-decoration: none;
    font-weight: 700;
    margin-top: 5px;
    transition: all 0.4s ease;
    background-size: 200% 200%;
}

.card-container .box .content a:hover {
    background: linear-gradient(90deg, #1a1a1a, #777777);
    background-size: 300% 300%;
    color: #ffffff;
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    border-radius: 20px;
    animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@media (max-width: 768px) {
    .card-container {
        flex-direction: column;
        align-items: center;
        gap: 100px;
        padding: 20px 10px;
    }

    .card-container .box {
        width: 90%;
        max-width: 320px;
        height: auto;
        padding: 20px;
        box-sizing: border-box;
    }

    .card-container .box .content {
        padding: 20px;
    }

    .card-container .box .content h2 {
        font-size: 1.5em;
    }

    .card-container .box .content p,
    .card-container .box .content a {
        font-size: 1em;
    }
}