:root,
[data-theme="dark"] {
    --bg-color: #030008;
    --bg-gradient: radial-gradient(circle at 50% -20%, #25104d 0%, #030008 85%);
    --text-color: #ffffff;
    --accent-purple: #0ea5e9;
    --accent-pink: #6366f1;
    --nav-bg: rgba(3, 0, 8, 0.75);
    --card-bg: rgba(255, 255, 255, 0.03);
    --sub-text: #94a3b8;
    --orange-brand: #0ea5e9;
    --main-text: var(--text-color);
    --btn-grad: linear-gradient(90deg, #38bdf8, #818cf8);
    --glow: 0 0 30px rgba(14, 165, 233, 0.3);
    --card-border: rgba(255, 255, 255, 0.02);
    --bg-overlay: linear-gradient(135deg, rgba(8, 10, 15, 0.85), rgba(20, 25, 35, 0.9));
    --ray-color: rgba(99, 102, 241, 0.6);
}

[data-theme="light"] {
    --bg-color: #f0f9ff;
    --bg-gradient: linear-gradient(180deg, #e0f2fe 0%, #bae6fd 50%, #7dd3fc 85%);
    --text-color: #1e293b;
    --accent-purple: #0ea5e9;
    --accent-pink: #6366f1;
    --nav-bg: rgba(255, 255, 255, 0.75);
    --card-bg: rgba(0, 0, 0, 0.05);
    --sub-text: #475569;
    --btn-grad: linear-gradient(90deg, #0ea5e9, #6366f1);
    --glow: 0 0 20px rgba(14, 165, 233, 0.2);
    --card-border: rgba(255, 255, 255, 0.2);
    --bg-overlay: linear-gradient(135deg, rgba(250, 250, 250, 0.8), rgba(255, 255, 255, 0.85));
    --ray-color: rgba(255, 255, 255, 1);
}

[data-theme="light"] .btn-outline,
[data-theme="light"] .user-dropdown-menu button,
[data-theme="light"] .login-prompt-card a {
    color: #000000 !important;
}

[data-theme="light"] .user-dropdown-menu button:hover {
    color: #ffffff !important;
}

[data-theme="twins"] {
    --bg-color: #1a0505;
    --bg-gradient: linear-gradient(135deg, #1a0505 0%, #4a0404 50%, #800000 100%);
    --text-color: #ffffff;
    --accent-purple: #ef4444;
    --accent-pink: #991b1b;
    --nav-bg: rgba(26, 5, 5, 0.85);
    --card-bg: rgba(74, 4, 4, 0.4);
    --sub-text: #fca5a5;
    --btn-grad: linear-gradient(90deg, #ef4444, #991b1b);
    --glow: 0 0 40px rgba(239, 68, 68, 0.4);
    --card-border: rgba(255, 255, 255, 0.15);
    --bg-overlay: linear-gradient(135deg, rgba(26, 5, 5, 0.85), rgba(74, 4, 4, 0.9));
    --ray-color: rgba(239, 68, 68, 0.6);
}

[data-theme="neon"] {
    --bg-color: #0a0a0a;
    --bg-gradient: radial-gradient(circle at 10% 20%, #1a0033 0%, #000 80%);
    --text-color: #f1f1f1;
    --accent-purple: #ff00ff;
    --accent-pink: #00ffff;
    --nav-bg: rgba(10, 10, 10, 0.8);
    --card-bg: rgba(255, 0, 255, 0.05);
    --sub-text: #aaaaaa;
    --btn-grad: linear-gradient(90deg, #ff00ff, #00ffff);
    --glow: 0 0 20px #ff00ff, 0 0 40px #00ffff;
    --card-border: rgba(255, 0, 255, 0.3);
    --bg-overlay: linear-gradient(135deg, rgba(20, 0, 30, 0.85), rgba(30, 0, 45, 0.9));
    --ray-color: rgba(255, 0, 255, 0.6);
}

[data-theme="ocean"] {
    --bg-color: #001a33;
    --bg-gradient: linear-gradient(to bottom, #001a33, #004d66);
    --text-color: #e6f7ff;
    --accent-purple: #00ccff;
    --accent-pink: #00ffcc;
    --nav-bg: rgba(0, 26, 51, 0.8);
    --card-bg: rgba(0, 77, 102, 0.3);
    --sub-text: #99e6ff;
    --btn-grad: linear-gradient(90deg, #00ccff, #00ffcc);
    --glow: 0 0 25px rgba(0, 204, 255, 0.4);
    --card-border: rgba(0, 255, 204, 0.2);
    --bg-overlay: linear-gradient(135deg, rgba(0, 25, 50, 0.85), rgba(0, 10, 30, 0.9));
    --ray-color: rgba(0, 204, 255, 0.6);
}

[data-theme="forest"] {
    --bg-color: #1c0f05;
    --bg-gradient: radial-gradient(circle at top right, #331a0a, #1c0f05);
    --text-color: #fff7ed;
    --accent-purple: #f97316;
    --accent-pink: #c2410c;
    --nav-bg: rgba(28, 15, 5, 0.8);
    --card-bg: rgba(51, 26, 10, 0.3);
    --sub-text: #fdba74;
    --btn-grad: linear-gradient(90deg, #f97316, #ea580c);
    --glow: 0 0 20px rgba(249, 115, 22, 0.3);
    --card-border: rgba(249, 115, 22, 0.2);
    --bg-overlay: linear-gradient(135deg, rgba(28, 15, 5, 0.85), rgba(51, 26, 10, 0.9));
    --ray-color: rgba(249, 115, 22, 0.6);
}

html {
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
}

body {
    background: var(--bg-gradient);
    background-color: var(--bg-color);
    background-attachment: scroll;
    color: var(--text-color);
    overflow-x: hidden;
    min-height: 100vh;
}

::-webkit-scrollbar {
    width: 10px;
    background-color: transparent;
}

::-webkit-scrollbar-track {
    background-color: transparent;
}

::-webkit-scrollbar-thumb {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    border: 2px solid transparent;
}

::-webkit-scrollbar-thumb:hover {
    background-color: var(--accent-purple);
}

*:focus {
    outline: none !important;
}

/* --- Global Header & Navigation --- */
header,
#mainHeader {
    display: flex;
    position: fixed;
    top: 0;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    height: 60px;
    align-items: center;
    justify-content: space-between;
    padding: 5px 5%;
    z-index: 1000;
    box-sizing: border-box;
    /* Glassmorphism menyesuaikan tema */
    background: var(--nav-bg) !important;
    background-color: var(--nav-bg) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border-bottom: 1px solid var(--card-border) !important;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1) !important;
    transition: all 0.3s ease;
    will-change: transform, opacity;
}

header.scrolled,
#mainHeader.scrolled {
    background: var(--nav-bg) !important;
    background-color: var(--nav-bg) !important;
}

[data-theme="light"] header,
[data-theme="light"] #mainHeader,
[data-theme="light"] header.scrolled {
    background: var(--nav-bg) !important;
}


.logo {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 10px;
    text-align: center;
    flex-shrink: 0;
    gap: 12px;
}

.logo-img {
    height: 44px;
    width: 44px;
    border-radius: 50%;
    object-fit: contain;
    background: white;
    padding: 5px;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.logo-text {
    font-family: 'Inter', sans-serif;
    font-weight: 900;
    font-size: 1.5rem;
    line-height: 1;
    text-transform: uppercase;
    background: var(--btn-grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

[data-theme="light"] .logo-text {
    background: linear-gradient(90deg, #0369a1, #1d4ed8);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-btns {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--accent-pink);
    color: var(--text-color) !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    padding: 8px 18px;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-fill:hover,
.btn-outline:hover,
.btn-action:hover {
    transform: translateY(-3px) scale(1.02);
}

.btn-fill:active,
.btn-outline:active,
.btn-action:active {
    transform: translateY(0) scale(0.98);
}

@keyframes shimmer {
    0% {
        left: -100%;
    }

    100% {
        left: 200%;
    }
}

[data-theme="dark"] .btn-fill::after,
[data-theme="twins"] .btn-fill::after,
[data-theme="dark"] .btn-action::after,
[data-theme="twins"] .btn-action::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
}

[data-theme="dark"] .btn-fill:hover::after,
[data-theme="twins"] .btn-fill:hover::after,
[data-theme="dark"] .btn-action:hover::after,
[data-theme="twins"] .btn-action:hover::after {
    animation: shimmer 1.5s infinite;
}

@keyframes neon-pulse {
    0% {
        box-shadow: 0 0 10px var(--accent-purple), 0 0 20px var(--accent-pink);
    }

    50% {
        box-shadow: 0 0 25px var(--accent-purple), 0 0 50px var(--accent-pink);
    }

    100% {
        box-shadow: 0 0 10px var(--accent-purple), 0 0 20px var(--accent-pink);
    }
}

[data-theme="neon"] .btn-fill:hover {
    animation: neon-pulse 1.5s infinite;
    filter: brightness(1.2);
}

[data-theme="light"] .btn-fill:hover {
    animation: bounce-btn 0.6s ease;
}

@keyframes bounce-btn {

    0%,
    100% {
        transform: translateY(-3px) scale(1.02);
    }

    50% {
        transform: translateY(-7px) scale(1.05);
    }
}

@keyframes ocean-wave {
    0% {
        background-position: 0% 50%;
    }

    100% {
        background-position: 100% 50%;
    }
}

[data-theme="ocean"] .btn-fill {
    background-size: 200% 200%;
}

[data-theme="ocean"] .btn-fill:hover {
    animation: ocean-wave 2s linear infinite;
}

.btn-outline:hover {
    background: rgba(139, 92, 246, 0.1);
}

.user-profile-link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.1);
    padding: 5px 15px 5px 5px;
    border-radius: 50px;
}

.user-premium-card {
    display: flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #0ea5e9, #6366f1);
    padding: 6px 18px;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(14, 165, 233, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.user-premium-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(14, 165, 233, 0.4);
}

.user-premium-card .user-name-text {
    margin-right: 8px;
    white-space: nowrap;
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
}

.user-premium-card .nav-action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
}

.user-premium-card .nav-action-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.user-premium-card .nav-action-btn.logout-btn:hover {
    background: rgba(239, 68, 68, 0.5);
    color: #fff;
}

.user-profile-link:hover {
    background: rgba(255, 255, 255, 0.2);
}

.user-initial {
    width: 35px;
    height: 35px;
    min-width: 35px;
    min-height: 35px;
    flex-shrink: 0;
    background: linear-gradient(135deg, #0477bf, #012340);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 16px;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.user-name {
    color: white;
    font-weight: 500;
    font-size: 14px;
}

[data-theme="light"] .user-name {
    color: #333;
}

[data-theme="light"] .user-profile-link {
    background: rgba(0, 0, 0, 0.05);
}

.btn-fill {
    background: var(--btn-grad);
    border: none;
    color: white;
    padding: 9px 20px;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-fill:hover {
    box-shadow: var(--glow);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.menu-toggle span {
    width: 100%;
    height: 3px;
    background-color: #ffffff;
    border-radius: 10px;
}

.menu-toggle.is-active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.menu-toggle.is-active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.is-active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.main-nav {
    display: flex;
    justify-content: center;
    gap: 25px;
    padding: 20px 0;
}

.nav-link {
    position: relative;
    color: var(--text-color);
    opacity: 0.7;
    cursor: pointer;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    color: var(--text-color);
}

.nav-link:hover,
.nav-link.active {
    opacity: 1;
    color: var(--accent-purple);
}

.nav-link:hover {
    color: #0072ff;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -6px;
    width: 0%;
    height: 2px;
    background: #0072ff;

    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link.active {
    color: #0072ff;
}

.nav-link.active::after {
    width: 100%;
}

.btn-fill {
    padding: 10px 24px;
    border: none;
    background: var(--btn-grad);
    color: white;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 700;
    font-size: 14px;
}

.btn-fill:hover {
    transform: translateY(-2px);
    box-shadow: var(--glow);
}

.theme-toggle {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    color: var(--text-color);
    padding: 10px;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero {
    padding: 100px 5% 60px;
    text-align: center;
    position: relative;
}

.badge {
    background: rgba(168, 85, 247, 0.15);
    color: var(--accent-purple);
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 11px;
    display: inline-block;
    margin-bottom: 25px;
    border: 1px solid var(--card-border);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 700;
}

.hero h1 {
    font-size: clamp(2.2rem, 7vw, 3.8rem);
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: 900;
}

.hero h1 span {
    display: inline-block;
    margin-left: 0.4em;
    background: var(--btn-grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

[data-theme="light"] .hero h1 span {
    background: var(--btn-grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: none;
}

.hero p {
    color: var(--sub-text);
    max-width: 550px;
    margin: 0 auto 30px;
    line-height: 1.6;
    font-size: 16px;
}

.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    box-sizing: border-box;
    flex-grow: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
    padding: 90px 5% 30px;
}

.container.has-sidebar {
    grid-template-columns: minmax(0, 1fr) 350px;
}

.nft-container {
    position: relative;
    width: 100%;
    height: 420px;
    margin-top: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1500px;
    overflow: hidden;
}

.nft-card {
    width: 180px;
    height: 260px;
    background: var(--card-bg);
    border-radius: 24px;
    overflow: hidden;
    position: absolute;
    border: 1px solid var(--card-border);
    cursor: pointer;
    user-select: none;
}

.nft-card:hover {
    box-shadow: var(--glow);
}

.nft-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
}

.nft-card.active {
    opacity: 1;
    transform: translateY(0);
}

.nft-card.active {
    width: 220px;
    height: 310px;
    z-index: 500 !important;
    border: 2px solid var(--accent-purple);
    box-shadow: var(--glow);
}

.user-avatars {
    display: flex;
    margin-left: 12px;
}

.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 3px solid var(--bg-color);
    margin-left: -12px;
    background: #444;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: bold;
    color: white;
}

.stats {
    font-size: 20px;
    font-weight: 800;
}

.stats span {
    color: var(--sub-text);
    font-size: 14px;
    font-weight: 400;
}

.glow-sphere {
    position: absolute;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, var(--glow) 0%, transparent 70%);
    border-radius: 50%;
    z-index: -1;
    pointer-events: none;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.6;
    max-width: 100%;
}

.product-features-section {
    padding: 100px 8%;
    text-align: center;
    max-width: 1400px;
    margin: 0 auto;
}

.product-features-section .heading {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-bottom: 60px;
    font-weight: 800;
    line-height: 1.2;
}

.grid-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr 1fr;
    align-items: center;
    gap: 40px;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.left-side {
    text-align: right;
}

.right-side {
    text-align: left;
}

.feature-item {
    position: relative;
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    color: var(--accent-purple);
}

.left-side .feature-icon {
    margin-left: auto;
}

.feature-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
}

.feature-description {
    color: var(--sub-text);
    font-size: 14px;
    line-height: 1.6;
}

.product-image-container {
    position: relative;
    display: flex;
    justify-content: center;
}

.product-placeholder {
    width: 100%;
    aspect-ratio: 1/1.2;
    background: var(--card-bg);
    border: 2px dashed var(--card-border);
    border-radius: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--sub-text);
}

.placeholder-icon {
    width: 80px;
    margin-bottom: 15px;
    opacity: 0.3;
}

.stories-section {
    padding: 80px 8%;
    max-width: 1400px;
    margin: 0 auto;
}

.stories-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.stories-header h2 {
    font-size: 28px;
    font-weight: 800;
}

.btn-outline {
    padding: 8px 20px;
    background: transparent;
    border: 1px solid var(--card-border);
    color: var(--sub-text);
    border-radius: 50px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
}

.btn-outline:hover {
    border-color: var(--accent-purple);
    color: var(--text-color);
}

.stories-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 40px;
}

.main-story .story-img {
    width: 100%;
    aspect-ratio: 16/9;
    background: var(--card-bg);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--card-border);
    margin-bottom: 20px;
}

.story-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
}

.main-story:hover .story-img img {
    transform: scale(1.05);
}

.category-tag {
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--sub-text);
    margin-bottom: 10px;
    display: block;
}

.main-story h3 {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 15px;
    line-height: 1.3;
}

.story-meta {
    font-size: 12px;
    color: var(--sub-text);
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.main-story p {
    color: var(--sub-text);
    font-size: 15px;
    line-height: 1.6;
}

.side-stories {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.side-story {
    display: flex;
    gap: 20px;
    align-items: center;
    cursor: pointer;
}

.side-story .side-img {
    width: 110px;
    height: 110px;
    flex-shrink: 0;
    background: var(--card-bg);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid var(--card-border);
}

.side-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
}

.side-content h4 {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 8px;
}

.side-story:hover h4 {
    color: var(--accent-purple);
}

.explore-section {
    padding: 80px 8%;
    max-width: 1400px;
    margin: 0 auto;
}

.explore-section h2 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 40px;
}

.explore-section h2 span {
    color: var(--accent-purple);
}

.nft-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
}
.nft-grid > .nft-item {
    flex: 1 1 300px;
    max-width: 400px;
}

.nft-item {
    position: relative;
    background: var(--card-bg);
    border: none;
    border-radius: 24px;
    padding: 15px;
    overflow: hidden;
    z-index: 1;
}

.nft-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transform: skewX(-25deg);
    z-index: 3;
    pointer-events: none;
}

.nft-item:hover::before {
    left: 200%;
}

.nft-item::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 24px;
    padding: 2px;
    background: linear-gradient(135deg, var(--accent-purple), transparent 30%, transparent 70%, var(--accent-pink));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    z-index: 2;
    pointer-events: none;
}

.nft-item:hover::after {
    opacity: 1;
}

.nft-item>* {
    position: relative;
    z-index: 4;
}

.nft-item:hover {
    transform: translateY(-8px) scale(1.02);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), var(--glow);
}

.nft-item.featured {
    background: rgba(255, 255, 255, 0.08);
    z-index: 5;
}

.nft-item.featured::before {
    animation: glassShine 3s ease-in-out infinite;
}

/* Glass Shine Effect Animation */
.nft-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: -150%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.1) 50%,
            rgba(255, 255, 255, 0) 100%);
    transform: skewX(-25deg);
    transition: none;
    pointer-events: none;
    z-index: 10;
}

.nft-item:hover::before {
    animation: glassShine 1.5s ease-in-out infinite;
}

@keyframes glassShine {
    0% {
        left: -150%;
    }

    100% {
        left: 150%;
    }
}

/* Light Mode Transparency */
[data-theme="light"] .nft-item {
    background: rgba(255, 255, 255, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .nft-item.featured {
    background: rgba(255, 255, 255, 0.6);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    transform: scale(1.08);
}

[data-theme="light"] .nft-item:hover {
    background: rgba(255, 255, 255, 0.7);
}

.owner-info {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.owner-details p:first-child {
    font-size: 10px;
    text-transform: uppercase;
    color: var(--sub-text);
    font-weight: 700;
}

.owner-details p:last-child {
    font-size: 13px;
    font-weight: 700;
}

.nft-item-img {
    width: 100%;
    aspect-ratio: 1/1;
    border-radius: 18px;
    overflow: hidden;
    margin-bottom: 15px;
}

.nft-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nft-item h4 {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 15px;
}

.bid-box {
    background: rgba(255, 255, 255, 0.05);
    padding: 12px 15px;
    border-radius: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.bid-info p:first-child {
    font-size: 10px;
    color: var(--sub-text);
}

.bid-info p:last-child {
    font-size: 14px;
    font-weight: 800;
}

.btn-action {
    padding: 8px 18px;
    background: var(--accent-purple);
    border: none;
    color: white;
    border-radius: 10px;
    font-weight: 700;
    font-size: 12px;
    cursor: pointer;
}

.nft-item.featured {
    border: none;
}

.nft-item.featured .btn-action {
    background: var(--accent-purple);
}

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

    .left-side,
    .right-side {
        text-align: center;
    }

    .left-side .feature-icon,
    .right-side .feature-icon {
        margin: 0 auto 15px;
    }

    .product-image-container {
        order: -1;
    }

    .stories-grid {
        grid-template-columns: 1fr;
    }
}

/* Horizontal Scroll for Outlet Section on Tablet & Narrow Desktop */
@media (max-width: 1200px) {
    .explore-section {
        padding: 60px 0 60px 5% !important;
        overflow: hidden;
    }

    .explore-section h2 {
        padding-right: 5%;
    }

    .nft-grid {
        display: flex !important;
        flex-wrap: nowrap !important;
        justify-content: flex-start !important;
        grid-template-columns: none !important;
        overflow-x: auto !important;
        padding: 20px 0 40px 0 !important;
        gap: 20px !important;
        scroll-snap-type: x proximity;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
        scrollbar-color: var(--accent-purple) transparent;
    }

    .nft-grid::-webkit-scrollbar {
        height: 4px;
        display: block;
    }

    .nft-grid::-webkit-scrollbar-thumb {
        background: var(--accent-purple);
        border-radius: 10px;
    }

    .nft-item {
        flex: 0 0 300px !important;
        scroll-snap-align: start;
        margin-bottom: 0 !important;
    }

    .nft-item.featured {
        transform: none !important;
    }
}

@media (max-width: 768px) {
    .nft-container {
        height: 350px;
    }

    .nft-card {
        width: 120px;
        height: 180px;
    }

    .nft-card.active {
        width: 150px;
        height: 220px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero {
        padding-top: 130px;
    }

    .stories-header h2,
    .explore-section h2 {
        font-size: 22px;
    }

    .side-story .side-img {
        width: 90px;
        height: 90px;
    }

    .menu-toggle {
        display: flex;
    }

    .user-profile-link {
        display: none;
    }

    .btn-outline {
        padding: 8px 15px;
        font-size: 13px;
    }

    .main-nav {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        right: 20px;
        width: 200px;
        background: rgba(0, 0, 0, 0.6);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        padding: 15px;
        border-radius: 15px;
        border: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
        z-index: 1000;
    }

    [data-theme="light"] .main-nav {
        background: rgba(255, 255, 255, 0.7);
        border: 1px solid rgba(0, 0, 0, 0.05);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }

    .menu-toggle {
        display: flex;
        order: 2;
    }

    .main-nav.active {
        display: flex;
    }

    .nav-link {
        color: #333;
        text-decoration: none;
        padding: 10px 0;
        border-bottom: 1px solid #eee;
        font-size: 14px;
    }

    .nav-link.active {
        color: var(--accent-purple) !important;
        font-weight: 700 !important;
    }

    .nav-link:last-child {
        border-bottom: none;
    }

    .nft-item.featured {
        transform: none !important;
    }
}

#promo-outlet {
    overflow: hidden;
    padding-bottom: 20px;
}

.promo-slider-container {
    position: relative;
    width: 100%;
    height: 370px;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1000px;
    margin-top: 5px;
    cursor: grab;
}

.promo-slider-container:active {
    cursor: grabbing;
}

.promo-card {
    position: absolute;
    width: 185px;
    user-select: none;
    cursor: pointer;
    z-index: 1;
    opacity: 0;
    pointer-events: none;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transform: translate3d(0, 0, -200px) scale(0.7);
}

.promo-card:hover {
    box-shadow: var(--glow);
}

body:not([data-theme='light']) .promo-card {
    background: #1e1e2d;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.promo-card.active {
    opacity: 1;
    z-index: 10;
    transform: translate3d(0, 0, 100px) scale(1.05);
    pointer-events: auto;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.promo-card.prev,
.promo-card.next {
    opacity: 0.6;
    z-index: 5;
    pointer-events: auto;
}

.promo-card.prev {
    transform: translate3d(-105%, 0, -50px) scale(0.85);
}

.promo-card.next {
    transform: translate3d(105%, 0, -50px) scale(0.85);
}

.promo-card.prev2,
.promo-card.next2 {
    opacity: 0.3;
    z-index: 2;
    pointer-events: auto;
}

.promo-card.prev2 {
    transform: translate3d(-190%, 0, -150px) scale(0.7);
}

.promo-card.next2 {
    transform: translate3d(190%, 0, -150px) scale(0.7);
}

.promo-img-box {
    width: 100%;
    aspect-ratio: 1 / 1;
    position: relative;
    background: #f9f9f9;
    overflow: hidden;
}

.promo-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.discount-label {
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 3;
    background: #ff4757;
    color: white;
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 9px;
    font-weight: bold;
}

.promo-content {
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.outlet-info p {
    margin: 0;
    font-size: 8px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.category-tag {
    font-size: 7.5px;
    color: #666;
    text-transform: uppercase;
    font-weight: 600;
    margin-top: 4px;
}

.outlet-name {
    font-weight: bold;
    color: #0477bf !important;
}

.promo-content h4 {
    font-size: 0.78rem;
    margin: 0 0 2px 0;
    line-height: 1.1;
    color: #333;
    font-weight: 700;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

body:not([data-theme='light']) .promo-content h4 {
    color: #eee;
}

.promo-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(0, 0, 0, 0.03);
    padding-top: 6px;
    margin-top: 2px;
}

.price-now {
    font-size: 0.95rem !important;
    font-weight: 800;
    color: #2ed573;
}

.btn-add-item {
    background: #0477bf;
    color: white;
    border: none;
    width: 26px;
    height: 26px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    cursor: pointer;
}

.promo-header {
    width: 100%;
    text-align: center;
    margin-bottom: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.promo-header h2 {
    font-size: 1.1rem;
    margin: 0;
}

.promo-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 5px;
}

.dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.1);
}

.dot.active {
    width: 10px;
    border-radius: 2px;
    background: #0477bf;
}

.outlet-info {
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--card-border);
}

.outlet-name {
    font-size: 11px;
    font-weight: 800;
    color: var(--accent-purple);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.outlet-address {
    font-size: 10px;
    color: var(--sub-text);
    opacity: 0.8;
}

.category-tag {
    font-size: 10px;
    font-weight: 700;
    color: var(--sub-text);
    text-transform: uppercase;
    display: block;
    margin-bottom: 5px;
}

.promo-content h4 {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.4;
    color: var(--text-color);
}


.promo-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.price-box {
    display: flex;
    flex-direction: column;
}

.price-now {
    font-size: 19px;
    font-weight: 900;
    color: var(--text-color);
}

.price-old {
    font-size: 13px;
    color: var(--sub-text);
    text-decoration: line-through;
    opacity: 0.5;
}

.btn-add-item {
    width: 42px;
    height: 42px;
    background: var(--btn-grad);
    border: none;
    border-radius: 14px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.btn-add-item:hover {
    transform: scale(1.1);
    filter: brightness(1.2);
    box-shadow: var(--glow);
}

.promo-img {
    width: 100%;
    aspect-ratio: 1/1;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 15px;
}

.promo-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.discount-label {
    position: absolute;
    top: 28px;
    left: 28px;
    background: var(--btn-grad);
    color: white;
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 10px;
    font-weight: 800;
    z-index: 5;
}

.promo-banner {
    width: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../images/toko-bahan.jpg');
    background-size: cover;
    background-position: center;
    min-height: 280px;
    height: auto;
    border-radius: 24px;
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding: 50px;
    border: 1px solid var(--card-border);
    margin-bottom: 30px;
}

.promo-banner h1 {
    font-size: 3rem;
    margin: 10px 0;
    letter-spacing: -1px;
    color: #ffffff;
}

.promo-banner p {
    color: #ffffff;
}

.search-filter-section {
    margin-bottom: 25px;
}

.search-row {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

.search-box {
    position: relative;
    flex: 1;
}

.search-box input {
    width: 100%;
    padding: 12px 20px 12px 45px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    color: var(--text-color);
    outline: none;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.search-box input:focus {
    border-color: var(--accent-purple);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 20px rgba(14, 165, 233, 0.15);
}

.search-box svg {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--sub-text);
    opacity: 0.7;
}

.filter-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    color: var(--text-color);
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.filter-btn:hover {
    border-color: var(--accent-purple);
    background: rgba(255, 255, 255, 0.08);
}

* {
    box-sizing: border-box;
}

/* Removed redundant #mainHeader definition to prevent conflicts */

.filter-container {
    flex-wrap: wrap;
    justify-content: flex-start;
    margin: 20px 0;
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scrollbar-width: none;
    padding-bottom: 5px;
}

.filter-container::-webkit-scrollbar {
    display: none;
}

.filter-chip {
    padding: 10px 24px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 50px;
    color: var(--text-color);
    cursor: pointer;
    white-space: nowrap;
    font-size: 0.9rem;
}

.filter-chip.active {
    background: var(--btn-grad);
    border-color: transparent;
    color: white;
    box-shadow: var(--glow);
}

.food-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 12px;
    margin-top: 15px;
}

.food-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: rgba(255, 255, 255, 0.04);
    padding: 12px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.food-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-purple);
    background: rgba(255, 255, 255, 0.07);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.white-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    padding: 20px;
    border-radius: 22px;
    margin-bottom: 20px;
}

.hidden {
    display: none;
}

.add-btn {
    width: 35px;
    height: 35px;
    background: var(--orange-brand);
    border: none;
    color: white;
    border-radius: 10px;
    cursor: pointer;
    font-size: 1.2rem;
}

.qty-btn {
    width: 24px;
    height: 24px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--card-border);
    color: var(--text-color);
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qty-btn:hover {
    background: var(--orange-brand);
    border-color: var(--orange-brand);
}

.delete-item-btn {
    background: transparent;
    border: none;
    color: #ef4444;
    cursor: pointer;
    padding: 5px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.delete-item-btn:hover {
    background: rgba(239, 68, 68, 0.1);
}

.checkout-btn {
    width: 100%;
    padding: 14px;
    background: var(--orange-brand);
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: bold;
    margin-top: 15px;
    cursor: pointer;
}

.discount-banner {
    background: linear-gradient(135deg, #6366f1, #a855f7);
    border-radius: 22px;
    padding: 20px;
    position: relative;
    overflow: hidden;
    min-height: 120px;
    margin-top: 5px;
}

.discount-banner h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    position: relative;
    z-index: 2;
}

.discount-banner p {
    font-size: 0.8rem;
    opacity: 0.8;
    position: relative;
    z-index: 2;
    max-width: 60%;
}

.discount-banner img {
    position: absolute;
    right: -10px;
    bottom: -10px;
    height: 100px;
    opacity: 0.9;
}

.theme-toggle {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    color: var(--text-color);
    width: 40px;
    height: 40px;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.history-item {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    padding: 20px;
    border-radius: 18px;
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile-cart-fab {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: var(--btn-grad);
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1001;
    cursor: pointer;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.mobile-cart-fab:active {
    transform: scale(0.9);
    box-shadow: var(--glow);
}

.cart-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ef4444;
    color: white;
    font-size: 10px;
    font-weight: bold;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--bg-color);
}

.bottom-sheet {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--nav-bg);
    border-radius: 30px 30px 0 0;
    z-index: 2000;
    transform: translateY(100%);
    max-height: 85vh;
    overflow-y: auto;
    border-top: 1px solid var(--card-border);
    padding: 20px;
    padding-bottom: 40px;
}

.bottom-sheet.active {
    transform: translateY(0);
}

.sheet-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1999;
    display: none;
}

.sheet-overlay.active {
    display: block;
}

.handle {
    width: 40px;
    height: 4px;
    background: var(--card-border);
    border-radius: 10px;
    margin: 0 auto 20px auto;
}

.mobile-nav {
    position: fixed;
    bottom: 0;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    height: 70px;
    background: var(--nav-bg);
    border-top: 1px solid var(--card-border);
    display: none;
    justify-content: space-around;
    align-items: center;
    padding-bottom: env(safe-area-inset-bottom);
    z-index: 1000;
}

.mob-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    color: var(--sub-text);
    font-size: 10px;
    cursor: pointer;
}

.mob-nav-item.active {
    color: var(--accent-purple);
}

@media (max-width: 720px) {
    .container {
        grid-template-columns: 1fr !important;
    }

    .sidebar {
        display: none;
    }

    .main-nav,
    .nav-btns .btn-outline,
    .nav-btns .btn-fill {
        display: none;
    }

    .mobile-cart-fab {
        display: flex;
    }

    .mobile-nav {
        display: flex;
    }

    .search-row {
        gap: 8px !important;
        margin-bottom: 15px !important;
    }

    .promo-banner {
        padding: 25px !important;
        min-height: 200px !important;
        height: auto !important;
        margin-bottom: 20px !important;
    }

    .promo-banner h1 {
        font-size: 1.8rem !important;
    }

    body {
        padding-bottom: 80px !important;
    }

    #mainHeader {
        padding: 5px 15px !important;
    }

    .nft-container {
        height: 350px !important;
        overflow: hidden !important;
    }
}

@media (max-width: 720px) {
    .food-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 6px !important;
    }

    .food-card {
        padding: 8px !important;
        border-radius: 16px !important;
    }

    .food-card h4 {
        font-size: 0.75rem !important;
        height: 2.4em !important;
        line-height: 1.2 !important;
        margin-bottom: 4px !important;
    }

    .food-card .add-btn {
        width: 32px !important;
        height: 32px !important;
    }

    .food-card .add-btn svg {
        width: 18px !important;
        height: 18px !important;
    }
}

@media (max-width: 480px) {
    .food-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 6px !important;
    }

    body {
        padding-bottom: 180px !important;
    }
}

/* Scrolled states consolidated above */

.container {
    padding-top: 100px;
}

.hidden {
    display: none !important;
}

.container.has-sidebar {
    grid-template-columns: minmax(0, 1fr) 350px;
    gap: 30px;
}

.qty-btn {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    color: var(--text-color);
    width: 24px;
    height: 24px;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s;
}

.qty-btn:hover {
    background: var(--accent-purple);
    color: white;
}

.delete-item-btn {
    background: none;
    border: none;
    color: #ef4444;
    cursor: pointer;
    padding: 5px;
    opacity: 0.7;
    transition: 0.2s;
}

.delete-item-btn:hover {
    opacity: 1;
    transform: scale(1.1);
}

.history-item {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sheet-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    z-index: 2000;
}

.sheet-overlay.active {
    display: block;
}

.bottom-sheet {
    position: fixed;
    bottom: -100%;
    left: 0;
    right: 0;
    background: var(--bg-color);
    border-top: 1px solid var(--card-border);
    border-radius: 20px 20px 0 0;
    padding: 20px;
    transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2001;
    max-height: 80vh;
    overflow-y: auto;
}

.bottom-sheet.active {
    bottom: 0;
}

.bottom-sheet .handle {
    width: 40px;
    height: 4px;
    background: var(--card-border);
    border-radius: 2px;
    margin: 0 auto 20px;
}

.mobile-user-drop {
    display: none;
    position: relative;
}

.user-icon-btn {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    color: var(--text-color);
    padding: 8px;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.user-dropdown-menu {
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px) scale(0.95);
    position: absolute;
    top: 120%;
    right: 0;
    background: var(--nav-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    width: 170px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    z-index: 2002;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.19, 1, 0.22, 1);
    pointer-events: none;
}

.user-dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: all;
}

