/* ================================
   ADS
================================ */
.ad-container .ad-placeholder,
.game-side-ad .ad-placeholder {
    background: #f2f2f2;
    border: 1px solid #ccc;
    padding: 15px;
    text-align: center;
    margin-bottom: 20px;
    font-size: 14px;
}


/* ================================
   BREADCRUMBS
================================ */
.breadcrumbs {
    font-size: 14px;
    margin-bottom: 15px;
}


/* ================================
   GAME TOOLBAR
================================ */
.game-toolbar {
    margin-bottom: 15px;
}

.game-btn {
    padding: 8px 12px;
    margin-right: 10px;
    font-size: 16px;
    cursor: pointer;
}


/* ================================
   GAME CONTAINER
================================ */
.game-container {
    position: relative;
    width: 100%;
    margin-bottom: 20px;
}

.game-container iframe {
    width: 100%;
    height: 600px;
    border: none;
}


/* ================================
   DESKTOP FULLSCREEN FIX
================================ */
#game-container:fullscreen {
    width: 100vw;
    height: 100vh;
    background: #000;
}

#game-container:fullscreen iframe {
    width: 100%;
    height: 100%;
}

/* Safari */
#game-container:-webkit-full-screen {
    width: 100vw;
    height: 100vh;
}

#game-container:-webkit-full-screen iframe {
    width: 100%;
    height: 100%;
}


/* ================================
   MOBILE FULLSCREEN SIMULATION
================================ */
.mobile-fullscreen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw !important;
    height: 100vh !important;
    background: #000;
    z-index: 99999;
}

.mobile-fullscreen iframe {
    width: 100%;
    height: 100%;
}


/* ================================
   SINGLE GAME RATING (YELLOW)
================================ */
.game-rating {
    font-size: 22px;
    margin: 20px 0;
    user-select: none;
}

.game-rating .star {
    color: #ccc;
    cursor: pointer;
    margin-right: 4px;
    transition: 0.2s;
}

.game-rating .star.selected,
.game-rating .star.hover {
    color: #ffcc00;
}


/* ================================
   GAME DESCRIPTION
================================ */
.game-description {
    margin-top: 20px;
    line-height: 1.6;
}


/* ================================
   GAMES GRID
================================ */
.games-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}


/* Wrapper controls column width */
.game-card-wrapper {
    width: calc(33.333% - 6.66px);
}


/* Card fills wrapper */
.game-card {
    position: relative;
    display: block;
    width: 100%;
    overflow: hidden;
    text-decoration: none;
}


/* Ensure overlay doesn't block rating clicks */
.game-card_overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0,0,0,0.6);
    color: #fff;
    text-align: center;
    padding: 5px;
    pointer-events: none; /* IMPORTANT FIX */
}

.game-card img {
    width: 100%;
    display: block;
}


/* ================================
   SMALL RATING UNDER CARDS (PINK)
================================ */
.game-rating-small {
    margin-top: 6px;
    text-align: center;
    font-size: 15px;
    user-select: none;
    position: relative;
    z-index: 5;
}

.game-rating-small .star {
    color: #ccc;
    cursor: pointer;
    margin: 0 2px;
    transition: 0.2s;
}

.game-rating-small .star.selected,
.game-rating-small .star.hover {
    color: #ff2d8d; /* Your pink */
}


/* ================================
   SINGLE GAME PAGE LAYOUT
================================ */
.game-wrapper-single {
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px;
}

.section-title {
    margin-top: 40px;
    margin-bottom: 15px;
    font-size: 22px;
}


/* ================================
   HOME BUTTON
================================ */
.home-button {
    display: inline-block;
    margin-top: 20px;
    padding: 8px 15px;
    background: #0073aa;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
}

.home-button:hover {
    background: #005177;
}