/* ============================================================
   assets/css/style.css
   Modern Classic Cafe Theme - Cream, Dark Brown, Gold, White
   ============================================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Raleway:wght@300;400;500;600;700&display=swap');

/* --- CSS Variables --- */
:root {
    --cream: #F5F0E8;
    --cream-dark: #EDE5D0;
    --brown: #3E2007;
    --brown-mid: #6B3A1F;
    --brown-light: #A0622A;
    --gold: #C9A84C;
    --gold-light: #E8C96A;
    --gold-dark: #9E7A28;
    --white: #FFFFFF;
    --black: #1A1008;
    --gray: #888;
    --gray-light: #f8f4ee;
    --sidebar-width: 260px;
    --header-height: 65px;
    --shadow: 0 4px 20px rgba(62,32,7,0.10);
    --shadow-lg: 0 8px 32px rgba(62,32,7,0.16);
    --radius: 12px;
    --radius-sm: 8px;
    --transition: all 0.3s ease;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Raleway', sans-serif;
    background: var(--cream);
    color: var(--brown);
    font-size: 15px;
    line-height: 1.6;
}

h1, h2, h3, h4, h5 {
    font-family: 'Playfair Display', serif;
    color: var(--brown);
    line-height: 1.3;
}

a { color: var(--brown-light); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--gold); }

/* ============================================================
   LANDING PAGE
   ============================================================ */

/* Navbar */
.navbar-landing {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: rgba(62,32,7,0.95);
    backdrop-filter: blur(10px);
    padding: 0 40px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(201,168,76,0.3);
}

.navbar-brand {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: var(--gold) !important;
    letter-spacing: 1px;
}
.navbar-brand span { color: var(--white); }

.navbar-nav-links { display: flex; gap: 30px; align-items: center; }
.navbar-nav-links a {
    color: rgba(255,255,255,0.85);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: var(--transition);
}
.navbar-nav-links a:hover { color: var(--gold); }

.btn-nav-login {
    background: var(--gold);
    color: var(--brown) !important;
    padding: 8px 22px;
    border-radius: 25px;
    font-weight: 700 !important;
    font-size: 0.85rem !important;
    letter-spacing: 0.5px;
}
.btn-nav-login:hover { background: var(--gold-light) !important; transform: translateY(-1px); }

/* Hero Section */
.hero-section {
    min-height: 100vh;
    background: linear-gradient(135deg, rgba(62,32,7,0.92) 0%, rgba(107,58,31,0.85) 50%, rgba(62,32,7,0.95) 100%),
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="400" height="400"><rect width="400" height="400" fill="%23C9A84C" opacity="0.05"/><circle cx="200" cy="200" r="150" fill="none" stroke="%23C9A84C" stroke-width="0.5" opacity="0.3"/></svg>');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    padding-top: 70px;
}

.hero-section::before {
    content: '';
    position: absolute;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(201,168,76,0.15) 0%, transparent 70%);
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
}

.hero-badge {
    display: inline-block;
    background: rgba(201,168,76,0.2);
    border: 1px solid var(--gold);
    color: var(--gold);
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 20px;
    animation: fadeInDown 0.8s ease;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 6vw, 5rem);
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 20px;
    animation: fadeInUp 0.9s ease 0.2s both;
}

.hero-title .gold { color: var(--gold); }
.hero-title .italic { font-style: italic; }

.hero-desc {
    color: rgba(255,255,255,0.8);
    font-size: 1.05rem;
    max-width: 550px;
    margin: 0 auto 35px;
    font-weight: 300;
    line-height: 1.8;
    animation: fadeInUp 1s ease 0.4s both;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1.1s ease 0.6s both;
}

.hero-divider {
    width: 60px; height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    margin: 0 auto 25px;
    animation: fadeInUp 0.9s ease 0.15s both;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px; left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.5);
    font-size: 0.75rem;
    letter-spacing: 1px;
    animation: bounce 2s infinite;
}
.scroll-indicator::after {
    content: '↓';
    font-size: 1.2rem;
    color: var(--gold);
}

/* About Section */
.about-section {
    padding: 100px 0;
    background: var(--white);
    position: relative;
}

.section-badge {
    display: inline-block;
    color: var(--gold);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    color: var(--brown);
    margin-bottom: 20px;
}

.section-divider {
    width: 50px; height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    border-radius: 2px;
    margin-bottom: 25px;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.about-feature-item {
    text-align: center;
    padding: 20px 15px;
    background: var(--cream);
    border-radius: var(--radius);
    border: 1px solid var(--cream-dark);
    transition: var(--transition);
}

.about-feature-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
    border-color: var(--gold);
}

.about-feature-item .icon { font-size: 2rem; margin-bottom: 8px; }
.about-feature-item h6 {
    font-family: 'Playfair Display', serif;
    font-size: 0.9rem;
    color: var(--brown);
    margin-bottom: 4px;
}
.about-feature-item p { font-size: 0.78rem; color: var(--gray); }

