/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    min-height: 100vh;
    color: #ffffff;
    padding: 20px;
}

/* ===== CONTAINER ===== */
.locker-container {
    max-width: 500px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 30px 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* ===== HEADER ===== */
.locker-header {
    text-align: center;
    margin-bottom: 25px;
}

.prize-badge {
    display: inline-block;
    background: linear-gradient(90deg, #ffd700, #ffaa00);
    color: #000;
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 15px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.locker-header h1 {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 10px;
    line-height: 1.3;
}

.highlight {
    color: #ffd700;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

.subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

/* ===== GIFT CARD PREVIEW ===== */
.gift-card-preview {
    margin: 25px 0;
    display: flex;
    justify-content: center;
}

.card-blur {
    position: relative;
    width: 280px;
    height: 160px;
    background: linear-gradient(135deg, #1a4b8c, #2d6cc4);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.card-content {
    padding: 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    filter: blur(3px);
    transition: filter 0.5s ease;
}

.card-blur.unlocked .card-content {
    filter: blur(0);
}

.visa-logo {
    font-size: 28px;
    font-weight: 800;
    font-style: italic;
    color: #fff;
}

.card-amount {
    font-size: 42px;
    font-weight: 800;
    color: #ffd700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.card-text {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 2px;
}

.lock-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease;
}

.lock-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.lock-icon {
    font-size: 40px;
    margin-bottom: 10px;
}

.lock-text {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
}

/* ===== PROGRESS BAR ===== */
.progress-section {
    margin: 25px 0;
    text-align: center;
}

.progress-bar {
    height: 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 10px;
}

.progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #00c853, #64dd17);
    border-radius: 10px;
    transition: width 0.5s ease;
}

.progress-text {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

#completedSteps {
    color: #00c853;
    font-weight: 700;
}

/* ===== STEPS ===== */
.steps-container {
    margin: 20px 0;
}

.step-item {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 12px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.step-item:hover:not(.locked) {
    border-color: #ffd700;
    transform: translateX(5px);
}

.step-item.locked {
    opacity: 0.5;
}

.step-item.completed {
    border-color: #00c853;
    background: rgba(0, 200, 83, 0.1);
}

.step-item.active {
    border-color: #ffd700;
    animation: glow 2s infinite;
}

@keyframes glow {
    0%, 100% { box-shadow: 0 0 5px rgba(255, 215, 0, 0.3); }
    50% { box-shadow: 0 0 20px rgba(255, 215, 0, 0.6); }
}

.step-number {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #ffd700, #ffaa00);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: #000;
    font-size: 18px;
    flex-shrink: 0;
}

.step-item.completed .step-number {
    background: linear-gradient(135deg, #00c853, #64dd17);
}

.step-item.completed .step-number::after {
    content: '✓';
}

.step-item.locked .step-number {
    background: rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.5);
}

.step-content {
    flex: 1;
    margin-left: 15px;
}

.step-title {
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 3px;
}

.step-description {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 3px;
}

.step-payout {
    font-size: 11px;
    color: #00c853;
    font-weight: 600;
}

.step-status {
    flex-shrink: 0;
}

.step-button {
    display: inline-block;
    padding: 10px 20px;
    background: linear-gradient(135deg, #ffd700, #ffaa00);
    color: #000;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 700;
    font-size: 12px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.step-button:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.4);
}

.step-item.locked .step-button {
    background: rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.5);
    pointer-events: none;
}

.step-item.completed .step-button {
    background: linear-gradient(135deg, #00c853, #64dd17);
    color: #fff;
}

/* ===== UNLOCK MESSAGE ===== */
.unlock-message {
    text-align: center;
    padding: 30px;
    background: linear-gradient(135deg, rgba(0, 200, 83, 0.2), rgba(100, 221, 23, 0.1));
    border-radius: 15px;
    margin: 20px 0;
    border: 2px solid #00c853;
}

.unlock-icon {
    font-size: 60px;
    margin-bottom: 15px;
}

.unlock-message h2 {
    color: #00c853;
    margin-bottom: 10px;
}

.code-box {
    background: #000;
    padding: 20px;
    border-radius: 10px;
    margin-top: 15px;
    font-family: monospace;
    font-size: 18px;
    letter-spacing: 2px;
    color: #ffd700;
}

.generating {
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* ===== TRUST SECTION ===== */
.trust-section {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 25px 0;
    flex-wrap: wrap;
}

.trust-item {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
}

/* ===== URGENCY ===== */
.urgency-bar {
    text-align: center;
    background: linear-gradient(90deg, #ff4444, #ff6b6b);
    padding: 12px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 14px;
    margin: 20px 0;
    animation: urgencyPulse 2s infinite;
}

@keyframes urgencyPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

/* ===== FOOTER ===== */
.footer {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer p {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.4);
}

/* ===== NOTIFICATION POPUP ===== */
.notification-popup {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background: rgba(0, 0, 0, 0.9);
    border: 1px solid rgba(0, 200, 83, 0.5);
    border-radius: 12px;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 1000;
    transform: translateX(-120%);
    transition: transform 0.5s ease;
    max-width: 320px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.notification-popup.show {
    transform: translateX(0);
}

.notification-icon {
    font-size: 24px;
}

.notification-content {
    flex: 1;
}

.notification-name {
    font-weight: 700;
    font-size: 13px;
    color: #00c853;
}

.notification-action {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
}

.notification-time {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.5);
}

/* ===== COUNTDOWN TIMER ===== */
.countdown-section {
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.countdown-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.countdown-timer {
    display: flex;
    align-items: center;
    background: linear-gradient(90deg, #ff4444, #ff6b6b);
    padding: 8px 15px;
    border-radius: 8px;
    font-weight: 700;
}

.countdown-digit {
    font-size: 18px;
    min-width: 28px;
    text-align: center;
}

.countdown-separator {
    font-size: 18px;
    animation: blink 1s infinite;
}

/* ===== COMPLETION COUNTER ===== */
.completion-counter {
    text-align: center;
    background: rgba(0, 200, 83, 0.1);
    border: 1px solid rgba(0, 200, 83, 0.3);
    border-radius: 10px;
    padding: 12px;
    margin: 15px 0;
    font-size: 14px;
}

.completion-counter strong {
    color: #00c853;
}

.counter-icon {
    margin-right: 5px;
}

/* ===== HOW IT WORKS ===== */
.how-it-works {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0;
    text-align: center;
}

.how-it-works h3 {
    font-size: 16px;
    margin-bottom: 15px;
    color: #ffd700;
}

.how-items {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 15px;
}

.how-item {
    display: flex;
    align-items: center;
    gap: 10px;
    text-align: left;
    background: rgba(255, 255, 255, 0.05);
    padding: 10px 15px;
    border-radius: 8px;
}

.how-icon {
    font-size: 20px;
}

.how-text {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.9);
}

.how-summary {
    font-size: 12px;
    color: #00c853;
    font-weight: 600;
}

/* ===== TRUST BADGES ===== */
.trust-badges {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin: 25px 0;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.05);
    padding: 12px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.badge-icon {
    font-size: 18px;
}

.badge-text {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 600;
}

/* ===== TESTIMONIALS ===== */
.testimonials {
    margin: 25px 0;
}

.testimonials h4 {
    font-size: 14px;
    margin-bottom: 15px;
    text-align: center;
}

.testimonial-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 10px;
    border-left: 3px solid #ffd700;
}

.testimonial-stars {
    font-size: 12px;
    margin-bottom: 8px;
}

.testimonial-item p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.9);
    font-style: italic;
    margin-bottom: 8px;
    line-height: 1.5;
}

.testimonial-author {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 480px) {
    .locker-container {
        padding: 20px 15px;
    }
    
    .locker-header h1 {
        font-size: 20px;
    }
    
    .card-blur {
        width: 240px;
        height: 140px;
    }
    
    .card-amount {
        font-size: 32px;
    }
    
    .step-item {
        flex-wrap: wrap;
    }
    
    .step-status {
        width: 100%;
        margin-top: 10px;
    }
    
    .step-button {
        width: 100%;
        text-align: center;
    }
}
