:root {
    --bg-dark: #050505; /* Pitch black */
    --bg-card: #111111;
    --accent-purple: #9d4edd;
    --accent-pink: #ff0a54;
    --accent-blue: #3a86ff;
    --accent-green: #22c55e;
    --shopee-orange: #ee4d2d;
    --text-light: #f8f9fa;
    --text-muted: #8b8c8f;
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-hover: rgba(255, 255, 255, 0.12);
    --transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --z-header: 3000;
    --z-tour: 2000;
    --z-tour-panel: 2001;
    --z-modal: 4000;
    --z-toast: 5000;
    --z-loader: 6000;
}

/* Disable copy protection for main page */
body {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.04'/%3E%3C/svg%3E");
}

/* Modern themed scrollbar (WebKit + Firefox) */
html { -webkit-overflow-scrolling: touch; }

/* WebKit browsers (Chrome, Edge, Safari) */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
    border-radius: 0;
    margin: 0;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(
        180deg,
        rgba(157, 78, 221, 1),
        rgba(255, 10, 84, 1)
    );
    border-radius: 0;
    border: none;
    background-clip: border-box;
}

::-webkit-scrollbar-thumb:hover {
    filter: brightness(1.1);
}
::-webkit-scrollbar-corner { background: transparent; }

/* Firefox */
* { scrollbar-width: thin; scrollbar-color: rgba(157,78,221,0.9) rgba(255,255,255,0.02); }

/* Make scrollbars unobtrusive on dark background but visible on hover for usability */
.page, .product-grid, .notes-explore-grid, .video-grid, .modal-overlay { scroll-behavior: smooth; }

.display-font {
    font-family: 'Syne', sans-serif;
}

a { text-decoration: none; color: inherit; }
button { cursor: pointer; font-family: 'Inter', sans-serif; border: none; outline: none; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

.text-gradient {
    background: linear-gradient(135deg, var(--accent-purple), var(--accent-pink));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Typography utilities */
.text-page-title { font-size: 2.5rem; line-height: 1.15; letter-spacing: -0.5px; }
.text-section-title { font-size: 2rem; line-height: 1.2; letter-spacing: -0.5px; }
.text-home-title { font-size: 2.25rem; line-height: 1.2; letter-spacing: -0.5px; }
.text-subsection { font-size: 1.5rem; line-height: 1.25; }
.text-feature { font-size: 1.25rem; line-height: 1.3; }
.text-feature-lg { font-size: 1.375rem; line-height: 1.3; }
.text-lead { font-size: 1rem; line-height: 1.6; }
.text-body-sm { font-size: 0.875rem; line-height: 1.55; }
.text-caption { font-size: 0.8125rem; line-height: 1.5; }
.text-label { font-size: 0.6875rem; letter-spacing: 0.5px; text-transform: uppercase; font-weight: 700; }
.detail-lead { font-size: 1rem; line-height: 1.6; color: var(--text-muted); margin-bottom: 24px; }

.badge-pill {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-light);
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 11px;
    font-weight: 600;
    border: 1px solid var(--glass-border);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Konsentrasi parfum: EDP, EDT, Extrait */
.product-img-wrap { position: relative; }

.card .product-img-wrap {
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 16px;
    margin-bottom: 16px;
}

.badge-concentration {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    font-size: 10px;
    font-weight: 800;
    padding: 5px 10px;
    border-radius: 6px;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}

.badge-concentration--edp {
    background: rgba(157, 78, 221, 0.92);
    color: #fff;
}

.badge-concentration--edt {
    background: rgba(58, 134, 255, 0.92);
    color: #fff;
}

.badge-concentration--extrait {
    background: rgba(255, 10, 84, 0.92);
    color: #fff;
}

.badge-concentration--inline {
    position: static;
    display: inline-block;
    font-size: 9px;
    padding: 4px 9px;
    box-shadow: none;
}

/* Gradient Glowing Border (Hover) & Stagger Animations */
.bento-box {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 24px;
    transition: var(--transition);
    position: relative;
    z-index: 1;
}

.bento-box::before, .card::before {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    background: transparent;
    z-index: -1;
    opacity: 0;
    transition: var(--transition);
}

.bento-box:hover::before, .card:hover::before {
    opacity: 1;
    border: 2px solid rgba(157, 78, 221, 0.75);
    box-shadow: 0 0 24px rgba(157, 78, 221, 0.24);
}

.bento-box:hover, .card:hover {
    border-color: rgba(157, 78, 221, 0.4);
    transform: translateY(-2px);
}

.assistant-panel {
    padding: 24px;
    display: grid;
    gap: 24px;
}

.assistant-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.assistant-input-card,
.assistant-result-card {
    display: grid;
    gap: 18px;
}

.assistant-label {
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 700;
    font-size: 0.82rem;
}

.assistant-input {
    width: 100%;
    min-height: 190px;
    padding: 20px;
    border-radius: 24px;
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(255,255,255,0.04);
    color: var(--text-light);
    line-height: 1.7;
    resize: vertical;
    font-size: 0.96rem;
    transition: var(--transition);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.04);
}

.assistant-input:focus {
    outline: none;
    border-color: rgba(157,78,221,0.72);
    box-shadow: 0 0 0 4px rgba(157,78,221,0.12);
}

.assistant-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    justify-content: space-between;
    color: var(--text-muted);
    font-size: 0.92rem;
}

.btn-ai {
    min-width: 220px;
}

.assistant-result-card {
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(255,255,255,0.03);
    border-radius: 24px;
    padding: 24px;
}

.assistant-result-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.assistant-result-header h3 {
    margin: 0;
    font-size: 1.25rem;
}

.assistant-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 999px;
    background: rgba(157,78,221,0.12);
    color: var(--accent-purple);
    font-size: 0.82rem;
    font-weight: 700;
}

.ai-result-box {
    min-height: 230px;
    padding: 20px;
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
    border: 1px solid rgba(255,255,255,0.08);
    white-space: pre-wrap;
    color: var(--text-light);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

@media (min-width: 900px) {
    .assistant-grid {
        grid-template-columns: minmax(320px, 1fr) minmax(380px, 1.2fr);
    }
}

@media (max-width: 760px) {
    .assistant-panel {
        padding: 20px;
    }

    .assistant-input,
    .assistant-result-card,
    .assistant-input-card {
        padding: 20px;
    }

    .btn-ai {
        width: 100%;
    }
}

.card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
    position: relative;
    z-index: 1;
}

/* Staggered Reveal Animation */
.stagger-item {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUpStagger 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.community-card {
    opacity: 1;
    transform: none;
    animation: none;
}

@keyframes fadeInUpStagger {
    to { opacity: 1; transform: translateY(0); }
}

.btn-primary {
    background: var(--text-light);
    color: var(--bg-dark);
    padding: 14px 28px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-primary:hover {
    background: #e0e0e0;
    transform: scale(1.02);
}

.btn-outline {
    background: transparent;
    color: var(--text-light);
    border: 1px solid rgba(255,255,255,0.3);
    padding: 14px 28px;
    border-radius: 30px;
    font-weight: 500;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-outline:hover { background: rgba(255,255,255,0.1); }

.btn-share {
    background: linear-gradient(135deg, var(--accent-purple), var(--accent-pink));
    color: white;
    border: none;
    padding: 14px 28px;
    border-radius: 30px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: var(--transition);
    box-shadow: 0 18px 45px rgba(157, 78, 221, 0.22);
}

.btn-share:hover {
    transform: scale(1.02);
    box-shadow: 0 24px 55px rgba(157, 78, 221, 0.28);
}

.btn-share:active {
    transform: scale(0.98);
}

.share-profile-modal {
    background: linear-gradient(145deg, rgba(9, 9, 12, 0.98), rgba(18, 18, 28, 0.98));
    border: 1px solid var(--glass-border);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}

.share-profile-card {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    padding: 18px;
    border: 1px solid rgba(255,255,255,0.12);
    background: linear-gradient(145deg, rgba(255,255,255,0.06), rgba(157,78,221,0.12));
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.06), 0 18px 40px rgba(10,10,16,0.35);
}

.share-profile-card-glow {
    position: absolute;
    inset: auto -10% -30% auto;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(157,78,221,0.35), rgba(157,78,221,0));
    filter: blur(18px);
}

.share-profile-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-weight: 800;
    font-size: 18px;
    background: linear-gradient(135deg, var(--accent-purple), var(--accent-pink));
    color: white;
    box-shadow: 0 10px 30px rgba(157,78,221,0.25);
}

.share-profile-label {
    color: var(--accent-pink);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    margin-bottom: 2px;
}

.share-profile-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.share-profile-tags span {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(255,255,255,0.04);
    color: var(--text-light);
    font-size: 11px;
}

