

/* =====================
   BLOCK: hero
   ===================== */
.hero {
    overflow: hidden;
    position: relative;
    width: 100%;
    aspect-ratio: 1440 / 810;
    isolation: isolate;
}

.hero__placeholder {
    display: block;
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 1;
}

.hero__placeholder img {
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.hero__video {
    display: block;
    height: 100%;
    left: 0;
    object-fit: cover;
    opacity: 0;
    position: absolute;
    top: 0;
    transition: opacity 0.5s ease;
    width: 100%;
    z-index: 0;
}

.hero--loaded .hero__video {
    opacity: 1;
    z-index: 2;
}

@media (max-width: 768px) {
    .hero {
        aspect-ratio: auto;
        height: auto;
    }

    .hero__placeholder {
        height: auto;
        position: static;
    }

    .hero__placeholder img {
        height: auto;
    }
}


/* =====================
   BLOCK: reserve-privileges
   ===================== */
.reserve-privileges {
    display: flex;
    gap: 12px;
    justify-content: space-between;
    padding: 120px 40px;
    width: 100%;
    background-color: var(--color-background-secondary);

    @media (max-width: 768px) {
        flex-direction: column;
        gap: 32px;
        padding: 56px 16px;
    }
}

.reserve-privileges__title {
    color: var(--color-burn-earth);
    font: 500 40px/1.1 'ABC Diatype', 'Inter', sans-serif;

    @media (max-width: 768px) {
        display: flex;
        gap: 8px;
        font-size: 28px;
    }
}

.reserve-privileges__grid {
    display: grid;
    grid-template-columns: repeat(3, 332px);
    gap: 16px;
    justify-content: center;
    width: 100%;

    @media (max-width: 1024px) {
        grid-template-columns: repeat(2, 1fr);
    }

    @media (max-width: 768px) {
        grid-template-columns: 1fr;
    }
}

/* =====================
   BLOCK: ways-to-earn
   ===================== */
.ways-to-earn {
    display: flex;
    flex-direction: column;
    gap: 48px;
    padding: 120px 40px 120px;
    width: 100%;
    background-color: var(--color-background-secondary);

    @media (max-width: 768px) {
        gap: 32px;
        padding: 56px 16px 56px;
    }
}

.ways-to-earn__title {
    color: var(--color-burn-earth);
    font: 500 40px/1.1 'ABC Diatype', 'Inter', sans-serif;

    @media (max-width: 768px) {
        font-size: 28px;
    }
}

.ways-to-earn__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;

    @media (max-width: 768px) {
        grid-template-columns: 1fr 1fr;
    }
}

.ways-to-earn__card {
    display: flex;
    flex-direction: column;
    gap: 16px;

    @media (max-width: 768px) {
        gap: 8px;
    }

    &:first-child {
        @media (max-width: 768px) {
            grid-column: 1 / -1;
        }
    }
}

.ways-to-earn__link {
    display: contents;
    color: inherit;
    text-decoration: none;
}

