* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: var(--font-main);
    background: var(--bg);
    color: var(--text);
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/*=============== Index HTML ================*/

/* ── SCROLLBAR ── */
::-webkit-scrollbar {
    width: 5px;
}

::-webkit-scrollbar-track {
    background: var(--bg);
}

::-webkit-scrollbar-thumb {
    background: var(--secondary);
    border-radius: 10px;
}

/* ── WRAPPER ── */
.page {
    max-width: 480px;
    margin: 0 auto;
    min-height: 100vh;
    background: var(--bg);
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.06);
    position: relative;
    padding-bottom: 90px;
}

/* ── HEADER BAR ── */
.header-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px 16px;
    border-radius: 0 0 var(--radius-xl) var(--radius-xl);
    position: sticky;
    top: 0;
    z-index: var(--z-header);
    background: rgba(253, 248, 245, 0.596);
    backdrop-filter: blur(12px);
}

.brand-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand-icon {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-icon img {
    width: 50px;
    height: 50px;
}

.brand-name {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--primary);
    letter-spacing: -0.3px;
}

.help-btn {
    width: 38px;
    height: 38px;
    background: var(--white);
    border-radius: var(--radius-round);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--secondary);
    font-size: 1.1rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.help-btn:hover {
    background: var(--primary);
    color: white;
}

/* ── HERO ── */
.hero {
    margin: 0 20px 28px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    position: relative;
    height: 260px;
    background: linear-gradient(145deg, #3D1F0A 0%, #6F4E37 40%, #A67B5B 100%);
    box-shadow: 0 12px 40px rgba(111, 78, 55, 0.25);
}

/* decorative circles */
.hero::before {
    content: '';
    position: absolute;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    top: -80px;
    right: -60px;
}

.hero::after {
    content: '';
    position: absolute;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: rgba(255, 215, 0, 0.07);
    bottom: -50px;
    left: -30px;
}

.hero-content {
    position: absolute;
    inset: 0;
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    z-index: 2;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 20px;
    margin-bottom: 14px;
    width: fit-content;
    letter-spacing: 0.5px;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.hero p {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 22px;
    font-weight: 400;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--white);
    color: var(--primary);
    font-weight: 700;
    font-size: 0.9rem;
    padding: 13px 22px;
    border-radius: var(--radius-md);
    text-decoration: none;
    width: fit-content;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    transition: var(--transition);
}

.hero-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.2);
}

.hero-btn:active {
    transform: scale(0.97);
}

/* SVG cup in hero */
.hero-illustration {
    position: absolute;
    right: 20px;
    top: 20px;
    width: 130px;
    height: 130px;
    opacity: 0.18;
    z-index: 1;
}

/* ── STATS ROW ── */
.stats-row {
    display: flex;
    margin: 0 20px 28px;
    background: var(--white);
    border-radius: 20px;
    padding: 18px 8px;
    box-shadow: var(--shadow);
    gap: 4px;
}

.stat-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    position: relative;
}

.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 10%;
    height: 80%;
    width: 1px;
    background: var(--border-soft);
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--primary);
}

.stat-label {
    font-size: 0.72rem;
    color: var(--muted);
    font-weight: 500;
}

/* ── SECTION TITLE ── */
.section-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 24px;
    margin-bottom: 16px;
}

.section-head h2 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--text);
}

.section-head a {
    font-size: 0.82rem;
    color: var(--secondary);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.section-head a:hover {
    color: var(--primary);
}

/* ── FEATURED MENU ── */
.featured-scroll {
    display: flex;
    overflow-x: auto;
    gap: 14px;
    padding: 4px 24px 20px;
    scrollbar-width: none;
}

.featured-scroll::-webkit-scrollbar {
    display: none;
}

.feat-card {
    flex: 0 0 150px;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 14px;
    box-shadow: var(--shadow);
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    color: inherit;
    animation: fadeInUp 0.5s ease forwards;
    opacity: 0;
}

.feat-card:nth-child(1) {
    animation-delay: 0.05s;
}

.feat-card:nth-child(2) {
    animation-delay: 0.1s;
}

.feat-card:nth-child(3) {
    animation-delay: 0.15s;
}

.feat-card:nth-child(4) {
    animation-delay: 0.2s;
}

.feat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.feat-card:active {
    transform: scale(0.97);
}

.feat-img {
    width: 100%;
    height: 110px;
    background: linear-gradient(135deg, #f5f0ec, #fae8da);
    border-radius: var(--radius-md);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.feat-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.feat-name {
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 3px;
    color: var(--text);
}

.feat-price {
    font-weight: 800;
    font-size: 0.85rem;
    color: var(--primary);
}

/* ── PROMO BANNER ── */
.promo-banner {
    margin: 4px 20px 28px;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, #2D1A06 0%, #4A2C0A 100%);
    padding: 24px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 28px rgba(45, 26, 6, 0.2);
}

.promo-banner::before {
    content: '';
    position: absolute;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: rgba(255, 215, 0, 0.06);
    top: -50px;
    right: -30px;
}

.promo-tag {
    display: inline-block;
    background: var(--accent);
    color: #3D2008;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

.promo-banner h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 6px;
}

.promo-banner p {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 18px;
}

.promo-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--white);
    color: var(--primary);
    font-weight: 700;
    font-size: 0.85rem;
    padding: 10px 18px;
    border-radius: 12px;
    text-decoration: none;
    transition: var(--transition);
}

.promo-btn:hover {
    background: var(--accent);
}

/* ── KATEGORI PILLS ── */
.cat-section {
    margin-bottom: 28px;
}

.cat-pills {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 4px 24px 4px;
    scrollbar-width: none;
}

.cat-pills::-webkit-scrollbar {
    display: none;
}

.cat-pill {
    white-space: nowrap;
    padding: 10px 20px;
    background: var(--white);
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--muted);
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: var(--transition);
    border: 1.5px solid transparent;
}

.cat-pill:hover {
    color: var(--secondary);
    border-color: var(--secondary);
}

.cat-pill.active {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 6px 15px rgba(111, 78, 55, 0.25);
    transform: translateY(-2px);
}

/* ── CTA SECTION ── */
.cta-section {
    margin: 0 20px 10px;
    background: var(--primary);
    border-radius: var(--radius-xl);
    padding: 32px 28px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 35px rgba(111, 78, 55, 0.3);
}

.cta-section::before {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    top: -80px;
    left: -50px;
}

.cta-section::after {
    content: '';
    position: absolute;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: rgba(255, 215, 0, 0.06);
    bottom: -40px;
    right: -30px;
}

.cta-section h2 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    color: var(--white);
    margin-bottom: 8px;
    position: relative;
    z-index: 1;
}

.cta-section p {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--white);
    color: var(--primary);
    font-weight: 700;
    font-size: 0.95rem;
    padding: 15px 28px;
    border-radius: 18px;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
    transition: var(--transition);
    position: relative;
    z-index: 1;
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.cta-btn:active {
    transform: scale(0.97);
}

/* ── ANIMATIONS ── */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(18px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.reveal {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.delay-1 {
    animation-delay: 0.1s;
}

.delay-2 {
    animation-delay: 0.2s;
}

.delay-3 {
    animation-delay: 0.3s;
}

.delay-4 {
    animation-delay: 0.4s;
}

.delay-5 {
    animation-delay: 0.5s;
}