.share-profile-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.btn-outline.active-wish {
    border-color: var(--accent-pink);
    color: var(--accent-pink);
    background: rgba(255, 10, 84, 0.18);
    box-shadow: 0 0 18px rgba(255, 10, 84, 0.14);
    transform: scale(1.02);
}

.btn-outline.selected {
    border-color: var(--accent-green);
    color: var(--accent-green);
    background: rgba(34, 197, 94, 0.14);
    box-shadow: 0 0 18px rgba(34, 197, 94, 0.12);
    transform: scale(1.02);
}

.active-social-tab {
    border-color: var(--accent-purple) !important;
    background: rgba(157, 78, 221, 0.16) !important;
    color: var(--accent-purple) !important;
}

.btn-wishlist-card.active-wish {
    transform: scale(1.05);
}

.button-pulse {
    animation: buttonPulse 240ms ease-in-out;
}

@keyframes buttonPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.08); }
    100% { transform: scale(1); }
}

.hidden { display: none !important; }

.tour-overlay {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: min(360px, 95vw);
    max-height: calc(100vh - 48px);
    z-index: var(--z-tour);
    pointer-events: none;
}

.tour-overlay .tour-panel,
.tour-overlay .tour-panel * {
    pointer-events: auto;
}

.tour-panel {
    width: 100%;
    max-height: 100%;
    overflow: hidden;
    background: rgba(12, 10, 18, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 22px;
    box-shadow: 0 22px 54px rgba(0, 0, 0, 0.42);
    display: grid;
    gap: 16px;
    z-index: var(--z-tour-panel);
}

.tour-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.tour-step-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(157, 78, 221, 0.12);
    color: var(--accent-purple);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.tour-description {
    color: var(--text-muted);
    line-height: 1.6;
    font-size: 0.95rem;
}

.tour-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.tour-hint {
    color: #bdb9ff;
    font-size: 0.95rem;
    max-width: 60%;
}

.tour-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.tour-close {
    background: transparent;
    color: var(--text-muted);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 999px;
    padding: 10px 16px;
    font-size: 0.9rem;
    transition: var(--transition);
}

.tour-close:hover {
    background: rgba(255,255,255,0.08);
    color: var(--text-light);
}

.tour-help-btn {
    position: fixed;
    left: 22px;
    bottom: 22px;
    z-index: 1010;
    background: linear-gradient(135deg, rgba(157,78,221,1), rgba(255,10,84,1));
    color: white;
    border: none;
    border-radius: 999px;
    padding: 14px 20px;
    box-shadow: 0 24px 60px rgba(157, 78, 221, 0.28);
    font-weight: 700;
    letter-spacing: 0.4px;
    backdrop-filter: blur(10px);
}

.tour-help-btn:hover {
    transform: translateY(-1px);
}

.tour-highlight {
    position: relative;
    z-index: 1001 !important;
    box-shadow: 0 0 0 4px rgba(157, 78, 221, 0.35), 0 30px 80px rgba(0, 0, 0, 0.35);
    border-radius: 24px;
    outline: 2px solid rgba(255, 255, 255, 0.18);
}

.btn-outline.active-wish:hover {
    background: rgba(255, 10, 84, 0.22);
}

.btn-outline.active-wish i {
    color: var(--accent-pink);
}

.btn-shopee {
    background: var(--shopee-orange);
    color: white;
    padding: 14px 28px;
    border-radius: 30px;
    font-weight: 600;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
}

.btn-shopee:hover { filter: brightness(1.1); transform: translateY(-2px); }

header {
    position: fixed;
    top: 0; width: 100%; z-index: var(--z-header);
    background: rgba(5, 5, 5, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
}

nav {
    display: flex; justify-content: space-between; align-items: center; height: 80px;
}

.logo { font-size: 24px; font-weight: 800; letter-spacing: -0.5px; position: relative; z-index: 1000; }

.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-actions { display: flex; gap: 20px; align-items: center; }
.nav-item {
    font-size: 14px; font-weight: 500; color: var(--text-muted); transition: var(--transition);
}
.nav-item:hover, .nav-item.active { color: var(--text-light); }

.donate-link {
    color: var(--accent-pink) !important;
    border: 1px dashed var(--accent-pink);
    padding: 6px 16px;
    border-radius: 20px;
    transition: 0.3s;
}
.donate-link:hover {
    background: rgba(255, 10, 84, 0.1);
    box-shadow: 0 0 15px rgba(255, 10, 84, 0.3);
}

.wishlist-nav { position: relative; font-size: 20px; color: var(--text-light); }
.wishlist-count {
    position: absolute; top: -6px; right: -8px;
    background: var(--accent-purple); color: white;
    font-size: 10px; font-weight: 700;
    width: 16px; height: 16px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
}

.page {
    display: none; padding-top: 100px; min-height: 100vh; padding-bottom: 80px;
    animation: fadeIn 0.4s ease;
}
.page.active { display: block; }

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

.hero {
    height: calc(100vh - 80px);
    display: flex; align-items: center; justify-content: center;
    text-align: center; position: relative; overflow: hidden;
}

.hero-mesh {
    position: absolute; width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(157,78,221,0.3) 0%, rgba(5,5,5,0) 70%);
    top: 50%; left: 50%; transform: translate(-50%, -50%);
    filter: blur(60px); z-index: -1;
    animation: pulseAura 8s infinite alternate;
}

@keyframes pulseAura { 0% { transform: translate(-50%, -50%) scale(1); } 100% { transform: translate(-50%, -50%) scale(1.2); } }

.hero-content h1 { font-size: 72px; line-height: 1; margin-bottom: 24px; letter-spacing: -2px; }
.hero-content p { font-size: 18px; color: var(--text-muted); margin: 0 auto 40px; max-width: 500px; }
.hero-btns { display: flex; gap: 16px; justify-content: center; }

.marquee-container {
    width: 100%; overflow: hidden; background: var(--text-light); color: var(--bg-dark);
    padding: 16px 0; margin-top: -10px;
}
.marquee-content {
    display: flex; width: max-content;
    font-family: 'Syne', sans-serif; font-weight: 700; font-size: 18px; letter-spacing: 1px;
    animation: scrollText 15s linear infinite;
}
.marquee-content span { margin: 0 40px; }
@keyframes scrollText { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.bento-grid-layout { display: grid; gap: 24px; }
.bento-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 24px; }

.filters {
    display: flex; gap: 16px; margin-bottom: 40px; flex-wrap: wrap;
}

.search-box {
    flex: 1; min-width: 250px; position: relative;
}
.search-box input {
    width: 100%; background: var(--bg-card); border: 1px solid var(--glass-border);
    color: var(--text-light); padding: 14px 20px 14px 48px; border-radius: 16px;
}
.search-box i { position: absolute; left: 20px; top: 50%; transform: translateY(-50%); color: var(--text-muted); }

.filter-select {
    background: var(--bg-card); border: 1px solid var(--glass-border); color: var(--text-light);
    padding: 14px 20px; border-radius: 16px; cursor: pointer;
}

.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.scent-101-stack { display: grid; grid-template-columns: 1fr; gap: 24px; }

.product-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    background: #222;
}

