/* Enhanced CSS for battle pass with animations and item photos */

/* Main variables for spring theme customization */
:root {
    --main-bg-color: #0a0e14;
    --card-bg-color: rgba(20, 25, 35, 0.85);
    --accent-color: #ff5e94;
    --accent-secondary: #8c52ff;
    --accent-hover: #ff3a7a;
    --premium-color: #ffd700;
    --premium-bg: rgba(255, 215, 0, 0.15);
    --progress-color: #4cd137;
    --text-color: #e1e1e1;
    --subtitle-color: #b0b0b0;
    --item-glow: 0 0 15px rgba(255, 94, 148, 0.6);
}

/* General interface styles */
.battle-pass-container {
    width: 100%;
    max-height: 100%;
    overflow-y: auto;
    color: var(--text-color);
    padding: 15px;
    font-family: 'Roboto', sans-serif;
    background-color: var(--main-bg-color);
    /* Spring theme background with cherry blossoms and wooden house, like in the reference image */
    background-image: url('https://via.placeholder.com/1920x1080/1a1a2e/1a1a2e?text=');
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    position: relative;
}

/* Decorative sakura background overlay */
.battle-pass-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://via.placeholder.com/1920x1080/1a1a2e/1a1a2e?text=');
    background-size: cover;
    background-position: center;
    opacity: 0.4;
    z-index: -2;
}

.battle-pass-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 12, 18, 0.7) 0%, rgba(18, 22, 30, 0.85) 100%);
    z-index: -1;
}

/* Smooth appearance animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideIn {
    from { transform: translateX(-20px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.7; }
    100% { transform: scale(1); opacity: 1; }
}

@keyframes shine {
    0% { left: -100%; opacity: 0; }
    20% { opacity: 0.6; }
    100% { left: 100%; opacity: 0; }
}

@keyframes glowing {
    0% { box-shadow: 0 0 5px rgba(255, 94, 148, 0.5); }
    50% { box-shadow: 0 0 20px rgba(255, 94, 148, 0.8); }
    100% { box-shadow: 0 0 5px rgba(255, 94, 148, 0.5); }
}

@keyframes floatAnimation {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

/* Image hover effect for weapons and items */
@keyframes weaponHover {
    0% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-5px) rotate(2deg); }
    100% { transform: translateY(0) rotate(0deg); }
}

/* Cherry blossom petals animation for spring theme */
@keyframes fallingPetals {
    0% { 
        transform: translateY(-10px) translateX(0) rotate(0deg); 
        opacity: 0;
    }
    10% {
        opacity: 0.8;
    }
    100% { 
        transform: translateY(100vh) translateX(100px) rotate(720deg); 
        opacity: 0;
    }
}

/* Styles for back navigation */
.back-navigation {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    align-items: center;
    animation: fadeIn 0.6s ease-out;
}

.btn-back {
    background-color: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 8px 16px;
    font-size: 12px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    border-radius: 6px;
    color: var(--text-color);
    cursor: pointer;
}

.btn-back svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.btn-back:hover {
    background-color: rgba(0, 0, 0, 0.7);
    border-color: var(--accent-color);
    transform: translateX(-3px);
}

.btn-back:hover svg {
    transform: translateX(-3px);
}

/* Spring-themed battle pass header */
.battle-pass-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    background-color: var(--card-bg-color);
    border-radius: 12px;
    padding: 18px 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
    animation: fadeIn 0.8s ease-out;
}

.battle-pass-header::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100%;
    background: linear-gradient(90deg, rgba(255, 94, 148, 0) 0%, rgba(255, 94, 148, 0.1) 100%);
    z-index: 1;
}

/* Cherry blossom decoration for header */
.battle-pass-header::before {
    content: '';
    position: absolute;
    top: 5px;
    right: 15px;
    width: 30px;
    height: 30px;
    background-image: url('https://via.placeholder.com/30x30/ff5e94/ff5e94?text=🌸');
    background-size: contain;
    opacity: 0.6;
    z-index: 2;
    animation: pulse 4s infinite;
}

