/* homerent.css — Liquid Glass Design System */

:root {
    --glass-bg: rgba(255, 255, 255, 0.45);
    --glass-border: rgba(255, 255, 255, 0.6);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
    --liquid-gradient: linear-gradient(135deg, #0ea5e9 0%, #6366f1 50%, #a855f7 100%);
}

/* Background Animation */
body {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0e7ff 100%);
    background-attachment: fixed;
    overflow-x: hidden;
}

.water-drop-bg {
    position: fixed;
    border-radius: 50%;
    filter: blur(80px);
    z-index: -1;
    opacity: 0.4;
    animation: float 20s infinite alternate ease-in-out;
}

.drop-1 { width: 400px; height: 400px; background: #38bdf8; top: -100px; right: -100px; }
.drop-2 { width: 350px; height: 350px; background: #818cf8; bottom: -50px; left: -50px; animation-delay: -5s; }
.drop-3 { width: 300px; height: 300px; background: #c084fc; top: 40%; left: 30%; animation-delay: -10s; }

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(40px, 60px) scale(1.1); }
}

/* Liquid Glass Panels */
.glass-panel-white {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    border-radius: 24px;
}

.glass-card-white {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.7);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.glass-card-white:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
    border-color: rgba(255, 255, 255, 1);
}

/* Navbar */
.navbar {
    margin: 1.5rem auto;
    width: calc(100% - 2rem);
    max-width: 1100px;
    padding: 0.75rem 1.5rem;
    position: sticky;
    top: 1rem;
    z-index: 100;
}

/* Buttons */
.btn-liquid {
    background: var(--liquid-gradient);
    background-size: 200% auto;
    color: white;
    border-radius: 14px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.btn-liquid:hover {
    background-position: right center;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
}

/* Search Glass */
.search-glass {
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 18px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
    transition: all 0.3s ease;
}

.search-glass:focus-within {
    background: rgba(255, 255, 255, 0.8);
    border-color: #38bdf8;
    box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.1);
}

/* Gradient Text */
.gradient-text {
    background: var(--liquid-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Products Section */
#plansContainer {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.product-img-wrap {
    border-radius: 16px 16px 0 0;
    overflow: hidden;
}

/* Admin Shortcut - Hidden by requirement but kept for logic if needed */
#adminShortcut {
    display: none !important; /* บังคับปิดตามคำขอผู้ใช้ */
}

/* Custom Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
    background: rgba(99, 102, 241, 0.2);
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover { background: rgba(99, 102, 241, 0.4); }