.card-meta { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.vibe-tag { background: rgba(58, 134, 255, 0.1); color: var(--accent-blue); padding: 4px 10px; border-radius: 8px; font-size: 10px; font-weight: 700; }

.card-title { font-size: 20px; margin-bottom: 8px; }
.card-desc { color: var(--text-muted); font-size: 13px; margin-bottom: 20px; flex-grow: 1; }

.card-actions { display: flex; gap: 10px; margin-top: auto; }
.btn-wishlist-card { flex: none !important; width: 46px; background: rgba(255,255,255,0.05); color: var(--text-light); border: 1px solid var(--glass-border); transition: color 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease; }
.btn-wishlist-card i { transition: color 180ms ease; }
.btn-wishlist-card.active, .btn-wishlist-card.active-wish { color: var(--accent-pink); border-color: rgba(255, 10, 84, 0.3); background: rgba(255, 10, 84, 0.14); box-shadow: 0 0 18px rgba(255, 10, 84, 0.14); }

.card { transition: opacity 220ms ease, transform 220ms ease, margin 220ms ease, height 220ms ease, padding 220ms ease; }
.card.fade-out { opacity: 0; transform: scale(0.98); margin: 0 !important; height: 0 !important; padding: 0 !important; overflow: hidden; }

.detail-wrapper { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: start; }
.detail-img-box { position: sticky; top: 100px; }
.detail-img-box.product-img-wrap .badge-concentration { top: 16px; right: 16px; }
.detail-img { width: 100%; height: 500px; object-fit: cover; border-radius: 24px; background: #222; }

.detail-title { font-size: 48px; line-height: 1.1; margin-bottom: 16px; letter-spacing: -1px; }
.notes-pill-group { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.note-pill { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); padding: 6px 12px; border-radius: 8px; font-size: 12px; }

#profileLikes .note-pill,
#profileDislikes .note-pill {
    color: var(--text-muted);
}

.note-pill.active-wish {
    border-color: var(--accent-pink);
    background: linear-gradient(90deg, rgba(255,10,84,0.18), rgba(157,78,221,0.12));
    color: var(--text-light);
    box-shadow: 0 0 12px rgba(255,10,84,0.08);
}

.scent-group-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.group-filter-pill { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); color: var(--text-light); padding: 8px 14px; border-radius: 999px; font-size: 12px; cursor: pointer; transition: all 150ms ease; }
.group-filter-pill:hover { background: rgba(255,255,255,0.12); }
.group-filter-pill.active { background: linear-gradient(90deg, rgba(79, 70, 229, 0.15), rgba(139, 92, 246, 0.18)); border-color: rgba(139, 92, 246, 0.25); color: #fff; }

.product-card { transition: box-shadow 120ms ease, transform 120ms ease; }
.product-card:hover { transform: translateY(-4px); box-shadow: 0 8px 18px rgba(0,0,0,0.4); }
.product-card .btn-outline { min-width:36px; height:32px; padding:6px 8px; }
.product-card.selected { outline: 2px solid rgba(34,197,94,0.18); box-shadow: 0 6px 14px rgba(34,197,94,0.06); }
.product-card .btn-outline.selected { background: linear-gradient(90deg, rgba(34,197,94,0.12), rgba(34,197,94,0.06)); border-color: #22c55e; color: #22c55e; }

/* Edit Profile Modal tweaks */
.quiz-modal input { font-size: 14px; }

.input-error-text {
    color: #ff6b6b;
    font-size: 0.85rem;
    min-height: 18px;
    margin-top: -4px;
    margin-bottom: 4px;
    display: block;
}

.input-error {
    border-color: #ff6b6b !important;
    box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.18);
}

.bento-curator {
    background: linear-gradient(145deg, rgba(255,255,255,0.05), transparent);
    border-left: 3px solid var(--accent-purple);
}

.red-flag { background: rgba(255, 10, 84, 0.05); border-left: 3px solid var(--accent-pink); padding: 16px; border-radius: 12px; margin-top: 16px; font-size: 13px; }

.action-grid { display: grid; grid-template-columns: 1fr auto auto; gap: 12px; margin-top: 32px; }
.icon-btn {
    width: 50px; height: 50px; display: flex; align-items: center; justify-content: center;
    border-radius: 16px; background: rgba(255,255,255,0.05); border: 1px solid var(--glass-border); font-size: 18px; transition: 0.3s;
    color: var(--text-light);
}
.icon-btn:hover { background: rgba(255,255,255,0.1); }
.icon-btn.active-wish { color: var(--accent-pink); border-color: rgba(255, 10, 84, 0.3); }

.profile-header-row {
    align-items: flex-start;
    gap: 18px;
    flex-wrap: wrap;
}

#profile-page {
    overflow: hidden;
}

#profile-page .container {
    padding-left: max(20px, env(safe-area-inset-left));
    padding-right: max(20px, env(safe-area-inset-right));
}

#profile-page.profile-transitioning .profile-summary {
    opacity: 0.9;
    transition: opacity 160ms ease;
}

#profile-page.profile-transitioning .bento-box,
#profile-page.profile-transitioning .suggestion-card {
    opacity: 1;
    transform: none;
    filter: none;
}

#profile-page.profile-transitioning::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.02), rgba(157, 78, 222, 0.03));
    border-radius: inherit;
    pointer-events: none;
}

#profile-page .profile-summary,
#profile-page .bento-box,
#profile-page .suggestion-card {
    transform: translateY(0);
    transition: transform 220ms ease, box-shadow 220ms ease, background 220ms ease;
}

#profile-page.profile-animate .profile-summary,
#profile-page.profile-animate .bento-box,
#profile-page.profile-animate .suggestion-card {
    animation: profileFadeUp 380ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

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

.profile-summary {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-width: 0;
}

.profile-topbar {
    width: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
}

.profile-copy {
    flex: 1;
    min-width: 0;
}

#profileName {
    margin-bottom: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
}

#profileEmail,
#profileJob,
#profileFollowersText {
    color: var(--text-muted);
    margin-top: 4px;
    font-size: 13px;
}

.public-profile-header {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 32px;
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 24px;
}

.public-profile-top {
    display: flex;
    align-items: center;
    gap: 16px;
}

.public-profile-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    min-width: 0;
}

.public-matchmaking {
    display: none;
    margin-left: 76px;
    width: auto;
}

.public-matchmaking > div {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--glass-border);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18);
}

.public-match-score {
    font-size: 13px;
    font-weight: 800;
    line-height: 1.2;
}

.public-match-caption {
    font-size: 11px;
    color: var(--text-muted);
    line-height: 1.2;
    padding-left: 8px;
    border-left: 1px solid var(--glass-border);
}

@media (max-width: 640px) {
    .public-profile-top {
        align-items: flex-start;
    }

    .public-profile-copy {
        width: 100%;
    }

    .public-matchmaking {
        margin-left: 0;
    }

    .public-matchmaking > div {
        width: 100%;
        border-radius: 14px;
    }

    .public-match-caption {
        border-left: none;
        padding-left: 0;
    }
}

#profileEmail {
    margin-top: 8px;
}

#profileSubscribersValue {
    color: var(--text-light);
}

.profile-actions-row {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
}

.profile-action-row-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
}

.profile-follow-btn,
.profile-logout-btn,
.profile-share-btn {
    padding: 8px 14px;
    font-size: 13px;
    border-radius: 14px;
    white-space: nowrap;
}

.profile-share-btn {
    width: 100%;
    justify-content: center;
}


.profile-logout-btn {
    margin-left: auto;
    border-color: rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.04);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.profile-logout-btn:hover {
    background: rgba(255, 255, 255, 0.09);
    border-color: rgba(255, 255, 255, 0.32);
    transform: translateY(-1px);
}

@media (max-width: 480px) {
    #profile-page .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .profile-topbar {
        gap: 10px;
    }

    #profileName {
        font-size: 1.55rem !important;
        line-height: 1.15;
        letter-spacing: -0.5px;
    }

    .profile-edit-btn {
        width: 40px !important;
        height: 40px !important;
        min-width: 40px !important;
        border-radius: 14px;
        margin-top: 0 !important;
    }

    .profile-actions-row {
        flex-direction: column;
        gap: 10px;
    }

    .profile-action-row-top {
        flex-wrap: wrap;
    }

    .profile-follow-btn,
    .profile-logout-btn,
    .profile-share-btn {
        padding: 8px 11px;
        font-size: 12px;
    }
}

.profile-edit-btn {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--text-muted);
    border-radius: 12px;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
    margin-top: 2px;
}

.profile-edit-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.18);
    color: var(--text-light);
    transform: translateY(-1px);
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
    justify-items: center;
}
.video-card {
    width: 100%;
    max-width: 720px;
    margin: 0 auto;
}
.video-card.tiktok {
    max-width: 380px;
}
.video-card iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 16px;
    border: none;
    margin: 0 auto 16px;
    display: block;
}
.video-card.tiktok iframe {
    aspect-ratio: 9 / 16;
}

.custom-select {
    width: 100%;
    padding: 12px 16px;
    background-color: rgba(0, 0, 0, 0.40);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    outline: none;
    font-size: 14px;
    transition: 0.25s ease;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
}

.custom-select:focus {
    border-color: #9d4ede;
    box-shadow: 0 0 0 3px rgba(157, 78, 222, 0.18);
}

.custom-select:hover {
    border-color: rgba(157, 78, 222, 0.65);
    background-color: rgba(255, 255, 255, 0.04);
}

.custom-select option {
    background-color: #121212;
    color: #ffffff;
}

.custom-select option[value=""] {
    color: #9ca3af;
}

.notes-explore-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px; margin-bottom: 24px; }
.note-explore-card { position: relative; text-align: center; cursor: pointer; display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 30px 20px; min-height: 180px; transition: var(--transition); border-color: rgba(255,255,255,0.05); }
.note-explore-card:hover { border-color: var(--accent-purple); box-shadow: 0 0 20px rgba(157,78,221,0.15); transform: translateY(-4px); }

#explore-notes-page .container { padding-bottom: 140px; }
#floatingCollectionBtnContainer {
    position: fixed;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 999;
    display: none;
    width: min(100%, 420px);
    padding: 0 12px;
}
#floatingCollectionBtnContainer .btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    gap: 10px;
    padding: 14px 18px;
}