.about-image-wrap {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, var(--brown) 0%, var(--brown-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-image-placeholder {
    text-align: center;
    color: var(--gold);
    padding: 40px;
}

.about-image-placeholder .icon { font-size: 5rem; margin-bottom: 15px; display: block; }
.about-image-placeholder p {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    color: var(--gold-light);
}

/* Menu Section */
.menu-section {
    padding: 100px 0;
    background: var(--cream);
}

.menu-tabs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.menu-tab {
    padding: 8px 22px;
    border-radius: 25px;
    border: 2px solid var(--cream-dark);
    background: transparent;
    color: var(--brown-mid);
    font-family: 'Raleway', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    letter-spacing: 0.5px;
}

.menu-tab:hover, .menu-tab.active {
    background: var(--brown);
    border-color: var(--brown);
    color: var(--gold);
}

.menu-card-landing {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
    border: 1px solid rgba(201,168,76,0.15);
}

.menu-card-landing:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--gold);
}

.menu-card-image {
    height: 160px;
    background: linear-gradient(135deg, var(--brown-mid), var(--brown-light));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    position: relative;
    overflow: hidden;
}

.menu-card-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(201,168,76,0.2), transparent);
}

.menu-card-badge {
    position: absolute;
    top: 10px; right: 10px;
    background: var(--gold);
    color: var(--brown);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 12px;
    letter-spacing: 0.5px;
}

.menu-card-badge.habis {
    background: #dc3545;
    color: white;
}

.menu-card-body { padding: 18px; }
.menu-card-category {
    font-size: 0.72rem;
    color: var(--gold-dark);
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 5px;
}
.menu-card-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    color: var(--brown);
    margin-bottom: 10px;
}
.menu-card-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--brown-light);
}

/* Testimonial Section */
.testimonial-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--brown) 0%, var(--brown-mid) 100%);
    position: relative;
    overflow: hidden;
}

.testimonial-section::before {
    content: '"';
    position: absolute;
    font-family: 'Playfair Display', serif;
    font-size: 20rem;
    color: rgba(201,168,76,0.08);
    top: -50px;
    left: 30px;
    line-height: 1;
    pointer-events: none;
}

.testimonial-card {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(201,168,76,0.25);
    border-radius: var(--radius);
    padding: 30px;
    transition: var(--transition);
    height: 100%;
    backdrop-filter: blur(5px);
}

.testimonial-card:hover {
    background: rgba(255,255,255,0.12);
    border-color: var(--gold);
    transform: translateY(-5px);
}

.testimonial-stars {
    color: var(--gold);
    font-size: 1rem;
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.testimonial-text {
    color: rgba(255,255,255,0.88);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 20px;
    font-style: italic;
    font-family: 'Playfair Display', serif;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-avatar {
    width: 42px; height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    color: var(--brown);
    flex-shrink: 0;
}

.testimonial-author h6 {
    color: var(--gold-light);
    font-size: 0.9rem;
    margin-bottom: 2px;
}

.testimonial-author span {
    color: rgba(255,255,255,0.5);
    font-size: 0.78rem;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: var(--cream-dark);
    text-align: center;
}

/* Footer */
.footer-landing {
    background: var(--black);
    padding: 50px 0 25px;
    color: rgba(255,255,255,0.6);
}

.footer-brand {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: var(--gold);
    margin-bottom: 10px;
}

.footer-links { display: flex; gap: 20px; flex-wrap: wrap; margin-top: 15px; }
.footer-links a { color: rgba(255,255,255,0.5); font-size: 0.85rem; }
.footer-links a:hover { color: var(--gold); }

.footer-divider { border-color: rgba(255,255,255,0.1); margin: 30px 0 20px; }
.footer-bottom { font-size: 0.8rem; text-align: center; }

/* ============================================================
   BUTTONS
   ============================================================ */

.btn-primary-custom {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--brown) !important;
    border: none;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Raleway', sans-serif;
    text-decoration: none;
}

.btn-primary-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(201,168,76,0.4);
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    color: var(--brown) !important;
}

.btn-secondary-custom {
    background: transparent;
    color: var(--white) !important;
    border: 2px solid rgba(255,255,255,0.5);
    padding: 11px 28px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Raleway', sans-serif;
    text-decoration: none;
}
.btn-secondary-custom:hover {
    border-color: var(--gold);
    color: var(--gold) !important;
    transform: translateY(-2px);
}

.btn-gold {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--brown);
    border: none;
    padding: 10px 24px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: 'Raleway', sans-serif;
    text-decoration: none;
    letter-spacing: 0.3px;
}
.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(201,168,76,0.35);
    color: var(--brown);
}

.btn-brown {
    background: var(--brown);
    color: var(--gold);
    border: none;
    padding: 10px 24px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: 'Raleway', sans-serif;
    text-decoration: none;
}
.btn-brown:hover {
    background: var(--brown-mid);
    color: var(--gold-light);
    transform: translateY(-2px);
}