/* Spring title styling */
.battle-pass-header-left h3 {
    font-size: 22px;
    font-weight: 800;
    margin: 0 0 8px 0;
    background: linear-gradient(90deg, #ffffff, var(--accent-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.season-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.season-number {
    font-size: 28px;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(135deg, var(--accent-color), #ff3a7a);
    border-radius: 50%;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(255, 94, 148, 0.5);
    position: relative;
    animation: pulse 3s infinite;
}

.season-number::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.2);
    animation: pulse 2s infinite;
}

.season-text {
    font-size: 14px;
    font-weight: 600;
    color: var(--subtitle-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.season-days-left {
    font-size: 12px;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 4px 10px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.season-days-left svg {
    width: 14px;
    height: 14px;
    color: var(--accent-color);
    animation: pulse 2s infinite;
}

/* Premium button styling */
.btn-premium {
    background: linear-gradient(135deg, var(--premium-color), #f3c200);
    color: #000;
    font-weight: 700;
    padding: 10px 20px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-premium::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transform: rotate(45deg);
    z-index: 1;
    transition: all 0.6s ease;
    opacity: 0;
}

.btn-premium:hover::before {
    animation: shine 1.5s;
}

.btn-premium:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255, 215, 0, 0.4);
}

.btn-premium svg {
    width: 18px;
    height: 18px;
    animation: pulse 2s infinite;
}

.btn-premium.purchased {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.5), rgba(243, 194, 0, 0.5));
    cursor: default;
}

/* Progress information */
.battle-pass-progress {
    margin-bottom: 30px;
    animation: fadeIn 1s ease-out;
}

.level-info {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    background-color: var(--card-bg-color);
    border-radius: 12px;
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.level-info:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.1);
}

.current-level {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 80px;
    padding-right: 16px;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.level-number {
    font-size: 32px;
    font-weight: 800;
    color: var(--progress-color);
    position: relative;
}

.level-number::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background-color: var(--progress-color);
    border-radius: 2px;
}

.level-label {
    font-size: 10px;
    color: var(--subtitle-color);
    margin-top: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.level-progress-container {
    display: flex;
    align-items: center;
    flex-grow: 1;
    padding-left: 20px;
}

.level-progress {
    flex-grow: 1;
    margin-right: 20px;
}

/* Styled progress bar */
.progress-bar {
    height: 10px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 8px;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #4cd137, #44bd32);
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(76, 209, 55, 0.5);
    transition: width 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.2) 50%, rgba(255, 255, 255, 0) 100%);
    animation: shine 2s infinite;
}

.progress-text {
    font-size: 10px;
    color: var(--subtitle-color);
    text-align: right;
    display: flex;
    justify-content: space-between;
}

.progress-text .remaining {
    color: var(--accent-color);
    font-weight: 600;
}

.next-level {
    min-width: 50px;
    text-align: center;
    position: relative;
}

.next-level::before {
    content: '';
    position: absolute;
    left: -10px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-left: 6px solid rgba(255, 255, 255, 0.3);
}

