﻿
body{

margin:0;

background:#f6f8fb;

font-family:system-ui;

color:#333;

}
h1{

font-size:clamp(
32px,
5vw,
42px
);

margin-bottom:24px;

}



.icon{

font-size:46px;

}

button{

border:none;

padding:
18px 34px;

font-size:20px;

font-weight:700;

border-radius:999px;

cursor:pointer;

color:white;

background:
linear-gradient(
135deg,
#7c3aed,
#ec4899
);

}

button:hover{

transform:scale(1.03);

}


.games {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 900px;
    margin: 30px auto;
  }
.game-card {
    position: relative;

    aspect-ratio: 4 / 3;

    overflow: hidden;

    border-radius: 12px;
}

.game-card > a:first-child {
    display: block;

    width: 100%;
    height: 100%;
}

.game-card img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    display: block;

    transition: transform 0.25s ease;
}

.game-card:hover img {
    transform: scale(1.05);
}


/* =========================================
   JEU VERROUILLÉ
========================================= */

.game-locked {
    cursor: not-allowed;
}

.game-locked img {
    filter: brightness(0.55) grayscale(0.25);
}

.game-locked:hover img {
    transform: none;
}


/* =========================================
   MESSAGE SUR L'IMAGE
========================================= */

.locked-message {
    position: absolute;

    left: 0;
    right: 0;
    bottom: 0;

    padding: 18px 15px;

    text-align: center;

    background: rgba(5, 12, 25, 0.90);

    border-top: 2px solid rgba(255, 210, 50, 0.8);

    color: white;

    backdrop-filter: blur(4px);
}

.locked-title {
    margin-bottom: 6px;

    font-size: 17px;
    font-weight: 800;

    color: #ffd43b;
}

.locked-message p {
    margin: 0 0 12px;

    font-size: 13px;
    line-height: 1.35;

    color: #e5edf7;
}


/* =========================================
   BOUTON ACHAT
========================================= */

.buy-pack-btn {
    display: inline-block;

    padding: 9px 18px;

    border-radius: 8px;

    background: linear-gradient(
        180deg,
        #ffc928,
        #d99400
    );

    color: #172033;

    text-decoration: none;

    font-size: 14px;
    font-weight: 800;

    box-shadow:
        0 3px 10px rgba(0, 0, 0, 0.35);

    transition:
        transform 0.2s ease,
        filter 0.2s ease;
}

.buy-pack-btn:hover {
    filter: brightness(1.15);

    transform: translateY(-2px);
}
.game-locked {
    cursor: not-allowed;
}

.game-locked img {
    filter: grayscale(0.35) brightness(0.65);
}

.game-locked:hover img {
    transform: none;
}

/* téléphone */
@media (max-width:600px){
.games {
      grid-template-columns: 1fr;
    }
	
.grid{
gap:4px;
}

}


/* =========================================
   NAVIGATION
========================================= */

.bottom-navigation {
    display: flex;

    justify-content: center;

    margin: 35px 0 20px;
}

.back-button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-width: 180px;
    min-height: 48px;

    padding: 0 25px;

    border-radius: 10px;

    background: #0c1d33;

    border: 1px solid #367da9;

    color: #bfe8ff;

    text-decoration: none;

    font-weight: 700;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.back-button:hover {
    background: #12365a;
    transform: translateY(-2px);
}


/* =========================================
   FOOTER
========================================= */

footer {
    text-align: center;

    color: #607b96;

    font-size: 12px;

    padding-top: 10px;
}