/* ===== LOYALTY PAGE STYLES ===== */
:root {
    --loyalty-accent: #7f8565;
    --loyalty-text-light: #4b4b4b;
}

/* ===== SECTION 1 - HERO ===== */
.loyalty-hero {
    height: 100vh;
    min-height: 800px;
    position: relative;
    display: flex;
    align-items: center;
    margin-top: calc(-1 * var(--nav-height));
    overflow: hidden;
}

.loyalty-hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("images/moment6.jpg");
    background-size: cover;
    background-position: center 40%;
    background-repeat: no-repeat;
    z-index: 1;
    animation: loyaltyKenBurns 20s ease infinite alternate;
}

@keyframes loyaltyKenBurns {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
}

.loyalty-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.6) 0%,
        rgba(0, 0, 0, 0.3) 100%
    );
    z-index: 2;
}

.loyalty-hero-container {
    position: relative;
    z-index: 10;
    height: 100%;
    display: flex;
    align-items: flex-start;
    padding-top: 120px;
}

.loyalty-hero-content {
    color: #ffffff;
    max-width: 750px;
    text-align: left;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.loyalty-hero-title {
    font-family: "Crimson Pro", serif;
    font-weight: 500;
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
    color: #ffffff;
}

.loyalty-hero-title .text-accent {
    color: #7f8565;
    font-weight: 600;
}

.loyalty-hero-subheadline {
    font-family: "Inter", sans-serif;
    font-weight: 300;
    font-size: 1.2rem;
    line-height: 1.7;
    margin-bottom: 3rem;
    max-width: 650px;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.3);
    color: rgba(255, 255, 255, 0.95);
}

.loyalty-hero-scroll {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

/* ===== SECTION STYLES (sama dengan moment.css) ===== */
.section {
    padding: 5rem 0;
}

.section-header {
    margin-bottom: 3rem;
    max-width: 700px;
}

.section-header.centered {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.section-subtitle {
    font-family: "Inter", sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    color: #7f8565;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 0.8rem;
}

.section-title {
    font-family: "Crimson Pro", serif;
    font-size: 2.8rem;
    font-weight: 300;
    color: #2a211c;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.section-description {
    font-family: "Inter", sans-serif;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #5a524c;
    max-width: 600px;
}

.section-header.centered .section-description {
    margin-left: auto;
    margin-right: auto;
}

/* ===== SECTION 2 - PHILOSOPHY ===== */
.loyalty-philosophy {
    background-color: #faf8f5;
    padding-top: 8rem;
}

.philosophy-intro {
    margin-bottom: 2rem;
}

.philosophy-list {
    max-width: 600px;
    margin: 0 auto;
}

.philosophy-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 0.5rem 0;
}

.philosophy-bullet {
    width: 8px;
    height: 8px;
    background-color: #7f8565;
    border-radius: 50%;
    margin-top: 0.6rem;
    flex-shrink: 0;
}

.philosophy-item p {
    font-family: "Inter", sans-serif;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #5a524c;
    margin: 0;
}

/* ===== SECTION 3 - BENEFITS ===== */
.loyalty-benefits {
    background-color: #ffffff;
    padding: 5rem 0;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin: 3rem auto;
    max-width: 900px;
}

.benefit-card {
    background-color: #faf8f5;
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid rgba(127, 133, 101, 0.1);
    transition: all 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px -10px rgba(127, 133, 101, 0.2);
    border-color: rgba(127, 133, 101, 0.3);
    background-color: #ffffff;
}

.benefit-text {
    font-family: "Inter", sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: #2a211c;
    margin: 0;
}

.benefits-note {
    font-family: "Inter", sans-serif;
    font-size: 0.9rem;
    color: #999;
    text-align: center;
    margin-top: 2rem;
    font-style: italic;
}

/* ===== SECTION 4 - HOW IT WORKS ===== */
.loyalty-how-it-works {
    background-color: #f5f2ed;
    padding: 5rem 0;
}

.how-text {
    max-width: 700px;
}

/* ===== SECTION 5 - FUTURE ===== */
.loyalty-future {
    background-color: #ffffff;
    padding: 5rem 0;
    border-top: 1px solid rgba(127, 133, 101, 0.15);
    border-bottom: 1px solid rgba(127, 133, 101, 0.15);
}

.future-intro {
    margin-bottom: 2rem;
}

.future-list {
    max-width: 500px;
    margin: 0 auto 2rem;
}

.future-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.2rem;
}

.future-bullet {
    width: 8px;
    height: 8px;
    background-color: #7f8565;
    border-radius: 50%;
    margin-top: 0.6rem;
    flex-shrink: 0;
}

