/* =========================================
   YOUR CUSTOM BEST SELLERS / REWARDS STYLES
   ========================================= */

/* --- 1. Custom Hero Section (With your image) --- */
.first-section {
    background: grey url(../images/seller-image.png);
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    background-position: center; /* Better than background-position-x: -60px for responsiveness */
    width: 100%; /* Changed from 1350px so it fits all screens */
    height: 500px;
    display: flex;
    align-items: center;
    padding-left: 10%;
}

.first-section h1 {
    font-size: 42px;
    color: white;
    font-family: 'Times New Roman', Times, serif;
    letter-spacing: 0.01em;
    font-weight: 300;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.join-now {
    padding: 14px 55px;
    background-color: white;
    color: black;
    letter-spacing: 0.10em;
    font-size: 15px;
    border: 1px solid rgb(255, 255, 255);
    cursor: pointer;
    transition: 0.3s ease;
}

.login {
    padding: 14px 65px;
    background-color: transparent;
    color: white;
    letter-spacing: 0.10em;
    font-size: 15px;
    border: 1px solid white;
    cursor: pointer;
    transition: 0.3s ease;
}

.join-now:hover { background-color: #e0e0e0; }
.login:hover { background-color: white; color: black; }

/* --- 2. Typography Utilities --- */
.section-title {
    text-align: center;
    margin-top: 80px;
    margin-bottom: 40px;
    font-family: 'Times New Roman', Times, serif;
    color: black;
    font-weight: 545;
    font-size: 28px;
    text-transform: uppercase;
}

/* --- 3. How It Works Section --- */
.works-section {
    padding: 0 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.works-grid {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap; /* Allows stacking on mobile */
    text-align: center;
}

/* FIXED: Changed from .step-card to .work-step to match the HTML */
.work-step {
    display: flex;
    flex-direction: column;
    align-items: center; /* This perfectly centers the image and text */
    gap: 15px;
    width: 280px;
}

.work-step img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin: 0 auto 10px auto; /* Forces the image dead-center */
    transition: transform 0.3s ease;
}

.work-step:hover img {
    transform: translateY(-10px); /* Fun little bounce effect */
}

.work-step h3 {
    font-family: 'Times New Roman', Times, serif;
    color: black;
    font-weight: 400;
    font-size: 28px;
    margin-bottom: 5px;
}

.work-step p {
    font-family: 'Times New Roman', Times, serif;
    color: #5b5a5a;
    font-weight: 400;
    font-size: 18px;
    line-height: 1.4;
}

/* --- 4. Points & Values Section --- */
.points-section {
    text-align: center;
    padding: 0 5%;
}

.subtitle {
    font-family: 'Times New Roman', Times, serif;
    color: #5b5a5a;
    font-weight: 400;
    font-size: 20px;
    margin-bottom: 30px;
}

.line-1, .line-2 {
    height: 2px;
    background-color: rgb(0, 0, 0);
    max-width: 400px;
    margin: 20px auto; /* Centers the line beautifully */
    border-radius: 100px;
}

.gold-text {
    font-family: 'Times New Roman', Times, serif;
    color: rgb(194, 166, 8);
    font-weight: 400;
    font-size: 20px;
    margin: 20px 0;
}

.amount-grid {
    display: flex;
    justify-content: center;
    gap: 80px;
    flex-wrap: wrap;
    margin-top: 50px;
}

.amount-box h4 {
    font-family: 'Times New Roman', Times, serif;
    color: black;
    font-size: 30px;
    margin-bottom: 10px;
}

.amount-box p {
    font-family: 'Times New Roman', Times, serif;
    color: #5b5a5a;
    font-weight: 400;
    font-size: 18px;
}

/* --- 5. Redeem Products Section --- */
.redeem-section {
    padding: 0 5% 100px;
    max-width: 1200px;
    margin: 0 auto;
}

.redeem-grid {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    text-align: center;
}

.redeem-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.redeem-item img {
    margin-bottom: 20px;
}

.redeem-item h3 {
    font-family: 'Times New Roman', Times, serif;
    color: #000000;
    font-weight: 400;
    font-size: 18px;
    margin-bottom: 5px;
}

.points-val {
    font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
    color: black;
    font-size: 22px;
    font-weight: lighter;
}

/* --- 6. Your Custom Animated Golden Button --- */
.button-container {
    display: flex;
    justify-content: center;
    margin-top: 60px;
}

.animated-gold-btn {
    position: relative;
    padding: 11px 45px;
    border: 1.5px solid rgb(194, 166, 8);
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 2px;
    background: transparent;
    color: #000000;
    overflow: hidden;
    box-shadow: 0 0 0 0 transparent;
    transition: all 0.2s ease-in;
    font-family: 'Times New Roman', Times, serif;
    cursor: pointer;
}

.animated-gold-btn:hover {
    background: rgb(194, 166, 8);
    box-shadow: 0 0 30px 5px rgb(194, 166, 8);
    transition: all 0.2s ease-out;
    color: white;
}

.animated-gold-btn::before {
    content: '';
    display: block;
    width: 0px;
    height: 86%;
    position: absolute;
    top: 7%;
    left: 0%;
    opacity: 0;
    background: #fff;
    box-shadow: 0 0 50px 30px #fff;
    transform: skewX(-20deg);
}

.animated-gold-btn:hover::before {
    animation: sh02 0.5s 0s linear;
}

.animated-gold-btn:active {
    box-shadow: 0 0 0 0 transparent;
    transition: box-shadow 0.2s ease-in;
}

/* Your Custom Keyframes */
@keyframes sh02 {
    from {
        opacity: 0;
        left: 0%;
    }
    50% {
        opacity: 1;
    }
    to {
        opacity: 0;
        left: 100%;
    }
}