.ways-to-earn__media {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;

    img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

.ways-to-earn__card-title {
    color: var(--color-burn-earth);
    font: 500 22px/1.2 'ABC Diatype', 'Inter', sans-serif;

    @media (max-width: 768px) {
        font-size: 19px;
        line-height: 1.1;
    }
}

/* =====================
   BLOCK: privilege-card
   ===================== */
.privilege-card {
    background: white;
    display: flex;
    flex-direction: column;
    gap: 16px;
    overflow: hidden;
    padding: 40px;
    width: 100%;
    min-height: 198px;

    @media (max-width: 768px) {
        padding: 24px;
        min-height: auto;
    }
}

.privilege-card__title {
    color: var(--color-burn-earth);
    font: 500 22px/1.2 'ABC Diatype', 'Inter', sans-serif;

    @media (max-width: 768px) {
        font-size: 20px;
    }
}

.privilege-card__description {
    color: var(--color-burn-earth);
    font: 500 16px/1.2 'ABC Diatype', 'Inter', sans-serif;

    @media (max-width: 768px) {
        font-size: 14px;
    }
}


/* =====================
   BLOCK: membership-tier
   ===================== */
.membership-tier {
    display: grid;
    grid-template-columns: 660px 1fr;
    margin: 0 auto;
    max-width: 1440px;
    position: relative;
    width: 100%;

    @media (max-width: 1280px) {
        grid-template-columns: 560px 1fr;
    }

    @media (max-width: 1024px) {
        grid-template-columns: 1fr;
    }
}

.membership-tier__media {
    height: 819px;
    overflow: hidden;
    position: relative;
    width: 100%;

    @media (max-width: 1024px) {
        height: 500px;
    }

    @media (max-width: 768px) {
        height: 420px;
    }
}

.membership-tier__image {
    display: block;
    height: 125.21%;
    left: 0;
    object-fit: cover;
    opacity: 0;
    pointer-events: none;
    position: absolute;
    top: 0;
    transition: opacity 0.5s ease;
    width: 100%;
    z-index: 0;
}

.membership-tier__image--active {
    opacity: 1;
    z-index: 1;
}

.membership-tier__image[data-tier="blue"] {
    transform: translateY(-3.17%);
}

.membership-tier__image[data-tier="silver"] {
    transform: translateY(-9.83%);
}

.membership-tier__image[data-tier="gold"] {
    transform: translateY(-15.27%);
}

.membership-tier__gradient {
    position: absolute;
    inset: 0;
    z-index: 2;
}

.membership-tier__media--blue .membership-tier__gradient {
    background: linear-gradient(159.6deg, rgba(82, 70, 61, 0.7) 7.8%, rgba(82, 70, 61, 0) 35%);
}

.membership-tier__media--silver .membership-tier__gradient {
    background: linear-gradient(173.34deg, rgba(82, 70, 61, 0.3) 1.3%, rgba(82, 70, 61, 0) 41.7%);
}

.membership-tier__media--gold .membership-tier__gradient {
    background: linear-gradient(159.6deg, rgba(82, 70, 61, 0.55) 7.8%, rgba(82, 70, 61, 0) 35%);
}

.membership-tier__title {
    color: white;
    font: 500 38px/1.4 'Inter';
    left: 40px;
    position: absolute;
    top: 40px;
    width: 344px;
    z-index: 3;

    @media (max-width: 768px) {
        font-size: 28px;
        left: 24px;
        top: 24px;
        width: 260px;
    }
}

.membership-tier__info-card {
    background: var(--color-linen);
    bottom: 203px;
    color: var(--burnt-earth-light);
    display: flex;
    flex-direction: column;
    gap: 24px;
    justify-content: flex-end;
    left: 154px;
    min-height: 240px;
    padding: 24px 32px;
    position: absolute;
    width: 228px;
    z-index: 3;

    @media (max-width: 1024px) {
        bottom: 24px;
        left: 24px;
        min-height: auto;
        width: 220px;
    }
}

.membership-tier__tier-name {
    font: 600 20px/1.65 'Inter';
}

.membership-tier__tier-summary {
    font: 400 14px/1.55 'Inter';
}

.membership-tier__content {
    display: flex;
    flex-direction: column;
    gap: 88px;
    padding: 48px 32px;
    width: 100%;

    @media (max-width: 1024px) {
        gap: 32px;
        padding: 48px 32px;
    }

    @media (max-width: 768px) {
        padding: 32px 0;
        max-width: none;
    }
}

.membership-tier__tabs {
    display: flex;
    gap: 56px;
    width: 100%;

    @media (max-width: 1024px) {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
        background-color: var(--color-linen);
        padding: 24px 16px;
    }
}

.membership-tier__tab {
    background: none;
    border: none;
    color: var(--color-burn-earth);
    cursor: pointer;
    font: 400 13px/1 'Inter';
    letter-spacing: 0.65px;
    padding: 0 0 12px;
    position: relative;
    text-transform: uppercase;
}

.membership-tier__tab::after {
    background: var(--burnt-earth-light);
    bottom: 0;
    content: '';
    display: none;
    height: 3px;
    left: 0;
    position: absolute;
    width: 100%;
}

.membership-tier__tab--active {
    font-weight: 500;
}

.membership-tier__tab--active::after {
    display: block;
}

.membership-tier__panels {
    width: 100%;
    background-color: var(--color-background);

    @media (max-width: 1024px) {
        padding: 8px 16px;
    }
}

.membership-tier__panel {
    display: none;
    flex-direction: column;
    gap: 24px;
    width: 100%;
}

.membership-tier__panel--active {
    display: flex;
}

.membership-tier__row {
    display: grid;
    gap: 16px;
    grid-template-columns: 172px 1fr;
    width: 100%;

    @media (max-width: 768px) {
        gap: 8px;
        grid-template-columns: 1fr;
    }
}

.membership-tier__label {
    color: var(--color-burn-earth);
    font: 500 14px/1.45 'Inter';
}

.membership-tier__value {
    color: var(--color-burn-earth);
    font: 400 14px/1.45 'Inter';
}

.membership-tier__divider {
    background: var(--color-chalk);
    height: 1px;
    width: 100%;
}

.membership-tier__cta {
    align-self: flex-start;
    background: var(--color-garnet-light);
    color: var(--color-linen);
    display: inline-flex;
    font: 400 12px/1 'Inter';
    letter-spacing: 0.6px;
    padding: 16px 24px;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;

    @media (max-width: 1024px) {
        margin-left: 16px;
    }
}

/* =====================
   BLOCK: need-assistance
   ===================== */
.need-assistance {
    background-color: var(--color-linen);
    padding: 160px 40px 120px;
    width: 100%;

    @media (max-width: 1024px) {
        padding: 120px 40px 80px;
    }

    @media (max-width: 768px) {
        padding: 64px 16px 64px;
    }
}

.need-assistance__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    margin: 0 auto;
    max-width: 1440px;
    width: 100%;

    @media (max-width: 768px) {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
}

.need-assistance__title {
    color: var(--color-burn-earth);
    font: 500 40px/1.1 'ABC Diatype', 'Inter', sans-serif;
    letter-spacing: -0.4px;
    flex-shrink: 0;

    @media (max-width: 768px) {
        font-size: 28px;
        letter-spacing: -0.28px;
        line-height: 1.05;
    }
}

.need-assistance__description {
    color: var(--color-burn-earth);
    font: 500 16px/1.2 'ABC Diatype', 'Inter', sans-serif;
    max-width: 380px;

    @media (max-width: 768px) {
        font-size: 14px;
        max-width: none;
    }
}

.need-assistance__contact {
    align-items: center;
    display: flex;
    gap: 12px;
    flex-shrink: 0;

    @media (max-width: 768px) {
        width: 100%;
    }
}

.need-assistance__label {
    color: var(--color-burn-earth);
    font: 500 16px/1.2 'ABC Diatype', 'Inter', sans-serif;

    @media (max-width: 768px) {
        font-size: 14px;
    }
}

.need-assistance__email {
    color: var(--color-burn-earth);
    font: 500 16px/1.2 'ABC Diatype', 'Inter', sans-serif;
    text-decoration: underline;

    @media (max-width: 768px) {
        font-size: 14px;
    }
}
