/* Homepage Specific Styles */

/* Hero Section */
.hero {
    position: relative;
    background: var(--gradient-dark);
    border-radius: 16px;
    padding: var(--spacing-xxl);
    margin-bottom: var(--spacing-xl);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 400px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(123, 44, 191, 0.1));
    border-radius: 16px;
}

.welcome-badge {
    position: absolute;
    top: var(--spacing-lg);
    left: var(--spacing-lg);
    background: var(--gradient-primary);
    color: var(--darker-bg);
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 2;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    z-index: 2;
}

.hero-title {
    font-family: 'Orbitron', monospace;
    font-size: 42px;
    font-weight: 900;
    color: var(--text-primary);
    margin-bottom: var(--spacing-md);
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 18px;
    color: var(--primary-gold);
    margin-bottom: var(--spacing-xl);
    font-weight: 500;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
}

.hero-actions {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.btn-cta {
    padding: var(--spacing-md) var(--spacing-xl);
    border-radius: 25px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    transition: all var(--transition-normal);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 180px;
    text-align: center;
}

.btn-cta.primary {
    background: var(--gradient-primary);
    color: var(--darker-bg);
    box-shadow: var(--shadow-glow);
}

.btn-cta.secondary {
    background: transparent;
    color: var(--primary-gold);
    border: 2px solid var(--primary-gold);
}

.btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
}

.btn-cta.primary:hover {
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.6);
}

.hero-visual {
    flex: 0 0 300px;
    height: 300px;
    position: relative;
    z-index: 2;
}

.hero-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
}

/* Games Section */
.games-section {
    margin-bottom: var(--spacing-xxl);
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
}

/* Game Cards */
.game-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: all var(--transition-normal);
    position: relative;
}

.game-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-gold);
}

.game-card.featured::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    z-index: 2;
}

.game-card.popular::before {
    background: var(--gradient-secondary);
}

.game-card.exclusive::before {
    background: var(--gradient-accent);
}

.game-card.jackpot::before {
    background: linear-gradient(90deg, var(--accent-red), var(--primary-gold), var(--accent-red));
    animation: jackpotGlow 2s ease-in-out infinite;
}

@keyframes jackpotGlow {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.game-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.game-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-normal);
}

.game-card:hover .game-image img {
    transform: scale(1.1);
}

.game-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all var(--transition-normal);
}

.game-card:hover .game-overlay {
    opacity: 1;
}

.play-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: var(--darker-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 20px;
    transition: all var(--transition-normal);
}

.play-btn:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-glow);
}

.provider-badge {
    position: absolute;
    top: var(--spacing-sm);
    left: var(--spacing-sm);
    background: var(--darker-bg);
    color: var(--text-primary);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
}

.provider-badge.exclusive-badge {
    background: var(--gradient-accent);
    color: var(--text-primary);
}

.jackpot-amount {
    position: absolute;
    top: var(--spacing-sm);
    right: var(--spacing-sm);
    background: var(--gradient-primary);
    color: var(--darker-bg);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: 12px;
    font-size: 12px;
    font-weight: 700;
    animation: pulse 2s infinite;
}

.game-info {
    padding: var(--spacing-md);
}

.game-info h3 {
    color: var(--text-primary);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
}

.game-stats {
    display: flex;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
}

.game-stats span {
    font-size: 12px;
    padding: 2px var(--spacing-xs);
    border-radius: 8px;
    font-weight: 600;
}

.rtp {
    background: rgba(0, 230, 118, 0.2);
    color: var(--success);
}

.volatility {
    color: var(--text-primary);
}

.volatility.high {
    background: rgba(255, 23, 68, 0.2);
    color: var(--accent-red);
}

.volatility.medium {
    background: rgba(255, 179, 0, 0.2);
    color: var(--warning);
}

.volatility.low {
    background: rgba(0, 230, 118, 0.2);
    color: var(--success);
}

/* Live Casino Section */
.live-casino-section {
    margin-bottom: var(--spacing-xxl);
}

.live-games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
}

.live-game-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: all var(--transition-normal);
}

.live-game-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--secondary-green);
}

.live-image {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.live-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.live-indicator {
    position: absolute;
    top: var(--spacing-sm);
    left: var(--spacing-sm);
    background: var(--accent-red);
    color: var(--text-primary);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.live-dot {
    width: 6px;
    height: 6px;
    background: var(--text-primary);
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}

.players-count {
    position: absolute;
    top: var(--spacing-sm);
    right: var(--spacing-sm);
    background: rgba(0, 0, 0, 0.7);
    color: var(--text-primary);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
}

.live-info {
    padding: var(--spacing-md);
}

.live-info h3 {
    color: var(--text-primary);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
}

.live-info p {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: var(--spacing-md);
}

.join-btn {
    background: var(--gradient-secondary);
    color: var(--text-primary);
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: 20px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all var(--transition-normal);
    display: inline-block;
}

.join-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Sports Section */
.sports-section {
    margin-bottom: var(--spacing-xxl);
}

.sports-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: var(--spacing-lg);
    transition: all var(--transition-normal);
}

.sports-card:hover {
    border-color: var(--secondary-orange);
    box-shadow: var(--shadow-md);
}

.match-info {
    margin-bottom: var(--spacing-lg);
}

.teams {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-md);
}

