
/* Features Page Specific Styles */

.feature-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: rgba(31, 41, 55, 0.8);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(107, 70, 193, 0.3);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

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

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

.feature-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-glow);
    border-color: var(--accent-gold);
}

.feature-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 1.5rem;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    box-shadow: 0 10px 30px rgba(107, 70, 193, 0.3);
}

.feature-card h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--accent-gold);
}

.feature-card p {
    font-size: 1.1rem;
    opacity: 0.9;
    line-height: 1.6;
}

/* Jackpot Features */
.jackpot-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.jackpot-card {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1) 0%, rgba(107, 70, 193, 0.1) 100%);
    border: 2px solid var(--accent-gold);
    border-radius: 25px;
    padding: 3rem 2rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.jackpot-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(transparent, rgba(245, 158, 11, 0.1), transparent 30%);
    animation: rotate 4s linear infinite;
    z-index: 0;
}

.jackpot-card > * {
    position: relative;
    z-index: 1;
}

.jackpot-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(245, 158, 11, 0.3);
    border-color: #FDE047;
}

.jackpot-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 2rem;
    background: var(--gradient-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--dark-bg);
    box-shadow: 0 15px 35px rgba(245, 158, 11, 0.4);
}

.jackpot-card h3 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.jackpot-card p {
    font-size: 1.2rem;
    opacity: 0.9;
    line-height: 1.6;
}

/* Table Games Grid */
.table-games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.game-card {
    background: rgba(31, 41, 55, 0.9);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(107, 70, 193, 0.3);
    backdrop-filter: blur(10px);
    position: relative;
}

.game-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    opacity: 0;
    border-radius: 20px;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.game-card:hover::after {
    opacity: 0.1;
}

.game-card > * {
    position: relative;
    z-index: 1;
}

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

.game-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    transition: all 0.3s ease;
}

.game-card:hover .game-icon {
    transform: scale(1.1);
    box-shadow: 0 10px 25px rgba(107, 70, 193, 0.4);
}

.game-card h3 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--accent-gold);
}

.game-card p {
    opacity: 0.9;
    line-height: 1.6;
}

/* Scratch Cards Features */
.scratch-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.scratch-card {
    background: linear-gradient(45deg, rgba(31, 41, 55, 0.8) 0%, rgba(55, 65, 81, 0.8) 100%);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(107, 70, 193, 0.3);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.scratch-card::before {
    content: '🎫';
    position: absolute;
    top: -20px;
    right: -20px;
    font-size: 4rem;
    opacity: 0.1;
    z-index: 0;
}

.scratch-card:hover {
    transform: translateY(-10px) rotate(1deg);
    box-shadow: var(--shadow-glow);
    border-color: var(--accent-gold);
}

.scratch-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 1.5rem;
    background: var(--gradient-primary);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    color: white;
    transform: rotate(-5deg);
    transition: all 0.3s ease;
}

.scratch-card:hover .scratch-icon {
    transform: rotate(0deg) scale(1.1);
}

.scratch-card h3 {
    font-size: 1.7rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--accent-gold);
}

.scratch-card p {
    opacity: 0.9;
    line-height: 1.6;
}

/* Animations */
@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.jackpot-icon {
    animation: pulse 2s ease-in-out infinite;
}

/* Responsive Design */
@media (max-width: 768px) {
    .feature-showcase,
    .jackpot-features,
    .table-games-grid,
    .scratch-features {
        grid-template-columns: 1fr;
    }
    
    .feature-card,
    .jackpot-card,
    .game-card,
    .scratch-card {
        padding: 2rem 1.5rem;
    }
    
    .jackpot-card {
        padding: 2rem 1.5rem;
    }
    
    .jackpot-icon {
        width: 100px;
        height: 100px;
        font-size: 2.5rem;
    }
}
