/* Bridges Games - Game Cards */

.bridges-game-card {
    max-width: 400px;
    margin: 20px auto;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.bridges-game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.bridges-game-card-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 48px;
}

.bridges-game-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bridges-game-card-body {
    padding: 25px;
    text-align: center;
}

.bridges-game-card-title {
    margin: 0 0 10px 0;
    font-size: 24px;
    color: #333;
}

.bridges-game-card-description {
    color: #666;
    margin-bottom: 20px;
    font-size: 14px;
}

.bridges-game-play-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff !important;
    padding: 14px 35px;
    border-radius: 30px;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none !important;
    transition: transform 0.3s, box-shadow 0.3s;
}

.bridges-game-play-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.4);
    color: #fff !important;
}

.bridges-game-play-btn svg {
    width: 24px;
    height: 24px;
}

/* Game-specific colors */
.bridges-game-card[data-game="after-the-match"] .bridges-game-card-image {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
}

.bridges-game-card[data-game="after-the-match"] .bridges-game-play-btn {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
}

.bridges-game-card[data-game="save-the-turtles"] .bridges-game-card-image {
    background: linear-gradient(135deg, #00b4db 0%, #0083b0 100%);
}

.bridges-game-card[data-game="save-the-turtles"] .bridges-game-play-btn {
    background: linear-gradient(135deg, #00b4db 0%, #0083b0 100%);
}

.bridges-game-card[data-game="interactive-combo"] .bridges-game-card-image {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.bridges-game-card[data-game="interactive-combo"] .bridges-game-play-btn {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

/* Access Denied Styles */
.bridges-games-access-denied {
    max-width: 500px;
    margin: 40px auto;
    padding: 40px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    text-align: center;
}

.bridges-games-access-denied h2 {
    color: #333;
    margin-bottom: 15px;
}

.bridges-games-access-denied p {
    color: #666;
    margin-bottom: 20px;
}

.bridges-games-access-denied .btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 25px;
    text-decoration: none;
    margin: 5px;
    font-weight: 500;
}

.bridges-games-access-denied .btn-primary {
    background: #667eea;
    color: #fff;
}

.bridges-games-access-denied .btn-secondary {
    background: #e9ecef;
    color: #333;
}