.user-dropdown-menu button {
    width: 100%;
    padding: 12px 18px;
    border: none;
    background: transparent;
    color: inherit;
    text-align: left;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0.8;
}

.user-dropdown-menu button:hover {
    background: var(--card-bg);
    padding-left: 22px;
    opacity: 1;
    color: var(--accent-purple) !important;
}

.user-dropdown-menu button:active {
    transform: translateX(5px);
    filter: brightness(1.2);
}

[data-theme="dark"] .user-dropdown-menu button {
    color: #ffffff;
}

[data-theme="light"] .user-dropdown-menu button {
    color: #000000;
}

.logout-icon-desktop {
    transition: all 0.3s ease;
    cursor: pointer;
    padding: 8px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid transparent;
    opacity: 0.7;
}

[data-theme="dark"] .logout-icon-desktop {
    color: #ffffff;
}

[data-theme="light"] .logout-icon-desktop {
    color: #000000;
}

.logout-icon-desktop:hover {
    background: var(--card-bg);
    opacity: 1;
    color: var(--accent-purple) !important;
    border-color: var(--accent-purple);
    box-shadow: var(--glow);
}

.logout-icon-desktop:active {
    transform: scale(0.9);
    filter: brightness(1.2);
    opacity: 1;
}

@media (max-width: 1024px) {
    .mobile-user-drop {
        display: block;
        margin-left: 10px;
    }
}

