/* =======================
   GAMEPAGE STYLES (Enhanced)
   ======================= */


/* ===== About the Game Section ===== */

.similar-gm .desc-box {
    position: relative;
    border-radius: 16px;
    padding: 28px 34px;
    margin-bottom: 40px;
    color: #e2e8f0;
    overflow: hidden;
    z-index: 1;
    /* Hiệu ứng nền động */
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.85), rgba(51, 65, 85, 0.65), rgba(30, 41, 59, 0.85), rgba(56, 189, 248, 0.1));
    background-size: 400% 400%;
    animation: gradientFlow 18s ease infinite;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(148, 163, 184, 0.2);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.35);
}

.similar-gm .desc-box p {
    font-size: 1rem !important;
}

.similar-gm .desc-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #38bdf8;
}

.similar-gm .desc-text {
    font-size: 1rem;
    line-height: 1.7;
    color: #e2e8f0;
    margin: 0;
}


/* Hiệu ứng nền động mượt */

@keyframes gradientFlow {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}


/* Responsive */

@media (max-width: 768px) {
    .similar-gm .desc-box {
        padding: 20px 22px;
        margin-bottom: 30px;
    }
    .similar-gm .desc-title {
        font-size: 1.4rem;
    }
    .similar-gm .desc-text {
        font-size: 0.95rem;
    }
}


/* ===== Fullscreen Button (Glass Neon + Glow Pulse) ===== */

.bt-group-2 {
    text-align: right;
    margin-top: 10px;
}

.bt-group-2 a {
    display: inline-block;
    position: relative;
    padding: 12px 26px;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #e0faff;
    text-decoration: none;
    border: 2px solid rgba(56, 189, 248, 0.6);
    border-radius: 12px;
    background: rgba(14, 165, 233, 0.08);
    backdrop-filter: blur(8px);
    box-shadow: 0 0 15px rgba(56, 189, 248, 0.25);
    transition: all 0.3s ease;
    overflow: hidden;
    animation: glowPulse 4s ease-in-out infinite;
}


/* Hiệu ứng ánh sáng quét */

.bt-group-2 a::before {
    content: "";
    position: absolute;
    top: 0;
    left: -80%;
    width: 80%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(56, 189, 248, 0.4), transparent);
    transform: skewX(-25deg);
    transition: 0.6s;
}

.bt-group-2 a:hover::before {
    left: 120%;
}


/* Hover & active */

.bt-group-2 a:hover {
    background: rgba(56, 189, 248, 0.15);
    border-color: #38bdf8;
    box-shadow: 0 0 25px rgba(56, 189, 248, 0.6);
    transform: translateY(-2px);
}

.bt-group-2 a:active {
    transform: scale(0.96);
    box-shadow: 0 0 10px rgba(56, 189, 248, 0.3);
}


/* Hiệu ứng nhịp sáng nhẹ */

@keyframes glowPulse {
    0%,
    100% {
        box-shadow: 0 0 10px rgba(56, 189, 248, 0.3);
    }
    50% {
        box-shadow: 0 0 20px rgba(56, 189, 248, 0.6);
    }
}


/* ===== Game Title (Animated Gradient Text) ===== */


/* ===== Game Title – Enhanced Light Sweep ===== */

.game-title {
    position: relative;
    display: inline-block;
    font-size: 2.4rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    background: linear-gradient(90deg, #38bdf8, #a5f3fc, #38bdf8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 20px rgba(56, 189, 248, 0.25);
    animation: titleGlow 12s ease-in-out infinite, fadeInUp 1s ease forwards;
    overflow: hidden;
}


/* Dải sáng chạy qua mặt chữ */

.game-title::before {
    content: "";
    position: absolute;
    top: 0;
    left: -60%;
    width: 40%;
    height: 100%;
    background: linear-gradient( 120deg, transparent, rgba(255, 255, 255, 0.7), transparent);
    transform: skewX(-25deg);
    animation: gameTitleSweep 5s ease-in-out infinite;
    mix-blend-mode: screen;
    /* tạo hiệu ứng phản chiếu ánh sáng tự nhiên */
}


/* Hiệu ứng gradient nền di chuyển */

@keyframes titleGlow {
    0%,
    100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}


/* Hiệu ứng dải sáng chạy ngang qua */

@keyframes gameTitleSweep {
    0% {
        left: -60%;
        opacity: 0.2;
    }
    50% {
        left: 110%;
        opacity: 0.9;
    }
    100% {
        left: 110%;
        opacity: 0.2;
    }
}


/* Hiệu ứng fade in mượt */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}