/* =======================
   GAMES.HTML SPECIFIC STYLES
   ======================= */

/* Games Hero Section */
.games-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #43e97b 100%);
    position: relative;
}

.games-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 25% 25%, rgba(255, 107, 53, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(67, 233, 123, 0.2) 0%, transparent 50%);
}

.games-hero .floating-icons i {
    color: rgba(255, 255, 255, 0.15);
    font-size: 4rem;
}

.games-hero .floating-icons i:nth-child(odd) {
    animation: spinFloat 8s linear infinite;
}

@keyframes spinFloat {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(180deg); }
    100% { transform: translateY(0px) rotate(360deg); }
}

/* Game Description Section */
.game-description {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    padding: 6rem 0;
    position: relative;
}

.game-description::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 60 60"><defs><pattern id="hexagon" width="60" height="60" patternUnits="userSpaceOnUse"><polygon points="30,5 50,17.5 50,42.5 30,55 10,42.5 10,17.5" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23hexagon)"/></svg>');
    opacity: 0.3;
}

.description-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    background: rgba(255, 255, 255, 0.95);
    padding: 4rem 3rem;
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    position: relative;
}

.description-content::before {
    content: '🎮';
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 3rem;
    background: white;
    border-radius: 50%;
    padding: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.description-content h2 {
    color: #333;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    background: linear-gradient(45deg, #f093fb, #f5576c);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.description-content p {
    color: #666;
    font-size: 1.2rem;
    line-height: 1.8;
}

/* Top Slots Section */
.top-slots {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    padding: 8rem 0;
    position: relative;
}

.top-slots::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(45deg, transparent 45%, rgba(255, 255, 255, 0.05) 50%, transparent 55%),
        linear-gradient(-45deg, transparent 45%, rgba(255, 255, 255, 0.05) 50%, transparent 55%);
    background-size: 40px 40px;
}

.games-staggered {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

.game-card {
    background: rgba(255, 255, 255, 0.98);
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    position: relative;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.game-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #4facfe, #00f2fe);
    transition: height 0.3s ease;
}

.game-card:hover::before {
    height: 100%;
    opacity: 0.1;
}

.game-card.featured {
    transform: scale(1.05);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.2);
    border-color: #ff6b35;
}

.game-card.featured::before {
    background: linear-gradient(90deg, #ff6b35, #f7931e);
}

.game-card:hover {
    transform: translateY(-15px) rotate(1deg);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.2);
}

.game-card.featured:hover {
    transform: scale(1.08) translateY(-10px);
}

.game-image {
    position: relative;
    height: 220px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    overflow: hidden;
}

.game-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.game-card:hover .game-image img {
    transform: scale(1.15) rotate(2deg);
}

.game-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.4);
    animation: pulse 2s infinite;
}

.game-badge.jackpot {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from { box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4); }
    to { box-shadow: 0 5px 25px rgba(255, 215, 0, 0.8); }
}

.game-overlay {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.game-stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: rgba(79, 172, 254, 0.1);
    margin-top: 1rem;
    border-radius: 10px;
}

.game-stats .rtp {
    background: linear-gradient(135deg, #43e97b, #38f9d7);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: bold;
}

.game-stats .volatility {
    color: #666;
    font-size: 0.8rem;
}

.jackpot-amount {
    color: #FFD700;
    font-weight: bold;
    font-size: 0.9rem;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

/* Live Casino Section */
.live-casino {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    padding: 8rem 0;
    position: relative;
}

.live-casino::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.1) 0%, transparent 60%);
    pointer-events: none;
}

.live-games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.live-game-card {
    background: rgba(255, 255, 255, 0.98);
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    position: relative;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.live-game-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #43e97b, #38f9d7);
}

.live-game-card.featured {
    border-color: #ff6b35;
    box-shadow: 0 25px 60px rgba(255, 107, 53, 0.2);
}

.live-game-card.featured::before {
    background: linear-gradient(90deg, #ff6b35, #f7931e);
}

.live-game-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.2);
}

.live-indicator {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(255, 0, 0, 0.9);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    animation: liveGlow 2s ease-in-out infinite alternate;
}

@keyframes liveGlow {
    from { box-shadow: 0 0 10px rgba(255, 0, 0, 0.5); }
    to { box-shadow: 0 0 20px rgba(255, 0, 0, 0.8); }
}

.live-indicator.bangla {
    background: linear-gradient(135deg, #43e97b, #38f9d7);
    color: white;
    font-weight: bold;
}

.live-dot {
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
    animation: livePulse 1s infinite;
}

@keyframes livePulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.live-stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: rgba(67, 233, 123, 0.1);
    border-radius: 10px;
    margin-top: 1rem;
}

.live-stats .players {
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: bold;
}

.live-stats .bet-range {
    color: #666;
    font-size: 0.8rem;
    font-weight: bold;
}

/* Quick Actions Section */
.quick-actions {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    padding: 6rem 0;
    position: relative;
}

.quick-actions::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 40%);
}

.actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.action-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 3rem 2rem;
    border-radius: 25px;
    text-align: center;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.action-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(250, 112, 154, 0.2), transparent);
    transition: left 0.6s ease;
}

.action-card:hover::before {
    left: 100%;
}

.action-card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    color: inherit;
}

.action-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #fa709a, #fee140);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-size: 2rem;
    color: white;
    transition: all 0.4s ease;
}

.action-card:hover .action-icon {
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 10px 30px rgba(250, 112, 154, 0.4);
}

.action-card h3 {
    color: #333;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.action-card p {
    color: #666;
    font-size: 0.9rem;
}

/* Responsive Design for Games */
@media (max-width: 768px) {
    .description-content {
        padding: 2rem 1.5rem;
        margin: 0 1rem;
    }
    
    .description-content h2 {
        font-size: 2rem;
    }
    
    .games-staggered,
    .live-games-grid,
    .actions-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .game-card.featured {
        transform: none;
    }
    
    .game-card:hover {
        transform: translateY(-10px);
    }
    
    .game-image {
        height: 180px;
    }
    
    .action-card {
        padding: 2rem 1.5rem;
    }
}