.animated-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -2;
    background: var(--bg-gradient);
    background-size: 400% 400%;
    animation: gradientBG 20s ease infinite;
    transition: background 0.8s ease;
    overflow: hidden;
}

#bakery-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}

@keyframes gradientBG {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.walking-cake {
    position: absolute;
    pointer-events: none;
    user-select: none;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.1;
    transition: filter 0.5s ease;
}

[data-theme="light"] .walking-cake {
    opacity: 0.1 !important;
}

.walking-cake.dir-right {
    left: -100px;
    animation: walkRight linear infinite;
}

.walking-cake.dir-left {
    right: -100px;
    animation: walkLeft linear infinite;
}

@keyframes walkRight {
    0% {
        transform: translateX(0) translateY(0) rotate(-10deg);
    }

    50% {
        transform: translateX(60%) translateY(-20px) rotate(10deg);
    }

    100% {
        transform: translateX(120%) translateY(0) rotate(-10deg);
    }
}

@keyframes walkLeft {
    0% {
        transform: translateX(0) translateY(0) rotate(10deg);
    }

    50% {
        transform: translateX(-60%) translateY(20px) rotate(-10deg);
    }

    100% {
        transform: translateX(-120%) translateY(0) rotate(10deg);
    }
}

.anim-fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.anim-fade-up.in-view {
    opacity: 1;
    transform: translateY(0);
}

.anim-zoom-in {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.anim-zoom-in.in-view {
    opacity: 1;
    transform: scale(1);
}

.theme-dropdown {
    position: relative;
    display: inline-block;
}

.theme-btn {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    color: var(--text-color);
    padding: 8px 12px;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.theme-btn:hover {
    border-color: var(--accent-purple);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: var(--glow);
}

.theme-dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    top: 120%;
    background-color: var(--nav-bg);
    min-width: 150px;
    box-shadow: 0px 10px 20px 0px rgba(0, 0, 0, 0.3);
    z-index: 2000;
    border-radius: 12px;
    border: 1px solid var(--card-border);
    overflow: hidden;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}

.theme-dropdown-content.show {
    display: flex;
    flex-direction: column;
    animation: fadeInDown 0.3s ease-out;
}

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

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

.theme-dropdown-content button {
    color: var(--text-color);
    padding: 12px 16px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    border: none;
    text-align: left;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 500;
    transition: 0.2s;
}

.theme-dropdown-content button:hover {
    background-color: var(--card-bg);
    color: var(--accent-purple);
    padding-left: 20px;
}

.theme-dropdown-content button.active {
    background-color: rgba(14, 165, 233, 0.2);
    color: var(--accent-purple);
    border-left: 3px solid var(--accent-purple);
}

.float-hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.float-hover:hover {
    transform: translateY(-8px);
}

.light-rays-container {
    position: fixed;
    top: -50px;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
    display: center;
    justify-content: center;
}

.god-ray {
    position: absolute;
    top: -20vh;
    height: 120vh;
    background: linear-gradient(to bottom, var(--ray-color) 0%, transparent 80%);
    filter: blur(40px);
    transform-origin: top center;
    mix-blend-mode: screen;
}

[data-theme="light"] .god-ray {
    mix-blend-mode: normal;
    background: linear-gradient(to bottom, var(--ray-color) 0%, transparent 60%);
    opacity: 0.8;
}

.ray1 {
    left: -5%;
    width: 20%;
    transform: rotate(-35deg);
    animation: sway1 14s ease-in-out infinite alternate;
}

.ray2 {
    left: 25%;
    width: 35%;
    transform: rotate(-15deg);
    animation: sway2 18s ease-in-out infinite alternate-reverse;
}

.ray3 {
    left: 55%;
    width: 30%;
    transform: rotate(10deg);
    animation: sway3 16s ease-in-out infinite alternate;
}

.ray4 {
    left: 85%;
    width: 25%;
    transform: rotate(35deg);
    animation: sway4 19s ease-in-out infinite alternate-reverse;
}

@keyframes sway1 {
    0% {
        transform: rotate(-35deg) scaleY(1);
        opacity: 0.85;
    }

    100% {
        transform: rotate(-25deg) scaleY(1.1);
        opacity: 1;
    }
}

@keyframes sway2 {
    0% {
        transform: rotate(-15deg) scaleY(1.1);
        opacity: 1;
    }

    100% {
        transform: rotate(-5deg) scaleY(1);
        opacity: 0.8;
    }
}

@keyframes sway3 {
    0% {
        transform: rotate(10deg) scaleY(1);
        opacity: 0.85;
    }

    100% {
        transform: rotate(20deg) scaleY(1.1);
        opacity: 1;
    }
}

@keyframes sway4 {
    0% {
        transform: rotate(35deg) scaleY(1.1);
        opacity: 1;
    }

    100% {
        transform: rotate(25deg) scaleY(1);
        opacity: 0.8;
    }
}

.highlight-section {
    padding: 100px 8% 60px;
    max-width: 1400px;
    margin: 30px auto;
}

.highlight-header {
    text-align: left;
    margin-bottom: 40px;
}

.highlight-header h2 {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--text-color);
}

.highlight-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: stretch;
}

