/* Bonus Promo Tournament Plugin Styles */

.bpt-container {
    position: relative;
    width: 100%;
    min-height: 600px;
    padding: 60px 20px;
    border-radius: 20px;
    overflow: hidden;
    margin: 40px 0;
    background: linear-gradient(135deg, #1e3a8a 0%, #3730a3 25%, #5b21b6 50%, #7c2d92 75%, #9333ea 100%);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.bpt-background-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(59, 130, 246, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(168, 85, 247, 0.1) 0%, transparent 50%);
    animation: backgroundPulse 8s ease-in-out infinite;
    z-index: 1;
}

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

.bpt-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
}

.bpt-main-title {
    text-align: center;
    font-size: 3rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 60px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    background: linear-gradient(135deg, #ffffff, #ddd6fe, #8b5cf6);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: titleGlow 3s ease-in-out infinite alternate;
}

@keyframes titleGlow {
    from { filter: drop-shadow(0 0 10px rgba(139, 92, 246, 0.3)); }
    to { filter: drop-shadow(0 0 20px rgba(139, 92, 246, 0.6)); }
}

.bpt-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    align-items: stretch;
}

.bpt-column {
    animation: slideUp 0.8s ease-out forwards;
    opacity: 0;
    transform: translateY(50px);
}

.bpt-column:nth-child(1) { animation-delay: 0.2s; }
.bpt-column:nth-child(2) { animation-delay: 0.4s; }
.bpt-column:nth-child(3) { animation-delay: 0.6s; }

@keyframes slideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.bpt-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px 30px;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.bpt-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent, rgba(139, 92, 246, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.bpt-card:hover {
    transform: translateY(-10px) scale(1.02);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(139, 92, 246, 0.3);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.3),
        0 0 30px rgba(139, 92, 246, 0.2);
}

.bpt-card:hover::before {
    opacity: 1;
}

.bpt-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 25px;
    padding: 20px;
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.3);
    transition: all 0.3s ease;
    animation: iconFloat 3s ease-in-out infinite;
}

@keyframes iconFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-5px); }
}

.bpt-card:hover .bpt-icon {
    transform: scale(1.1) rotateY(10deg);
    box-shadow: 0 15px 40px rgba(139, 92, 246, 0.4);
}

.bpt-icon svg {
    width: 40px;
    height: 40px;
}

.bpt-card-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 20px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.bpt-card-description {
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
    flex-grow: 1;
}

.bpt-card-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(139, 92, 246, 0.3);
    position: relative;
    overflow: hidden;
}

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

.bpt-card-link:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, #7c3aed, #6d28d9);
    box-shadow: 0 15px 35px rgba(139, 92, 246, 0.4);
    text-decoration: none;
    color: white;
}

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

.bpt-card-link svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.bpt-card-link:hover svg {
    transform: translateX(3px);
}

/* Специальные эффекты для разных карточек */
.bpt-tournaments .bpt-card {
    background: rgba(59, 130, 246, 0.05);
}

.bpt-promocodes .bpt-card {
    background: rgba(139, 92, 246, 0.05);
}

.bpt-slots .bpt-card {
    background: rgba(168, 85, 247, 0.05);
}

/* Адаптивность */
@media (max-width: 768px) {
    .bpt-container {
        padding: 40px 15px;
        margin: 20px 0;
        border-radius: 15px;
    }
    
    .bpt-main-title {
        font-size: 2rem;
        margin-bottom: 40px;
    }
    
    .bpt-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .bpt-card {
        padding: 30px 20px;
    }
    
    .bpt-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 20px;
        padding: 15px;
    }
    
    .bpt-icon svg {
        width: 30px;
        height: 30px;
    }
    
    .bpt-card-title {
        font-size: 1.5rem;
        margin-bottom: 15px;
    }
    
    .bpt-card-description {
        font-size: 0.9rem;
        margin-bottom: 25px;
    }
    
    .bpt-card-link {
        padding: 12px 25px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .bpt-container {
        padding: 30px 10px;
    }
    
    .bpt-main-title {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }
    
    .bpt-card {
        padding: 25px 15px;
    }
    
    .bpt-card-link {
        padding: 10px 20px;
        font-size: 0.85rem;
    }
}

/* Анимация появления при скролле */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.bpt-container.animate-in {
    animation: fadeInUp 1s ease-out;
}