.future-item p {
    font-family: "Inter", sans-serif;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #5a524c;
    margin: 0;
}

.future-note {
    font-family: "Inter", sans-serif;
    font-size: 1rem;
    line-height: 1.7;
    color: #666;
    font-style: italic;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

/* ===== SECTION 6 - JOIN ===== */
.loyalty-join {
    background-color: #faf8f5;
    padding: 6rem 0;
    text-align: center;
}

.join-content {
    max-width: 600px;
    margin: 0 auto;
}

.join-title {
    font-family: "Crimson Pro", serif;
    font-size: 2.8rem;
    font-weight: 300;
    color: #2a211c;
    margin-bottom: 1.5rem;
}

.join-text {
    font-family: "Inter", sans-serif;
    font-size: 1.1rem;
    line-height: 1.7;
    color: #5a524c;
    margin-bottom: 2.5rem;
}

.join-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 1rem 2.5rem;
    background-color: #25D366;
    color: #ffffff;
    font-family: "Inter", sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    border: 2px solid #25D366;
}

.join-button:hover {
    background-color: transparent;
    color: #25D366;
    transform: translateY(-3px);
    box-shadow: 0 15px 30px -10px rgba(37, 211, 102, 0.3);
}

.join-button i {
    font-size: 1.3rem;
}

/* ===== SECTION 7 - FOOTNOTE ===== */
.loyalty-footnote {
    padding: 3rem 0;
    background-color: #f5f2ed;
    text-align: center;
}

.footnote-text {
    font-family: "Inter", sans-serif;
    font-size: 0.9rem;
    color: #999;
    max-width: 600px;
    margin: 0 auto;
    font-style: italic;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== MOBILE RESPONSIVE ===== */
@media screen and (max-width: 768px) {
    /* HERO */
    .loyalty-hero {
        min-height: 600px;
        height: 90vh;
    }

    .loyalty-hero-container {
        padding-top: 100px;
        align-items: center;
    }

    .loyalty-hero-content {
        text-align: center;
        padding: 0 20px;
        max-width: 100%;
    }

    .loyalty-hero-title {
        font-size: 2rem;
    }

    .loyalty-hero-subheadline {
        font-size: 0.95rem;
        margin-left: auto;
        margin-right: auto;
    }

    .loyalty-hero-scroll {
        justify-content: center;
    }

    /* Section umum */
    .section {
        padding: 3rem 0;
    }

    .section-title {
        font-size: 2rem;
        padding: 0 20px;
    }

    .section-description {
        font-size: 1rem;
        padding: 0 20px;
    }

    /* Philosophy */
    .loyalty-philosophy {
        padding-top: 5rem;
    }

    .philosophy-item {
        padding: 0 20px;
    }

    .philosophy-item p {
        font-size: 1rem;
    }

    /* Benefits */
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0 20px;
    }

    .benefit-card {
        padding: 1.2rem;
    }

    .benefit-text {
        font-size: 0.95rem;
    }

    /* Future */
    .future-item {
        padding: 0 20px;
    }

    .future-item p {
        font-size: 1rem;
    }

    .future-note {
        font-size: 0.95rem;
        padding: 0 20px;
    }

    /* Join */
    .join-title {
        font-size: 2rem;
        padding: 0 20px;
    }

    .join-text {
        font-size: 1rem;
        padding: 0 20px;
    }

    .join-button {
        padding: 0.9rem 2rem;
        font-size: 1rem;
    }

    /* Footnote */
    .footnote-text {
        font-size: 0.85rem;
        padding: 0 20px;
    }
}

/* ===== HP KECIL (320px - 375px) ===== */
@media screen and (max-width: 375px) {
    .loyalty-hero {
        min-height: 550px;
    }

    .loyalty-hero-container {
        padding-top: 80px;
    }

    .loyalty-hero-title {
        font-size: 1.8rem;
    }

    .loyalty-hero-subheadline {
        font-size: 0.85rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .join-title {
        font-size: 1.8rem;
    }

    .benefit-card {
        padding: 1rem;
    }
}

/* ===== LANDSCAPE MODE ===== */
@media screen and (max-height: 600px) and (orientation: landscape) {
    .loyalty-hero {
        min-height: 400px;
        height: auto;
        padding: 40px 0;
    }

    .loyalty-hero-container {
        padding-top: 70px;
        padding-bottom: 40px;
    }

    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ===== NOTCH/IPHONE SUPPORT ===== */
@supports (padding: max(0px)) {
    .loyalty-hero-container,
    .section-header,
    .philosophy-item,
    .benefits-grid,
    .future-item,
    .join-content {
        padding-left: max(20px, env(safe-area-inset-left));
        padding-right: max(20px, env(safe-area-inset-right));
    }
}