.highlight-text-box {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    backdrop-filter: blur(15px);
    border-radius: 24px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.owner-profile {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.owner-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    background: #e2e8f0;
}

.owner-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.owner-meta h4 {
    font-size: 0.95rem;
    font-weight: 700;
}

.owner-meta p {
    font-size: 0.75rem;
    color: var(--sub-text);
}

.star-rating {
    margin-bottom: 12px;
    color: #ffd700;
    font-size: 0.85rem;
}

.story-content .highlight-title {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--text-color);
    line-height: 1.3;
}

.story-content .highlight-desc {
    color: var(--sub-text);
    line-height: 1.7;
    font-size: 1rem;
}

.highlight-media-box {
    display: flex;
    gap: 20px;
    align-items: center;
    width: 100%;
}

.media-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
}

.image-item {
    flex: 1.2;
    aspect-ratio: 3 / 4;
}

.media-group-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.video-item {
    width: 100%;
    aspect-ratio: 1/1;
}

.main-media {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.media-badge {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: rgba(255, 255, 255, 0.1);
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 0.65rem;
    color: white;
}

.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.2);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.video-meta p {
    font-size: 0.8rem;
    margin-bottom: 15px;
    color: var(--text-color);
}

.action-wrap {
    text-align: right;
}

.btn-highlights-sm {
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-color);
    border: 1px solid var(--card-border);
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.75rem;
    cursor: pointer;
    transition: 0.3s;
}

