/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #050505;
    /* Deep dark background with vibrant JB yellow radial glow at top */
    background-image: radial-gradient(circle at 50% -20%, #3a3300 0%, #050505 60%);
    color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 15px;
    overflow-x: hidden;
}

/* Page container to center the mobile view on desktop */
.page-container {
    width: 100%;
    max-width: 450px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Main Lander Card styling */
.lander-card {
    background-color: #0a0a0a;
    border: 1px solid rgba(255, 224, 0, 0.2);
    border-radius: 36px;
    width: 100%;
    padding: 35px 25px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.9),
                0 0 40px rgba(255, 224, 0, 0.04);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    animation: cardFloat 3s ease-in-out infinite;
}

@keyframes cardFloat {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-10px); }
}

/* Image container — rectangular, no border */
.image-frame {
    width: 260px;
    height: 160px;
    border: none;
    border-radius: 16px;
    padding: 0;
    background: transparent;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    animation: logoShine 3s infinite;
}

@keyframes logoShine {
    0%   { filter: drop-shadow(0 4px 12px rgba(255, 224, 0, 0.25)); }
    50%  { filter: drop-shadow(0 8px 32px rgba(255, 224, 0, 0.7)); }
    100% { filter: drop-shadow(0 4px 12px rgba(255, 224, 0, 0.25)); }
}

.image-container {
    width: 100%;
    height: 100%;
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.gift-card-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Title text */
.lander-title {
    color: #FFE000;
    font-size: 24px;
    font-weight: 900;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
}

/* Horizontal line divider */
.divider {
    width: 100%;
    border: 0;
    height: 1px;
    background: linear-gradient(90deg, rgba(255, 224, 0, 0) 0%, rgba(255, 224, 0, 0.3) 50%, rgba(255, 224, 0, 0) 100%);
    margin-bottom: 20px;
}

/* Prize details */
.prize-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 25px;
}

.prize-amount {
    color: #FFE000;
    font-size: 64px;
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -1px;
    text-shadow: 0 0 20px rgba(255, 224, 0, 0.35);
    animation: amountPulse 2s infinite;
}

@keyframes amountPulse {
    0%, 100% { transform: scale(1); }
    50%       { transform: scale(1.05); }
}

.prize-subtext {
    font-size: 16px;
    font-weight: 600;
    color: #b0b0b0;
    margin-top: 5px;
}

/* Instructions/Steps Box */
.steps-box {
    background-color: #141414;
    border-radius: 24px;
    width: 100%;
    padding: 20px;
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.step-item {
    display: flex;
    align-items: center;
    gap: 14px;
    text-align: left;
}

.step-number {
    background-color: #FFE000;
    color: #000000;
    font-size: 14px;
    font-weight: 800;
    width: 26px;
    height: 26px;
    min-width: 26px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.step-text {
    color: #ffffff;
    font-size: 14.5px;
    font-weight: 600;
    line-height: 1.3;
}

/* Interactive CTA Button */
.cta-btn {
    background: linear-gradient(135deg, #FFE000 0%, #FFD000 100%);
    color: #000000;
    border: none;
    border-radius: 50px;
    width: 100%;
    padding: 18px 24px;
    font-size: 18px;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    transition: all 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 8px 24px rgba(255, 224, 0, 0.4);
    margin-bottom: 25px;
    animation: pulse 2.2s infinite;
}

.cta-btn:active {
    transform: scale(0.97);
    box-shadow: 0 4px 12px rgba(255, 224, 0, 0.25);
}

/* Micro-animations */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 224, 0, 0.55), 0 8px 24px rgba(255, 224, 0, 0.4);
    }
    70% {
        box-shadow: 0 0 0 14px rgba(255, 224, 0, 0), 0 8px 24px rgba(255, 224, 0, 0.4);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 224, 0, 0), 0 8px 24px rgba(255, 224, 0, 0.4);
    }
}

/* Loading state for the anti-double-click mechanism */
.btn-loading {
    background: #FFE000 !important;
    cursor: not-allowed;
    animation: none;
    opacity: 0.9;
}

.spinner {
    width: 18px;
    height: 18px;
    border: 3px solid rgba(0, 0, 0, 0.15);
    border-top: 3px solid #000000;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    display: inline-block;
    margin-left: 8px;
}

@keyframes spin {
    0%   { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Footer Section */
.lander-footer {
    color: #666666;
    font-size: 11px;
    font-weight: 500;
    line-height: 1.5;
}

.lander-footer a {
    color: #888888;
    text-decoration: none;
    transition: color 0.2s ease;
}

.lander-footer a:hover {
    color: #FFE000;
}

/* Notification toast */
.notification {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(-120%);
    background: rgba(20, 20, 20, 0.97);
    border: 1px solid rgba(255, 224, 0, 0.4);
    padding: 14px 18px;
    border-radius: 14px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    color: #ffffff;
    z-index: 1000;
    backdrop-filter: blur(10px);
    transition: transform 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    white-space: nowrap;
}

.notification.show {
    transform: translateX(-50%) translateY(0);
}

.notification-icon {
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, #FFE000, #FFD000);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    flex-shrink: 0;
}

.notification strong {
    color: #FFE000;
    font-weight: 700;
}

/* Media queries for extra tiny screens */
@media (max-width: 360px) {
    .lander-card {
        padding: 25px 18px;
    }
    .prize-amount {
        font-size: 54px;
    }
    .image-frame {
        width: 210px;
        height: 130px;
    }
    .step-text {
        font-size: 13px;
    }
}