.modal-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.8); backdrop-filter: blur(10px);
    z-index: var(--z-modal); display: none; align-items: center; justify-content: center;
}
.modal-overlay.active { display: flex; }

.modal {
    position: fixed;
    inset: 0;
    z-index: var(--z-modal);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
}

.modal.active { display: flex; }

.modal-content {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    width: min(520px, 100%);
    border-radius: 24px;
    padding: 28px;
    position: relative;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}

.modal-close {
    position: absolute;
    top: 18px;
    right: 18px;
    color: var(--text-muted);
    background: transparent;
    border: none;
    font-size: 18px;
    cursor: pointer;
}

.modal-close:hover {
    color: var(--text-light);
}

.quiz-modal {
    background: var(--bg-card); border: 1px solid var(--glass-border);
    width: 90%; max-width: 500px; border-radius: 24px; padding: 32px; position: relative;
}
.modal-loading-wrapper {
    grid-column: 1 / -1;
    display: flex;
    justify-content: center;
    padding: 18px 0;
}

.modal-loading-card {
    width: min(280px, 100%);
    padding: 26px;
    border-radius: 24px;
    background: rgba(15, 15, 15, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.22);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
}
.modal-loading-card .page-loader-ring {
    width: 64px;
    height: 64px;
    margin: 0;
}
.modal-loading-card .page-loader-text {
    text-align: center;
}
.modal-loading-card .page-loader-text h2 {
    margin: 0;
    font-size: 1.05rem;
}
.modal-loading-card .page-loader-text p {
    margin: 0;
    font-size: 0.94rem;
    color: var(--text-muted);
}
.quiz-option {
    display: block; width: 100%; text-align: left; background: rgba(255,255,255,0.05);
    border: 1px solid var(--glass-border); padding: 16px; border-radius: 12px; margin-bottom: 12px; transition: 0.2s;
}
.quiz-option:hover { background: rgba(255,255,255,0.1); border-color: var(--text-light); }
.quiz-option.selected { background: rgba(157,78,221,0.15); border-color: var(--accent-purple); box-shadow: 0 0 0 1px rgba(157,78,221,0.25); }

.toast-container { position: fixed; top: 100px; right: 20px; z-index: var(--z-toast); display: flex; flex-direction: column; gap: 12px; }
.toast { background: rgba(10, 10, 18, 0.96); border: 1px solid rgba(255,255,255,0.08); padding: 16px 24px; border-radius: 18px; transform: translateX(120%); transition: 0.35s ease; display: flex; align-items: center; gap: 14px; min-width: 260px; max-width: 360px; color: #fff; box-shadow: 0 20px 40px rgba(0,0,0,0.35); backdrop-filter: blur(14px); }
.toast.show { transform: translateX(0); }
.toast.success { border-color: rgba(157, 78, 221, 0.7); background: linear-gradient(135deg, rgba(46, 28, 79, 0.98), rgba(66, 16, 104, 0.95)); }
.toast.error { border-color: rgba(255, 10, 84, 0.75); background: linear-gradient(135deg, rgba(60, 8, 40, 0.98), rgba(107, 12, 57, 0.94)); }
.toast i { font-size: 1.05rem; color: #fff; }
.toast .toast-content strong { font-weight: 600; font-size: 0.95rem; line-height: 1.4; }

.fomo-popup {
    position: fixed; bottom: 30px; left: 30px; z-index: var(--z-toast);
    background: rgba(17, 17, 17, 0.95); backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 10, 84, 0.3); padding: 12px 20px; border-radius: 50px;
    font-size: 12px; display: flex; align-items: center; gap: 10px;
    transform: translateY(150%); transition: 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.fomo-popup.show { transform: translateY(0); }

.page-loader {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at top, rgba(157,78,221,0.18), transparent 30%),
                linear-gradient(180deg, rgba(5,5,5,0.96) 0%, rgba(5,5,5,0.92) 100%);
    backdrop-filter: blur(10px);
    transition: opacity 0.35s ease, visibility 0.35s ease;
    opacity: 1;
    visibility: visible;
}

.page-loader:not(.active) {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.page-loader-card {
    background: rgba(17, 17, 17, 0.95);
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 30px 90px rgba(0,0,0,0.45);
    border-radius: 28px;
    padding: 36px 32px;
    text-align: center;
    max-width: 420px;
    width: calc(100% - 40px);
}

.page-loader-ring {
    width: 86px;
    height: 86px;
    margin: 0 auto 24px;
    border-radius: 50%;
    border: 5px solid rgba(255,255,255,0.07);
    border-top-color: rgba(157,78,221,0.95);
    animation: loader-spin 1.2s linear infinite;
    box-shadow: 0 0 40px rgba(157,78,221,0.25);
}

.page-loader-text h2 {
    font-family: 'Syne', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--text-light);
}

.page-loader-text p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

@keyframes loader-spin {
    to { transform: rotate(360deg); }
}

@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.hamburger { display: none; font-size: 24px; background: none; color: white; border: none; position: relative; z-index: 1000; }

/* Megatype Footer */
.megatype {
    font-size: 14.5vw;
    line-height: 0.75;
    letter-spacing: -5px;
    text-align: center;
    background: linear-gradient(180deg, rgba(255,255,255,0.15) 0%, rgba(5,5,5,0) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    pointer-events: none;
    user-select: none;
    margin-top: 20px;
}

@media (max-width: 992px) {
    .product-grid { grid-template-columns: repeat(2, 1fr); }
    .detail-wrapper { grid-template-columns: 1fr; }
    .detail-img-box { position: static; top: auto; }
    .detail-img { width: 100%; height: auto; aspect-ratio: 1; max-height: none; object-fit: cover; }
    .detail-title { font-size: 2rem; }
    .hero-content h1 { font-size: 56px; }
}

#community-page .community-layout {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    align-items: flex-start;
}

#community-page .community-main-column {
    flex: 1 1 320px;
    min-width: 300px;
}

