/*
@file: battle_pass.css
autor: Shadowy
data: 2025-05-07
descrição: Battle Pass CSS
versão: 1.7
data de atualização: 2025-08-01
*/
.container_body {
    font-family: var(--body-font);
    background-color: var(--th-body-background);
    color: var(--body-color);
    line-height: 1.6;
    padding: 20px;
    margin-top: 3%;
}

.header {
    text-align: center;
    margin-bottom: 30px;
}

.header h1 {
    font-family: var(--title-font);
    color: var(--white-color);
    font-size: 2.5rem;
    margin-bottom: 5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.header p {
    font-size: 1.1rem;
    color: var(--theme-color);
}

.season-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(145deg, #1a1d26, #0b0e13);
    padding: 20px;
    border-radius: 5px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.season-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--theme-color), var(--theme-color3));
}

.season-info .left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.season-info .right {
    text-align: right;
}

.season-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--theme-color), var(--theme-color3));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--white-color);
    box-shadow: 0 4px 10px rgba(0, 132, 255, 0.3);
    transition: transform 0.3s ease;
}

.season-icon:hover {
    transform: rotate(15deg) scale(1.1);
}

.season-title h2 {
    font-family: var(--title-font);
    color: var(--white-color);
    font-size: 1.8rem;
    margin-bottom: 5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.season-title p {
    font-size: 1rem;
    color: var(--body-color);
}

.time-remaining {
    font-size: 1.1rem;
    color: var(--yellow-color);
    font-weight: 600;
}

/* Progress Bar */
.progress-container {
    margin-bottom: 40px;
}

.progress-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.progress-header h3 {
    font-family: var(--title-font);
    color: var(--white-color);
    font-size: 1.4rem;
    margin: 0;
}

.progress-header span {
    font-weight: 600;
    color: var(--theme-color);
}

.progress-bar {
    width: 100%;
    height: 25px;
    background-color: var(--black-color3);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 10px;
    position: relative;
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.3);
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--theme-color), var(--theme-color3));
    border-radius: 12px;
    width: 35%;
    position: relative;
    transition: width 0.8s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    overflow: hidden;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg,
            rgba(255, 255, 255, 0.1) 0%,
            rgba(255, 255, 255, 0.4) 50%,
            rgba(255, 255, 255, 0.1) 100%);
    background-size: 200% 100%;
    animation: shine 2s infinite;
    border-radius: 12px;
}

.progress-level {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: var(--body-color);
}

/* Tabs */
.battle-pass-tabs {
    display: flex;
    margin-bottom: 30px;
    border-bottom: 1px solid var(--th-border-color);
    background: var(--black-color3);
    border-radius: 1px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.tab {
    padding: 12px 25px;
    cursor: pointer;
    font-family: var(--title-font);
    color: var(--body-color);
    position: relative;
    font-weight: 600;
    transition: all 0.3s ease;
    flex: 1;
    text-align: center;
}

.tab:hover {
    color: var(--white-color);
    background-color: rgba(255, 255, 255, 0.05);
}

.tab.active {
    color: var(--white-color);
    background: linear-gradient(145deg, var(--theme-color), var(--theme-color3));
}

.tab.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--theme-color);
}

.tab[data-tab="premium"] {
    background: linear-gradient(135deg, #ffd700 0%, #daa520 50%, #ffd700 100%);
    color: #000 !important;
    font-weight: 700;
    position: relative;
    overflow: hidden;
}

.tab[data-tab="premium"]::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(to bottom right,
            rgba(255, 255, 255, 0) 45%,
            rgba(255, 255, 255, 0.8) 50%,
            rgba(255, 255, 255, 0) 55%);
    transform: rotate(30deg);
    animation: shine 3s infinite;
}