.btn-highlights-sm:hover {
    background: white;
    color: black;
}

@media (max-width: 1024px) {
    .highlight-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .highlight-text-box {
        order: 2;
        padding: 30px 20px;
        text-align: center;
    }

    .owner-profile {
        justify-content: center;
    }

    .highlight-header {
        text-align: center !important;
        margin-bottom: 30px;
    }

    .highlight-header h2 {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .highlight-section {
        padding: 60px 5% 40px;
    }

    .highlight-media-box {
        flex-direction: column;
        gap: 15px;
    }

    .image-item {
        width: 100%;
        aspect-ratio: 16 / 9;
    }

    .media-group-right {
        flex-direction: row;
        width: 100%;
        align-items: flex-start;
    }

    .video-item {
        flex: 0 0 100px;
        height: 100px;
    }

    .video-meta {
        flex: 1;
        text-align: left;
        padding-top: 5px;
    }

    .video-meta p {
        margin-bottom: 8px;
        font-size: 0.75rem;
    }
}

.reviews-section {
    margin-top: 60px;
    padding-bottom: 100px;
}

.reviews-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.reviews-header h3 {
    font-size: 1.4rem;
    font-weight: 800;
}

.avg-stats {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--card-bg);
    padding: 8px 15px;
    border-radius: 50px;
    border: 1px solid var(--card-border);
}

.avg-val {
    font-size: 1.2rem;
    font-weight: 800;
    color: #ffd700;
}

.review-form-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 40px;
}

.review-form-card h4 {
    margin-bottom: 20px;
    font-size: 1rem;
    color: var(--sub-text);
}

.rating-selector {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 5px;
    margin-bottom: 20px;
}

.rating-selector input {
    display: none;
}

.rating-selector label {
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.1);
    cursor: pointer;
    transition: 0.2s;
}

.rating-selector label:hover,
.rating-selector label:hover~label,
.rating-selector input:checked~label {
    color: #ffd700;
}

.review-form-card textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 15px;
    color: var(--text-color);
    font-size: 0.95rem;
    resize: none;
    outline: none;
}

.review-form-card textarea:focus {
    border-color: var(--accent-purple);
}

.login-prompt-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    margin-bottom: 30px;
}

.login-prompt-card a {
    color: var(--orange-brand);
    font-weight: 700;
}

.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.review-item-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 18px;
    padding: 20px;
    transition: 0.3s;
}

.review-item-card:hover {
    transform: translateX(5px);
    background: rgba(255, 255, 255, 0.05);
}

.review-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.user-meta {
    display: flex;
    align-items: center;
    gap: 10px;
}