#community-page .community-live-feed-card {
    width: 100%;
    max-width: 340px;
    position: sticky;
    top: 100px;
    padding: 24px;
}

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

    /* Typography scale — mobile */
    .text-page-title { font-size: 1.75rem; }
    .text-section-title { font-size: 1.375rem; }
    .text-home-title { font-size: 1.5rem; }
    .text-subsection { font-size: 1.125rem; }
    .text-feature { font-size: 1.0625rem; }
    .text-feature-lg { font-size: 1.125rem; }
    .text-lead, .detail-lead { font-size: 0.9375rem; }
    .text-body-sm { font-size: 0.8125rem; }
    .text-caption { font-size: 0.75rem; }
    .text-label { font-size: 0.625rem; }

    .page h2.display-font { font-size: 1.75rem !important; line-height: 1.2; letter-spacing: -0.5px; }
    .section-header h2.display-font { font-size: 1.5rem !important; }
    .page h3.display-font { font-size: 1.125rem !important; line-height: 1.3; }
    .page h4.display-font { font-size: 1.0625rem !important; }
    .bento-header p, .section-header p { font-size: 0.875rem !important; line-height: 1.5; }
    .bento-grid-layout .bento-box h3.display-font { font-size: 1.0625rem !important; }
    .bento-grid-layout .bento-box p { font-size: 0.8125rem !important; }
    .bento-grid-layout .bento-box > i { font-size: 1.5rem !important; margin-bottom: 12px !important; }
    #scent-101-page .bento-box p { font-size: 0.8125rem !important; }
    #scent-101-page .bento-box > i { font-size: 1.375rem !important; margin-bottom: 12px !important; }
    .note-explore-card h3.display-font { font-size: 1rem !important; }
    .detail-title { font-size: 1.75rem; letter-spacing: -0.5px; margin-bottom: 12px; }
    .detail-wrapper .bento-box h3.display-font { font-size: 1.0625rem !important; }
    .detail-wrapper .bento-curator p:last-child { font-size: 0.875rem !important; }
    .red-flag { font-size: 0.8125rem; padding: 12px; }
    .note-pill { font-size: 0.6875rem; padding: 5px 10px; }
    .quiz-modal h3.display-font { font-size: 1.25rem !important; }
    .quiz-modal p { font-size: 0.875rem !important; }
    .quiz-option { font-size: 0.875rem; padding: 14px; }
    footer .display-font { font-size: 1.125rem !important; }
    footer p { font-size: 0.8125rem !important; }
    footer .fa-brands { font-size: 1.125rem !important; }

    /* Fullscreen Mobile Menu */
    .nav-links {
        position: fixed; top: 0; left: 0; width: 100%; height: 100vh;
        background: rgba(5, 5, 5, 0.95); backdrop-filter: blur(20px);
        flex-direction: column; justify-content: center; align-items: center; gap: 28px;
        clip-path: circle(0% at top right); transition: 0.6s cubic-bezier(0.25, 1, 0.5, 1);
        z-index: 999;
    }
    .nav-links.active { clip-path: circle(150% at center); }
    .nav-item { font-family: 'Syne', sans-serif; font-size: 1.75rem; font-weight: 700; }
    .donate-link { font-size: 1.125rem !important; margin-top: 16px; }
    nav {
        position: relative;
        justify-content: center;
    }

    .logo {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        font-size: 1.25rem;
        text-align: center;
    }

    .nav-actions {
        width: 100%;
        justify-content: space-between;
        gap: 0;
    }

    .wishlist-nav {
        margin-right: auto;
    }

    .hamburger { display: block; font-size: 1.25rem; }
    .hero-content h1 { font-size: 2.25rem; letter-spacing: -1px; margin-bottom: 16px; }
    .hero-content p { font-size: 0.9375rem; margin-bottom: 28px; max-width: 90%; }
    .hero-content .badge-pill { font-size: 0.625rem; padding: 5px 12px; margin-bottom: 16px !important; }
    .hero-btns { flex-direction: column; gap: 10px; }
    .hero-btns .btn-primary, .hero-btns .btn-outline { font-size: 0.875rem; padding: 12px 20px; width: 100%; }
    .marquee-content { font-size: 0.875rem; }
    .bento-grid-layout { grid-template-columns: 1fr !important; }
    .page { padding-top: 88px; }
    
    /* Tampilan Tour Guide di Mobile */
    .tour-overlay {
        left: 50%;
        right: auto;
        bottom: 16px;
        transform: translateX(-50%);
        width: min(95vw, 360px);
        max-height: calc(100vh - 32px);
    }

    /* Tampilan Produk 2 Kolom di Mobile */
    .video-grid { grid-template-columns: 1fr; }
    .product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }

    #community-page .community-layout {
        flex-direction: column;
        gap: 18px;
    }

    #community-page .community-main-column,
    #community-page .community-live-feed-card {
        width: 100%;
        max-width: none;
        min-width: 0;
    }

    #community-page .community-live-feed-card {
        position: static;
        top: auto;
    }

    #community-page #scentFeedContainer {
        max-height: none;
        overflow: visible;
    }
    .card { padding: 12px; }
    .card .product-img-wrap { aspect-ratio: 1 / 1; }
    .product-img { height: 100%; margin-bottom: 0; }
    .card-meta { flex-direction: column; align-items: flex-start; gap: 4px; margin-bottom: 8px; }
            .badge-pill, .vibe-tag { font-size: 0.5625rem; padding: 4px 8px; }
            .badge-concentration { font-size: 8px; padding: 4px 7px; top: 8px; right: 8px; }
            .badge-concentration--inline { font-size: 8px; padding: 3px 7px; }
    .card-title { font-size: 0.9375rem; margin-bottom: 4px; line-height: 1.2; }
    .card-desc { font-size: 0.6875rem; margin-bottom: 12px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 3; line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
    .btn-primary, .btn-shopee, .btn-outline { font-size: 0.8125rem; }
    .btn-primary, .btn-shopee { padding: 10px; }
    .btn-wishlist-card { width: 36px; }
    .search-box input, .filter-select { font-size: 0.875rem; padding: 12px 16px 12px 44px; }
    .filter-select { padding: 12px 16px; }
    
    .filters { flex-direction: column; }
    .fomo-popup { bottom: 20px; left: 20px; right: 20px; border-radius: 12px; font-size: 0.6875rem; }
    .megatype { font-size: 21vw; letter-spacing: -2px; }
    #scent-101-page .scent-101-stack .bento-box,
    #scent-101-page .notes-explore-grid .bento-box { padding: 20px 16px !important; }
    #floatingCollectionBtnContainer {
        width: calc(100% - 40px);
        bottom: 24px;
    }
    #floatingCollectionBtnContainer .btn-primary {
        font-size: 0.95rem;
        padding: 12px 16px;
    }
}

.pagination-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 40px;
    grid-column: 1 / -1;
    flex-wrap: wrap;
    row-gap: 10px;
}

.pagination-go-to {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-left: 0;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--glass-border);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
    width: 100%;
    flex-wrap: wrap;
}

.pagination-go-to-label {
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
}

.pagination-go-to-input {
    width: 58px;
    height: 32px;
    padding: 0 8px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(7, 10, 18, 0.65);
    color: var(--text-light);
    font-family: 'Syne', sans-serif;
    font-size: 0.92rem;
    font-weight: 700;
    text-align: center;
    outline: none;
    transition: var(--transition);
}

.pagination-go-to-input:focus {
    border-color: var(--accent-purple);
    box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.18);
}

.pagination-go-to button {
    width: 42px;
    height: 32px;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 700;
}

@media (max-width: 640px) {
    .pagination-container {
        gap: 6px;
    }

    .pagination-go-to {
        padding: 6px 8px;
        gap: 6px;
    }

    .pagination-go-to-label {
        font-size: 0.82rem;
    }

    .pagination-go-to-input {
        width: 52px;
        height: 30px;
        font-size: 0.85rem;
    }
}

.page-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    color: var(--text-light);
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    transition: var(--transition);
}

.page-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.page-btn.active {
    background: var(--accent-purple);
    border-color: var(--accent-purple);
    color: white;
}

.page-ellipsis {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: default;
    font-weight: 700;
}

.page-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Extra small screens (phones) */
@media (max-width: 768px) {
    .profile-header-row {
        flex-direction: column;
        align-items: stretch;
    }

    .profile-summary {
        width: 100%;
        justify-content: space-between;
        align-items: flex-start;
    }

    .profile-edit-btn {
        margin-top: 4px;
    }
}

@media (max-width: 480px) {
    #community-page .community-layout {
        display: flex;
        flex-direction: column;
        gap: 16px;
        width: 100%;
        max-width: 100%;
    }

    #community-page .community-main-column,
    #community-page .community-live-feed-card {
        width: 100%;
        max-width: none;
        min-width: 0;
        flex: 1 1 100%;
    }

    #community-page .community-live-feed-card {
        position: static;
        top: auto;
        padding: 16px;
        border-radius: 16px;
    }

    #community-page .search-box {
        max-width: none;
    }

    body { font-size: 13px; }

    header { height: 64px; }
    nav { height: 64px; }
    .logo { font-size: 20px; }

    .nav-item { font-size: 1.1rem; }
    .donate-link { padding: 6px 12px; }

    .hero-content h1 { font-size: 2.4rem; line-height: 1.05; }
    .hero-content p { font-size: 0.95rem; max-width: 100%; }

    .container { padding: 0 14px; }

    .product-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .product-img { height: 100%; margin-bottom: 0; }
    .card { padding: 10px; border-radius: 14px; }
    .card-meta { gap: 6px; }
    .card-title { font-size: 0.88rem; }
    .card-desc { font-size: 0.66rem; line-height: 1.35; }
    .product-grid .card-meta > .badge-pill,
    .product-grid .card-meta > .vibe-tag {
        display: none;
    }

    .btn-primary, .btn-shopee, .btn-outline { padding: 10px 12px; font-size: 0.78rem; border-radius: 14px; }
    .btn-shopee { padding: 10px; }
    .btn-wishlist-card { width: 34px; height: 34px; }

    .detail-wrapper { grid-template-columns: 1fr; gap: 18px; }
    .detail-img { height: 360px; }
    .detail-title { font-size: 1.5rem; }

    .notes-explore-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; }

    .bento-box { padding: 16px; border-radius: 16px; }

    .modal-overlay { padding: 12px; }
    .quiz-modal { width: 96%; padding: 28px 20px; border-radius: 14px; }
    #quizModal .quiz-modal { max-height: calc(100vh - 40px); overflow-y: auto; }
    #quizModal .quiz-modal > button { top: 18px !important; }

    .icon-btn { width: 44px; height: 44px; font-size: 16px; border-radius: 12px; }

    .profile-summary {
        gap: 10px;
    }

    .profile-edit-btn {
        width: 36px !important;
        height: 36px !important;
        min-width: 36px !important;
        font-size: 13px;
        border-radius: 10px;
    }

    .wishlist-count { width: 14px; height: 14px; font-size: 9px; top: -5px; right: -6px; }

    .community-pagination button.btn-outline { padding: 8px 12px; font-size: 0.85rem; }

    /* Reduce large gaps for mobile for faster scanning */
    .bento-grid-layout { gap: 16px; }
    .marquee-content { font-size: 0.85rem; }

    /* Privacy / Terms readibility improvements on phones */
    #privacy-page .container,
    #term-page .container {
        padding-left: 12px;
        padding-right: 12px;
    }

    #privacy-page h1.display-font,
    #term-page h1.display-font {
        font-size: 2rem;
    }

    #privacy-page h2.display-font,
    #term-page h2.display-font {
        font-size: 1.15rem;
        margin-bottom: 10px;
    }

    #privacy-page p,
    #privacy-page ul,
    #term-page p,
    #term-page ul {
        font-size: 0.95rem;
        line-height: 1.75;
        color: var(--text-light);
    }

    #privacy-page ul,
    #term-page ul {
        margin-top: 10px;
        padding-left: 16px;
    }

    #privacy-page section,
    #term-page section {
        margin-bottom: 20px;
    }
}

