/* ==== HOW IT WORKS PAGE STYLES ==== */
.how_dashboard {
    display: flex;
    justify-content: center;
    color: #fff;
    font-family: "Inter", sans-serif;
    width: 100%;
}

.how_container {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 24px;
    width: 100%;
    max-width: 1440px;
    align-items: start;
}

/* ==== LEFT COLUMN - PROMOTIONAL BANNER ==== */
.how_promo_section {
    position: sticky;
    top: 72px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    padding: 40px 32px;
    border-radius: 16px;
    border: 1px solid rgba(234, 236, 239, 0.08);
    background-image: linear-gradient(180deg, #ff3358 11.21%, #1e2329 40.41%);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 600px;
}

.how_promo_visual {
    position: relative;
    width: 200px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px 0;
}

.how_promo_visual img {
    width: 240px;
    height: 240px;
    object-fit: contain;
    filter: drop-shadow(0 8px 32px rgba(240, 137, 11, 0.4));
}

.how_promo_title {
    color: var(--Silver-White, #eaecef);
    text-align: center;
    font-family: Montserrat;
    font-size: 24px;
    font-weight: 700;
    line-height: 32px;
    text-transform: uppercase;
}

.how_promo_subtitle {
    color: var(--Silver-White, #eaecef);
    text-align: center;
    font-family: Montserrat;
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
}

.how_promo_button {
    width: 100%;
    text-decoration: none !important;
    display: flex;
    height: 48px;
    padding: 0 32px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    align-self: stretch;
    border-radius: 32px;
    border: none;
    background: linear-gradient(90deg, #ff3358 0%, #f0890b 100%);
    color: #fff;
    font-family: Montserrat;
    font-size: 14px;
    font-weight: 700;
    line-height: 20px;
    text-transform: lowercase;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 24px rgba(255, 51, 88, 0.4);
}

.how_promo_button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(255, 51, 88, 0.6);
}

/* ==== RIGHT COLUMN - STEPS ==== */
.how_steps_section {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.how_step {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.how_step_header {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.how_step_title {
    color: var(--Silver-White, #eaecef);
    font-family: Montserrat;
    font-size: 24px;
    font-weight: 700;
    line-height: 32px;
}

.how_step_description {
    color: var(--Muted-Gray, #8b949e);
    font-family: Inter;
    font-size: 14px;
    font-weight: 400;
    line-height: 22px;
    list-style: none;
}

.how_step_description ul {
    margin: 12px 0;
    padding-left: 20px;
}

.how_step_description li {
    margin: 8px 0;
    line-height: 24px;
}

.how_step_description strong {
    color: var(--Silver-White, #eaecef);
    font-weight: 600;
}

/* ==== STEP 1 - BET PACKAGES ==== */
.how_packages_grid {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.how_packages_grid img {
    border-radius: 16px;
    width: 100%;
    height: 80%;
    object-fit: contain;
}

.how_package_card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 12px;
    border-radius: 12px;
    background: var(--Graphite-Gray, #1e2329);
    border: 1px solid rgba(234, 236, 239, 0.08);
}

.how_package_discount {
    position: absolute;
    top: 8px;
    right: 8px;
    display: flex;
    padding: 2px 8px;
    align-items: center;
    justify-content: center;
    border-radius: 32px;
    background: var(--Emerald-Neon, #00f0b5);
    color: var(--Night-Black, #0b0e11);
    font-family: Montserrat;
    font-size: 10px;
    font-weight: 600;
    line-height: 14px;
}

.how_package_icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.how_package_name {
    color: var(--Silver-White, #eaecef);
    font-family: Montserrat;
    font-size: 12px;
    font-weight: 600;
    line-height: 16px;
    text-align: center;
}

.how_package_price {
    display: flex;
    padding: 4px 8px;
    justify-content: center;
    align-items: center;
    border-radius: 32px;
    background: rgba(240, 137, 11, 0.16);
    color: var(--Binance-Yellow, #f0890b);
    font-family: Montserrat;
    font-size: 11px;
    font-weight: 600;
    line-height: 14px;
}

/* ==== STEP 2 & 3 - PRODUCT CARDS ==== */
.how_products_grid {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.how_products_grid img {
    border-radius: 16px;
    width: 100%;
    height: 80%;
    object-fit: contain;
}

.how_product_card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 16px;
    border-radius: 16px;
    background: var(--Graphite-Gray, #1e2329);
    border: 1px solid rgba(234, 236, 239, 0.08);
    transition: all 0.3s ease;
}

.how_product_card:hover {
    border-color: rgba(240, 137, 11, 0.3);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.how_product_image {
    width: 100%;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.02);
    overflow: hidden;
}

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

.how_product_favorite {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(11, 14, 17, 0.8);
    backdrop-filter: blur(8px);
    cursor: pointer;
    transition: all 0.2s ease;
}

.how_product_favorite:hover {
    background: rgba(240, 137, 11, 0.2);
}

.how_product_favorite svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: #8b949e;
    transition: all 0.2s ease;
}

.how_product_favorite:hover svg {
    stroke: #f0890b;
}

.how_product_info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.how_product_title {
    color: var(--Silver-White, #eaecef);
    font-family: Montserrat;
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.how_product_price {
    color: var(--Binance-Yellow, #f0890b);
    font-family: Montserrat;
    font-size: 16px;
    font-weight: 700;
    line-height: 24px;
}

.how_product_button {
    display: flex;
    height: 36px;
    padding: 0 16px;
    justify-content: center;
    align-items: center;
    border-radius: 32px;
    border: none;
    font-family: Montserrat;
    font-size: 12px;
    font-weight: 600;
    line-height: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* Button states for Step 3 */
.how_product_button--gray {
    background: var(--Graphite-Gray, #1e2329);
    border: 1px solid rgba(234, 236, 239, 0.08);
    color: var(--Muted-Gray, #8b949e);
    cursor: default;
}

.how_product_button--blue {
    background: linear-gradient(90deg, #3b82f6 0%, #2563eb 100%);
    color: #fff;
}

.how_product_button--blue:hover {
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

.how_product_button--pink {
    background: linear-gradient(90deg, #ff3358 0%, #f0890b 100%);
    color: #fff;
}

.how_product_button--pink:hover {
    box-shadow: 0 4px 12px rgba(255, 51, 88, 0.4);
}

.how_product_timer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    font-family: Montserrat;
    font-size: 11px;
    font-weight: 600;
    line-height: 14px;
}

/* ==== RESPONSIVE STYLES ==== */

/* Large tablets and small desktops (1024px - 1199px) */
@media (max-width: 1199px) {
    .how_container {
        grid-template-columns: 350px 1fr;
        gap: 20px;
    }

    .how_promo_section {
        padding: 32px 24px;
        min-height: 500px;
    }

    .how_promo_visual {
        width: 170px;
        height: 170px;
    }

    .how_promo_visual img {
        width: 170px;
        height: 170px;
    }

    .how_promo_title {
        font-size: 20px;
        line-height: 28px;
    }

    .how_packages_grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .how_products_grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Tablets (768px - 1023px) */
@media (max-width: 1023px) {
    .how_container {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .how_promo_visual {
        width: 170px;
        height: 170px;
    }

    .how_promo_visual img {
        width: 170px;
        height: 170px;
    }

    .how_promo_section {
        position: relative;
        top: 0;
        min-height: auto;
    }

    .how_packages_grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .how_products_grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .how_step_title {
        font-size: 20px;
        line-height: 28px;
    }
}

/* Mobile landscape and large phones (481px - 767px) */
@media (max-width: 767px) {
    .how_dashboard {
        padding: 0 12px;
    }

    .how_steps_section {
        gap: 32px;
    }

    .how_promo_section {
        padding: 24px 20px;
    }

    .how_promo_visual {
        width: 160px;
        height: 160px;
    }

    .how_promo_visual img {
        width: 160px;
        height: 160px;
    }

    .how_promo_title {
        font-size: 18px;
        line-height: 24px;
    }

    .how_promo_subtitle {
        font-size: 14px;
        line-height: 20px;
    }

    .how_promo_button {
        height: 44px;
        font-size: 13px;
    }

    .how_packages_grid {
        grid-template-columns: repeat(2, 1fr);
        padding: 16px;
        gap: 10px;
    }

    .how_products_grid {
        grid-template-columns: repeat(2, 1fr);
        padding: 16px;
        gap: 12px;
    }

    .how_step_title {
        font-size: 18px;
        line-height: 24px;
    }

    .how_step_description {
        font-size: 13px;
        line-height: 20px;
    }

    .how_package_card {
        padding: 12px 8px;
    }

    .how_package_icon {
        width: 50px;
        height: 50px;
    }

    .how_product_card {
        padding: 12px;
    }

    .how_product_title {
        font-size: 13px;
        line-height: 18px;
    }

    .how_product_price {
        font-size: 14px;
        line-height: 20px;
    }
}

/* Mobile portrait (320px - 480px) */
@media (max-width: 480px) {
    .how_dashboard {
        padding: 0 8px;
    }

    .how_steps_section {
        gap: 24px;
    }

    .how_promo_section {
        padding: 20px 16px;
    }

    .how_promo_visual {
        width: 140px;
        height: 140px;
    }

    .how_promo_visual img {
        width: 140px;
        height: 140px;
    }

    .how_promo_title {
        font-size: 16px;
        line-height: 22px;
    }

    .how_promo_subtitle {
        font-size: 13px;
        line-height: 18px;
    }

    .how_promo_button {
        height: 40px;
        padding: 0 24px;
        font-size: 12px;
    }

    .how_packages_grid {
        grid-template-columns: repeat(2, 1fr);
        padding: 12px;
        gap: 8px;
    }

    .how_products_grid {
        grid-template-columns: 1fr;
        padding: 12px;
        gap: 12px;
    }

    .how_step_title {
        font-size: 16px;
        line-height: 22px;
    }

    .how_step_description {
        font-size: 12px;
        line-height: 18px;
    }

    .how_package_card {
        padding: 10px 6px;
        gap: 6px;
    }

    .how_package_icon {
        width: 40px;
        height: 40px;
    }

    .how_package_name {
        font-size: 11px;
        line-height: 14px;
    }

    .how_package_price {
        font-size: 10px;
        line-height: 12px;
        padding: 3px 6px;
    }

    .how_product_card {
        padding: 12px;
    }

    .how_product_title {
        font-size: 12px;
        line-height: 16px;
    }

    .how_product_price {
        font-size: 13px;
        line-height: 18px;
    }

    .how_product_button {
        height: 32px;
        font-size: 11px;
    }
}

/* Extra small mobile (max 360px) */
@media (max-width: 360px) {
    .how_promo_visual {
        width: 100px;
        height: 100px;
    }

    .how_promo_visual img {
        width: 100px;
        height: 100px;
    }

    .how_promo_title {
        font-size: 14px;
        line-height: 20px;
    }

    .how_packages_grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 6px;
    }

    .how_package_icon {
        width: 36px;
        height: 36px;
    }
}