/* Rewards Grid */
.rewards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.reward-tier {
    background: linear-gradient(145deg, #1a1d26, #0b0e13);
    overflow: hidden;
    position: relative;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: 1px solid var(--th-border-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.reward-tier:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

/* Tier Header */
.tier-header {
    background: linear-gradient(145deg, var(--theme-color2), var(--theme-color3));
    padding: 12px;
    text-align: center;
    font-family: var(--title-font);
    color: var(--white-color);
    font-weight: 600;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.tier-header::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.3) 50%,
            rgba(255, 255, 255, 0) 100%);
    animation: headerShine 3s infinite;
}

/* Premium Items */
.premium-item {
    position: relative;
    overflow: hidden;
    border: 0px solid transparent;
    background: linear-gradient(145deg, #0B0E13 0%, #1A1D26 100%);
    animation: float 4s ease-in-out infinite;
    transition: 200ms;
}

.premium-item::before {
    content: '';
    position: absolute;
    top: -45%;
    width: 200%;
    height: 200%;
    background: linear-gradient(to bottom right, rgba(255, 215, 0, 0) 44%, rgba(248, 225, 92, 0.8) 47%, rgba(255, 215, 0, 0) 50%);
    animation: shine 1s infinite;
    z-index: 1;
    opacity: 50%;
}

.premium-item:hover::before {
    content: '';
    animation: none 1s infinite;
    width: 0%;
    height: 0%;
}

.premium-item .tier-header {
    background: linear-gradient(135deg, #ffd700 0%, #daa520 50%, #ffd700 100%);
    color: #000 !important;
    font-weight: 700;
    text-shadow: 0 0 5px rgba(255, 215, 0, 0.5);
}

.premium-glow {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 30px;
    height: 30px;
    background: radial-gradient(circle,
            rgba(255, 215, 0, 0.8) 0%,
            rgba(207, 149, 0, 0.6) 70%,
            transparent 100%);
    border-radius: 50%;
    filter: blur(3px);
    animation: pulse 2s infinite alternate;
    z-index: 2;
}

.holographic-effect {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg,
            rgba(255, 0, 0, 0.1) 0%,
            rgba(0, 255, 255, 0.1) 50%,
            rgba(0, 0, 255, 0.1) 100%);
    opacity: 0.3;
    mix-blend-mode: overlay;
    z-index: 0;
}

/*
.premium-item {
  
    border-image: linear-gradient(to bottom right,
            #ffd700,
            #daa520,
            #ffd700) 1;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.4),
        0 0 40px rgba(255, 215, 0, 0.2) inset;
     
}   */

.premium-item:hover {

    box-shadow: 0 0 30px rgba(255, 215, 0, 0.6),
        0 0 50px rgba(255, 215, 0, 0.3) inset;

    transform: translateY(-8px) scale(1.10);
    transition: 500ms;
    /*animation: floatHover 4s ease-in-out infinite;*/
    scale: 115%;
    margin-top: 20px;
    margin-bottom: 40px;
    animation: pulseGold 1.5s infinite;

}

.premium-item .reward-name {
    color: #ffd700 !important;
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.6);
}

/* Tier Content */
.tier-content {
    padding: 20px;
    text-align: center;
    position: relative;
}

.reward-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(145deg, var(--theme-color), var(--theme-color3));
    border-radius: 50%;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.reward-icon:hover {
    transform: scale(1.1) rotate(5deg);
}

.reward-img {
    max-width: 85%;
    max-height: 85%;
    object-fit: contain;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.3));
}

