/* Live Casino Page Styles */

/* Hero Banner */
.live-hero {
    position: relative;
    height: 350px;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 30px;
    background: linear-gradient(135deg, #1a2a6c, #b21f1f);
    display: flex;
    align-items: center;
    padding: 0 50px;
}

.live-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><rect width="20" height="20" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></svg>') repeat;
    opacity: 0.2;
    z-index: 1;
}

.live-hero-content {
    position: relative;
    z-index: 2;
    max-width: 70%;
}

.live-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: var(--primary);
}

.live-hero h2 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #fff;
}

.live-hero p {
    font-size: 1.1rem;
    margin-bottom: 25px;
    color: #ddd;
}

.play-now-btn {
    display: inline-block;
    background-color: var(--secondary);
    color: var(--light);
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.play-now-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 87, 34, 0.4);
}

.live-status {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 8px 15px;
    border-radius: 50px;
    z-index: 2;
}

.status-indicator {
    width: 12px;
    height: 12px;
    background-color: #ff0000;
    border-radius: 50%;
    margin-right: 8px;
    animation: blink 1.5s infinite;
}

@keyframes blink {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0.3;
    }
    100% {
        opacity: 1;
    }
}

/* Features Section */
.features-section {
    margin-bottom: 30px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.feature-card {
    background-color: var(--darker);
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(255, 193, 7, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px;
}

.feature-icon i {
    font-size: 30px;
    color: var(--primary);
}

.feature-card h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: #fff;
}

.feature-card p {
    font-size: 0.9rem;
    color: #ccc;
    line-height: 1.6;
}

/* Game Sections */
.game-section {
    margin-bottom: 40px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.section-header h2 {
    font-size: 1.8rem;
    color: var(--primary);
    position: relative;
    padding-bottom: 5px;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--primary);
}

.view-all-btn {
    display: flex;
    align-items: center;
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.view-all-btn i {
    margin-left: 5px;
    transition: all 0.3s ease;
}

.view-all-btn:hover {
    color: var(--secondary);
}

.view-all-btn:hover i {
    transform: translateX(3px);
}

/* Live Game Cards */
.live-games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.live-game-card {
    background-color: var(--darker);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    position: relative;
}

.live-game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.live-thumbnail {
    height: 180px;
    background: linear-gradient(to right, #1a2a6c, #b21f1f);
    position: relative;
}

.live-thumbnail img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.live-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: #ff0000;
    color: #fff;
    padding: 3px 10px;
    border-radius: 5px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
}

.featured-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: var(--primary);
    color: var(--dark);
    padding: 3px 10px;
    border-radius: 5px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
}

.live-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.live-game-card:hover .live-overlay {
    opacity: 1;
}

.play-btn {
    background-color: var(--primary);
    color: var(--dark);
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    transform: translateY(20px);
}

.live-game-card:hover .play-btn {
    transform: translateY(0);
}

.play-btn:hover {
    background-color: var(--primary-dark);
}

.live-info {
    padding: 15px;
}

.live-info h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: #fff;
}

.dealer-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 0.85rem;
    color: #ccc;
}

.dealer-name {
    display: flex;
    align-items: center;
}

.bet-range {
    color: var(--primary);
    font-weight: 600;
}

.players-info {
    font-size: 0.85rem;
    color: #ccc;
    display: flex;
    align-items: center;
}

.players-info i {
    margin-right: 5px;
    color: var(--primary);
}

/* Featured Game Card */
.live-game-card.featured {
    border: 1px solid var(--primary);
}

.live-game-card.featured .live-thumbnail {
    background: linear-gradient(135deg, #ff9900, #ff5722);
}

/* Highlights Section */
.highlights-section {
    background-color: var(--darker);
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: var(--shadow);
}

.highlights-section h2 {
    font-size: 1.8rem;
    color: var(--primary);
    text-align: center;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 10px;
}

.highlights-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background-color: var(--primary);
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(45%, 1fr));
    gap: 20px;
}

.highlight-item {
    display: flex;
    align-items: flex-start;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 20px;
    transition: all 0.3s ease;
}

.highlight-item:hover {
    transform: translateY(-3px);
    background-color: rgba(255, 255, 255, 0.08);
}

.highlight-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(255, 193, 7, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 15px;
    flex-shrink: 0;
}

.highlight-icon i {
    font-size: 22px;
    color: var(--primary);
}

.highlight-content h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: #fff;
}

.highlight-content p {
    font-size: 0.9rem;
    color: #ccc;
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #1a2a6c, #b21f1f);
    border-radius: 10px;
    padding: 40px;
    text-align: center;
    margin-bottom: 30px;
}

.cta-section h2 {
    font-size: 2rem;
    color: #fff;
    margin-bottom: 15px;
}

.cta-section p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 25px;
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.cta-btn {
    background-color: var(--primary);
    color: var(--dark);
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cta-btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Media Queries */
@media (max-width: 992px) {
    .highlights-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .live-hero {
        padding: 30px;
				flex-direction: column;
        height: auto;
    }
    
    .live-hero-content {
        max-width: 100%;
    }
    
    .live-hero h1 {
        font-size: 2rem;
    }
    
    .live-hero h2 {
        font-size: 1.2rem;
    }
    
    .live-status {
        position: relative;
        top: auto;
        right: auto;
        margin-top: 20px;
        width: fit-content;
    }
    
    .features-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .cta-btn {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .features-grid,
    .live-games-grid {
        grid-template-columns: 1fr;
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .view-all-btn {
        margin-top: 10px;
    }
} 