﻿
/* ===== PAGE BACKGROUND ===== */

body {
    font-family: Arial,sans-serif;
    background: linear-gradient(135deg,#050816,#0c1227,#050816);
}

/* ===== WRAPPER (fix spacing) ===== */

.game-card-wrapper {
    padding: 40px 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    justify-content: center;
    max-width: 1400px;
    margin: 0 auto;
}

/* ===== CARD BASE (hidden state) ===== */

.release-card {
    position: relative;
    width: 100%;
    background: rgba(255,255,255,.04);
    backdrop-filter: blur(25px);
    border-radius: 28px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.1);
    box-shadow: 0 0 30px rgba(0,255,255,.15), 0 0 80px rgba(255,0,255,.1);
    opacity: 0;
    transform: translateY(80px) scale(.85);
    transition: all 1s cubic-bezier(.2,.8,.2,1);
    display: flex;
    flex-direction: column;
}

    /* ===== SCROLL ACTIVE STATE ===== */

    .release-card.show {
        opacity: 1;
        transform: translateY(0) scale(1);
        animation: floating 5s infinite ease-in-out;
    }

@keyframes floating {
    50% {
        transform: translateY(-12px);
    }
}

/* ===== CONTENT ===== */

.card-content {
    padding: 30px;
    text-align: center;
}

/* ===== STAGGER ELEMENTS ===== */

.badge,
.title,
.description,
.timer {
    opacity: 0;
    transform: translateY(25px);
    transition: all .6s ease;
}

.release-card.show .badge {
    opacity: 1;
    transform: translateY(0);
    transition-delay: .2s;
}

.release-card.show .title {
    opacity: 1;
    transform: translateY(0);
    transition-delay: .4s;
}

.release-card.show .description {
    opacity: 1;
    transform: translateY(0);
    transition-delay: .6s;
}

.release-card.show .timer {
    opacity: 1;
    transform: translateY(0);
    transition-delay: .8s;
}

/* ===== BADGE ===== */

.badge {
    display: inline-block;
    padding: 8px 18px;
    border-radius: 50px;
    background: linear-gradient(90deg,#00d2ff,#ff00d4);
    color: #fff;
    font-size: 13px;
    font-weight: bold;
    margin-bottom: 20px;
}

/* ===== TITLE ===== */

.title {
    font-size: 28px;
    font-weight: bold;
    background: linear-gradient(90deg,#00d2ff,#ff00d4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 12px;
}

/* ===== DESCRIPTION ===== */

.description {
    color: #bbb;
    line-height: 1.7;
    margin-bottom: 30px;
}

/* ===== TIMER ===== */

.timer {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.time-box {
    width: 55px;
    padding: 10px 6px;
    background: rgba(255,255,255,.04);
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,.1);
}

.number {
    font-size: 20px;
    font-weight: bold;
    color: #00d2ff;
}

.label {
    font-size: 12px;
    color: #aaa;
}

/* ===== IMAGE ===== */

.image-area {
    height: 420px;
    overflow: hidden;
    position: relative;
}

    .image-area img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: 1s;
    }

.release-card:hover img {
    transform: scale(1.1);
}

/* ===== SHINE ===== */

.image-area::before {
    content: "";
    position: absolute;
    top: 0;
    left: -200%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg,transparent,rgba(255,255,255,.3),transparent);
    transform: skew(-30deg);
    animation: shine 5s infinite;
}

@keyframes shine {
    100% {
        left: 250%;
    }
}

/* ===== PARTICLES ===== */

.particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: #00d2ff;
    border-radius: 50%;
    opacity: .5;
    animation: particleMove linear infinite;
}

@keyframes particleMove {
    0% {
        transform: translateY(0);
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        transform: translateY(-300px);
        opacity: 0;
    }
}

/* ===== RESPONSIVE ===== */

@media(max-width:768px) {

    .release-card {
        max-width: 100%;
        margin: 40px 10px;
    }

    .title {
        font-size: 30px;
    }

    .image-area {
        height: 300px;
    }

    .time-box {
        width: 65px;
    }
}
