/* Homepage Specific Styles */

.hero {
    position: relative;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 80px 40px;
    text-align: center;
    margin-bottom: 50px;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><radialGradient id="g"><stop offset="0%" stop-color="rgba(255,215,0,0.1)"/><stop offset="100%" stop-color="transparent"/></radialGradient></defs><circle cx="20" cy="30" r="10" fill="url(%23g)"/><circle cx="80" cy="60" r="15" fill="url(%23g)"/><circle cx="40" cy="80" r="8" fill="url(%23g)"/></svg>') no-repeat;
    animation: sparkle 3s ease-in-out infinite;
}

@keyframes sparkle {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.1); }
}

.btn-large {
    padding: 18px 40px;
    font-size: 18px;
    margin-top: 20px;
}

/* Featured Games Section */
.featured-games {
    margin-bottom: 60px;
}

.featured-games h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 40px;
    color: #ffd700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.featured-games h2 i {
    margin-right: 15px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

.play-btn {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
    color: white;
    padding: 12px 20px;
    border-radius: 25px;
    text-align: center;
    font-weight: bold;
    margin-top: 15px;
    transition: all 0.3s ease;
}

.play-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.4);
}

/* Why Choose Section */
.why-choose {
    margin-bottom: 60px;
}

.why-choose h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 40px;
    color: #ffd700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.card-icon {
    font-size: 48px;
    color: #ffd700;
    margin-bottom: 20px;
    display: block;
    animation: rotate 4s linear infinite;
}

@keyframes rotate {
    0% { transform: rotateY(0deg); }
    50% { transform: rotateY(180deg); }
    100% { transform: rotateY(360deg); }
}

/* Payment Methods */
.payment-methods {
    margin-bottom: 60px;
}

.payment-methods h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 40px;
    color: #ffd700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.payment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.payment-card {
    background: linear-gradient(145deg, #2c3e50 0%, #34495e 100%);
    padding: 30px 20px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.payment-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,215,0,0.2), transparent);
    transition: left 0.5s ease;
}

.payment-card:hover::before {
    left: 100%;
}

.payment-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
}

.payment-card img {
		display: block;
		margin: 0 auto;
    height: 80px;
    width: 80px;
		border-radius: 30px;
    object-fit: contain;
    margin-bottom: 15px;
    display: block;
}

.payment-card h4 {
    color: #ffd700;
    margin-bottom: 10px;
    font-size: 20px;
}

.payment-card p {
    color: #b8c9e0;
    font-size: 14px;
}

/* Latest Winners */
.latest-winners {
    margin-bottom: 60px;
}

.latest-winners h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 40px;
    color: #ffd700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.winners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.winner-card {
    background: linear-gradient(145deg, #27ae60 0%, #2ecc71 100%);
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    position: relative;
    overflow: hidden;
    animation: winnerGlow 3s ease-in-out infinite;
}

@keyframes winnerGlow {
    0%, 100% { box-shadow: 0 0 10px rgba(46, 204, 113, 0.3); }
    50% { box-shadow: 0 0 25px rgba(46, 204, 113, 0.6), 0 0 35px rgba(46, 204, 113, 0.4); }
}

.winner-card::before {
    content: '🎉';
    position: absolute;
    top: -20px;
    right: -20px;
    font-size: 30px;
    animation: celebration 2s ease-in-out infinite;
}

@keyframes celebration {
    0%, 100% { transform: rotate(0deg) scale(1); }
    25% { transform: rotate(10deg) scale(1.1); }
    75% { transform: rotate(-10deg) scale(0.9); }
}

.winner-card i {
    font-size: 36px;
    color: #ffd700;
    margin-bottom: 15px;
    display: block;
}

.winner-card h4 {
    color: #ffffff;
    margin-bottom: 10px;
    font-size: 18px;
    font-weight: bold;
}

.winner-card p {
    color: #ffffff;
    margin-bottom: 10px;
    font-size: 16px;
}

.winner-card strong {
    font-size: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.win-time {
    background: rgba(255,255,255,0.2);
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 12px;
    color: #ffffff;
    font-weight: bold;
}

/* Footer */
.footer {
    background: linear-gradient(145deg, #1a1a2e 0%, #16213e 100%);
    padding: 50px 30px 20px;
    margin-top: 60px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-section h4 {
    color: #ffd700;
    margin-bottom: 20px;
    font-size: 20px;
}

.footer-section p,
.footer-section a {
    color: #b8c9e0;
    margin-bottom: 10px;
    text-decoration: none;
    transition: color 0.3s ease;
    display: block;
}

.footer-section a:hover {
    color: #ffd700;
    transform: translateX(5px);
}

.footer-section a i {
    margin-right: 8px;
    width: 20px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,215,0,0.2);
    padding-top: 20px;
    text-align: center;
    color: #8892b0;
    font-size: 14px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero {
        padding: 60px 20px;
    }
    
    .hero h1 {
        font-size: 28px;
    }
    
    .hero p {
        font-size: 16px;
    }
    
    .btn-large {
        padding: 15px 30px;
        font-size: 16px;
    }
    
    .featured-games h2,
    .why-choose h2,
    .payment-methods h2,
    .latest-winners h2 {
        font-size: 28px;
    }
    
    .payment-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
    
    .winners-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}