.btn-outline-gold {
    background: transparent;
    color: var(--gold);
    border: 2px solid var(--gold);
    padding: 8px 20px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.82rem;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: 'Raleway', sans-serif;
    text-decoration: none;
}
.btn-outline-gold:hover {
    background: var(--gold);
    color: var(--brown);
}

.btn-danger-custom {
    background: linear-gradient(135deg, #c0392b, #a93226);
    color: white;
    border: none;
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-family: 'Raleway', sans-serif;
    text-decoration: none;
}
.btn-danger-custom:hover {
    background: linear-gradient(135deg, #a93226, #922b21);
    color: white;
    transform: translateY(-1px);
}

.btn-success-custom {
    background: linear-gradient(135deg, #27ae60, #1e8449);
    color: white;
    border: none;
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-family: 'Raleway', sans-serif;
    text-decoration: none;
}
.btn-success-custom:hover {
    transform: translateY(-1px);
    color: white;
}

.btn-info-custom {
    background: linear-gradient(135deg, #2980b9, #1f6fa8);
    color: white;
    border: none;
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-family: 'Raleway', sans-serif;
    text-decoration: none;
}
.btn-info-custom:hover {
    color: white;
    transform: translateY(-1px);
}

.btn-sm-action { padding: 5px 14px; font-size: 0.78rem; border-radius: 15px; }

/* ============================================================
   AUTH - LOGIN PAGE
   ============================================================ */

.login-page {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--brown) 0%, var(--brown-mid) 50%, var(--brown) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative;
    overflow: hidden;
}

.login-page::before {
    content: '';
    position: absolute;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(201,168,76,0.12) 0%, transparent 70%);
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
}

.login-page::after {
    content: '';
    position: absolute;
    width: 300px; height: 300px;
    border: 1px solid rgba(201,168,76,0.15);
    border-radius: 50%;
    top: -100px; right: -100px;
}

.login-card {
    background: rgba(255,255,255,0.97);
    border-radius: 20px;
    padding: 50px 45px;
    width: 100%;
    max-width: 440px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    position: relative;
    z-index: 1;
    border-top: 4px solid var(--gold);
}

.login-logo {
    text-align: center;
    margin-bottom: 30px;
}

.login-logo-icon {
    width: 70px; height: 70px;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 15px;
    box-shadow: 0 8px 25px rgba(201,168,76,0.4);
}

.login-logo h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: var(--brown);
}

.login-logo p {
    color: var(--gray);
    font-size: 0.85rem;
    margin-top: 4px;
}

.form-label-custom {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--brown);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 6px;
    display: block;
}

.form-control-custom {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--cream-dark);
    border-radius: var(--radius-sm);
    font-family: 'Raleway', sans-serif;
    font-size: 0.9rem;
    color: var(--brown);
    background: var(--cream);
    transition: var(--transition);
    outline: none;
}

.form-control-custom:focus {
    border-color: var(--gold);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(201,168,76,0.15);
}

.input-group-custom { position: relative; }
.input-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--brown-light);
    font-size: 1rem;
}
.form-control-custom.with-icon { padding-left: 42px; }

/* ============================================================
   DASHBOARD LAYOUT
   ============================================================ */

.dashboard-wrapper { display: flex; min-height: 100vh; }

/* Sidebar */
.sidebar {
    width: var(--sidebar-width);
    background: linear-gradient(180deg, var(--brown) 0%, #2C1604 100%);
    min-height: 100vh;
    position: fixed;
    left: 0; top: 0;
    z-index: 100;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
    box-shadow: 4px 0 20px rgba(0,0,0,0.25);
    overflow-y: auto;
    overflow-x: hidden;
}

.sidebar-header {
    padding: 25px 20px;
    border-bottom: 1px solid rgba(201,168,76,0.2);
    text-align: center;
}

.sidebar-logo {
    width: 55px; height: 55px;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 10px;
    box-shadow: 0 4px 15px rgba(201,168,76,0.3);
}

.sidebar-brand {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    color: var(--gold);
    line-height: 1.2;
}
.sidebar-brand span { display: block; font-size: 0.7rem; color: rgba(255,255,255,0.5); font-family: 'Raleway', sans-serif; font-style: normal; font-weight: 500; letter-spacing: 2px; text-transform: uppercase; margin-top: 2px; }

.sidebar-user {
    padding: 15px 20px;
    border-bottom: 1px solid rgba(201,168,76,0.1);
    display: flex;
    align-items: center;
    gap: 12px;
}

.sidebar-avatar {
    width: 38px; height: 38px;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--brown);
    font-size: 0.9rem;
    flex-shrink: 0;
}

.sidebar-user-info h6 {
    font-size: 0.85rem;
    color: var(--white);
    margin-bottom: 2px;
}
.sidebar-user-info span {
    font-size: 0.72rem;
    color: var(--gold);
    text-transform: capitalize;
    background: rgba(201,168,76,0.15);
    padding: 2px 8px;
    border-radius: 10px;
}

