/* Rewards Page Styles */

.rewards-page {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

.rewards-header {
    text-align: center;
    margin-bottom: 40px;
}

.rewards-header h1 {
    font-size: 36px;
    color: #ffffff;
    margin-bottom: 10px;
}

.rewards-header p {
    font-size: 18px;
    color: #cccccc;
}

/* Guest Message */
.guest-message {
    margin-bottom: 40px;
}

.guest-message .card {
    text-align: center;
    padding: 40px;
}

.guest-message h2 {
    color: #ffffff;
    margin-bottom: 15px;
}

.guest-message p {
    color: #cccccc;
    margin-bottom: 25px;
}

.signup-button {
    display: inline-block;
    background-color: #fbbf24;
    color: #000000;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.2s;
}

.signup-button:hover {
    background-color: #f59e0b;
}

/* Timeline Container */
.timeline-container {
    position: relative;
    padding-left: 40px;
    margin: 40px 0;
}

/* Vertical Timeline Line */
.timeline-line {
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 4px;
    background-color: #2a2a2a;
    border-radius: 2px;
}

.timeline-fill {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 0%;
    background: linear-gradient(180deg, #fbbf24 0%, #fcd34d 50%, #fbbf24 100%);
    background-size: 100% 200%;
    border-radius: 2px;
    transition: height 2.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 15px rgba(251, 191, 36, 0.6);
    animation: shimmer 4s ease-in-out infinite;
    overflow: hidden;
}

.timeline-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.3) 50%, 
        transparent 100%);
    animation: shine 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% {
        background-position: 0% 0%;
        box-shadow: 0 0 15px rgba(251, 191, 36, 0.6);
    }
    50% {
        background-position: 0% 100%;
        box-shadow: 0 0 25px rgba(251, 191, 36, 0.9);
    }
}

@keyframes shine {
    0% {
        left: -100%;
    }
    50%, 100% {
        left: 100%;
    }
}

/* Level Cards */
.level-card {
    position: relative;
    margin-bottom: 40px;
    padding-left: 30px;
}

.level-dot {
    position: absolute;
    left: -25px;
    top: 20px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #2a2a2a;
    border: 3px solid #2a2a2a;
    z-index: 2;
    transition: all 0.3s ease;
}

.level-card.locked .level-dot {
    background-color: #2a2a2a;
    border-color: #2a2a2a;
}

.level-card.current .level-dot {
    background-color: #fbbf24;
    border-color: #fbbf24;
    box-shadow: 0 0 15px rgba(251, 191, 36, 0.8);
    animation: pulse 2s ease-in-out infinite;
}

.level-card.unlocked .level-dot {
    background-color: #fbbf24;
    border-color: #fbbf24;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 15px rgba(251, 191, 36, 0.8);
    }
    50% {
        box-shadow: 0 0 25px rgba(251, 191, 36, 1);
    }
}

.level-content {
    background-color: #1a1a1a;
    border: 2px solid #2a2a2a;
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
}

.level-card.locked .level-content {
    border-color: #2a2a2a;
    opacity: 0.6;
}

.level-card.current .level-content {
    border-color: #fbbf24;
    box-shadow: 0 0 20px rgba(251, 191, 36, 0.3);
    background-color: #1f1a0f;
}

.level-card.unlocked .level-content {
    border-color: #fbbf24;
}

.level-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 12px;
}

.level-badge.locked {
    background-color: #2a2a2a;
    color: #888;
}

.level-badge.current {
    background-color: #fbbf24;
    color: #000000;
}

.level-badge.unlocked {
    background-color: rgba(251, 191, 36, 0.2);
    color: #fbbf24;
}

.level-content h3 {
    font-size: 22px;
    color: #ffffff;
    margin-bottom: 8px;
}

.level-range {
    font-size: 14px;
    color: #888;
    margin-bottom: 8px;
}

.level-identity {
    font-size: 16px;
    color: #cccccc;
    font-style: italic;
    margin: 0 0 20px 0;
}

/* Unlockables Section */
.unlockables-section {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #2a2a2a;
}

.unlockables-heading {
    font-size: 14px;
    color: #888;
    margin-bottom: 15px;
    font-weight: 600;
}

.unlockable-item {
    display: flex;
    gap: 12px;
    margin-bottom: 15px;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #2a2a2a;
    background-color: #0f0f0f;
    transition: all 0.3s ease;
}

.unlockable-item.locked {
    opacity: 0.6;
}

.unlockable-item.unlocked {
    border-color: #fbbf24;
    background-color: rgba(251, 191, 36, 0.05);
}

.unlockable-icon {
    font-size: 24px;
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.unlockable-icon.locked {
    opacity: 0.5;
    filter: grayscale(100%);
}

.unlockable-icon.unlocked {
    opacity: 1;
    filter: none;
    background-color: rgba(251, 191, 36, 0.1);
}

.unlockable-content {
    flex: 1;
    min-width: 0;
}

.unlockable-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
    flex-wrap: wrap;
}

.unlockable-name {
    font-size: 14px;
    font-weight: 600;
    color: #888;
    transition: color 0.3s ease;
}

.unlockable-name.unlocked {
    color: #ffffff;
}

.unlockable-status {
    font-size: 11px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 10px;
    white-space: nowrap;
    flex-shrink: 0;
}

.unlockable-status.locked {
    background-color: #2a2a2a;
    color: #666;
}

.unlockable-status.unlocked {
    background-color: rgba(251, 191, 36, 0.2);
    color: #fbbf24;
}

.unlockable-description {
    font-size: 12px;
    color: #666;
    margin: 0;
    line-height: 1.4;
}

.unlockable-item.unlocked .unlockable-description {
    color: #888;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .rewards-page {
        padding: 15px;
    }

    .rewards-header h1 {
        font-size: 28px;
    }

    .rewards-header p {
        font-size: 16px;
    }

    .timeline-container {
        padding-left: 30px;
    }

    .timeline-line {
        left: 10px;
        width: 3px;
    }

    .level-dot {
        left: -20px;
        width: 18px;
        height: 18px;
    }

    .level-content {
        padding: 15px;
    }

    .level-content h3 {
        font-size: 18px;
    }

    .level-identity {
        font-size: 14px;
    }
}