.team {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-sm);
}

.team img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid var(--border-color);
}

.team span {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 16px;
}

.vs {
    font-family: 'Orbitron', monospace;
    font-size: 18px;
    font-weight: 900;
    color: var(--primary-gold);
    background: var(--darker-bg);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.match-details {
    text-align: center;
    color: var(--text-secondary);
}

.match-details p:first-child {
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
}

.betting-options {
    display: flex;
    gap: var(--spacing-md);
    justify-content: space-between;
}

.bet-option {
    flex: 1;
    text-align: center;
}

.bet-option span {
    display: block;
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: var(--spacing-xs);
}

.odds {
    background: var(--gradient-primary);
    color: var(--darker-bg);
    padding: var(--spacing-md);
    border-radius: 8px;
    text-decoration: none;
    font-size: 18px;
    font-weight: 700;
    display: block;
    transition: all var(--transition-normal);
}

.odds:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Features Section */
.features-section {
    margin-bottom: var(--spacing-xxl);
}

.features-section h2 {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--spacing-xl);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-xl);
}

.feature-card {
    text-align: center;
    padding: var(--spacing-xl);
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    transition: all var(--transition-normal);
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-gold);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-md);
}

.feature-icon i {
    font-size: 32px;
    color: var(--darker-bg);
}

.feature-card h3 {
    color: var(--text-primary);
    font-size: 20px;
    font-weight: 600;
    margin-bottom: var(--spacing-md);
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Testimonials Section */
.testimonials-section {
    margin-bottom: var(--spacing-xxl);
}

.testimonials-section h2 {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--spacing-xl);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--spacing-lg);
}

.testimonial-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: var(--spacing-xl);
    transition: all var(--transition-normal);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: var(--spacing-md);
    left: var(--spacing-md);
    font-size: 60px;
    color: var(--primary-gold);
    opacity: 0.3;
    font-family: serif;
    line-height: 1;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-gold);
    box-shadow: var(--shadow-md);
}

.testimonial-content {
    position: relative;
    z-index: 2;
}

.testimonial-content p {
    color: var(--text-primary);
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: var(--spacing-lg);
    font-style: italic;
}

.testimonial-author strong {
    color: var(--primary-gold);
    font-weight: 600;
    display: block;
    margin-bottom: var(--spacing-xs);
}

.testimonial-author span {
    color: var(--text-secondary);
    font-size: 14px;
}

/* Responsive Design for Homepage */
@media (max-width: 1024px) {
    .hero {
        flex-direction: column;
        text-align: center;
        gap: var(--spacing-xl);
        padding: var(--spacing-xl);
    }
    
    .hero-visual {
        flex: none;
        width: 100%;
        max-width: 400px;
        height: 250px;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .games-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: var(--spacing-md);
    }
    
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: var(--spacing-lg);
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
}

@media (max-width: 768px) {
    .hero {
        padding: var(--spacing-lg);
        min-height: 300px;
    }
    
    .hero-title {
        font-size: 28px;
        margin-bottom: var(--spacing-md);
    }
    
    .hero-subtitle {
        font-size: 16px;
        margin-bottom: var(--spacing-lg);
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
        gap: var(--spacing-md);
    }
    
    .btn-cta {
        width: 100%;
        max-width: 280px;
        padding: var(--spacing-md);
        font-size: 14px;
    }
    
    .hero-visual {
        height: 200px;
    }
    
    .games-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: var(--spacing-md);
    }
    
    .game-image {
        height: 160px;
    }
    
    .live-games-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    .live-image {
        height: 140px;
    }
    
    .teams {
        flex-direction: column;
        gap: var(--spacing-md);
    }
    
    .vs {
        order: 2;
        margin: var(--spacing-md) 0;
    }
    
    .betting-options {
        flex-direction: column;
        gap: var(--spacing-sm);
    }
    
    .features-section h2,
    .testimonials-section h2 {
        font-size: 24px;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
    }
    
    .feature-icon i {
        font-size: 24px;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: var(--spacing-md);
        min-height: 250px;
    }
    
    .hero-title {
        font-size: 24px;
    }
    
    .hero-subtitle {
        font-size: 14px;
    }
    
    .hero-visual {
        height: 150px;
    }
    
    .games-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .game-image {
        height: 140px;
    }
    
    .live-games-grid {
        grid-template-columns: 1fr;
    }
    
    .live-image {
        height: 120px;
    }
    
    .sports-card {
        padding: var(--spacing-md);
    }
    
    .team img {
        width: 50px;
        height: 50px;
    }
    
    .vs {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .feature-card {
        padding: var(--spacing-lg);
    }
    
    .testimonial-card {
        padding: var(--spacing-md);
    }
    
    .testimonial-card::before {
        font-size: 40px;
        top: var(--spacing-sm);
        left: var(--spacing-sm);
    }
}