.user-avatar-sm {
    width: 30px;
    height: 30px;
    background: var(--accent-purple);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 800;
}

.review-date {
    font-size: 0.75rem;
    color: var(--sub-text);
}

.review-rating {
    margin-bottom: 10px;
}

.review-rating .star {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.1);
}

.review-rating .star.filled {
    color: #ffd700;
}

.review-comment {
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--text-color);
}

.empty-msg {
    text-align: center;
    padding: 40px;
    color: var(--sub-text);
    font-style: italic;
}

.testimonials-marquee-section {
    padding: 100px 0 60px;
    overflow: hidden;
    position: relative;
}

.marquee-header {
    text-align: center;
    padding: 0 8%;
    margin-bottom: 50px;
}

.marquee-header h2 {
    font-size: 2.8rem;
    font-weight: 800;
}

.marquee-header p {
    color: var(--sub-text);
    font-size: 1.1rem;
}

.marquee-container {
    padding: 20px 0;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.marquee-row {
    width: 100%;
    overflow: scroll;
    -ms-overflow-style: none;
    scrollbar-width: none;
    cursor: grab;
}

.marquee-row::-webkit-scrollbar {
    display: none;
}

.marquee-row:active {
    cursor: grabbing;
}

.marquee-track {
    display: flex;
    gap: 25px;
    width: max-content;
    padding: 10px 20px;
}

.testimonial-item-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 30px;
    width: 380px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 200px;
    position: relative;
    transition: transform 0.3s, border-color 0.3s;
}

.testimonial-item-card:hover {
    border-color: var(--accent-purple);
    transform: translateY(-5px);
}

.testi-overlay-text {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 4rem;
    font-family: serif;
    color: var(--accent-purple);
    opacity: 0.1;
}

.testi-content {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-color);
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
}

.testi-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.testi-user-box {
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-avatar-main {
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
    flex-shrink: 0;
    background: var(--btn-grad);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.9rem;
}

.user-details strong {
    display: block;
    font-size: 0.9rem;
}

.user-details span {
    font-size: 0.75rem;
    color: var(--sub-text);
}

.testi-stars {
    display: flex;
    gap: 2px;
}

.testi-stars .star {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.1);
}

.testi-stars .star.filled {
    color: #ffd700;
}

.marquee-overlay {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 15%;
    z-index: 5;
    pointer-events: none;
}

.marquee-overlay-left {
    left: 0;
    background: linear-gradient(to right, var(--bg-color), transparent);
}

.marquee-overlay-right {
    right: 0;
    background: linear-gradient(to left, var(--bg-color), transparent);
}

.add-review-cta {
    margin-top: 60px;
    text-align: center;
}

.cta-inner p {
    margin-bottom: 15px;
    color: var(--sub-text);
}

.main-cta {
    position: relative;
    display: inline-flex !important;
    align-items: center;
    gap: 10px;
    padding: 16px 40px;
    font-weight: 800;
    font-size: 1.1rem;
    border-radius: 50px;
    background: linear-gradient(135deg, #00c6ff, #0072ff, #7f00ff, #ff007f);
    background-size: 300% 300%;
    color: #ffffff !important;
    text-decoration: none;
    overflow: hidden;
    border: none;
    box-shadow: 0 10px 20px rgba(0, 114, 255, 0.2);
    animation: gradientFlow 8s ease infinite;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.main-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.45) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: skewX(-25deg);
    animation: ctaShimmer 3s infinite ease-in-out;
}

@keyframes gradientFlow {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes ctaShimmer {
    0% {
        left: -150%;
    }
    30% {
        left: 150%;
    }
    100% {
        left: 150%;
    }
}

.main-cta:hover {
    transform: translateY(-4px) scale(1.04);
    box-shadow: 0 15px 30px rgba(127, 0, 255, 0.4), 0 0 25px rgba(255, 0, 127, 0.2);
    color: #ffffff !important;
}

.main-cta span {
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.main-cta:hover span {
    transform: translateX(8px) scale(1.2);
}

@media (max-width: 768px) {
    .marquee-header h2 {
        font-size: 2rem;
    }

    .testimonial-item-card {
        width: 300px;
        padding: 20px;
    }

    .testi-content {
        font-size: 0.9rem;
    }
}

.main-footer {
    background: var(--bg-color);
    padding: 80px 8% 40px;
    border-top: 1px solid var(--card-border);
    position: relative;
    overflow: hidden;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 25px;
}

.footer-logo img {
    height: 50px;
    width: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--card-border);
    padding: 2px;
    background: var(--card-bg);
}

.footer-logo span {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--text-color);
}

.footer-desc {
    color: var(--sub-text);
    line-height: 1.8;
    font-size: 0.95rem;
    margin-bottom: 25px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-purple);
    border: 1px solid var(--card-border);
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

.social-icon:hover {
    background: var(--accent-purple);
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(138, 43, 226, 0.3);
}

.footer-col h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--btn-grad);
}

.footer-links {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 20px;
}

.footer-links li {
    margin-bottom: 0;
}

.footer-links a {
    color: var(--sub-text);
    text-decoration: none;
    font-size: 0.95rem;
    transition: 0.3s;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--text-color);
    padding-left: 8px;
}

.footer-newsletter p {
    color: var(--sub-text);
    margin-bottom: 25px;
    font-size: 0.95rem;
}

.newsletter-form .input-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.newsletter-form input {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 15px 20px;
    color: var(--text-color);
    outline: none;
    transition: 0.3s;
}

.newsletter-form input:focus {
    border-color: var(--accent-purple);
    background: rgba(255, 255, 255, 0.08);
}

.btn-subscribe {
    background: #00f2ffa8;
    color: black;
    border: none;
    padding: 15px;
    border-radius: 12px;
    font-weight: 800;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-subscribe:hover {
    background: #00f2ff;
    transform: scale(1.02);
    box-shadow: 0 0 20px rgba(0, 242, 255, 0.4);
}

.footer-bottom {
    border-top: 1px solid var(--card-border);
    padding-top: 40px;
    text-align: center;
    color: var(--sub-text);
    font-size: 0.9rem;
}

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

@media (max-width: 600px) {
    .footer-container {
        grid-template-columns: 1fr;
    }

    .main-footer {
        padding-bottom: 120px;
    }
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

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

.modal-content {
    background: var(--bg-color);
    border: 1px solid var(--card-border);
    width: 90%;
    max-width: 650px;
    max-height: 90vh;
    border-radius: 30px;
    position: relative;
    padding: 40px;
    overflow-y: auto;
    transform: scale(0.9) translateY(40px);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.modal-overlay.active .modal-content {
    transform: scale(1) translateY(0);
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 2rem;
    background: none;
    border: none;
    color: var(--sub-text);
    cursor: pointer;
    transition: 0.3s;
}

.close-modal:hover {
    color: white;
    transform: rotate(90deg);
}

.modal-header {
    margin-bottom: 30px;
}

.modal-header h3 span {
    color: var(--accent-purple);
}

.form-label {
    display: block;
    font-weight: 700;
    margin-bottom: 15px;
    font-size: 0.95rem;
    color: var(--sub-text);
}

.outlet-selection-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 15px;
    margin-bottom: 30px;
}

.outlet-option-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--card-border);
    border-radius: 15px;
    padding: 15px;
    cursor: pointer;
    position: relative;
    transition: 0.3s;
}

.outlet-option-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.2);
}

.outlet-option-card.selected {
    border-color: var(--accent-purple);
    background: rgba(138, 43, 226, 0.1);
    box-shadow: 0 0 20px rgba(138, 43, 226, 0.2);
}

.outlet-check {
    position: absolute;
    top: 10px;
    right: 15px;
    width: 20px;
    height: 20px;
    background: var(--accent-purple);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    opacity: 0;
    transform: scale(0.5);
    transition: 0.3s;
}

.outlet-option-card.selected .outlet-check {
    opacity: 1;
    transform: scale(1);
}

.outlet-info-mini strong {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 2px;
}

.outlet-info-mini span {
    font-size: 0.7rem;
    color: var(--sub-text);
    display: block;
}

.rating-selector-modal {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 8px;
    margin-bottom: 30px;
}

.rating-selector-modal input {
    display: none;
}

.rating-selector-modal label {
    font-size: 2.5rem;
    color: rgba(255, 255, 255, 0.1);
    cursor: pointer;
    transition: 0.2s;
}

.rating-selector-modal label:hover,
.rating-selector-modal label:hover~label,
.rating-selector-modal input:checked~label {
    color: #ffd700;
}

.modal-body textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--card-border);
    border-radius: 15px;
    padding: 15px;
    color: var(--text-color);
    font-size: 1rem;
    outline: none;
    resize: none;
    margin-bottom: 20px;
}

.modal-body textarea:focus {
    border-color: var(--accent-purple);
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    margin-top: 20px;
}

.modal-footer button {
    padding: 12px 30px;
}

@media (max-width: 500px) {
    .modal-content {
        padding: 30px 20px;
    }

    .outlet-selection-grid {
        grid-template-columns: 1fr;
    }
}

#welcome-splash {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    pointer-events: none;
}

.splash-panel {
    position: absolute;
    width: 100%;
    height: 50%;
    background-color: #030008;
    z-index: 1;
    pointer-events: auto;
}

