html, body {
    height: 100%;
    margin: 0;
    width:100%;
	overflow-x: hidden;
    align-items: center;
    justify-content: center;
}

/* Container for the game icons */
.game-card {
    position: relative;
    display: inline-block;
    overflow: hidden;
    border-radius: 12px;
    background-color: #fff;
    background-clip: border-box;
}

/* Game image */
.game-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Black overlay effect */
.game-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.5));
}

/* Game name */
.game-title {
    position: absolute;
    bottom: 10px;
    left: 10px;
    right: 10px;
    color: #fff;
    font-size: 14px;
    text-align: center;
    z-index: 1;
}

/* New label */
.new-label {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: #ff4500;
    color: #fff;
    font-size: 10px;
    padding: 2px 6px;
    font-weight: bold;
    border-radius: 4px;
    z-index: 2;
}

/* Heart icon for favorite */
.heart-icon {
    position: absolute;
    top: 10px;
    right: 10px;
    color: #fff;
    font-size: 18px;
    z-index: 2;
}

.heart-icon:hover {
    color: #ff6b6b; /* Change to red on hover */
    cursor: pointer;
}


.game-container {
    width: 100vw;
    height: 100vh;
    position: relative;
}
.game-frame {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.game-frame iframe {
    width: 100%;
    height: 100%;
    border: none;
    object-fit: cover;
}


.image-container {
    position: relative;
    width: 100%;
    max-width: 100%;
    height: 540px;
    background-size: cover;
    background-position: center;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.center-image {
    width: 180px;
    height: 180px;
    border: 2px solid #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(110,110,110,0.10);
    margin-bottom: 20px;
}

.center-button {
    padding: 10px 20px;
    background-color: #fff;
    color: #000;
    border: none;
    cursor: pointer;
    font-size: 16px;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.center-button:hover {
    background-color: #f1f1f1;
}

.card-image {
    background-color: #fff;
    background-clip: border-box;
    border: 2px solid #fff;
    border-radius: .25rem;
    box-shadow: 0 2px 10px rgba(110,110,110,0.10);
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(110,110,110,0.10);
    overflow: hidden;
}