/* Style tambahan untuk menandai notes yang sedang aktif dipilih */
.note-explore-card.active-note {
    border-color: var(--accent-purple) !important;
    box-shadow: 0 0 25px rgba(157, 78, 221, 0.4) !important;
    transform: scale(0.98) translateY(2px);
}

.note-explore-card.active-note::before {
    opacity: 1 !important;
    filter: blur(8px) !important;
}

/* Pastikan container kartu notes memiliki position relative */
.note-card {
    position: relative; /* Wajib agar ikon info bisa diposisikan absolute */
}

/* Style untuk Tombol Ikon Info (i) */
.note-info-trigger {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    border: none;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 13px;
    transition: all 0.2s ease;
    z-index: 10; /* Berada di atas elemen kartu lainnya */
}

.note-info-trigger:hover {
    background: var(--accent-pink, #ff007f);
    color: white;
    transform: scale(1.1);
    box-shadow: 0 0 8px var(--accent-pink, #ff007f);
}

/* Style Backdrop Modal */
.note-modal-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    z-index: var(--z-modal);
    align-items: center;
    justify-content: center;
}

/* Kotak Konten Modal */
.note-modal-content {
    background: rgba(20, 20, 20, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 16px;
    width: 90%;
    max-width: 400px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    animation: fadeInModal 0.3s ease forwards;
}

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

/* Tombol Close (x) */
.note-modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.2s;
}
.note-modal-close:hover { color: white; }

/* Detail Konten di Dalam */
.note-tag {
    background: linear-gradient(45deg, #9d4ede, #ff007f);
    color: white;
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    font-weight: bold;
    display: inline-block;
    margin-bottom: 10px;
}
#noteModalTitle { margin: 5px 0; color: white; font-size: 24px; }
.note-divider { border: 0; height: 1px; background: rgba(255,255,255,0.1); margin: 15px 0; }
#noteModalDesc { color: #ccc; line-height: 1.6; font-size: 14px; }

/* === MOBILE: Privacy Policy & Terms of Service === */
@media (max-width: 768px) {
    #privacy-page,
    #term-page {
        padding-top: 84px !important;
        padding-bottom: 48px !important;
    }

    #privacy-page .container,
    #term-page .container {
        width: 100% !important;
        max-width: 100% !important;
        padding: 28px 18px 40px !important;
        margin: 0 auto !important;
    }

    #privacy-page .container > div:first-child,
    #term-page .container > div:first-child {
        margin-bottom: 24px !important;
        gap: 10px !important;
    }

    #privacy-page h1.display-font,
    #term-page h1.display-font {
        font-size: 1.85rem !important;
        line-height: 1.15 !important;
        letter-spacing: -0.6px !important;
        margin-bottom: 8px !important;
    }

    #privacy-page h1 + p,
    #term-page h1 + p {
        font-size: 0.92rem !important;
        line-height: 1.6 !important;
        color: var(--text-muted) !important;
        margin-top: 6px !important;
    }

    #privacy-page section,
    #term-page section {
        margin-bottom: 24px !important;
    }

    #privacy-page h2.display-font,
    #term-page h2.display-font {
        font-size: 1.12rem !important;
        line-height: 1.35 !important;
        letter-spacing: -0.2px !important;
        margin-bottom: 10px !important;
    }

    #privacy-page p,
    #term-page p {
        font-size: 0.94rem !important;
        line-height: 1.75 !important;
        color: rgba(248, 249, 250, 0.92) !important;
        text-align: left !important;
        margin-bottom: 0 !important;
        overflow-wrap: anywhere !important;
    }

    #privacy-page ul,
    #term-page ul {
        font-size: 0.94rem !important;
        line-height: 1.7 !important;
        padding-left: 18px !important;
        margin-top: 10px !important;
        color: rgba(248, 249, 250, 0.92) !important;
    }

    #privacy-page li,
    #term-page li {
        margin-bottom: 8px !important;
    }
}

/* Extra kecil: HP ukuran 360–430px */
@media (max-width: 480px) {
    #privacy-page .container,
    #term-page .container {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    #privacy-page h1.display-font,
    #term-page h1.display-font {
        font-size: 1.65rem !important;
    }

    #privacy-page h2.display-font,
    #term-page h2.display-font {
        font-size: 1.02rem !important;
    }

    #privacy-page p,
    #privacy-page ul,
    #term-page p,
    #term-page ul {
        font-size: 0.9rem !important;
        line-height: 1.72 !important;
    }
}

.legal-title {
    font-size: 2.5rem;
    margin: 0;
}

.legal-section-title {
    font-size: 1.6rem;
    margin-bottom: 12px;
}

.legal-text {
    color: var(--text-light);
    line-height: 1.8;
}

@media (max-width: 480px) {
    .legal-title {
        font-size: 1.65rem;
    }

    .legal-section-title {
        font-size: 1.05rem;
    }

    .legal-text {
        font-size: 0.9rem;
        line-height: 1.72;
    }
}

/* === About Us Home === */
.about-home-section {
    margin-top: 100px;
}

.about-home-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 56px;
    align-items: center;
    padding: 42px;
    border: 1px solid var(--glass-border);
    border-radius: 34px;
    background:
        radial-gradient(circle at top left, rgba(157, 78, 222, 0.18), transparent 38%),
        linear-gradient(135deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
    overflow: hidden;
}

.about-home-visual {
    display: flex;
    justify-content: center;
}

.about-photo-card {
    width: min(100%, 360px);
    aspect-ratio: 4 / 5;
    border-radius: 30px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.12);
    box-shadow: 0 30px 80px rgba(0,0,0,0.45);
    background: rgba(255,255,255,0.04);
}

.about-photo-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: saturate(1.05) contrast(1.05);
}

.about-home-copy {
    max-width: 680px;
}

.about-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    color: var(--accent-purple);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.4px;
}

.about-home-copy h2 {
    font-size: clamp(32px, 5vw, 58px);
    line-height: 0.95;
    margin-bottom: 24px;
    color: var(--text-light);
}

.about-home-copy p {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 18px;
}

.about-home-copy .about-quote {
    color: var(--text-light);
    font-size: clamp(20px, 2.7vw, 32px);
    line-height: 1.18;
    font-weight: 700;
    letter-spacing: -0.04em;
}

.about-home-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.about-founder-note {
    margin-top: 20px;
    color: var(--text-muted);
    font-size: 12px;
    letter-spacing: 0.5px;
}

/* === Testimonial Home === */
.testimonial-home-section {
    margin-top: 110px;
    padding: 80px 0;
    overflow: hidden;
    background:
        radial-gradient(circle at center, rgba(157, 78, 222, 0.11), transparent 38%),
        rgba(255,255,255,0.015);
    border-top: 1px solid rgba(255,255,255,0.06);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.testimonial-header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 44px;
}

.testimonial-header h2 {
    color: var(--text-light);
    font-size: clamp(34px, 5vw, 64px);
    line-height: 1;
    margin-bottom: 16px;
}

.testimonial-header p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.7;
}

.testimonial-marquee {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.testimonial-track {
    display: flex;
    width: max-content;
    animation: testimonialScroll 55s linear infinite;
    will-change: transform;
}

.testimonial-group {
    display: flex;
    gap: 24px;
    padding-right: 24px;
    flex-shrink: 0;
}

.testimonial-marquee:hover .testimonial-track {
    animation-play-state: paused;
}

.testimonial-card,
.testimonial-image-card {
    flex: 0 0 330px;
    height: 220px;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.04);
}

.testimonial-card {
    padding: 28px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.testimonial-stars {
    color: #b4ffcb;
    letter-spacing: 2px;
    font-size: 14px;
    margin-bottom: 18px;
}

.testimonial-card h4 {
    color: var(--text-light);
    font-size: 16px;
    margin-bottom: 12px;
    font-weight: 800;
}

.testimonial-card p {
    color: var(--text-muted);
    font-size: 13px;
    line-height: 1.7;
}

.testimonial-image-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: saturate(1.05) contrast(1.04);
}

/* Loop nyambung tanpa patah */
@keyframes testimonialScroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

/* Mobile */
@media (max-width: 900px) {
    .about-home-grid {
        grid-template-columns: 1fr;
        padding: 28px;
        gap: 34px;
    }

    .about-photo-card {
        width: min(100%, 320px);
    }

    .testimonial-card,
    .testimonial-image-card {
        flex-basis: 280px;
        height: 210px;
    }
}