.sidebar-nav { padding: 15px 0; flex: 1; }

.sidebar-section-label {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.3);
    padding: 15px 20px 6px;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 20px;
    color: rgba(255,255,255,0.7) !important;
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 500;
    transition: var(--transition);
    border-left: 3px solid transparent;
    position: relative;
}

.sidebar-link:hover {
    background: rgba(201,168,76,0.12);
    color: var(--gold-light) !important;
    border-left-color: var(--gold);
    padding-left: 24px;
}

.sidebar-link.active {
    background: rgba(201,168,76,0.18);
    color: var(--gold) !important;
    border-left-color: var(--gold);
}

.sidebar-link .link-icon {
    width: 22px;
    text-align: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.sidebar-link .link-text { flex: 1; }

.sidebar-footer {
    padding: 15px 20px;
    border-top: 1px solid rgba(201,168,76,0.2);
}

.sidebar-logout {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    background: rgba(220,53,69,0.15);
    border: 1px solid rgba(220,53,69,0.3);
    border-radius: var(--radius-sm);
    color: #ff8080 !important;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    transition: var(--transition);
    width: 100%;
}
.sidebar-logout:hover {
    background: rgba(220,53,69,0.25);
    color: #ff6b6b !important;
}

/* Main Content */
.main-content {
    margin-left: var(--sidebar-width);
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Top Header */
.top-header {
    height: var(--header-height);
    background: var(--white);
    border-bottom: 1px solid var(--cream-dark);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 30px;
    position: sticky;
    top: 0;
    z-index: 50;
    box-shadow: 0 2px 10px rgba(62,32,7,0.06);
}

.header-title h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    color: var(--brown);
    margin: 0;
}
.header-title p {
    font-size: 0.75rem;
    color: var(--gray);
    margin: 0;
}

.header-right { display: flex; align-items: center; gap: 15px; }

.header-badge {
    background: var(--cream);
    border: 1px solid var(--cream-dark);
    border-radius: 20px;
    padding: 6px 14px;
    font-size: 0.8rem;
    color: var(--brown-mid);
    font-weight: 600;
}

/* Page Content Area */
.page-content {
    padding: 30px;
    flex: 1;
}

/* ============================================================
   DASHBOARD STATS
   ============================================================ */

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 22px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(201,168,76,0.12);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 80px; height: 80px;
    background: radial-gradient(circle, rgba(201,168,76,0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--gold);
}

.stat-icon {
    width: 52px; height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.stat-icon.bg-gold { background: linear-gradient(135deg, var(--gold), var(--gold-dark)); }
.stat-icon.bg-brown { background: linear-gradient(135deg, var(--brown-mid), var(--brown)); }
.stat-icon.bg-green { background: linear-gradient(135deg, #27ae60, #1e8449); }
.stat-icon.bg-blue { background: linear-gradient(135deg, #2980b9, #1a6fa8); }
.stat-icon.bg-purple { background: linear-gradient(135deg, #8e44ad, #6c3483); }
.stat-icon.bg-orange { background: linear-gradient(135deg, #e67e22, #d35400); }
.stat-icon.bg-red { background: linear-gradient(135deg, #e74c3c, #c0392b); }

.stat-info { flex: 1; min-width: 0; }
.stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 1.7rem;
    font-weight: 700;
    color: var(--brown);
    line-height: 1.1;
}
.stat-label {
    font-size: 0.78rem;
    color: var(--gray);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 3px;
}

/* ============================================================
   CONTENT CARDS
   ============================================================ */

.content-card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid rgba(201,168,76,0.1);
    overflow: hidden;
    margin-bottom: 25px;
}

.content-card-header {
    padding: 20px 25px;
    border-bottom: 1px solid var(--cream-dark);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    background: linear-gradient(135deg, var(--white), var(--cream));
}

.content-card-header h5 {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    color: var(--brown);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.content-card-header h5 .icon { color: var(--gold); font-size: 1.1rem; }

.content-card-body { padding: 25px; }

/* ============================================================
   TABLES
   ============================================================ */

.table-custom {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 0.88rem;
}

.table-custom thead th {
    background: linear-gradient(135deg, var(--brown), var(--brown-mid));
    color: var(--gold-light);
    padding: 14px 16px;
    font-weight: 700;
    font-size: 0.78rem;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    white-space: nowrap;
    border: none;
}

.table-custom thead th:first-child { border-radius: 10px 0 0 0; }
.table-custom thead th:last-child { border-radius: 0 10px 0 0; }

.table-custom tbody tr {
    transition: var(--transition);
    border-bottom: 1px solid var(--cream-dark);
}

.table-custom tbody tr:hover { background: var(--gray-light); }

.table-custom tbody td {
    padding: 13px 16px;
    color: var(--brown);
    vertical-align: middle;
    border: none;
    border-bottom: 1px solid var(--cream-dark);
}

.table-custom tbody tr:last-child td { border-bottom: none; }

.table-responsive-custom {
    overflow-x: auto;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

/* Table Action Buttons */
.action-buttons { display: flex; gap: 6px; flex-wrap: wrap; }

/* Badges */
.badge-custom {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    text-transform: capitalize;
}

.badge-gold { background: rgba(201,168,76,0.15); color: var(--gold-dark); border: 1px solid rgba(201,168,76,0.4); }
.badge-green { background: rgba(39,174,96,0.12); color: #1e8449; border: 1px solid rgba(39,174,96,0.3); }
.badge-red { background: rgba(231,76,60,0.12); color: #c0392b; border: 1px solid rgba(231,76,60,0.3); }
.badge-blue { background: rgba(41,128,185,0.12); color: #1a6fa8; border: 1px solid rgba(41,128,185,0.3); }
.badge-orange { background: rgba(230,126,34,0.12); color: #d35400; border: 1px solid rgba(230,126,34,0.3); }
.badge-gray { background: rgba(136,136,136,0.12); color: #555; border: 1px solid rgba(136,136,136,0.3); }

/* ============================================================
   FORMS
   ============================================================ */

.form-page-card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid rgba(201,168,76,0.12);
    max-width: 700px;
    margin: 0 auto;
}

.form-page-header {
    padding: 22px 28px;
    border-bottom: 1px solid var(--cream-dark);
    background: linear-gradient(135deg, var(--brown), var(--brown-mid));
    border-radius: var(--radius) var(--radius) 0 0;
}

.form-page-header h4 {
    color: var(--gold-light);
    margin: 0;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-page-body { padding: 28px; }

.form-group-custom { margin-bottom: 20px; }

.form-label-styled {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--brown);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 7px;
}

.form-control-styled {
    width: 100%;
    padding: 11px 16px;
    border: 2px solid var(--cream-dark);
    border-radius: var(--radius-sm);
    font-family: 'Raleway', sans-serif;
    font-size: 0.9rem;
    color: var(--brown);
    background: var(--cream);
    transition: var(--transition);
    outline: none;
}

.form-control-styled:focus {
    border-color: var(--gold);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(201,168,76,0.12);
}

.form-control-styled option { background: var(--white); color: var(--brown); }

.form-select-styled {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23A0622A' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
}

textarea.form-control-styled { resize: vertical; min-height: 90px; }

.form-footer-actions {
    display: flex;
    gap: 12px;
    padding: 20px 28px;
    border-top: 1px solid var(--cream-dark);
    background: var(--gray-light);
    border-radius: 0 0 var(--radius) var(--radius);
}

/* Search & Filter Bar */
.search-filter-bar {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 20px;
}

.search-box {
    position: relative;
    flex: 1;
    min-width: 200px;
}

.search-box input {
    width: 100%;
    padding: 10px 16px 10px 40px;
    border: 2px solid var(--cream-dark);
    border-radius: 25px;
    font-family: 'Raleway', sans-serif;
    font-size: 0.88rem;
    color: var(--brown);
    background: var(--white);
    outline: none;
    transition: var(--transition);
}
.search-box input:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(201,168,76,0.12);
}
.search-box .search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--brown-light);
}

.filter-select {
    padding: 10px 35px 10px 14px;
    border: 2px solid var(--cream-dark);
    border-radius: 25px;
    font-family: 'Raleway', sans-serif;
    font-size: 0.85rem;
    color: var(--brown);
    background: var(--white);
    outline: none;
    cursor: pointer;
    transition: var(--transition);
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='7' viewBox='0 0 10 7'%3E%3Cpath fill='%23A0622A' d='M5 7L0 0h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
}
.filter-select:focus { border-color: var(--gold); }

/* Stars Rating */
.stars-display { color: var(--gold); letter-spacing: 2px; font-size: 1rem; }
.stars-gray { color: #ddd; }

/* Alert Messages */
.alert-custom {
    padding: 14px 18px;
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.88rem;
    font-weight: 500;
    border-left: 4px solid;
}
.alert-success { background: rgba(39,174,96,0.1); border-color: #27ae60; color: #1e8449; }
.alert-danger { background: rgba(231,76,60,0.1); border-color: #e74c3c; color: #c0392b; }
.alert-warning { background: rgba(241,196,15,0.1); border-color: #f1c40f; color: #d68910; }
.alert-info { background: rgba(41,128,185,0.1); border-color: #2980b9; color: #1a6fa8; }

/* Page Header */
.page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 25px;
    flex-wrap: wrap;
    gap: 12px;
}
.page-header-title h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: var(--brown);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}
.page-header-title p {
    font-size: 0.82rem;
    color: var(--gray);
    margin: 4px 0 0;
}

/* Quick Stats Row */
.quick-stats {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}
.quick-stat-item {
    background: var(--white);
    border: 1px solid rgba(201,168,76,0.2);
    border-radius: var(--radius-sm);
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    color: var(--brown-mid);
    font-weight: 600;
}
.quick-stat-item span { font-size: 1.1rem; }
.quick-stat-item strong { font-size: 1.2rem; color: var(--brown); }

/* Pagination */
.pagination-custom {
    display: flex;
    gap: 6px;
    justify-content: center;
    padding: 20px;
    flex-wrap: wrap;
}
.page-btn {
    width: 36px; height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 2px solid var(--cream-dark);
    background: var(--white);
    color: var(--brown);
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}
.page-btn:hover, .page-btn.active {
    background: var(--brown);
    border-color: var(--brown);
    color: var(--gold);
}

/* Print Styles */
@media print {
    .sidebar, .top-header, .btn-gold, .btn-brown, .action-buttons, .no-print { display: none !important; }
    .main-content { margin-left: 0 !important; }
    body { background: white; font-size: 12px; }
    .content-card { box-shadow: none; border: 1px solid #ddd; }
    .table-custom thead th { background: #333 !important; -webkit-print-color-adjust: exact; }
    @page { margin: 1cm; }
}

/* ============================================================
   ANIMATIONS
   ============================================================ */

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-8px); }
    60% { transform: translateX(-50%) translateY(-4px); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.animate-fade-in { animation: fadeIn 0.5s ease; }

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

.hamburger {
    display: none;
    background: none;
    border: 2px solid rgba(255,255,255,0.4);
    border-radius: 6px;
    padding: 6px 10px;
    cursor: pointer;
    color: var(--gold);
    font-size: 1.2rem;
}

@media (max-width: 991px) {
    .sidebar {
        transform: translateX(-100%);
        z-index: 1000;
    }
    .sidebar.open { transform: translateX(0); }
    .main-content { margin-left: 0; }
    .hamburger { display: flex; align-items: center; }
    .sidebar-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.5);
        z-index: 999;
    }
    .sidebar-overlay.active { display: block; }
    .page-content { padding: 20px 15px; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 576px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .stat-card { padding: 15px; }
    .stat-number { font-size: 1.4rem; }
    .hero-title { font-size: 2rem; }
    .login-card { padding: 30px 22px; }
    .navbar-landing { padding: 0 20px; }
    .content-card-header, .content-card-body { padding: 15px; }
    .page-content { padding: 15px 10px; }
    .form-page-body, .form-footer-actions { padding: 18px; }
    .top-header { padding: 0 15px; }
    .search-filter-bar { flex-direction: column; align-items: stretch; }
    .search-box { min-width: unset; }
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--cream-dark); }
::-webkit-scrollbar-thumb { background: var(--brown-light); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--brown-mid); }

/* Misc */
.text-gold { color: var(--gold) !important; }
.text-brown { color: var(--brown) !important; }
.text-rupiah { font-weight: 700; color: var(--brown-light); }
.divider-gold { border: none; border-top: 1px solid rgba(201,168,76,0.3); margin: 20px 0; }
.no-data {
    text-align: center;
    padding: 50px 20px;
    color: var(--gray);
}
.no-data .icon { font-size: 3rem; margin-bottom: 12px; opacity: 0.4; }
.no-data p { font-size: 0.9rem; }


/* Team Section - pengganti tampilan ulasan pelanggan */
.team-section::before {
    content: '☕';
    font-family: inherit;
    font-size: 16rem;
    color: rgba(201,168,76,0.06);
    top: -25px;
    left: 40px;
}
.team-intro {
    color: rgba(255,255,255,0.7);
    max-width: 660px;
    margin: 0 auto;
    font-size: 0.95rem;
    line-height: 1.8;
}
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 28px;
    align-items: stretch;
}
.team-card {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(201,168,76,0.25);
    border-radius: 26px;
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
    backdrop-filter: blur(6px);
    box-shadow: 0 22px 45px rgba(0,0,0,0.16);
}
.team-card:hover {
    transform: translateY(-8px);
    border-color: var(--gold);
    background: rgba(255,255,255,0.12);
    box-shadow: 0 26px 55px rgba(0,0,0,0.24);
}
.team-photo-wrap {
    width: 100%;
    aspect-ratio: 1 / 0.78;
    background: linear-gradient(145deg, rgba(245,240,232,0.96), rgba(237,229,208,0.9));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
.team-photo-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left, rgba(201,168,76,0.26), transparent 42%),
                linear-gradient(180deg, transparent 58%, rgba(62,32,7,0.18));
    pointer-events: none;
}
.team-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.team-photo-fallback {
    width: 92px;
    height: 92px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--brown);
    align-items: center;
    justify-content: center;
    font-family: 'Playfair Display', serif;
    font-size: 2.7rem;
    font-weight: 800;
    box-shadow: 0 12px 25px rgba(62,32,7,0.2);
    z-index: 1;
}
.team-card-body {
    padding: 20px 22px 24px;
}
.team-meta {
    color: var(--gold-light);
    font-size: 0.82rem;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    font-weight: 600;
}
.team-member-name {
    color: var(--white);
    font-family: 'Playfair Display', serif;
    font-size: 1.22rem;
    margin-bottom: 10px;
}
.team-task {
    color: rgba(255,255,255,0.66);
    line-height: 1.75;
    font-size: 0.88rem;
    min-height: 78px;
    margin-bottom: 16px;
}
.team-tag {
    display: inline-flex;
    align-items: center;
    padding: 7px 13px;
    border-radius: 999px;
    color: var(--brown);
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    font-size: 0.75rem;
    font-weight: 700;
}
.anggota-thumb {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    object-fit: cover;
    background: var(--cream-dark);
    border: 1px solid rgba(201,168,76,0.35);
}
.anggota-thumb-fallback {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--brown);
    font-family: 'Playfair Display', serif;
    font-weight: 800;
    font-size: 1.4rem;
}
@media (max-width: 768px) {
    .team-section { padding: 75px 0; }
    .team-grid { grid-template-columns: 1fr; gap: 22px; }
    .team-task { min-height: auto; }
}
.sidebar::-webkit-scrollbar {
    width: 6px;
}

.sidebar::-webkit-scrollbar-thumb {
    background: rgba(212, 166, 66, 0.6);
    border-radius: 10px;
}

.sidebar::-webkit-scrollbar-track {
    background: transparent;
}/* FIX SIDEBAR AGAR BISA DI-SCROLL */
.sidebar {
    height: 100vh !important;
    max-height: 100vh !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
}

/* Bagian menu yang bisa digeser */
.sidebar-nav {
    flex: 1 1 auto !important;
    min-height: 0 !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    padding-bottom: 20px !important;
}

/* Header, user, dan footer sidebar jangan ikut mengecil */
.sidebar-header,
.sidebar-user,
.sidebar-footer {
    flex-shrink: 0 !important;
}

/* Tampilan scrollbar sidebar */
.sidebar-nav::-webkit-scrollbar {
    width: 6px;
}

.sidebar-nav::-webkit-scrollbar-thumb {
    background: rgba(212, 166, 66, 0.6);
    border-radius: 10px;
}

.sidebar-nav::-webkit-scrollbar-track {
    background: transparent;
}/* =========================================================
   EFEK CONQUEROR ANGGOTA 1
   Tempel di paling bawah style.css
========================================================= */

/* Efek glow pada card anggota 1 */
.anggota-1-card {
    position: relative;
    overflow: visible !important;
    box-shadow:
        0 0 0 2px rgba(0, 220, 220, 0.85),
        0 0 0 4px rgba(201, 168, 76, 0.45),
        0 0 22px rgba(0, 220, 220, 0.55),
        0 0 45px rgba(201, 168, 76, 0.28),
        0 20px 45px rgba(0, 0, 0, 0.20);
    animation: anggota1CardGlow 3s ease-in-out infinite;
}

@keyframes anggota1CardGlow {
    0%, 100% {
        box-shadow:
            0 0 0 2px rgba(0, 220, 220, 0.75),
            0 0 0 4px rgba(201, 168, 76, 0.35),
            0 0 18px rgba(0, 220, 220, 0.45),
            0 0 38px rgba(201, 168, 76, 0.22),
            0 20px 45px rgba(0, 0, 0, 0.20);
    }

    50% {
        box-shadow:
            0 0 0 2px rgba(0, 255, 255, 1),
            0 0 0 5px rgba(255, 210, 90, 0.65),
            0 0 28px rgba(0, 255, 255, 0.75),
            0 0 55px rgba(255, 210, 90, 0.38),
            0 20px 45px rgba(0, 0, 0, 0.20);
    }
}

/* Bingkai foto anggota 1 */
.anggota-1-photo-frame {
    position: relative !important;
    overflow: hidden !important;
    isolation: isolate;
}

/* Ring cahaya di dalam foto */
.anggota-1-photo-frame::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    z-index: 5;
    box-shadow:
        inset 0 0 12px rgba(0, 255, 255, 0.65),
        inset 0 0 0 2px rgba(0, 230, 230, 0.85),
        inset 0 0 0 4px rgba(201, 168, 76, 0.40);
    animation: anggota1FrameGlow 3s ease-in-out infinite;
}

@keyframes anggota1FrameGlow {
    0%, 100% {
        box-shadow:
            inset 0 0 12px rgba(0, 255, 255, 0.50),
            inset 0 0 0 2px rgba(0, 230, 230, 0.75),
            inset 0 0 0 4px rgba(201, 168, 76, 0.30);
    }

    50% {
        box-shadow:
            inset 0 0 20px rgba(0, 255, 255, 0.85),
            inset 0 0 0 2px rgba(0, 255, 255, 1),
            inset 0 0 0 4px rgba(255, 210, 90, 0.55);
    }
}

/* Efek scanning light */
.anggota-1-scan-light {
    position: absolute;
    top: -80%;
    left: 0;
    width: 30%;
    height: 260%;
    z-index: 8;
    pointer-events: none;

    background: linear-gradient(
        to right,
        transparent 0%,
        rgba(180, 240, 255, 0.10) 25%,
        rgba(255, 255, 255, 0.75) 50%,
        rgba(255, 230, 120, 0.40) 60%,
        transparent 100%
    );

    transform: rotate(-35deg) translateX(-400%);
    animation: anggota1ScanLight 6s linear infinite;
}

/* 
   6 detik total:
   1 detik bergerak
   5 detik jeda
*/
@keyframes anggota1ScanLight {
    0% {
        transform: rotate(-35deg) translateX(-400%);
        opacity: 0;
    }

    3% {
        opacity: 1;
    }

    16.67% {
        transform: rotate(-35deg) translateX(500%);
        opacity: 1;
    }

    17% {
        opacity: 0;
    }

    100% {
        transform: rotate(-35deg) translateX(500%);
        opacity: 0;
    }
}

/* Container sparkle */
.anggota-1-sparkle-container {
    position: absolute;
    inset: 0;
    z-index: 9;
    pointer-events: none;
    overflow: visible;
}

/* Bentuk dasar sparkle */
.a1-sp {
    position: absolute;
    border-radius: 50%;
    opacity: 0;
    clip-path: polygon(
        50% 0%,
        60% 40%,
        100% 50%,
        60% 60%,
        50% 100%,
        40% 60%,
        0% 50%,
        40% 40%
    );
    animation: anggota1Sparkle 2.8s ease-in-out infinite;
}

@keyframes anggota1Sparkle {
    0%, 100% {
        opacity: 0;
        transform: scale(0.3) rotate(0deg);
    }

    40% {
        opacity: 1;
        transform: scale(1.2) rotate(35deg);
    }

    70% {
        opacity: 0.7;
        transform: scale(1) rotate(60deg);
    }
}

/* Posisi sparkle */
.a1-sp-1 {
    top: 8%;
    left: 6%;
    width: 7px;
    height: 7px;
    background: rgba(0, 255, 255, 0.95);
    box-shadow: 0 0 8px rgba(0, 255, 255, 0.9);
    animation-delay: 0s;
}

.a1-sp-2 {
    top: 5%;
    right: 8%;
    width: 9px;
    height: 9px;
    background: rgba(255, 210, 90, 0.95);
    box-shadow: 0 0 10px rgba(255, 210, 90, 0.9);
    animation-delay: 0.5s;
}

.a1-sp-3 {
    top: 42%;
    left: 3%;
    width: 5px;
    height: 5px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 0 7px rgba(255, 255, 255, 0.9);
    animation-delay: 1s;
}

.a1-sp-4 {
    bottom: 8%;
    right: 7%;
    width: 6px;
    height: 6px;
    background: rgba(0, 255, 255, 0.95);
    box-shadow: 0 0 8px rgba(0, 255, 255, 0.9);
    animation-delay: 1.3s;
}

.a1-sp-5 {
    top: 55%;
    right: 4%;
    width: 10px;
    height: 10px;
    background: rgba(255, 210, 90, 0.95);
    box-shadow: 0 0 10px rgba(255, 210, 90, 0.9);
    animation-delay: 1.8s;
}

.a1-sp-6 {
    bottom: 12%;
    left: 38%;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 0 6px rgba(255, 255, 255, 0.9);
    animation-delay: 2.2s;
}

.a1-sp-7 {
    top: 3%;
    left: 52%;
    width: 6px;
    height: 6px;
    background: rgba(0, 255, 255, 0.95);
    box-shadow: 0 0 8px rgba(0, 255, 255, 0.9);
    animation-delay: 0.8s;
}

.a1-sp-8 {
    bottom: 5%;
    left: 12%;
    width: 8px;
    height: 8px;
    background: rgba(255, 210, 90, 0.95);
    box-shadow: 0 0 9px rgba(255, 210, 90, 0.9);
    animation-delay: 1.5s;
}

/* Pastikan foto tetap di bawah efek */
.anggota-1-photo-frame .team-photo,
.anggota-1-photo-frame .team-photo-fallback {
    position: relative;
    z-index: 1;
}

/* ===== FOTO MENU UPLOAD - seperti foto anggota ===== */
.menu-card-image .menu-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    position: absolute;
    inset: 0;
    z-index: 0;
}

.menu-card-image .menu-emoji {
    position: relative;
    z-index: 1;
    font-size: 3.5rem;
    align-items: center;
    justify-content: center;
}

.menu-card-image::before {
    z-index: 1;
    pointer-events: none;
}

.menu-card-badge {
    z-index: 2;
}

.menu-thumb {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    object-fit: cover;
    background: var(--cream-dark);
    border: 1px solid rgba(201,168,76,0.35);
}

.menu-thumb-fallback {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--brown);
    font-size: 1.4rem;
}