.total-progress {
    margin-bottom: 25px;
    background-color: var(--card-bg-color);
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.progress-bar-total {
    height: 12px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 15px;
    position: relative;
}

.progress-fill-total {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-color), #ff3a7a);
    border-radius: 6px;
    box-shadow: 0 0 10px rgba(255, 94, 148, 0.5);
    transition: width 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Progress markers with numbering */
.progress-markers {
    position: relative;
    height: 30px;
    margin-bottom: 10px;
}

.progress-marker {
    position: absolute;
    transform: translateX(-50%);
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.progress-marker::before {
    content: '';
    width: 2px;
    height: 8px;
    background-color: rgba(255, 255, 255, 0.3);
    position: absolute;
    top: -10px;
}

.marker-level {
    font-size: 10px;
    color: var(--subtitle-color);
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.progress-marker.reached .marker-level {
    color: #fff;
    background-color: var(--accent-color);
    box-shadow: 0 0 10px rgba(255, 94, 148, 0.5);
    transform: scale(1.1);
}

.progress-text-total {
    font-size: 12px;
    color: var(--subtitle-color);
    text-align: right;
    display: flex;
    justify-content: space-between;
}

.progress-text-total .level-count {
    color: var(--text-color);
    font-weight: 600;
}

/* Rewards navigation with active tabs */
.rewards-navigation {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
    animation: fadeIn 1.2s ease-out;
}

.btn-rewards-nav {
    background-color: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px 16px;
    font-size: 12px;
    border-radius: 8px;
    transition: all 0.3s ease;
    flex-grow: 1;
    text-align: center;
    color: var(--text-color);
    font-weight: 500;
    letter-spacing: 0.5px;
    cursor: pointer;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-rewards-nav svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.btn-rewards-nav.active {
    background: linear-gradient(135deg, rgba(255, 94, 148, 0.3), rgba(255, 58, 122, 0.3));
    border-color: rgba(255, 94, 148, 0.6);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 94, 148, 0.3);
}

.btn-rewards-nav:hover:not(.active) {
    background-color: rgba(0, 0, 0, 0.5);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.btn-rewards-nav:hover svg {
    transform: scale(1.2);
}

/* Rewards container */
.rewards-container {
    background-color: var(--card-bg-color);
    border-radius: 12px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 20px;
    max-height: 600px;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
    animation: fadeIn 1.4s ease-out;
}

/* Pagination buttons */
.pagination {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    gap: 10px;
}

.pagination-item {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-color);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pagination-item.active {
    background-color: var(--accent-color);
    color: #fff;
    border-color: var(--accent-color);
    box-shadow: 0 0 15px rgba(255, 94, 148, 0.5);
}

.pagination-item:hover:not(.active) {
    border-color: var(--accent-color);
    transform: translateY(-2px);
}

/* Upcoming rewards list */
.rewards-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

/* All rewards grid */
.rewards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

/* Reward item - styled like in the reference image */
.reward-item {
    background-color: rgba(0, 0, 0, 0.4);
    border-radius: 10px;
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    animation: fadeIn 0.5s ease-out;
}

.reward-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 0;
}

.reward-item:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.15);
    z-index: 2;
}

.reward-item.available {
    border-color: rgba(76, 209, 55, 0.3);
}

.reward-item.available::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 30px 30px 0;
    border-color: transparent var(--progress-color) transparent transparent;
    z-index: 1;
}

.reward-item.locked {
    opacity: 0.8;
    filter: saturate(0.8);
}

.reward-level {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
    position: relative;
    z-index: 1;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.reward-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
    position: relative;
    z-index: 1;
}

/* Styles for weapons and items with photos as in the reference image */
.reward-free, .reward-premium {
    display: flex;
    align-items: center;
    padding: 15px;
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.reward-free:hover, .reward-premium:hover {
    background-color: rgba(255, 255, 255, 0.08);
    transform: translateX(3px);
}

.reward-premium {
    background-color: var(--premium-bg);
    border: 1px solid rgba(255, 215, 0, 0.1);
}

.reward-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(to bottom, var(--premium-color), rgba(255, 215, 0, 0.2));
}

.reward-premium.premium-locked {
    opacity: 0.6;
    position: relative;
}

.reward-premium.premium-locked::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://via.placeholder.com/20x20/111111/333333?text=🔒');
    background-repeat: repeat;
    background-size: 20px 20px;
    opacity: 0.05;
}

/* Item icons with weapons like in the reference image */
.reward-icon {
    font-size: 28px;
    margin-right: 15px;
    background-color: rgba(255, 255, 255, 0.1);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.reward-icon.premium {
    background-color: rgba(255, 204, 0, 0.2);
}

/* Weapon and item images */
.reward-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
    transition: all 0.3s ease;
}

.reward-item:hover .reward-icon img {
    transform: scale(1.1);
    animation: weaponHover 1.5s infinite;
}

/* Glow effect for weapons */
.reward-icon.weapon {
    box-shadow: var(--item-glow);
    animation: glowing 2s infinite;
}

.reward-info {
    flex-grow: 1;
}

.reward-name {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 5px;
    position: relative;
    padding-left: 0;
    transition: all 0.3s ease;
}

.reward-value {
    font-size: 12px;
    color: var(--progress-color);
    display: flex;
    align-items: center;
    gap: 5px;
}

.reward-value svg {
    width: 14px;
    height: 14px;
}