@media (max-width: 600px) {
    .about-home-section {
        margin-top: 70px;
    }

    .about-home-grid {
        border-radius: 26px;
        padding: 22px;
    }

    .about-home-copy h2 {
        font-size: 34px;
    }

    .about-home-copy .about-quote {
        font-size: 22px;
    }

    .testimonial-home-section {
        margin-top: 80px;
        padding: 64px 0;
    }

    .testimonial-track {
        animation-duration: 42s;
    }

    .testimonial-group {
        gap: 16px;
        padding-right: 16px;
    }

    .testimonial-card,
    .testimonial-image-card {
        flex-basis: 260px;
        height: 210px;
    }

    .testimonial-card {
        padding: 22px;
    }
}

.brand-filter-wrap {
    margin: 22px 0 34px;
    padding: 18px;
    border: 1px solid var(--glass-border);
    border-radius: 22px;
    background:
        radial-gradient(circle at top left, rgba(157, 78, 222, 0.14), transparent 35%),
        rgba(255, 255, 255, 0.025);
    overflow: hidden;
}

.brand-filter-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 14px;
}

.brand-filter-header span {
    color: var(--text-light);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.9px;
}

.brand-filter-header button {
    border: none;
    background: transparent;
    color: var(--accent-pink);
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
}

.brand-filter-carousel {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand-filter-scroll {
    position: relative;
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

.brand-filter-scroll::before,
.brand-filter-scroll::after {
    content: "";
    position: absolute;
    top: 0;
    width: 46px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.brand-filter-scroll::before {
    left: 0;
    background: linear-gradient(to right, rgba(18,18,18,0.95), transparent);
}

.brand-filter-scroll::after {
    right: 0;
    background: linear-gradient(to left, rgba(18,18,18,0.95), transparent);
}

.brand-filter-chips {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 2px 8px 8px;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.brand-filter-chips::-webkit-scrollbar {
    display: none;
}

.brand-chip {
    flex: 0 0 auto;
    max-width: 190px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;

    padding: 10px 15px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.09);
    background: rgba(255,255,255,0.045);
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
    transition: 0.22s ease;
}

.brand-chip:hover {
    color: var(--text-light);
    border-color: rgba(157, 78, 222, 0.55);
    transform: translateY(-1px);
}

.brand-chip.active {
    color: #fff;
    border-color: rgba(255, 0, 127, 0.7);
    background: linear-gradient(135deg, rgba(157, 78, 222, 0.55), rgba(255, 0, 127, 0.40));
    box-shadow: 0 12px 30px rgba(157, 78, 222, 0.18);
}

.brand-scroll-btn {
    flex: 0 0 auto;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.055);
    color: var(--text-light);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.22s ease;
    z-index: 3;
}

.brand-scroll-btn:hover {
    background: rgba(157, 78, 222, 0.35);
    border-color: rgba(157, 78, 222, 0.65);
}

@media (max-width: 600px) {
    .brand-filter-wrap {
        margin: 18px 0 28px;
        padding: 14px;
        border-radius: 18px;
    }

    .brand-filter-carousel {
        gap: 8px;
    }

    .brand-scroll-btn {
        width: 30px;
        height: 30px;
        font-size: 11px;
    }

    .brand-chip {
        max-width: 150px;
        padding: 9px 13px;
        font-size: 11px;
    }

    .brand-filter-scroll::before,
    .brand-filter-scroll::after {
        width: 28px;
    }
}

.profile-suggestion-box {
    background:
        linear-gradient(145deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03)),
        var(--bg-card);
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 18px 48px rgba(10, 10, 18, 0.35);
}

.suggestion-inbox-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 420px;
    overflow-y: auto;
    padding-right: 4px;
}

.suggestion-inbox-list::-webkit-scrollbar {
    width: 8px;
}

.suggestion-inbox-list::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.12);
    border-radius: 999px;
}

.suggestion-empty-state {
    padding: 18px;
    border: 1px dashed var(--glass-border);
    border-radius: 16px;
    color: var(--text-muted);
    background: rgba(255,255,255,0.03);
    text-align: center;
    font-size: 14px;
}

.suggestion-card {
    padding: 14px;
    margin-bottom: 10px;
    border: 1px solid var(--glass-border);
    border-radius: 18px;
    background: rgba(255,255,255,0.04);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
    transition: 0.22s ease;
}

.suggestion-card:hover {
    transform: translateY(-1px);
    border-color: rgba(157, 78, 222, 0.45);
    background: rgba(157, 78, 222, 0.08);
}

.suggestion-card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.suggestion-pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 12px;
    padding: 10px 12px;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 14px;
    background: rgba(255,255,255,0.03);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}

.suggestion-page-btn {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.12);
    background: linear-gradient(145deg, rgba(255,255,255,0.07), rgba(255,255,255,0.03));
    color: var(--text-light);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.suggestion-page-btn:hover:not(:disabled) {
    transform: translateY(-1px);
    border-color: rgba(157, 78, 222, 0.55);
    background: linear-gradient(145deg, rgba(157, 78, 222, 0.18), rgba(255, 0, 127, 0.12));
}

.suggestion-page-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.suggest-friend-item {
    width: 100%;
    padding: 12px;
    border-radius: 16px;
    border: 1px solid var(--glass-border);
    background: rgba(255,255,255,0.035);
    cursor: pointer;
    transition: 0.22s ease;
}

.suggest-friend-item:hover {
    border-color: rgba(157, 78, 222, 0.55);
    background: rgba(157, 78, 222, 0.12);
}

.suggest-friend-item.active {
    border-color: rgba(255, 0, 127, 0.7);
    background: linear-gradient(135deg, rgba(157, 78, 222, 0.30), rgba(255, 0, 127, 0.18));
    box-shadow: 0 12px 30px rgba(157, 78, 222, 0.18);
}

.suggestion-pagination {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-align: center;
}

.suggestion-pagination > div {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.suggestion-pagination p,
.suggestion-pagination span {
    text-align: center;
}

.suggestion-delete-btn {
    color: #ff6b6b !important;
    border-color: rgba(255, 107, 107, 0.45) !important;
    background: rgba(255, 107, 107, 0.06) !important;
}

.suggestion-delete-btn:hover {
    color: #fff !important;
    border-color: rgba(255, 107, 107, 0.75) !important;
    background: rgba(255, 107, 107, 0.18) !important;
}

.delete-confirm-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.delete-confirm-modal.active {
    display: flex;
}

.delete-confirm-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.62);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.delete-confirm-dialog {
    position: relative;
    width: min(100%, 440px);
    border-radius: 28px;
    padding: 28px 24px 22px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    background:
        radial-gradient(circle at top left, rgba(157, 78, 222, 0.22), transparent 34%),
        radial-gradient(circle at top right, rgba(255, 0, 127, 0.14), transparent 32%),
        rgba(10, 10, 14, 0.94);
    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.45),
        0 0 0 1px rgba(255, 0, 127, 0.07),
        0 0 40px rgba(157, 78, 222, 0.16);
    text-align: center;
    z-index: 2;
    animation: deleteModalIn 0.2s ease;
}

@keyframes deleteModalIn {
    from {
        opacity: 0;
        transform: translateY(10px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.delete-confirm-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 38px;
    height: 38px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.10);
    background: rgba(255,255,255,0.04);
    color: var(--text-light);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.2s ease;
}

.delete-confirm-close:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.18);
}

.delete-confirm-icon {
    width: 68px;
    height: 68px;
    margin: 0 auto 16px;
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #ff7a7a;
    background:
        linear-gradient(135deg, rgba(255, 0, 127, 0.18), rgba(157, 78, 222, 0.18));
    border: 1px solid rgba(255, 107, 107, 0.28);
    box-shadow: 0 12px 28px rgba(255, 0, 127, 0.14);
}

.delete-confirm-eyebrow {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--accent-pink);
    margin-bottom: 10px;
}

.delete-confirm-dialog h3 {
    margin: 0 0 10px;
    font-size: 28px;
    line-height: 1.1;
    color: var(--text-light);
}

.delete-confirm-text {
    margin: 0 auto;
    max-width: 320px;
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-muted);
}

.delete-confirm-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 24px;
    flex-wrap: wrap;
}

.delete-confirm-actions button {
    min-width: 140px;
}

.delete-cancel-btn {
    background: rgba(255,255,255,0.03);
}

.delete-danger-btn {
    border: 1px solid rgba(255, 107, 107, 0.34);
    background: linear-gradient(135deg, rgba(255, 0, 127, 0.85), rgba(157, 78, 222, 0.82));
    color: #fff;
    box-shadow: 0 16px 30px rgba(255, 0, 127, 0.18);
}

