.oyunlar-page-section {
    width: 100%;
}

.oyunlar-page-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 1.5rem;
    padding-bottom: 1.1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.oyunlar-page-header__icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(var(--primary), 0.1);
    border: 1px solid rgba(var(--primary), 0.22);
    color: var(--brand-red, #f59e0b);
    font-size: 22px;
    line-height: 1;
}

.oyunlar-page-header__text {
    min-width: 0;
}

.oyunlar-page-header__title {
    margin: 0;
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--text-on-dark, #f1f5f9);
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.oyunlar-page-header__desc {
    margin: 4px 0 0;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary, #94a3b8);
    line-height: 1.45;
}

@media (max-width: 600px) {
    .oyunlar-page-header {
        gap: 12px;
        margin-bottom: 1.15rem;
        padding-bottom: 0.9rem;
    }

    .oyunlar-page-header__icon {
        width: 40px;
        height: 40px;
        font-size: 20px;
        border-radius: 10px;
    }

    .oyunlar-page-header__title {
        font-size: 1.2rem;
    }

    .oyunlar-page-header__desc {
        font-size: 0.8125rem;
    }
}

.oyunlar-page-grid {
    display: grid;
    width: 100%;
    box-sizing: border-box;
    gap: 1rem;
}

/* Masaüstü: 2 sütun, daha büyük kartlar */
@media (min-width: 1025px) {
    .oyunlar-page-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.5rem;
    }

    .oyunlar-game-card {
        display: flex;
        flex-direction: row;
        align-items: stretch;
        width: 100%;
        min-width: 0;
        max-width: none;
        height: auto;
        padding: 1rem;
        gap: 1rem;
        background: var(--surface-800, #111111);
        border: 1px solid var(--surface-700, #1c1c1c);
        border-radius: 12px;
        overflow: hidden;
        box-sizing: border-box;
        text-decoration: none;
        color: inherit;
        transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
        cursor: pointer;
    }

    .oyunlar-game-card:hover {
        background: var(--card-bg);
        border-color: var(--surface-600);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    }

    .oyunlar-game-card__thumb {
        display: none;
    }

    .oyunlar-game-card__panel {
        display: flex;
        flex-direction: row;
        align-items: stretch;
        flex: 1;
        min-width: 0;
        gap: 1.25rem;
    }

    .oyunlar-game-card__logo {
        position: relative;
        flex-shrink: 0;
        width: 130px;
        height: 170px;
        border-radius: 10px;
        overflow: hidden;
        background: var(--surface-900);
        border: 1px solid rgba(13, 60, 89, 0.6);
    }

    .oyunlar-game-card__logo img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        transition: transform 0.35s ease, filter 0.25s ease;
    }

    .oyunlar-game-card:hover .oyunlar-game-card__logo img {
        transform: scale(1.06);
        filter: brightness(0.82);
    }

    .oyunlar-game-card__logo::after {
        content: '';
        position: absolute;
        inset: 0;
        z-index: 2;
        background-color: rgba(5, 5, 5, 0.45);
        opacity: 0;
        transition: opacity 0.22s ease;
        pointer-events: none;
    }

    .oyunlar-game-card:hover .oyunlar-game-card__logo::after {
        opacity: 1;
    }

    .oyunlar-game-card__logo::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%) scale(0.75);
        z-index: 3;
        width: 40px;
        height: 40px;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Ccircle cx='128' cy='128' r='96' fill='rgba(0,0,0,0.45)'/%3E%3Cpolygon points='112,96 160,128 112,160' fill='white'/%3E%3C/svg%3E");
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
        opacity: 0;
        transition: opacity 0.22s ease, transform 0.22s ease;
        pointer-events: none;
        filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.7));
    }

    .oyunlar-game-card:hover .oyunlar-game-card__logo::before {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }

    .oyunlar-game-card__body {
        flex: 1;
        min-width: 0;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        justify-content: space-between;
        gap: 0.75rem;
        padding-top: 0.5rem;
        padding-bottom: 0.5rem;
    }

    .oyunlar-game-card__title {
        margin: 0;
        font-size: 1.5rem;
        font-weight: 800;
        color: var(--text-on-dark, #f1f5f9);
        text-align: start;
        line-height: 1.2;
        letter-spacing: -0.01em;
    }

    .oyunlar-game-card__bets {
        display: flex;
        align-items: stretch;
        width: 100%;
        gap: 0;
    }

    .oyunlar-game-card__bet {
        flex: 1;
        min-width: 0;
        display: flex;
        flex-direction: column;
        align-items: start;
        justify-content: flex-start;
        gap: 0.35rem;
        text-align: start;
    }

    .oyunlar-game-card__bet-label {
        font-size: 0.7rem;
        font-weight: 700;
        letter-spacing: 0.04em;
        text-transform: uppercase;
        color: var(--text-gray);
        line-height: 1.2;
    }

    .oyunlar-game-card__bet-value {
        font-size: 0.85rem;
        font-weight: 700;
        color: var(--brand-red, #f59e0b);
        line-height: 1.25;
        word-break: break-word;
        display: inline-flex;
        align-items: center;
        gap: 0.35rem;
    }

    .oyunlar-game-card__coin {
        width: 14px;
        height: 14px;
        object-fit: contain;
        flex-shrink: 0;
    }

    .oyunlar-game-card__bet-divider {
        width: 1px;
        flex-shrink: 0;
        align-self: stretch;
        background: rgba(103, 118, 128, 0.45);
        margin: 0 0.75rem;
    }

    .oyunlar-game-card__btn {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        min-height: 42px;
        padding: 0.65rem 1rem;
        border-radius: 8px;
        background: var(--brand-red, #f59e0b);
        color: var(--text-light);
        font-size: 0.95rem;
        font-weight: 800;
        letter-spacing: 0.02em;
        line-height: 1.2;
        box-sizing: border-box;
        transition: background 0.2s ease;
    }

    .oyunlar-game-card:hover .oyunlar-game-card__btn {
        background: var(--brand-red-hover, #fbbf24);
    }
}

/* Mobil Tasarım: Ana sayfadaki gibi ama belki daha büyük veya aynısı */
@media (max-width: 1024px) {
    .oyunlar-page-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .oyunlar-game-card {
        display: block;
        width: 100%;
        height: auto;
        aspect-ratio: 85 / 112;
        background: var(--surface-800);
        border: 1px solid var(--surface-700);
        border-radius: 8px;
        padding: 0;
        overflow: hidden;
        box-sizing: border-box;
        text-decoration: none;
        color: inherit;
        transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
        cursor: pointer;
    }

    .oyunlar-game-card:hover {
        background: var(--card-bg);
        border-color: var(--surface-600);
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    }

    .oyunlar-game-card__panel {
        display: none;
    }

    .oyunlar-game-card__thumb {
        display: block;
        width: 100%;
        height: 100%;
    }

    .oyunlar-game-card-img-wrap {
        position: relative;
        width: 100%;
        height: 100%;
        overflow: hidden;
        background: var(--surface-900);
    }

    .oyunlar-game-card-img-wrap::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 1;
        pointer-events: none;
        background:
            radial-gradient(ellipse 75% 55% at 0% 0%, rgba(0, 0, 0, 0.4) 0%, transparent 58%),
            radial-gradient(ellipse 75% 55% at 100% 0%, rgba(0, 0, 0, 0.4) 0%, transparent 58%),
            radial-gradient(ellipse 65% 45% at 0% 100%, rgba(0, 0, 0, 0.28) 0%, transparent 52%),
            radial-gradient(ellipse 65% 45% at 100% 100%, rgba(0, 0, 0, 0.28) 0%, transparent 52%),
            linear-gradient(to top, rgba(7, 36, 54, 0.9) 0%, rgba(7, 36, 54, 0.25) 38%, transparent 72%);
    }

    .oyunlar-game-card-img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center center;
        display: block;
        z-index: 0;
        transform: scale(1);
        transform-origin: center center;
        transition: transform 0.35s ease, filter 0.25s ease;
    }

    .oyunlar-game-card:hover .oyunlar-game-card-img {
        transform: scale(1.05);
        filter: brightness(0.92);
    }

    .oyunlar-game-card-overlay {
        position: absolute;
        inset: 0;
        z-index: 3;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0;
        padding: 0;
        pointer-events: none;
        background-color: rgba(5, 5, 5, 0.4);
        opacity: 0;
        transition: opacity 0.2s ease;
    }

    .oyunlar-game-card-overlay i {
        font-size: 24px;
        color: var(--text-light);
        line-height: 1;
        opacity: 0;
        transform: scale(0.9);
        transition: opacity 0.2s ease, transform 0.2s ease;
        filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.6));
    }

    .oyunlar-game-card:hover .oyunlar-game-card-overlay {
        opacity: 1;
    }

    .oyunlar-game-card:hover .oyunlar-game-card-overlay i {
        opacity: 1;
        transform: scale(1);
    }
}