:root {
    --bg-color: #f4f5f7;
    --card-bg: #ffffff;
    --text-dark: #1b365d;
    --text-gray: #7a8b9a;
    --text-light-blue: #6287a9;
    --costco-red: #d32f2f;
    --costco-blue: #0060a9;
    --box-bg-light: #e6eef5;
    --divider-gray: #d4e0eb;
    --star-green: #00b67a;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
    padding: 40px 20px;
    color: var(--text-dark);
}

.main-card {
    background-color: var(--card-bg);
    width: 100%;
    max-width: 500px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    padding: 40px 30px;
    text-align: center;
}

.logo-container {
    margin-bottom: 30px;
}

.costco-logo {
    max-width: 220px;
    height: auto;
    display: block;
    margin: 0 auto;
}

.header-text {
    margin-bottom: 30px;
}

.subtitle {
    color: var(--text-light-blue);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

h1 {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.steps-section {
    margin-bottom: 30px;
}

.steps-title {
    color: var(--text-light-blue);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.steps-box {
    background-color: var(--box-bg-light);
    border-radius: 12px;
    padding: 10px 20px;
}

.step {
    display: flex;
    align-items: center;
    padding: 15px 0;
}

.step.divider {
    padding: 0;
    height: 1px;
    background-color: var(--divider-gray);
    width: 100%;
}

.step-number {
    background-color: var(--text-dark);
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    font-size: 1rem;
    margin-right: 15px;
    flex-shrink: 0;
}

.step-text {
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--text-dark);
    text-align: left;
}

.btn-claim {
    display: block;
    width: 100%;
    background-color: var(--costco-red);
    color: white;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.4rem;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(211, 47, 47, 0.3);
    transition: transform 0.2s, background-color 0.2s;
    margin-bottom: 25px;
}

.btn-claim:hover {
    transform: translateY(-2px);
    background-color: #c62828;
}

.disclaimer-section {
    margin-bottom: 30px;
}

.disclaimer-link {
    color: var(--text-light-blue);
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 15px;
    cursor: pointer;
}

.disclaimer-text {
    color: var(--text-gray);
    font-size: 0.85rem;
    line-height: 1.6;
}

.rating-section {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    font-weight: 600;
}

.rating-text-excellent {
    color: var(--text-gray);
}

.stars {
    display: flex;
    gap: 2px;
}

.star-box {
    background-color: var(--star-green);
    color: white;
    width: 22px;
    height: 22px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.9rem;
    border-radius: 2px;
}

.star-box.half {
    background: linear-gradient(90deg, var(--star-green) 50%, #e0e0e0 50%);
}

.rating-score {
    color: var(--text-gray);
}

@media (max-width: 480px) {
    body {
        padding: 0;
        background-color: var(--card-bg);
    }

    .main-card {
        border-radius: 0;
        box-shadow: none;
        padding: 30px 20px;
    }

    h1 {
        font-size: 1.8rem;
    }

    .social-proof-container {
        left: 50%;
        transform: translateX(-50%);
        bottom: auto;
        top: 15px;
        width: 100%;
        display: flex;
        justify-content: center;
        padding: 0 10px;
    }

    .social-popup {
        width: 100%;
        max-width: 260px;
        padding: 8px;
        gap: 8px;
        border-radius: 8px;
    }

    .popup-image {
        width: 24px;
        height: 24px;
    }

    .popup-text {
        font-size: 0.7rem;
        margin-right: 15px;
        line-height: 1.2;
    }

    .popup-time {
        font-size: 0.6rem;
    }

    .close-btn {
        top: 2px;
        right: 4px;
        font-size: 1rem;
    }
}

/* Social Proof Popup Styles */
.social-proof-container {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    pointer-events: none;
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 0 10px;
}

.social-popup {
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    max-width: 320px;
    transform: translateY(-20px);
    opacity: 0;
    transition: all 0.5s ease;
    border-left: 4px solid var(--costco-blue);
    pointer-events: auto;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.social-popup.visible {
    transform: translateY(0);
    opacity: 1;
}

.popup-image {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background-color: #f0f0f0;
    object-fit: cover;
    flex-shrink: 0;
}

.popup-text {
    font-size: 0.85rem;
    line-height: 1.35;
    color: var(--text-dark);
    margin-right: 20px;
}

.popup-time {
    font-size: 0.75rem;
    color: #999;
}

.close-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    background: transparent;
    border: none;
    color: #ccc;
    font-size: 1.4rem;
    cursor: pointer;
    line-height: .6;
    padding: 4px;
    width: 24px;
    height: 24px;
    text-align: center;
    border-radius: 50%;
    transition: all 0.2s;
    appearance: none;
}

.close-btn:hover {
    color: var(--text-dark);
    background-color: rgba(0, 0, 0, 0.05);
}