.delete-danger-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 36px rgba(255, 0, 127, 0.24);
}

@media (max-width: 600px) {
    .delete-confirm-dialog {
        padding: 24px 18px 18px;
        border-radius: 24px;
    }

    .delete-confirm-dialog h3 {
        font-size: 24px;
    }

    .delete-confirm-actions {
        flex-direction: column;
    }

    .delete-confirm-actions button {
        width: 100%;
        min-width: 100%;
    }
}
/* --- PROFILE DROPDOWN MENU --- */
.nav-profile-container {
    position: relative;
    display: inline-block;
}

#navProfileBtn {
    background: transparent;
    color: var(--text-light);
    font-size: 20px;
    position: relative;
    padding: 0;
}

.profile-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 16px;
    width: 220px;
    background: rgba(15, 15, 15, 0.95);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 8px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    
    /* Animasi Sembunyi/Tampil */
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 4000;
}

.profile-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-header {
    padding: 14px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-decoration: none;
    transition: background 0.2s;
    border-radius: 16px 16px 0 0; /* Melengkung di atas */
}

.dropdown-header:hover {
    background: rgba(255, 255, 255, 0.05);
}

@media (max-width: 576px) {
    .dropdown-header {
        border-radius: 24px 24px 0 0;
    }
}

.dropdown-divider {
    border: 0;
    height: 1px;
    background: var(--glass-border);
    margin: 4px 0;
}

.dropdown-item {
    padding: 12px 18px;
    color: var(--text-muted);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    font-weight: 500;
    transition: background 0.2s, color 0.2s;
}

.dropdown-item:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-light);
}

.dropdown-item i {
    width: 20px;
    text-align: center;
    margin-right: 8px;
}

.dropdown-badge {
    background: var(--accent-purple);
    color: white;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
}

.dropdown-item.text-danger:hover {
    color: var(--accent-pink) !important;
    background: rgba(255, 10, 84, 0.1) !important;
}
/* --- RESPONSIVE DROPDOWN UNTUK HP --- */
/* --- RESPONSIVE DROPDOWN UNTUK HP (Model Sidebar Spotify) --- */
@media (max-width: 576px) {
    .profile-dropdown {
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        margin-top: 0;
        border-radius: 0;
        border: none;
        background: #121212;
        transform: translateX(-100%);
        padding: 0;
        box-shadow: none;
        z-index: 5001;
        display: flex;
        flex-direction: column;
        transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        
        /* TAMBAHKAN 2 BARIS INI: */
        opacity: 1 !important; 
        visibility: visible !important; 
        /* Di HP, dia sembunyi murni karena kegeser (translateX), bukan karena disembunyikan (hidden) */
    }

    .profile-dropdown.active {
        transform: translateX(0); /* Geser masuk ke layar */
        box-shadow: 10px 0 30px rgba(0,0,0,0.8);
    }

    /* Styling Header diperbesar ala Spotify */
    .dropdown-header {
        padding: 40px 20px 24px 20px; /* Padding atas besar untuk area Status Bar HP */
        border-bottom: 1px solid var(--glass-border);
        border-radius: 0;
    }

    /* Avatar lebih besar di mobile */
    .dropdown-header #dropdownAvatar {
        width: 48px !important;
        height: 48px !important;
        font-size: 20px !important;
    }

    .dropdown-header #dropdownUserName {
        font-size: 18px !important;
        margin-bottom: 4px;
    }

    .dropdown-item {
        padding: 18px 20px;
        font-size: 15px;
        font-weight: 600; /* Font sedikit ditebalkan */
    }

    .dropdown-divider {
        display: none; /* Dihilangkan agar rapi menyatu seperti Spotify */
    }
    
    /* Efek Layar Meredup (Overlay) */
    .sidebar-overlay {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.6);
        z-index: 5000;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease;
    }

    .sidebar-overlay.active {
        opacity: 1;
        visibility: visible;
    }
}

/* --- Penyesuaian Ikon di Mobile --- */
@media (max-width: 576px) {
    .profile-topbar-actions {
        gap: 8px; /* Jarak antar ikon sedikit dirapatkan */
    }

    .profile-topbar-actions .icon-btn {
        width: 36px;  /* Lebar tombol dikecilkan */
        height: 36px; /* Tinggi tombol dikecilkan */
        font-size: 14px; /* Ukuran ikon di dalamnya mengecil */
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 10px; /* Radius sedikit disesuaikan */
    }
}

/* --- GRID KHUSUS WISHLIST (2 KOLOM) --- */
#wishlistGridContainer {
    display: grid !important; /* Memaksa pakai format grid */
    grid-template-columns: repeat(6, 1fr) !important; /* Membagi jadi 2 kolom sama besar */
    gap: 16px; /* Jarak antar kotak produk */
}

/* Penyesuaian khusus untuk HP biar 2 kolom nggak terlalu sempit */
/* --- PERBAIKAN UKURAN KOTAK WISHLIST BIAR RATA (MOBILE) --- */
@media (max-width: 576px) {
    #wishlistGridContainer {
        display: grid !important;
        /* minmax(0, 1fr) mencegah kotak mekar melewati batas layar kalau judulnya kepanjangan */
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important; 
        gap: 12px;
        align-items: stretch !important; /* Memaksa tinggi semua baris sama rata */
    }

    #wishlistGridContainer .product-card {
        height: 100%; /* Memaksa kotak mengisi full tinggi baris grid */
        display: flex;
        flex-direction: column;
        margin: 0;
        padding: 12px;
    }

    /* 1. Kunci ukuran gambar biar konsisten (persegi) & nggak gepeng */
    #wishlistGridContainer .product-card img {
        aspect-ratio: 1 / 1; 
        width: 100%;
        object-fit: cover;
        border-radius: 8px;
        margin-bottom: 8px;
    }

    /* 2. Jadikan area teks fleksibel mengisi ruang kosong */
    #wishlistGridContainer .product-card .product-info {
        display: flex;
        flex-direction: column;
        flex-grow: 1; 
    }

    /* 3. Dorong elemen paling bawah (misal tombol/harga) biar selalu nempel di dasar kotak */
    #wishlistGridContainer .product-card .product-info > *:last-child {
        margin-top: auto; 
    }
}

/* --- GRID 2 KOLOM UNTUK SEMUA KOLEKSI DI PROFIL --- */
#ownedContainer,
#toTryContainer,
#likedProductsContainer,
#dislikedProductsContainer,
#wishlistProfileContainer {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 16px;
    align-items: stretch !important; /* Memaksa tinggi baris sama rata */
}

/* Penyesuaian khusus untuk Mobile (HP) */
@media (max-width: 576px) {
    /* Pindahkan settingan 2 kolom HANYA untuk HP */
    #ownedContainer,
    #toTryContainer,
    #likedProductsContainer,
    #dislikedProductsContainer,
    #wishlistProfileContainer {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 12px;
        align-items: stretch !important;
    }

    /* Memaksa card (note-explore-card) di profil mengisi tinggi penuh */
    #ownedContainer .note-explore-card,
    #toTryContainer .note-explore-card,
    #likedProductsContainer .note-explore-card,
    #dislikedProductsContainer .note-explore-card,
    #wishlistProfileContainer .note-explore-card {
        height: 100%;
        margin: 0;
        display: flex;
        flex-direction: column;
        justify-content: flex-end; /* Memastikan teks judul tetap berada di bawah */
    }
}

/* Ganti 576px menjadi 992px agar tablet juga menggunakan layout sidebar */
@media (max-width: 992px) {
    .profile-dropdown {
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        margin-top: 0;
        border-radius: 0;
        border: none;
        background: #121212;
        transform: translateX(-100%);
        padding: 0;
        box-shadow: none;
        z-index: 5001;
        display: flex;
        flex-direction: column;
        transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        
        opacity: 1 !important; 
        visibility: visible !important; 
    }

    .profile-dropdown.active {
        transform: translateX(0); 
        box-shadow: 10px 0 30px rgba(0,0,0,0.8);
    }

    .dropdown-header {
        padding: 40px 20px 24px 20px;
        border-bottom: 1px solid var(--glass-border);
        border-radius: 0;
    }

    .dropdown-header #dropdownAvatar {
        width: 48px !important;
        height: 48px !important;
        font-size: 20px !important;
    }

    .dropdown-header #dropdownUserName {
        font-size: 18px !important;
        margin-bottom: 4px;
    }

    .dropdown-item {
        padding: 18px 20px;
        font-size: 15px;
        font-weight: 600;
    }

    .dropdown-divider {
        display: none; 
    }
    
    .sidebar-overlay {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.6);
        z-index: 5000;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease;
    }

    .sidebar-overlay.active {
        opacity: 1;
        visibility: visible;
    }
}