.splash-panel.top {
    top: 0;
}

.splash-panel.bottom {
    bottom: 0;
}

.splash-center {
    position: relative;
    z-index: 2;
    text-align: center;
}

.logo-wrapper {
    position: relative;
    width: 160px;
    height: 160px;
    margin: 0 auto 25px;
}

.splash-logo {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 4px solid var(--accent-purple);
    box-shadow: 0 0 20px rgba(14, 165, 233, 0.3);
    object-fit: cover;
    transform: scale(0);
    opacity: 0;
    z-index: 2;
    position: relative;
}

.logo-energy-ring {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 2px solid var(--accent-purple);
    border-radius: 50%;
    opacity: 0;
    box-shadow: 0 0 30px var(--accent-purple);
    z-index: 1;
    pointer-events: none;
}

.splash-text {
    font-size: 3rem;
    font-weight: 900;
    letter-spacing: 12px;
    display: flex;
    justify-content: center;
    gap: 5px;
    perspective: 1000px;
}

.splash-char {
    display: inline-block;
    background: var(--btn-grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0;
    transform: translateY(30px) rotateX(-90deg);
}

/* will-change handled in main block */

#hero-badge,
#hero-word-left,
#hero-word-right,
#hero-paragraph {
    will-change: transform, opacity;
}

body.show-content {
    overflow: auto !important;
}

.filter-panel {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    margin: 15px 0 25px 0;
    padding: 25px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    display: block;
    overflow: hidden;
}

.filter-panel.hidden {
    display: none;
    opacity: 0;
    transform: translateY(-20px);
}

.filter-section h5 {
    margin-bottom: 20px;
    font-size: 0.9rem;
    color: var(--orange-brand);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 800;
}

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

.check-container {
    display: flex;
    align-items: center;
    position: relative;
    padding-left: 35px;
    cursor: pointer;
    font-size: 0.85rem;
    user-select: none;
    color: var(--text-color);
    min-height: 24px;
}

.check-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 20px;
    width: 20px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 2px solid var(--card-border);
    border-radius: 6px;
    transition: all 0.2s ease;
}

.check-container:hover input~.checkmark {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: var(--accent-purple);
}

.check-container input:checked~.checkmark {
    background-color: var(--accent-purple);
    border-color: var(--accent-purple);
    box-shadow: 0 0 10px rgba(14, 165, 233, 0.4);
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.check-container input:checked~.checkmark:after {
    display: block;
}

.check-container .checkmark:after {
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2.5px 2.5px 0;
    transform: rotate(45deg);
}

.filter-select {
    width: 100%;
    max-width: 300px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid var(--card-border);
    padding: 12px 20px;
    border-radius: 12px;
    color: var(--text-color);
    font-size: 0.9rem;
    outline: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-select:focus {
    border-color: var(--accent-purple);
    background: rgba(255, 255, 255, 0.08);
}

.filter-select option {
    background: var(--bg-color);
    color: var(--text-color);
    padding: 10px;
}

.active-filters-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 15px 0;
    min-height: 32px;
}

.filter-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(14, 165, 233, 0.15);
    border: 1px solid rgba(14, 165, 233, 0.3);
    color: var(--accent-purple);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    transition: all 0.3s ease;
    animation: badgeIn 0.3s ease-out;
}

.filter-badge:hover {
    background: rgba(14, 165, 233, 0.25);
    transform: translateY(-2px);
}

.filter-badge .remove-btn {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    font-size: 10px;
    color: white;
    transition: background 0.2s;
}

.filter-badge .remove-btn:hover {
    background: #ef4444;
}

@keyframes badgeIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Removed duplicate definition */

.food-card.out-of-stock {
    opacity: 0.7;
}

.food-card .food-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.food-card:hover .food-img {
    transform: scale(1.1);
}

.anim-zoom-in {
    animation: zoomInCard 0.5s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

@keyframes zoomInCard {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* --- untuk user.blade --- */

.discounted-item-vertical {
    min-width: 120px;
    width: 120px;
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    position: relative;
}

.discounted-item-vertical:hover {
    transform: translateY(-5px);
    border-color: var(--accent-pink);
}

.img-out-of-stock {
    filter: grayscale(1) opacity(0.5);
}

.text-muted-stock {
    color: #777 !important;
}

.product-name-discount {
    font-size: 0.7rem;
    margin: 0;
    color: var(--text-color);
    line-height: 1.2;
    height: 2.4em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    font-weight: 600;
}

.btn-oos {
    background: #ef4444 !important;
}

.btn-available {
    background: #0ea5e9 !important;
}

.product-new-price-discount {
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--orange-brand);
}

.discount-add-btn {
    width: 28px;
    height: 28px;
    border-radius: 10px;
    color: white;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(14, 165, 233, 0.3);
}

.discount-add-btn:not(.out-of-stock):hover {
    background: #0284c7 !important;
    transform: scale(1.05);
}

.main-content:not(.hidden),
.discounts-container:not(.hidden),
.food-card:not(.hidden),
.promo-banner:not(.hidden) {
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
}

.sidebar {
    min-width: 0;
    width: 100%;
}

.food-grid {
    display: grid !important;
}

/* Address Popup Styles */
.address-popup-wrap {
    text-align: left;
}

.address-popup-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: 12px;
    align-items: start;
}

.address-popup-left,
.address-popup-right {
    min-width: 0;
}

.address-popup-right {
    display: flex;
    flex-direction: column;
}

#addressMapCanvas {
    height: 340px;
    border-radius: 12px;
    overflow: hidden;
}

@media (max-width: 920px) {
    .address-popup-layout {
        grid-template-columns: 1fr;
    }

    #addressMapCanvas {
        height: 260px;
    }
}

/* --- Promo Section Responsive --- */
/* Removed restrictive promo-slider-container styles to allow full-width layout */

/* --- Responsive Utilities --- */
.desktop-only {
    display: flex !important;
}

.mobile-only {
    display: none !important;
}

@media (max-width: 768px) {
    .desktop-only {
        display: none !important;
    }

    .mobile-only {
        display: flex !important;
    }
}

/* --- Promo Carousel Premium --- */
.promo-carousel-wrapper {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 10px;
    box-sizing: border-box;
}

.promo-carousel-slider {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 20px 0;
    scroll-behavior: smooth;
}

.promo-carousel-slider::-webkit-scrollbar {
    display: none;
}

.promo-carousel-item {
    flex: 0 0 100%;
    width: 100%;
    aspect-ratio: 4 / 2;
    border-radius: 40px;
    overflow: hidden;
    scroll-snap-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    position: relative;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.promo-carousel-item:hover {
    transform: scale(1.01);
}

.promo-carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.promo-carousel-item:hover img {
    transform: scale(1.05);
}

.promo-badge-premium {
    position: absolute;
    top: 30px;
    right: 30px;
    background: #ffde59;
    color: #000;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 900;
    font-size: 18px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    z-index: 5;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid #000;
    transform: rotate(5deg);
}

.promo-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: var(--btn-grad);
    border: none;
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.promo-nav-btn:hover {
    transform: translateY(-50%) scale(1.1);
    filter: brightness(1.2);
    box-shadow: var(--glow);
}

.promo-nav-btn.prev {
    left: -10px;
}

.promo-nav-btn.next {
    right: -10px;
}

@media (max-width: 768px) {
    .promo-carousel-wrapper {
        padding: 0 15px;
    }

    .promo-carousel-item {
        aspect-ratio: 4 / 2;
        border-radius: 20px;
    }

    .promo-nav-btn {
        width: 35px;
        height: 35px;
    }

    .promo-nav-btn.prev {
        left: 5px;
    }

    .promo-nav-btn.next {
        right: 5px;
    }
}

/* Mobile Fixes */
@media (max-width: 768px) {
    .highlight-header {
        text-align: center !important;
        margin-bottom: 30px !important;
    }

    .highlight-header h2 {
        font-size: 2.2rem !important;
    }

    .highlight-container {
        display: flex !important;
        flex-direction: column !important;
        gap: 30px !important;
    }

    .highlight-text-box {
        text-align: center !important;
        padding: 30px 20px !important;
    }

    .highlight-text-box * {
        text-align: center !important;
    }

    .owner-profile {
        justify-content: center !important;
    }

    .highlight-media-box {
        flex-direction: row !important;
        gap: 10px !important;
        align-items: flex-start !important;
    }

    .image-item {
        flex: 1.2 !important;
        width: auto !important;
        aspect-ratio: 3 / 4 !important;
    }

    .media-group-right {
        flex: 1 !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 10px !important;
    }

    .video-item {
        width: 100% !important;
        aspect-ratio: 1/1 !important;
    }

    .video-meta {
        text-align: left !important;
    }

    .video-meta p {
        font-size: 0.7rem !important;
        margin-bottom: 5px !important;
        line-height: 1.2 !important;
    }

    .btn-highlights-sm {
        padding: 5px 10px !important;
        font-size: 0.65rem !important;
    }

    .product-features-section .grid-container {
        display: grid !important;
        grid-template-columns: 1fr 80px 1fr !important;
        gap: 15px !important;
        align-items: center !important;
        width: 100% !important;
        padding: 0 15px !important;
        box-sizing: border-box !important;
    }

    .product-features-section .feature-list {
        gap: 15px !important;
    }

    .product-features-section .feature-title {
        font-size: 0.7rem !important;
        margin-bottom: 2px !important;
    }

    .product-features-section .feature-description {
        font-size: 0.6rem !important;
        line-height: 1.2 !important;
    }

    .product-features-section .feature-icon {
        width: 32px !important;
        height: 32px !important;
        margin-bottom: 5px !important;
    }

    .product-features-section .feature-icon svg {
        width: 16px !important;
        height: 16px !important;
    }

    .product-image-container {
        order: 0 !important;
        width: 80px !important;
        display: flex !important;
        justify-content: center !important;
    }

    .featured-product-image {
        height: auto !important;
        max-height: 120px !important;
        width: 80px !important;
    }

    .explore-section {
        padding: 40px 0 !important;
    }

    .explore-section h2 {
        padding: 0 15px !important;
        font-size: 1.8rem !important;
    }

    .nft-grid {
        padding: 20px 15px !important;
        gap: 15px !important;
        display: flex !important;
        flex-wrap: nowrap !important;
        justify-content: flex-start !important;
        overflow-x: auto !important;
        overscroll-behavior-x: contain !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .nft-item {
        flex: 0 0 280px !important;
    }
}

/* ==========================================================================
   Welcome Blade Custom Styles (Migrated from welcome.blade.php)
   ========================================================================== */

.hero-text-clip {
    display: inline-block;
    overflow: hidden;
    vertical-align: bottom;
    line-height: 1.25;
    margin-left: 0 !important; 
}

.hero-text-clip + .hero-text-clip {
    margin-left: 0.35em !important;
}

#hero-word-right,
#hero-word-right > span {
    margin-left: 0 !important;
}

#hero-paragraph { opacity: 0; }

#hero-word-left {
    background: none !important;
    -webkit-text-fill-color: var(--text-color) !important;
    color: var(--text-color) !important;
}