.reward-name {
    font-family: var(--title-font);
    color: var(--white-color);
    font-size: 1.1rem;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.reward-description-container {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
    margin: 0 -20px -20px -20px;
}

.reward-tier:hover .reward-description-container {
    max-height: 300px;
    overflow-y: auto;
}

.reward-description {
    padding: 15px;
    font-size: 0.85rem;
    color: var(--body-color);
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid var(--th-border-color);
}

/* Scrollbar */
.reward-description-container::-webkit-scrollbar {
    width: 6px;
}

.reward-description-container::-webkit-scrollbar-track {
    background: var(--black-color3);
}

.reward-description-container::-webkit-scrollbar-thumb {
    background: var(--theme-color);
    border-radius: 4px;
}

.reward-description-container::-webkit-scrollbar-thumb:hover {
    background: var(--theme-color2);
}

/* Buttons */
.reward-btn {
    background: linear-gradient(145deg, var(--theme-color), var(--theme-color3));
    color: var(--white-color);
    border: none;
    padding: 8px 20px;
    border-radius: 5px;
    font-family: var(--title-font);
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    margin-top: 2em;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.reward-btn:hover {
    background: linear-gradient(145deg, var(--theme-color3), var(--theme-color));
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.reward-btn:active {
    transform: translateY(0);
}

.reward-btn.locked {
    background: linear-gradient(145deg, #555, #333);
    cursor: not-allowed;
    box-shadow: none;
}

.reward-btn.locked:hover {
    transform: none;
}


.reward-tier.resgatado {
    filter: grayscale(95%);
    box-shadow: none;
    border-color: #303030;
    transform: none !important;
}


.reward-btn.resgatado {
    background: linear-gradient(145deg, #666, #444);

    cursor: default;
    pointer-events: none;

    color: #ccc;

    box-shadow: none;
    transform: none !important;
}

.reward-btn.resgatado:hover {
    background: linear-gradient(145deg, #666, #444);

}



/* Badges */
.item-quantity {
    position: absolute;
    top: 5px;
    left: 5px;
    background: linear-gradient(145deg, var(--theme-color), var(--theme-color3));
    color: white;
    padding: 3px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    z-index: 2;
}

.item-value {
    position: absolute;
    top: 5px;
    right: 5px;
    background: linear-gradient(145deg, #ffd700, #daa520);
    color: #000;
    padding: 3px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    z-index: 2;
}

/* Footer */
.footer {
    text-align: center;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid var(--th-border-color);
}

.footer p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--body-color);
}

.upgrade-btn {
    background: linear-gradient(145deg, #ffd700, #daa520);
    color: #000;
    border: none;
    padding: 15px 40px;
    border-radius: 1px;
    font-family: var(--title-font);
    font-size: 1.2rem;
    cursor: pointer;
    margin-top: 20px;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    box-shadow: 0 5px 15px rgba(218, 165, 32, 0.4);
    position: relative;
    overflow: hidden;
}

.upgrade-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(218, 165, 32, 0.6);
    animation: pulseGold 1.5s infinite;
}

.upgrade-btn::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(to bottom right,
            rgba(255, 255, 255, 0) 45%,
            rgba(255, 255, 255, 0.8) 50%,
            rgba(255, 255, 255, 0) 55%);
    transform: rotate(30deg);
    animation: shine 3s infinite;
}

/* Animations */
@keyframes shine {
    0% {
        transform: translateX(-100%) rotate(30deg);
        opacity: 100%;
    }

    100% {
        transform: translateX(120%) rotate(30deg);
        opacity: 75%;
    }
}

@keyframes headerShine {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

@keyframes pulse {
    0% {
        transform: scale(0.9);
        opacity: 0.7;
    }

    100% {
        transform: scale(1.1);
        opacity: 1;
    }
}

@keyframes pulseGold {
    0% {
        box-shadow: 0 0 0 0 rgba(218, 165, 32, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(218, 165, 32, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(218, 165, 32, 0);
    }
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

@keyframes floatHover {
    0% {
        transform: translateY(-8px) scale(1.03);
    }

    50% {
        transform: translateY(-18px) scale(1.03);
    }

    100% {
        transform: translateY(-8px) scale(1.03);
    }
}

/* Responsive */
@media (max-width: 992px) {
    .rewards-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    }
}

@media (max-width: 768px) {
    .rewards-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 15px;
    }

    .season-info {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .season-info .right {
        text-align: center;
    }

    .tab {
        padding: 10px 15px;
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .rewards-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }

    .reward-icon {
        width: 60px;
        height: 60px;
    }

    .reward-name {
        font-size: 0.9rem;
    }

    .upgrade-btn {
        padding: 12px 30px;
        font-size: 1rem;
    }
}

/*modal*/

.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
}

.modal-content {
    background: #1e1e2f;
    margin: 10% auto;
    padding: 20px;
    border-radius: 12px;
    max-width: 700px;
    text-align: center;
    position: relative;
    box-shadow: 0 0 15px #000;
}

.modal-banner {
    width: auto;
    border-radius: 10px;
}

.close {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 28px;
    color: #fff;
    cursor: pointer;
}

.modal-content img {
    display: block;
    margin: 0 auto;
    border-radius: 8px;
    max-height: 55vh;
}


.buy-btn {
    margin-top: 20px;
    background-color: gold;
    border: none;
    padding: 12px 24px;
    font-size: 18px;
    border-radius: 8px;
    cursor: pointer;
}

.battlepass-btn {
    background: #0073aa;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
}


/* Notificações */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background-color: #333;
    color: white;
    padding: 16px 24px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    font-family: Arial, sans-serif;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    z-index: 9999;
}

.notification.show {
    opacity: 1;
}

.success {
    background-color: #28a745;
    /* verde */
}

.error {
    background-color: #dc3545;
    /* vermelho */
}