body{

    background-color:#0f172a;

    background-image:

    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),

    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);

    background-size:50px 50px;

    color:white;
}

/*=========================
GAME HERO
=========================*/

.game-hero {

    width: 90%;
    max-width: 1300px;

    margin: 150px auto 100px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 70px;
}

.game-left {

    flex: 1;
}

.game-right {

    flex: 1;

    text-align: center;
}

.game-right img {

    width: 100%;

    border-radius: 25px;

    border: 1px solid rgba(255, 255, 255, .08);

    box-shadow: 0 25px 60px rgba(0, 0, 0, .35);
}

.game-badge {

    display: inline-block;

    padding: 10px 22px;

    background: #22c55e20;

    color: #22c55e;

    border-radius: 50px;

    font-weight: 600;

    margin-bottom: 25px;
}

.game-left h1 {

    font-size: 72px;

    margin-bottom: 20px;
}

.game-meta {

    display: flex;

    gap: 20px;

    flex-wrap: wrap;

    margin-bottom: 25px;
}

.game-meta span {

    background: #1e293b;

    padding: 10px 18px;

    border-radius: 30px;
}

.game-left p {

    color: #cbd5e1;

    line-height: 1.8;

    font-size: 18px;

    margin-bottom: 35px;
}

.game-features {

    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 18px;

    margin-bottom: 40px;
}

.game-features div {

    background: #1e293b;

    padding: 18px;

    border-radius: 16px;

    display: flex;

    align-items: center;

    gap: 12px;

    transition: .3s;
}

.game-features div:hover {

    transform: translateY(-4px);

    border: 1px solid #22c55e;
}

.game-features i {

    color: #22c55e;
}

.hero-buttons {

    display: flex;

    gap: 20px;
}

.play-btn {

    background: #22c55e;

    color: white;

    padding: 16px 36px;

    border-radius: 50px;

    font-weight: 600;

    transition: .3s;
}

.play-btn:hover {

    transform: translateY(-4px);
}

.info-btn {

    padding: 16px 36px;

    border-radius: 50px;

    border: 1px solid rgba(255, 255, 255, .12);

    color: white;

    transition: .3s;
}

.info-btn:hover {

    background: #1e293b;
}

@media(max-width:900px) {

    .game-hero {

        flex-direction: column;

        text-align: center;

    }

    .game-meta {

        justify-content: center;

    }

    .hero-buttons {

        justify-content: center;

    }

    .game-features {

        grid-template-columns: 1fr;

    }

}


/*=========================
ABOUT GAME
=========================*/

.game-about {

    width: 90%;
    max-width: 1300px;

    margin: 100px auto;
}

.section-heading {

    text-align: center;

    margin-bottom: 60px;
}

.section-heading span {

    display: inline-block;

    padding: 8px 18px;

    background: #22c55e20;

    color: #22c55e;

    border-radius: 30px;

    font-weight: 600;

    margin-bottom: 18px;
}

.section-heading h2 {

    font-size: 48px;
}

.about-grid {

    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));

    gap: 30px;
}

.about-card {

    background: #1e293b;

    padding: 35px;

    border-radius: 20px;

    text-align: center;

    transition: .35s;

    border: 1px solid rgba(255, 255, 255, .08);
}

.about-card:hover {

    transform: translateY(-8px);

    border-color: #22c55e;
}

.about-card i {

    font-size: 45px;

    color: #22c55e;

    margin-bottom: 25px;
}

.about-card h3 {

    margin-bottom: 18px;

    font-size: 24px;
}

.about-card p {

    color: #cbd5e1;

    line-height: 1.8;
}

/*=========================
GAME CONTROLS
=========================*/

.game-controls {

    width: 90%;
    max-width: 1300px;

    margin: 100px auto;
}

.controls-grid {

    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));

    gap: 25px;
}

.control-card {

    background: #1e293b;

    border: 1px solid rgba(255, 255, 255, .08);

    border-radius: 20px;

    padding: 30px;

    transition: .35s;

    text-align: center;
}

.control-card:hover {

    transform: translateY(-8px);

    border-color: #22c55e;
}

.control-card i {

    font-size: 40px;

    color: #22c55e;

    margin-bottom: 20px;
}

.control-card h3 {

    margin-bottom: 15px;

    font-size: 22px;
}

.control-card p {

    color: #cbd5e1;

    line-height: 1.8;
}

/*=========================
GAME GALLERY
=========================*/

.game-gallery {

    width: 90%;
    max-width: 1300px;

    margin: 100px auto;
}

.gallery-grid {

    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));

    gap: 25px;
}

.gallery-item {

    overflow: hidden;

    border-radius: 20px;

    border: 1px solid rgba(255, 255, 255, .08);

    transition: .35s;
}

.gallery-item img {

    width: 100%;

    display: block;

    transition: .45s;
}

.gallery-item:hover {

    transform: translateY(-8px);

    border-color: #22c55e;
}

.gallery-item:hover img {

    transform: scale(1.08);
}

/*=========================
RELATED GAMES
=========================*/

.related-games {

    width: 90%;
    max-width: 1300px;

    margin: 100px auto;
}

.related-grid {

    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));

    gap: 30px;
}

.related-card {

    background: #1e293b;

    border-radius: 20px;

    overflow: hidden;

    border: 1px solid rgba(255, 255, 255, .08);

    transition: .35s;
}

.related-card:hover {

    transform: translateY(-8px);

    border-color: #22c55e;
}

.related-card img {

    width: 100%;

    height: 220px;

    object-fit: cover;
}

.related-content {

    padding: 25px;
}

.related-content h3 {

    margin-bottom: 15px;
}

.related-content p {

    color: #cbd5e1;

    line-height: 1.7;

    margin-bottom: 25px;
}

/* ======================
2048 Theme
====================== */

.game2048-page .game-badge{

    background:rgba(245,158,11,.15);

    color:#f59e0b;
}

.game2048-page .play-btn{

    background:#f59e0b;
}

.game2048-page .play-btn:hover{

    background:#d97706;
}

.game2048-page .game-features i{

    color:#f59e0b;
}

.game2048-page .about-card:hover,
.game2048-page .control-card:hover,
.game2048-page .gallery-item:hover,
.game2048-page .related-card:hover{

    border-color:#f59e0b;
}

.game2048-page .section-heading span{

    background:rgba(245,158,11,.15);

    color:#f59e0b;
}