.walking-cake {
    position: absolute;
    opacity: 0.15; /* hitam sedikit transparan */
    filter: grayscale(100%) brightness(0%);
    user-select: none;
    pointer-events: auto; /* allow proximity/hover interaction */
    z-index: -1;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.4s ease;
    font-family: "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji", sans-serif;
    animation: centerCakeFloat 6s ease-in-out infinite alternate;
    will-change: transform, opacity;
}

.walking-cake:hover {
    opacity: 0.55 !important;
    transform: scale(1.5) rotate(25deg) !important;
}

@keyframes centerCakeFloat {
    0% {
        transform: translate3d(0, 0, 0) rotate(0deg);
    }
    50% {
        transform: translate3d(15px, -20px, 0) rotate(8deg);
    }
    100% {
        transform: translate3d(-15px, 20px, 0) rotate(-8deg);
    }
}

[data-theme="light"] .walking-cake {
    opacity: 0.22;
}

/* Full Width Force */
html, body {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow-x: clip !important;
    position: relative;
    touch-action: pan-y;
    -webkit-overflow-scrolling: touch;
    left: 0 !important;
    right: 0 !important;
    box-sizing: border-box !important;
}
* {
    box-sizing: border-box !important;
    -webkit-tap-highlight-color: transparent;
}
section {
    width: 100% !important;
    max-width: 100vw !important;
    overflow: hidden !important;
    position: relative !important;
}
#bakery-bg, .animated-bg, .light-rays-container {
    width: 100% !important;
    max-width: 100vw !important;
    overflow: hidden !important;
}

/* ==========================================================================
   User Blade Custom Styles (Migrated from user.blade.php)
   ========================================================================== */

/* Address Popup Premium Styling */
.address-popup-wrap {
    text-align: left;
    padding: 5px;
}

.address-popup-layout {
    display: flex;
    gap: 24px;
    flex-direction: row;
}

.address-popup-left {
    flex: 1;
    min-width: 360px;
}

.address-popup-right {
    flex: 1.2;
    min-width: 0;
}

@media (max-width: 768px) {
    .address-popup-layout {
        flex-direction: column;
        gap: 20px;
    }

    .address-popup-left,
    .address-popup-right {
        width: 100%;
        min-width: 0;
    }
}

.address-popup-left label {
    display: block;
    margin-bottom: 8px;
    font-size: 12px;
    color: var(--sub-text);
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.address-popup-left input,
.address-popup-left textarea {
    width: 100%;
    border: 1px solid var(--card-border) !important;
    border-radius: 12px !important;
    padding: 12px 15px !important;
    background: rgba(255, 255, 255, 0.03) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--text-color) !important;
    font-size: 14px !important;
    transition: all 0.3s ease !important;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.address-popup-left input:focus,
.address-popup-left textarea:focus {
    border-color: var(--accent-purple) !important;
    box-shadow: 0 0 15px rgba(14, 165, 233, 0.2), inset 0 2px 4px rgba(0, 0, 0, 0.1) !important;
    background: rgba(255, 255, 255, 0.07) !important;
    transform: translateY(-1px);
}

.route-tracking-card {
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 15px;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.12), rgba(14, 165, 233, 0.03));
    backdrop-filter: blur(10px);
    margin-bottom: 20px;
    border-left: 5px solid var(--accent-purple);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

#addressMapCanvas {
    width: 100%;
    height: 380px;
    border-radius: 18px;
    border: 1px solid var(--card-border);
    box-shadow: var(--glow);
    overflow: hidden;
}

.swal2-popup.address-modal-custom {
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5) !important;
    border-radius: 32px !important;
    background: rgba(15, 23, 42, 0.6) !important;
}

/* Global SweetAlert2 Z-Index & Glassmorphism */
.swal2-container {
    z-index: 10000 !important;
}

.swal2-popup {
    backdrop-filter: blur(15px) !important;
    -webkit-backdrop-filter: blur(15px) !important;
    border-radius: 32px !important;
    background: rgba(15, 23, 42, 0.75) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4) !important;
    will-change: transform, opacity;
}

[data-theme="light"] .swal2-popup {
    background: rgba(255, 255, 255, 0.7) !important;
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
    color: #1e293b !important;
}

.premium-swal-success {
    border: 1px solid rgba(16, 185, 129, 0.2) !important;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.85), rgba(6, 78, 59, 0.4)) !important;
}

.swal2-success-circular-line-left,
.swal2-success-circular-line-right,
.swal2-success-fix {
    display: none !important;
}

.swal2-icon.swal2-success {
    border: 0.25em solid #10b981 !important;
    border-color: #10b981 !important;
    box-shadow: none !important;
}

.swal2-icon.swal2-success .swal2-success-ring {
    display: none !important;
}

.swal2-icon.swal2-success [class^=swal2-success-line] {
    background-color: #10b981 !important;
}

.swal2-icon {
    box-shadow: none !important;
    outline: none !important;
}

.swal2-title,
.swal2-html-container {
    color: var(--text-color) !important;
}

@keyframes swalPremiumIn {
    from { transform: scale(0.85); opacity: 0; filter: blur(4px); }
    to { transform: scale(1); opacity: 1; filter: blur(0); }
}

@keyframes swalPremiumOut {
    from { transform: scale(1); opacity: 1; filter: blur(0); }
    to { transform: scale(0.95); opacity: 0; filter: blur(4px); }
}

.premium-swal-show {
    animation: swalPremiumIn 0.3s cubic-bezier(0.19, 1, 0.22, 1) forwards !important;
}

.premium-swal-hide {
    animation: swalPremiumOut 0.2s cubic-bezier(0.19, 1, 0.22, 1) forwards !important;
}

.stars-gold {
    color: #f59e0b;
    display: flex;
    gap: 2px;
}

.back-btn-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-color);
    margin-right: 15px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--card-border);
    text-decoration: none;
}

.back-btn-icon:hover {
    background: var(--accent-purple);
    color: white !important;
    transform: translateX(-3px);
    box-shadow: var(--glow);
    border-color: transparent;
}

#mainHeader {
    width: 100% !important;
    max-width: 100% !important;
    left: 0 !important;
    right: 0 !important;
    margin: 0 !important;
    border-radius: 0 !important;
    box-sizing: border-box !important;
    padding: 0 15px !important;
}

.container {
    width: 100% !important;
    max-width: 100% !important;
    padding: 110px 4% 30px !important;
    margin: 0 !important;
}

@media (max-width: 768px) {
    .container {
        padding: 90px 20px 30px !important;
        display: block !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .main-content {
        padding: 0 !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .promo-banner {
        padding: 25px 20px !important;
        border-radius: 20px !important;
        margin: 0 0 25px 0 !important;
        min-height: auto !important;
        width: 100% !important;
        box-sizing: border-box !important;
        display: block !important;
    }
    .promo-banner h1 {
        font-size: 1.4rem !important;
        line-height: 1.2 !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        white-space: normal !important;
        margin: 10px 0 !important;
    }
    .promo-banner p {
        font-size: 0.8rem !important;
        white-space: normal !important;
        margin-bottom: 15px !important;
    }
    .cart-panel {
        width: 100% !important;
        border-radius: 0 !important;
        border-top-left-radius: 20px !important;
        border-top-right-radius: 20px !important;
    }
}