/*
  =============================================
  CSPLAY ARENA — Privileges Cards Block
  Matches DarkMound-Plus-GE theme
  =============================================
*/

/* === Сетка карточек === */
.priv-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 20px;
}

@media (max-width: 992px) {
    .priv-cards {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

@media (min-width: 993px) and (max-width: 1200px) {
    .priv-cards {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }
}

/* === Карточка === */
.priv-card {
    position: relative;
    background: linear-gradient(165deg, #1a1d2e 0%, #141625 50%, #111320 100%);
    border: 1px solid rgba(130, 100, 220, 0.15);
    border-radius: 16px;
    padding: 28px 22px;
    text-align: center;
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.priv-card:hover {
    transform: translateY(-4px);
    border-color: rgba(130, 100, 220, 0.35);
    box-shadow: 0 12px 40px rgba(100, 60, 200, 0.12);
}

/* === Свечение за карточкой === */
.priv-card-glow {
    position: absolute;
    top: -40%;
    left: 50%;
    transform: translateX(-50%);
    width: 120%;
    height: 60%;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.08;
    pointer-events: none;
    transition: opacity 0.35s ease;
}

.priv-card:hover .priv-card-glow {
    opacity: 0.15;
}

.priv-glow-blue { background: #4a8cff; }
.priv-glow-purple { background: #8158df; }
.priv-glow-orange { background: #ff8c00; }

/* === Популярная карточка (Premium) === */
.priv-card-featured {
    border-color: rgba(130, 88, 223, 0.4);
    background: linear-gradient(165deg, #1e1a35 0%, #171430 50%, #131025 100%);
    box-shadow: 0 0 30px rgba(130, 88, 223, 0.08);
    transform: scale(1.03);
}

.priv-card-featured:hover {
    transform: scale(1.03) translateY(-4px);
    box-shadow: 0 12px 50px rgba(130, 88, 223, 0.18);
}

/* === Бейдж === */
.priv-badge {
    display: inline-block;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: #a0b4d0;
    background: rgba(100, 130, 200, 0.1);
    border: 1px solid rgba(100, 130, 200, 0.15);
    margin-bottom: 16px;
}

.priv-badge-hot {
    color: #c78dff;
    background: rgba(130, 88, 223, 0.15);
    border-color: rgba(130, 88, 223, 0.3);
    animation: badge-pulse 2.5s ease-in-out infinite;
}

.priv-badge-ultra {
    color: #ffb347;
    background: rgba(255, 140, 0, 0.12);
    border-color: rgba(255, 140, 0, 0.25);
}

@keyframes badge-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(130, 88, 223, 0); }
    50% { box-shadow: 0 0 12px 2px rgba(130, 88, 223, 0.2); }
}

/* === Иконка === */
.priv-icon {
    margin-bottom: 12px;
}

.priv-icon i {
    font-size: 36px;
    color: #8158df;
    filter: drop-shadow(0 0 8px rgba(130, 88, 223, 0.3));
}

.priv-card:nth-child(1) .priv-icon i { color: #5a9cff; filter: drop-shadow(0 0 8px rgba(90, 156, 255, 0.3)); }
.priv-card:nth-child(3) .priv-icon i { color: #ff8c00; filter: drop-shadow(0 0 8px rgba(255, 140, 0, 0.3)); }

/* === Название === */
.priv-title {
    font-size: 20px;
    font-weight: 700;
    color: #e8e8f0;
    margin: 0 0 14px 0;
    letter-spacing: 0.5px;
}

/* === Цена === */
.priv-price {
    margin-bottom: 8px;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 6px;
}

.priv-price-old {
    font-size: 16px;
    color: #5d6070;
    text-decoration: line-through;
}

.priv-price-now {
    font-size: 32px;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}

.priv-card-featured .priv-price-now {
    color: #c78dff;
    text-shadow: 0 0 20px rgba(130, 88, 223, 0.3);
}

.priv-card:nth-child(1) .priv-price-now { color: #7aafff; }
.priv-card:nth-child(3) .priv-price-now { color: #ffb347; }

.priv-price-period {
    font-size: 14px;
    color: #5d6883;
    font-weight: 500;
}

/* === Скидка === */
.priv-discount {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    color: #4ade80;
    background: rgba(74, 222, 128, 0.1);
    border: 1px solid rgba(74, 222, 128, 0.15);
    margin-bottom: 16px;
}

/* === Список преимуществ === */
.priv-features {
    list-style: none;
    padding: 0;
    margin: 18px 0 22px 0;
    text-align: left;
}

.priv-features li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 5px 0;
    font-size: 13px;
    color: #a0a8c0;
    line-height: 1.4;
}

.priv-features li i {
    color: #4ade80;
    font-size: 16px;
    flex-shrink: 0;
    margin-top: 1px;
}

.priv-feature-highlight {
    color: #e8e8f0 !important;
    font-weight: 600;
    margin-top: 6px;
}

.priv-feature-highlight i {
    color: #ff6b6b !important;
}

.priv-feature-sub {
    padding-left: 24px !important;
    font-size: 12px !important;
    color: #8890a8 !important;
}

.priv-feature-sub::before {
    content: "›";
    color: #5d6883;
    margin-right: 6px;
    font-weight: 700;
}

/* === Кнопка === */
.priv-btn {
    display: block;
    width: 100%;
    padding: 12px 0;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid;
}

.priv-btn-blue {
    color: #5a9cff;
    background: rgba(90, 156, 255, 0.08);
    border-color: rgba(90, 156, 255, 0.25);
}

.priv-btn-blue:hover {
    background: rgba(90, 156, 255, 0.18);
    box-shadow: 0 0 20px rgba(90, 156, 255, 0.15);
    color: #7abaff;
    text-decoration: none;
}

.priv-btn-purple {
    color: #c78dff;
    background: rgba(130, 88, 223, 0.12);
    border-color: rgba(130, 88, 223, 0.35);
}

.priv-btn-purple:hover {
    background: rgba(130, 88, 223, 0.25);
    box-shadow: 0 0 25px rgba(130, 88, 223, 0.2);
    color: #d9a8ff;
    text-decoration: none;
}

.priv-btn-orange {
    color: #ffb347;
    background: rgba(255, 140, 0, 0.08);
    border-color: rgba(255, 140, 0, 0.25);
}

.priv-btn-orange:hover {
    background: rgba(255, 140, 0, 0.18);
    box-shadow: 0 0 20px rgba(255, 140, 0, 0.15);
    color: #ffc870;
    text-decoration: none;
}

/* === Инфо о доставке === */
.priv-delivery-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    margin-bottom: 20px;
    border-radius: 10px;
    background: rgba(74, 222, 128, 0.04);
    border: 1px solid rgba(74, 222, 128, 0.1);
    font-size: 12.5px;
    color: #7a8a70;
    font-weight: 500;
}

.priv-delivery-info i {
    font-size: 18px;
    color: #4ade80;
    flex-shrink: 0;
}

/* === Анимация появления === */
@keyframes priv-fade-up {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.priv-card {
    animation: priv-fade-up 0.5s ease forwards;
}

.priv-card:nth-child(1) { animation-delay: 0.1s; }
.priv-card:nth-child(2) { animation-delay: 0.2s; }
.priv-card:nth-child(3) { animation-delay: 0.3s; }