/* Buttons for claiming rewards */
.btn-claim {
    padding: 6px 12px;
    font-size: 10px;
    border-radius: 6px;
    margin-left: 5px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    min-width: 90px;
    text-align: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    background: linear-gradient(135deg, var(--accent-color), #ff3a7a);
    border: none;
    color: white;
}

.btn-claim::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transform: rotate(45deg);
    z-index: 1;
    transition: all 0.6s ease;
    opacity: 0;
}

.btn-claim:hover::before {
    animation: shine 1.5s;
}

.btn-claim:hover {
    transform: translateY(-2px);
}

.btn-claim.claimed {
    background: linear-gradient(135deg, rgba(76, 209, 55, 0.7), rgba(68, 189, 50, 0.7));
    cursor: default;
    color: rgba(255, 255, 255, 0.8);
}

.btn-claim.locked {
    background: linear-gradient(135deg, rgba(100, 100, 100, 0.3), rgba(80, 80, 80, 0.3));
    cursor: default;
    color: rgba(255, 255, 255, 0.5);
}

/* Compact view for all rewards grid */
.reward-item-compact {
    background-color: rgba(0, 0, 0, 0.4);
    border-radius: 8px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
    position: relative;
}

.reward-item-compact:hover {
    background-color: rgba(0, 0, 0, 0.5);
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.15);
}

.reward-header-compact {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.reward-level-compact {
    font-size: 14px;
    font-weight: 600;
    color: var(--accent-color);
}

.reward-content-compact {
    display: flex;
    align-items: center;
    gap: 10px;
}

.reward-icon-compact {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
}

.reward-icon-compact.premium {
    background-color: rgba(255, 204, 0, 0.1);
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.2);
}

.reward-name-compact {
    font-size: 12px;
    color: var(--text-color);
}

/* Cherry blossom petals floating effect for spring theme */
.cherry-petal {
    position: absolute;
    width: 15px;
    height: 15px;
    background-image: url('https://via.placeholder.com/15x15/ff5e94/ff5e94?text=🌸');
    background-size: contain;
    background-repeat: no-repeat;
    pointer-events: none;
    z-index: 100;
    opacity: 0;
    animation: fallingPetals 15s linear infinite;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .rewards-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    }
}

@media (max-width: 768px) {
    .rewards-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
    
    .battle-pass-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .btn-premium {
        width: 100%;
        justify-content: center;
    }
    
    .rewards-navigation {
        flex-direction: column;
        gap: 8px;
    }
    
    .btn-rewards-nav {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .rewards-grid {
        grid-template-columns: 1fr;
    }
    
    .level-progress-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .next-level {
        align-self: center;
        margin-top: 10px;
    }
    
    .next-level::before {
        display: none;
    }
    
    .pagination-item {
        width: 35px;
        height: 35px;
        font-size: 12px;
    }
}

/* Tooltip styles for item information */
.tooltip {
    position: absolute;
    background-color: rgba(20, 25, 35, 0.95);
    border: 1px solid var(--accent-color);
    border-radius: 8px;
    padding: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    z-index: 100;
    max-width: 300px;
    pointer-events: none;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.tooltip.visible {
    opacity: 1;
    transform: translateY(0);
}

.tooltip-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.tooltip-icon {
    width: 32px;
    height: 32px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tooltip-title {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
}

.tooltip-rarity {
    font-size: 12px;
    color: var(--accent-color);
    font-style: italic;
}

.tooltip-description {
    font-size: 12px;
    color: var(--subtitle-color);
    margin-bottom: 10px;
    line-height: 1.6;
}

.tooltip-stats {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.tooltip-stat {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--text-color);
}

.tooltip-stat-value {
    color: var(--progress-color);
    font-weight: 600;
}

/* Animation for page load */
.fade-in {
    animation: fadeIn 0.8s ease-out forwards;
}

/* Notification styles for reward claims */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background-color: var(--card-bg-color);
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    border-left: 4px solid var(--accent-color);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 1000;
    transform: translateX(120%);
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.notification.show {
    transform: translateX(0);
}

.notification-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background-color: rgba(255, 94, 148, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.notification-content {
    flex-grow: 1;
}

.notification-title {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 5px;
    color: #fff;
}

.notification-message {
    font-size: 12px;
    color: var(--subtitle-color);
}

.notification-close {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.notification-close:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}