/* Global Styles for Mobile App UI */
:root {
    --primary: #ff4d4f;
    --primary-hover: #ff7875;
    --bg-white: #ffffff;
    --bg-light: #f9f9f9;
    --text-dark: #222222;
    --text-muted: #888888;
    --border-radius-lg: 16px;
    --border-radius-md: 12px;
    --border-radius-sm: 8px;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.mobile-container {
    max-width: 900px;
    margin: 0 auto;
    background: var(--bg-white);
    min-height: 100vh;
    box-shadow: 0 0 20px rgba(0,0,0,0.05);
    padding-bottom: 80px;
}
@media (min-width: 769px) {
    .mobile-container {
        border-radius: 15px;
        margin-top: 20px;
        margin-bottom: 20px;
        min-height: calc(100vh - 40px);
        overflow: hidden;
    }
}

/* Typography */
.text-primary { color: var(--primary) !important; }
.text-muted { color: var(--text-muted) !important; }
.font-weight-bold { font-weight: 700 !important; }
.font-weight-medium { font-weight: 500 !important; }

/* Buttons */
.btn-red {
    background-color: var(--primary);
    color: #fff;
    border: none;
    border-radius: 30px;
    padding: 12px 24px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
}
.btn-red:hover { background-color: var(--primary-hover); color: #fff; text-decoration: none; }

.btn-elegant {
    background: linear-gradient(135deg, #1e293b, #0f172a);
    color: #fff;
    border: none;
    border-radius: 30px;
    padding: 12px 24px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.btn-elegant:hover { background: #0f172a; transform: translateY(-2px); color: #fff; text-decoration: none; }

.btn-icon-float {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
    color: var(--text-dark);
    text-decoration: none;
    border: 1px solid #eee;
    z-index: 10;
    cursor: pointer;
}
.btn-icon-float:hover {
    color: var(--primary);
}

/* Top Nav */
.top-nav-app {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10;
}
.top-nav-app.relative {
    position: relative;
    padding-top: 20px;
}
.top-nav-app .page-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
}

/* Bottom Nav */
.bottom-nav-app {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 900px;
    background: #fff;
    display: flex;
    justify-content: space-around;
    padding: 12px 10px 20px 10px; 
    box-shadow: 0 -2px 10px rgba(0,0,0,0.05);
    border-radius: 20px 20px 0 0;
    z-index: 100;
}
.nav-item-app {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.75rem;
    text-decoration: none;
    gap: 4px;
}
.nav-item-app i { font-size: 1.4rem; }
.nav-item-app.active { color: var(--primary); }

/* Fixed Bottom Bar (for CTA) */
.fixed-bottom-bar {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 600px;
    background: #fff;
    padding: 15px 20px 25px 20px;
    box-shadow: 0 -4px 15px rgba(0,0,0,0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 99;
}

/* Luxury Gratis Ongkir Popup */
.go-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.go-popup-overlay.show {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.go-popup-card {
    background: linear-gradient(145deg, #1f2937, #111827);
    width: 90%;
    max-width: 400px;
    border-radius: 24px;
    padding: 30px 25px;
    text-align: center;
    position: relative;
    transform: translateY(50px) scale(0.95);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 215, 0, 0.2);
    overflow: hidden;
}

.go-popup-overlay.show .go-popup-card {
    transform: translateY(0) scale(1);
}

.go-popup-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, transparent 30%, rgba(255, 215, 0, 0.1) 40%, rgba(255, 215, 0, 0.3) 50%, rgba(255, 215, 0, 0.1) 60%, transparent 70%, transparent);
    animation: rotateGold 4s linear infinite;
    z-index: 0;
}

@keyframes rotateGold {
    100% { transform: rotate(360deg); }
}

.go-popup-content {
    position: relative;
    z-index: 1;
    background: #111827;
    border-radius: 20px;
    padding: 20px;
    height: 100%;
}

.go-popup-close {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.1);
    color: #9ca3af;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
}

.go-popup-close:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    transform: rotate(90deg);
}

.go-popup-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto 20px;
    color: #fff;
    box-shadow: 0 0 30px rgba(245, 158, 11, 0.4);
    animation: pulseGold 2s infinite;
}

@keyframes pulseGold {
    0% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.4); }
    70% { box-shadow: 0 0 0 20px rgba(245, 158, 11, 0); }
    100% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0); }
}

.go-popup-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: #fbbf24;
    margin-bottom: 12px;
    font-family: 'Outfit', sans-serif;
}

.go-popup-desc {
    color: #d1d5db;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 25px;
}

.go-popup-btn {
    display: inline-block;
    width: 100%;
    padding: 14px 20px;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #111827;
    font-weight: 700;
    font-size: 1rem;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.go-popup-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(245, 158, 11, 0.3);
    color: #111827;
}
