/* Main Styles */
body {
    font-family: 'Comic Sans MS', cursive, sans-serif;
    background-color: #f0f9ff;
    margin: 0;
    text-align: center;
}

#sub-banner {
    background: #ffcc00;
    padding: 20px;
    border-bottom: 5px solid #f39c12;
}

/* Grid Layout */
.game-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    padding: 40px;
    max-width: 1100px;
    margin: 0 auto;
}

/* Game Cards */
.game-card {
    background: white;
    border-radius: 25px;
    padding: 20px;
    box-shadow: 0 8px 15px rgba(0,0,0,0.1);
    transition: transform 0.2s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.game-card:hover {
    transform: translateY(-5px);
}

.game-card h3 {
    margin: 15px 0;
    color: #333;
    font-size: 1.2rem;
}

/* Icon Styling */
.thumbnail {
    width: 100%;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.game-icon {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

/* Locked State Logic */
.game-card.locked {
    background: #e2e8f0;
}

.game-card.locked .game-icon {
    filter: grayscale(100%) opacity(0.6);
}

.game-card.locked button {
    background: #94a3b8;
}

/* Buttons */
button {
    font-family: inherit;
    padding: 10px 20px;
    border: none;
    border-radius: 12px;
    background: #4caf50;
    color: white;
    font-weight: bold;
    cursor: pointer;
}

.btn-subscribe {
    background: #e91e63;
    font-size: 1.1rem;
}

.btn-cancel {
    background: #ccc;
    color: #333;
}

/* Modal */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-overlay.active {
    display: flex;
}

.modal-content {
    background: white;
    padding: 30px;
    border-radius: 30px;
    border: 6px solid #e91e63;
}