/* ========================================
   GARDEN INN RESORT - Premium Styles
   ======================================== */

/* ==================== CSS VARIABLES ==================== */
:root {
    /* Colors - Premium Emerald Theme for Garden Inn Resort */
    --color-primary: #125B39; /* Rich Emerald */
    --color-primary-light: #1E8251; /* Soft Emerald */
    --color-primary-dark: #0A3C23; /* Deep Forest Green */
    --color-accent: #D4AF37; /* Premium Gold Accent */
    --color-background: rgba(10, 20, 15, 0.85);
    --color-overlay: rgba(0, 0, 0, 0.6);
    --color-glass: rgba(255, 255, 255, 0.08);
    --color-glass-border: rgba(255, 255, 255, 0.15);
    --color-glass-hover: rgba(255, 255, 255, 0.12);
    --color-text: #FFFFFF;
    --color-text-muted: rgba(255, 255, 255, 0.75);
    --color-text-dim: rgba(255, 255, 255, 0.55);
    
    /* Status Colors */
    --color-free: #34D399;
    --color-free-dark: #059669;
    --color-paid: #FBBF24;
    --color-paid-dark: #D97706;
    
    /* Social Colors */
    --color-instagram: linear-gradient(45deg, #f56040, #c13584, #833ab4);
    --color-facebook: #1877F2;
    --color-tiktok: #000000;
    --color-whatsapp: #25D366;
    --color-telegram: #229ED9;
    --color-viber: #7D3C98;
    
    /* Typography */
    --font-display: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    
    /* Borders */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --radius-full: 9999px;
    
    /* Shadows */
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.35);
    --shadow-lg: 0 16px 40px -12px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 24px rgba(30, 130, 81, 0.25);
    
    /* Transitions */
    --transition-fast: 0.15s ease-out;
    --transition-normal: 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
    --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Light Theme Variables - Soft Frosted Glass */
[data-theme="light"] {
    --color-background: transparent;
    --color-overlay: rgba(245, 250, 245, 0.65);
    --color-glass: rgba(255, 255, 255, 0.85);
    --color-glass-border: rgba(255, 255, 255, 0.6);
    --color-glass-hover: rgba(255, 255, 255, 0.95);
    --color-text: #0D2A1C;
    --color-text-muted: rgba(13, 42, 28, 0.7);
    --color-text-dim: rgba(13, 42, 28, 0.4);
    --shadow-glow: 0 10px 30px rgba(30, 130, 81, 0.1);
}

[data-theme="light"] body {
    background: transparent;
}

[data-theme="light"] .overlay {
    backdrop-filter: blur(8px) brightness(1.1);
    -webkit-backdrop-filter: blur(8px) brightness(1.1);
}

[data-theme="light"] .header {
    background: linear-gradient(180deg, rgba(255,255,255,0.7) 0%, rgba(255,255,255,0.2) 60%, transparent 100%);
}

[data-theme="light"] .header:hover {
    background: linear-gradient(180deg, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.4) 60%, transparent 100%);
}

[data-theme="light"] .glass-container {
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .glass-container:hover {
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.12);
}

[data-theme="light"] .hero h1 {
    background: linear-gradient(135deg, #1b3323 0%, var(--color-primary) 50%, #1b3323 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% 100%;
}

[data-theme="light"] .logo-subline {
    fill: url(#logo-dark-grad);
    font-weight: 700;
}

[data-theme="light"] .modal {
    background: rgba(240, 245, 240, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

[data-theme="light"] .modal-content {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

[data-theme="light"] .contact-section {
    background: linear-gradient(180deg, transparent 0%, rgba(245,250,245,0.6) 30%, rgba(245,250,245,0.95) 100%);
}

[data-theme="light"] .footer {
    background: rgba(245, 250, 245, 0.95);
    color: var(--color-text);
}

/* ==================== RESET & BASE ==================== */
*, 
*::before, 
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    background: var(--color-background);
    overflow-x: hidden;
    min-height: 100vh;
    line-height: 1.6;
}

/* Focus styles for accessibility */
:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 3px;
}

/* ==================== BACKGROUND ==================== */
#bg-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.overlay {
    position: fixed;
    inset: 0;
    background: var(--color-overlay);
    z-index: -1;
    backdrop-filter: blur(2px);
}

/* ==================== HEADER ==================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: var(--space-lg) 5%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(to bottom, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.3) 50%, transparent 100%);
    transition: background var(--transition-normal);
}

.header-controls {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.header:hover {
    background: linear-gradient(to bottom, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.5) 50%, transparent 100%);
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.logo img {
    height: 55px;
    width: auto;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    transition: transform var(--transition-bounce);
}

.logo-svg-animation {
    height: 52px;
    width: auto;
    overflow: visible;
}

.logo-svg-text {
    font-family: 'Karla', var(--font-display);
    font-size: 38px;
    font-weight: 500;
    letter-spacing: -0.5px;
}

.logo-letter {
    fill: transparent;
    stroke: var(--color-text);
    stroke-width: 1px;
    stroke-dasharray: 200;
    stroke-dashoffset: 200;
    /* Smooth ease-in-out drawing effect */
    animation: drawStroke 1.2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

[data-theme="light"] .logo-letter {
    stroke: var(--color-text);
}

@keyframes drawStroke {
    0% { stroke-dashoffset: 200; }
    100% { stroke-dashoffset: 0; }
}

.logo-letter.fill-color {
    animation: fillLetter 0.8s ease-in-out forwards;
}

@keyframes fillLetter {
    0% {
        fill: transparent;
        stroke-width: 1px;
    }
    100% {
        fill: var(--color-text);
        stroke-width: 0;
        text-shadow: 0 0 12px rgba(255,255,255,0.4);
    }
}

.logo-subline {
    font-family: 'Karla', sans-serif;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 4px;
    opacity: 0;
    animation: fadeInSubline 1.5s ease-out forwards;
    animation-delay: 2.8s; /* Appears after letters are filled */
}

@keyframes fadeInSubline {
    0% { opacity: 0; transform: translateY(4px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* Leaf Petal Animation - Rise from bottom sequentially */
#logo-img .leaf {
    opacity: 0;
    transform-origin: 50% 85%;
    transform: translateY(30px) scale(0.3);
    animation: leafRiseIn 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

#logo-img .leaf:nth-child(1) {
    animation-delay: 0.2s;
}

#logo-img .leaf:nth-child(2) {
    animation-delay: 0.6s;
}

#logo-img .leaf:nth-child(3) {
    animation-delay: 1.0s;
}

@keyframes leafRiseIn {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.3);
    }
    60% {
        opacity: 1;
        transform: translateY(-4px) scale(1.05);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Subtle glow pulse after all leaves are in */
#logo-img {
    animation: logoGlow 3s ease-in-out 2s infinite alternate;
}

@keyframes logoGlow {
    0% { filter: drop-shadow(0 0 0px transparent); }
    100% { filter: drop-shadow(0 0 8px rgba(168, 224, 99, 0.5)); }
}

/* Language Switcher */
.language-switcher {
    display: flex;
    gap: var(--space-xs);
    background: rgba(0, 0, 0, 0.3);
    padding: var(--space-xs);
    border-radius: var(--radius-full);
    backdrop-filter: blur(10px);
}

.lang-btn {
    background: transparent;
    border: none;
    color: var(--color-text-muted);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-full);
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-normal);
    letter-spacing: 0.5px;
}

.lang-btn:hover {
    color: var(--color-text);
    background: var(--color-glass);
}

.lang-btn.active {
    background: var(--color-primary);
    color: #000;
    box-shadow: var(--shadow-sm);
}

/* ==================== HERO SECTION ==================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-xl);
    padding-top: calc(80px + var(--space-xl));
}

.glass-container {
    background: var(--color-glass);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--color-glass-border);
    border-radius: var(--radius-xl);
    padding: var(--space-3xl) var(--space-2xl);
    max-width: 560px;
    width: 90%;
    text-align: center;
    box-shadow: var(--shadow-lg), var(--shadow-glow);
    transition: transform var(--transition-bounce), box-shadow var(--transition-slow);
    animation: fadeInUp 0.8s ease-out;
}

.glass-container:hover {
    transform: translateY(-4px) scale(1.01);
    box-shadow: var(--shadow-lg), 0 0 60px rgba(212, 175, 55, 0.4);
}

.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 8vw, 4rem);
    font-weight: 600;
    letter-spacing: -2px;
    margin-bottom: var(--space-md);
    background: linear-gradient(135deg, #fff 0%, var(--color-primary-light) 50%, #fff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s ease-in-out infinite;
    background-size: 200% 100%;
}

@keyframes shimmer {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.tagline {
    font-size: clamp(1rem, 3vw, 1.35rem);
    color: var(--color-text-muted);
    margin-bottom: var(--space-2xl);
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Main Navigation */
.main-nav {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
}

@media (min-width: 480px) {
    .main-nav {
        grid-template-columns: repeat(2, 1fr);
    }
}

.nav-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    background: var(--color-glass);
    border: 1px solid var(--color-glass-border);
    color: var(--color-text);
    padding: var(--space-lg) var(--space-xl);
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-normal);
}

.nav-icon {
    font-size: 1.5rem;
    filter: grayscale(0);
    transition: transform var(--transition-bounce);
}

.nav-btn:hover {
    background: var(--color-glass-hover);
    border-color: var(--color-primary);
    transform: translateY(-3px) scale(1.02);
    box-shadow: var(--shadow-md);
}

.nav-btn:hover .nav-icon {
    transform: scale(1.2) rotate(5deg);
}

.nav-btn:active {
    transform: translateY(-1px) scale(0.98);
}

/* Wide navigation buttons - same style, just span full row */
.wide-btn {
    flex-direction: row;
    justify-content: center;
    gap: var(--space-md);
}

@media (min-width: 480px) {
    .wide-btn {
        grid-column: span 2;
    }
}

/* ==================== MOBILE HEADER LAYOUT ==================== */
@media (max-width: 600px) {
    .header {
        justify-content: center;
        padding: var(--space-sm) 4%;
        min-height: 56px;
    }

    .logo {
        gap: var(--space-sm);
    }

    /* Text "Garden Inn" goes left, smaller */
    .logo .logo-svg-animation {
        height: 32px;
        position: absolute;
        left: 4%;
        top: 50%;
        transform: translateY(-50%);
    }

    /* Leaf icon stays centered */
    .logo #logo-img {
        width: 34px;
        height: 34px;
    }

    .header-controls {
        position: absolute;
        right: 4%;
        top: 50%;
        transform: translateY(-50%);
        gap: 2px;
    }

    /* Smaller language buttons on mobile */
    .lang-btn {
        padding: var(--space-xs) var(--space-sm);
        font-size: 0.7rem;
    }

    .theme-toggle {
        padding: 4px;
    }

    .theme-icon {
        font-size: 14px;
    }
}


/* ==================== HOUSEKEEPING MODAL ==================== */
.hk-tabs {
    display: flex;
    gap: 6px;
    margin-top: 16px;
    background: rgba(255,255,255,0.04);
    border-radius: var(--radius-md);
    padding: 4px;
}

.hk-tab {
    flex: 1;
    padding: 12px 8px;
    border: none;
    border-radius: calc(var(--radius-md) - 2px);
    background: transparent;
    color: var(--color-text-muted);
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.hk-tab.active {
    background: var(--color-primary);
    color: white;
    box-shadow: 0 2px 12px rgba(46, 139, 87, 0.35);
}

.hk-tab:not(.active):hover {
    background: rgba(255,255,255,0.06);
    color: var(--color-text);
}

.hk-view {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 20px;
}

.hk-input-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.hk-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-text-muted);
    letter-spacing: 0.3px;
}

.hk-input {
    padding: 14px 16px;
    border-radius: var(--radius-md);
    border: 1px solid var(--color-glass-border);
    background: var(--color-glass);
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: 0.95rem;
    outline: none;
    transition: all 0.25s ease;
    -webkit-appearance: none;
    appearance: none;
}

.hk-input:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(46, 139, 87, 0.15);
    background: rgba(255,255,255,0.06);
}

.hk-input::placeholder {
    color: rgba(255,255,255,0.25);
}

.hk-code-input {
    text-align: center;
    font-size: 1.5rem;
    letter-spacing: 8px;
    font-weight: 700;
    font-family: 'SF Mono', 'Fira Code', monospace;
}

.hk-textarea {
    resize: none;
    min-height: 80px;
    line-height: 1.5;
}

/* Star Rating */
.hk-star-rating {
    display: flex;
    gap: 8px;
    padding: 8px 0;
}

.hk-star {
    font-size: 2rem;
    color: rgba(255,255,255,0.15);
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
    -webkit-user-select: none;
}

.hk-star.active {
    color: #f59e0b;
    text-shadow: 0 0 12px rgba(245, 158, 11, 0.5);
}

.hk-star:hover {
    transform: scale(1.25);
}

/* Submit Button */
.hk-submit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
    color: white;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 4px 16px rgba(46, 139, 87, 0.3);
    margin-top: 4px;
}

.hk-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(46, 139, 87, 0.45);
}

.hk-submit-btn:active {
    transform: translateY(0);
}

/* Success Message */
.hk-success-msg {
    display: none;
    text-align: center;
    padding: 20px;
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: var(--radius-md);
    animation: fadeInUp 0.5s ease;
}

.hk-success-icon {
    font-size: 2.5rem;
    margin-bottom: 8px;
}

.hk-success-title {
    color: #f59e0b;
    font-weight: 700;
    font-size: 1rem;
}

.hk-code-box {
    margin-top: 12px;
    padding: 12px;
    background: rgba(255,255,255,0.04);
    border-radius: var(--radius-sm);
    border: 1px dashed #f59e0b;
}

.hk-code-label {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    display: block;
    margin-bottom: 4px;
}

.hk-code-value {
    font-size: 1.8rem;
    color: #f59e0b;
    letter-spacing: 6px;
    font-family: 'SF Mono', 'Fira Code', monospace;
    text-shadow: 0 0 10px rgba(245, 158, 11, 0.4);
}

.hk-code-hint {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    margin-top: 8px;
    opacity: 0.7;
}

/* Error Message */
.hk-error-msg {
    display: none;
    text-align: center;
    padding: 12px;
    background: rgba(231, 76, 60, 0.1);
    border: 1px solid rgba(231, 76, 60, 0.2);
    border-radius: var(--radius-md);
    color: #e74c3c;
    font-weight: 600;
    font-size: 0.9rem;
}

/* ==================== CONTACT SECTION ==================== */
/* Fix Z-index for Detail Modal to appear over Tours */
#detail-modal.active {
    z-index: 1600 !important;
}

.contact-section {
    position: relative;
    z-index: 2;
    padding: var(--space-3xl) var(--space-xl);
    text-align: center;
    background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.7) 30%, rgba(0,0,0,0.8) 100%);
}

.contact-section h2 {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 4vw, 2rem);
    margin-bottom: var(--space-2xl);
    color: var(--color-primary-light);
    letter-spacing: 1px;
}

.contact-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-md);
    max-width: 800px;
    margin: 0 auto;
}

.contact-btn {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    background: var(--color-glass);
    color: var(--color-text);
    padding: var(--space-md) var(--space-xl);
    border-radius: var(--radius-full);
    text-decoration: none;
    font-weight: 600;
    min-width: 180px;
    border: 1px solid var(--color-glass-border);
    transition: all var(--transition-normal);
}

.contact-btn svg {
    flex-shrink: 0;
}

.contact-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: var(--shadow-md);
}

.contact-btn.whatsapp:hover {
    background: var(--color-whatsapp);
    border-color: var(--color-whatsapp);
}

.contact-btn.telegram:hover {
    background: var(--color-telegram);
    border-color: var(--color-telegram);
}

.contact-btn.viber:hover {
    background: var(--color-viber);
    border-color: var(--color-viber);
}

/* Contact Modal Styles */
.contact-modal-actions {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    margin-top: var(--space-lg);
}

.modal-action-btn {
    width: 100%;
    justify-content: center;
}

.contact-other-details {
    animation: fadeIn 0.3s ease;
}

.contact-btn.other {
    background: var(--color-glass);
    border-color: var(--color-glass-border);
}

.contact-btn.other:hover {
    background: var(--color-primary-dark);
    border-color: var(--color-primary-dark);
}

/* ==================== SOCIAL BAR ==================== */
.social-bar {
    position: fixed;
    bottom: var(--space-xl);
    right: var(--space-xl);
    z-index: 100;
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.social-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-md);
    background: var(--color-glass);
    border: 1px solid var(--color-glass-border);
}

.social-icon svg {
    width: 28px;
    height: 28px;
    transition: transform var(--transition-bounce);
}

.social-icon:hover {
    transform: translateX(-5px) scale(1.1);
    background: rgba(255,255,255,0.2);
}

.social-icon:hover svg {
    transform: scale(1.15);
}

/* Official colors are now embedded within the SVG files themselves.
   Glassmorphism backgrounds from .social-icon handle the outer ring beautifully. */

/* ==================== CONTACT MODAL ==================== */
.contact-modal-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-md);
    margin-top: var(--space-xl);
}

.contact-btn {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: var(--space-md);
    padding: var(--space-md) var(--space-xl);
    background: var(--color-glass);
    border: 1px solid var(--color-glass-border);
    color: var(--color-text);
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1rem;
    transition: all var(--transition-normal);
    cursor: pointer;
    text-decoration: none;
    width: 100%;
    max-width: 320px;
}

.contact-btn:hover {
    background: var(--color-glass-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--color-primary);
}

.contact-btn.whatsapp {
    background: var(--color-whatsapp);
    color: #fff;
    border-color: transparent;
}

.contact-btn.whatsapp:hover {
    background: #128C7E;
}

.contact-other-details {
    background: rgba(0,0,0,0.3);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    border: 1px solid var(--color-glass-border);
    margin-top: var(--space-lg);
}

/* ==================== FOOTER ==================== */
.footer {
    position: relative;
    z-index: 2;
    padding: var(--space-3xl) var(--space-xl) var(--space-2xl);
    text-align: center;
    background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.5) 30%, rgba(0,0,0,0.9) 100%);
}

.footer p {
    max-width: 600px;
    margin: 0 auto var(--space-md);
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

.copyright {
    opacity: 0.6;
    font-size: 0.8rem;
    letter-spacing: 1px;
}
/* ==================== TIME PICKER ==================== */

/* Custom Hour-only Flatpickr */
.hour-only-picker .flatpickr-time .numInputWrapper:nth-child(3),
.hour-only-picker .flatpickr-time .flatpickr-time-separator {
    display: none !important;
}
.hour-only-picker .flatpickr-time input {
    pointer-events: none; /* Prevent keyboard popping up on mobile */
    font-size: 28px;
    font-weight: 700;
    font-family: var(--font-display);
}
.hour-only-picker .flatpickr-time .arrowUp, 
.hour-only-picker .flatpickr-time .arrowDown {
    pointer-events: auto; /* allow arrow clicks */
    padding: 12px; /* Make arrows larger for mobile touch */
}
.hour-only-picker {
    z-index: 99999 !important; /* Ensure it stays above modals and keyboard */
}

.time-picker-card {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 14px 18px;
    backdrop-filter: blur(8px);
}

.time-picker-slot {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.time-picker-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--color-primary-light);
    font-weight: 600;
    padding-left: 4px;
}

.time-picker-input {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    color: var(--color-text);
    font-size: 1.1rem;
    font-weight: 600;
    padding: 12px 14px;
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    width: 100%;
    font-family: 'Inter', sans-serif;
}

.time-picker-input:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.15), 0 0 20px rgba(76, 175, 80, 0.1);
    background: rgba(255, 255, 255, 0.08);
}

.time-picker-input:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

.time-picker-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary-light);
    opacity: 0.7;
    padding-top: 22px;
}

.time-picker-divider svg {
    filter: drop-shadow(0 0 4px rgba(76, 175, 80, 0.3));
}

[data-theme="light"] .time-picker-card {
    background: rgba(0, 0, 0, 0.03);
    border-color: rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .time-picker-input {
    background: rgba(0, 0, 0, 0.04);
    border-color: rgba(0, 0, 0, 0.12);
}

[data-theme="light"] .time-picker-input:focus {
    background: rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .time-picker-input:hover {
    background: rgba(0, 0, 0, 0.06);
    border-color: rgba(0, 0, 0, 0.2);
}

/* ==================== MODALS ==================== */
.modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1500;
    padding: var(--space-xl);
    opacity: 0;
    transition: opacity var(--transition-normal), backdrop-filter var(--transition-normal);
}

.modal.active {
    display: flex;
    opacity: 1;
}

.modal.nested-modal {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.modal-content {
    position: relative;
    background: var(--color-glass);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--color-glass-border);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
    max-width: 480px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    animation: modalPopIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    margin: 0 auto;
    left: 0;
    right: 0;
}

.modal-content.wide {
    max-width: 800px;
}

.modal-content.scrollable {
    overflow-y: auto;
    padding-right: var(--space-md);
    padding-left: var(--space-md);
}

.modal-content.scrollable::-webkit-scrollbar {
    width: 6px;
}

.modal-content.scrollable::-webkit-scrollbar-track {
    background: rgba(255,255,255,0.1);
    border-radius: var(--radius-full);
}

.modal-content.scrollable::-webkit-scrollbar-thumb {
    background: var(--color-primary);
    border-radius: var(--radius-full);
}

/* WiFi Modal */
.wifi-modal-content {
    max-width: 420px;
}

.wifi-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-lg);
}

.wifi-qr-container {
    background: #ffffff;
    padding: var(--space-md);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.wifi-qr-container canvas,
.wifi-qr-container img,
.wifi-qr-container svg {
    display: block;
    max-width: 200px;
    max-height: 200px;
    width: 100%;
    height: auto;
}

.wifi-details {
    width: 100%;
    text-align: center;
}

.wifi-ssid {
    margin: 0 0 var(--space-md) 0;
    font-size: 1rem;
}

.wifi-label {
    color: var(--color-text-muted);
    font-weight: 500;
}

.wifi-value {
    font-weight: 700;
    color: var(--color-text);
    word-break: break-all;
}

.wifi-password-container {
    margin-bottom: var(--space-md);
}

.wifi-password-input-wrapper {
    display: flex;
    gap: var(--space-sm);
    margin-top: var(--space-xs);
}

.wifi-password-input {
    flex: 1;
    padding: var(--space-sm) var(--space-md);
    border: 1px solid var(--color-glass-border);
    border-radius: var(--radius-md);
    background: var(--color-glass);
    color: var(--color-text);
    font-size: 1rem;
    font-family: monospace;
    text-align: center;
}

.wifi-password-input:focus {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.wifi-copy-btn {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-sm) var(--space-md);
    background: var(--color-primary);
    color: #ffffff;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.wifi-copy-btn:hover {
    background: var(--color-primary-dark);
    transform: translateY(-2px);
}

.wifi-copy-btn:active {
    transform: translateY(0);
}

.wifi-copy-btn.copied {
    background: #22c55e;
}

.wifi-instructions {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    margin: 0;
    line-height: 1.5;
}

/* Responsive for WiFi modal */
@media (max-width: 480px) {
    .wifi-modal-content {
        max-width: 95%;
        padding: var(--space-lg);
    }

    .wifi-qr-container {
        padding: var(--space-sm);
    }

    .wifi-qr-container canvas,
    .wifi-qr-container img {
        max-width: 160px;
        max-height: 160px;
    }

    .wifi-password-input-wrapper {
        flex-direction: column;
    }

    .wifi-copy-btn {
        justify-content: center;
    }
}

@keyframes modalPopIn {
    from {
        transform: scale(0.9) translateY(20px);
        opacity: 0;
    }
    to {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

.modal-close {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    background: var(--color-glass);
    border: 1px solid var(--color-glass-border);
    color: var(--color-text);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-normal);
    z-index: 10;
}

.modal-close:hover {
    background: rgba(255, 100, 100, 0.8);
    border-color: rgba(255, 100, 100, 0.8);
    transform: rotate(90deg);
}

.modal-content h2 {
    font-family: var(--font-display);
    font-size: 1.75rem;
    margin-bottom: var(--space-xl);
    color: var(--color-primary-light);
    text-align: center;
    letter-spacing: 1px;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-lg);
}

.service-card {
    background: var(--color-glass);
    padding: var(--space-xl);
    border-radius: var(--radius-md);
    text-align: center;
    border: 1px solid var(--color-glass-border);
    transition: all var(--transition-normal);
}

.service-card:hover {
    background: var(--color-glass-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--color-primary);
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: var(--space-md);
    filter: grayscale(0);
}

.service-card h3 {
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: var(--space-md);
}

.status {
    display: inline-block;
    padding: var(--space-xs) var(--space-lg);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status.free {
    background: var(--color-free);
    color: #000;
}

.status.paid {
    background: var(--color-paid);
    color: #000;
}

.more-btn {
    display: block;
    margin: var(--space-md) auto 0;
    background: var(--color-primary);
    color: #000;
    padding: var(--space-sm) var(--space-xl);
    border: none;
    border-radius: var(--radius-full);
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all var(--transition-normal);
}

.more-btn:hover {
    background: var(--color-primary-light);
    transform: scale(1.05);
    box-shadow: var(--shadow-sm);
}

/* Detail Content */
.detail-content {
    color: var(--color-text-muted);
    line-height: 1.8;
    margin-bottom: var(--space-xl);
    padding: var(--space-lg);
    background: rgba(0,0,0,0.2);
    border-radius: var(--radius-md);
}

.detail-content strong {
    color: var(--color-primary-light);
}

.gallery-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    margin-bottom: var(--space-lg);
    color: var(--color-primary-light);
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: var(--space-md);
}

.gallery-grid img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-normal);
    border: 2px solid transparent;
}

.gallery-grid img:hover {
    transform: scale(1.05);
    border-color: var(--color-primary);
    box-shadow: var(--shadow-md);
}

/* Products Grid */
.products-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-xl);
    width: 100%;
    padding: 0 var(--space-sm);
}

.product-card {
    background: var(--color-glass);
    border-radius: var(--radius-md);
    overflow: hidden;
    text-align: center;
    border: 1px solid var(--color-glass-border);
    transition: all var(--transition-normal);
    flex: 0 1 calc(50% - var(--space-md));
    max-width: 280px;
    min-width: 200px;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--color-primary);
}

.product-image {
    position: relative;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 150px;
    object-fit: contain;
    cursor: pointer;
    transition: transform var(--transition-normal);
    padding: var(--space-sm);
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.view-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--color-primary);
    border: none;
    font-size: 1.25rem;
    cursor: pointer;
    transition: transform var(--transition-bounce);
}

.view-btn:hover {
    transform: scale(1.2);
}

.product-info {
    padding: var(--space-lg);
}

.product-info h4 {
    font-weight: 600;
    margin-bottom: var(--space-sm);
}

.product-info .price {
    color: var(--color-primary-light);
    font-weight: 700;
    font-size: 1.1rem;
}

/* Header Controls */
.header-controls {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

/* WiFi Connect Button */
.wifi-connect-btn {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    background: var(--color-glass);
    border: 1px solid var(--color-glass-border);
    color: var(--color-text);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-full);
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-normal);
    white-space: nowrap;
}

.wifi-connect-btn:hover {
    background: var(--color-glass-hover);
    border-color: var(--color-primary);
    transform: scale(1.02);
}

.wifi-connect-btn .wifi-icon {
    font-size: 1rem;
}

/* Theme Toggle */
.theme-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-glass);
    border: 1px solid var(--color-glass-border);
    color: var(--color-text);
    width: 36px;
    height: 36px;
    border-radius: var(--radius-full);
    font-size: 1.1rem;
    cursor: pointer;
    transition: all var(--transition-normal);
    padding: 0;
}

.theme-toggle:hover {
    background: var(--color-glass-hover);
    border-color: var(--color-primary);
    transform: scale(1.1);
}

.theme-icon {
    font-size: 1.1rem;
    line-height: 1;
}

[data-theme="light"] .theme-toggle .theme-icon {
    content: "🌙";
}

/* Rules List */
.rules-list {
    list-style: none;
}

.rules-list li {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-lg) 0;
    border-bottom: 1px solid var(--color-glass-border);
    transition: background var(--transition-normal);
    padding-left: var(--space-sm);
    padding-right: var(--space-sm);
}

.rules-list li:last-child {
    border-bottom: none;
}

.rules-list li:hover {
    background: var(--color-glass);
    margin: 0 calc(-1 * var(--space-sm));
    border-radius: var(--radius-sm);
}

.rule-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

/* ==================== LIGHTBOX ==================== */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 3000;
    padding: var(--space-xl);
}

.lightbox.active {
    display: flex;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

#lightbox-image {
    max-width: 90%;
    max-height: 85vh;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    object-fit: contain;
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.lightbox-close,
.lightbox-nav {
    position: absolute;
    background: var(--color-glass);
    color: white;
    border: 1px solid var(--color-glass-border);
    width: 50px;
    height: 50px;
    font-size: 1.25rem;
    cursor: pointer;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-normal);
}

.lightbox-close {
    top: var(--space-lg);
    right: var(--space-lg);
}

.lightbox-close:hover,
.lightbox-nav:hover {
    background: var(--color-primary);
    color: #000;
    transform: scale(1.1);
}

.lightbox-prev {
    left: var(--space-lg);
}

.lightbox-next {
    right: var(--space-lg);
}

.lightbox-counter {
    position: absolute;
    bottom: var(--space-lg);
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-glass);
    padding: var(--space-sm) var(--space-lg);
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    font-weight: 600;
}

/* ==================== ANIMATIONS ==================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Staggered animation for nav buttons */
.nav-btn {
    animation: fadeInUp 0.6s ease-out backwards;
}

.nav-btn:nth-child(1) { animation-delay: 0.1s; }
.nav-btn:nth-child(2) { animation-delay: 0.2s; }
.nav-btn:nth-child(3) { animation-delay: 0.3s; }
.nav-btn:nth-child(4) { animation-delay: 0.4s; }
.nav-btn:nth-child(5) { animation-delay: 0.5s; }
.nav-btn:nth-child(6) { animation-delay: 0.6s; }
.nav-btn:nth-child(7) { animation-delay: 0.7s; }
.nav-btn:nth-child(8) { animation-delay: 0.8s; }
.nav-btn:nth-child(9) { animation-delay: 0.9s; }
.nav-btn:nth-child(10) { animation-delay: 1.0s; }
.nav-btn:nth-child(11) { animation-delay: 1.1s; }
.nav-btn:nth-child(12) { animation-delay: 1.2s; }

/* ==================== RESPONSIVE ==================== */
@media (max-width: 768px) {
    .header {
        padding: var(--space-sm) var(--space-md);
        flex-wrap: wrap;
    }
    
    .logo img {
        height: 40px;
    }
    
    .logo-svg-animation {
        height: 44px;
    }
    
    .logo-svg-text {
        font-size: 28px;
    }
    
    .header-controls {
        gap: var(--space-xs);
    }
    
    .wifi-connect-btn {
        font-size: 0.75rem;
        padding: 6px 10px;
    }
    
    .theme-toggle {
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }
    
    .lang-btn {
        padding: var(--space-xs) var(--space-sm);
        font-size: 0.7rem;
    }
    
    .hero {
        padding: var(--space-md);
        padding-top: calc(70px + var(--space-md));
    }
    
    .glass-container {
        padding: var(--space-xl) var(--space-lg);
        border-radius: var(--radius-lg);
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .tagline {
        font-size: 0.95rem;
        letter-spacing: 1px;
    }
    
    .main-nav {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-sm);
    }
    
    .nav-btn {
        padding: var(--space-md);
    }
    
    .nav-icon {
        font-size: 1.25rem;
    }
    
    .contact-section {
        padding: var(--space-2xl) var(--space-md);
    }
    
    .contact-grid {
        flex-direction: column;
        align-items: center;
    }
    
    .contact-btn {
        min-width: 200px;
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    
    .social-bar {
        bottom: var(--space-md);
        right: var(--space-md);
        flex-direction: row;
        gap: var(--space-sm);
    }
    
    .social-icon {
        width: 44px;
        height: 44px;
    }
    
    .modal {
        padding: var(--space-md);
    }
    
    .modal-content {
        padding: var(--space-lg);
        max-height: calc(100vh - 100px);
        overflow-y: auto;
    }
    
    .modal-close {
        position: fixed;
        top: var(--space-md);
        right: var(--space-md);
        z-index: 1600;
        width: 44px;
        height: 44px;
        background: rgba(0, 0, 0, 0.7);
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .service-card {
        padding: var(--space-lg);
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        justify-items: center;
    }
    
    .product-card {
        width: 100%;
        max-width: 280px;
    }
    
    /* Fix mini bar centering */
    #minibar-modal .modal-content {
        margin: 0 auto;
        left: 0;
        right: 0;
    }
    
    #minibar-modal .products-grid {
        padding: 0;
    }
    
    .lightbox-close,
    .lightbox-nav {
        width: 40px;
        height: 40px;
    }
    
    .lightbox-prev {
        left: var(--space-sm);
    }
    
    .lightbox-next {
        right: var(--space-sm);
    }
    
    #lightbox-image {
        max-width: 95%;
        max-height: 70vh;
    }
    
    .footer {
        padding: var(--space-xl) var(--space-md);
    }
    
    .footer p {
        font-size: 0.85rem;
    }
    
    .copyright {
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .header {
        padding: var(--space-xs) var(--space-sm);
    }
    
    .logo img {
        height: 35px;
    }
    
    .logo-svg-animation {
        height: 36px;
    }
    
    .logo-svg-text {
        font-size: 24px;
    }
    
    .language-switcher {
        gap: 2px;
    }
    
    .lang-btn {
        padding: 4px 8px;
        font-size: 0.65rem;
    }
    
    .hero {
        padding: var(--space-sm);
        padding-top: calc(60px + var(--space-sm));
    }
    
    .glass-container {
        padding: var(--space-lg) var(--space-md);
    }
    
    .hero h1 {
        font-size: 1.75rem;
    }
    
    .tagline {
        font-size: 0.85rem;
        margin-bottom: var(--space-lg);
    }
    
    .main-nav {
        grid-template-columns: 1fr;
        gap: var(--space-sm);
    }
    
    .nav-btn {
        flex-direction: row;
        padding: var(--space-md);
        font-size: 0.9rem;
    }
    
    .nav-icon {
        font-size: 1.1rem;
    }

    .rule-icon {
        font-size: 1.5em;
    }
    
    .modal {
        padding: var(--space-sm);
    }
    
    .modal-content {
        padding: var(--space-md);
        border-radius: var(--radius-md);
    }
    
    .modal-content h2 {
        font-size: 1.4rem;
    }
    
    .modal-close {
        top: var(--space-sm);
        right: var(--space-sm);
        width: 36px;
        height: 36px;
    }
    
    .modal-close svg {
        width: 20px;
        height: 20px;
    }
    
    .detail-content {
        padding: var(--space-md);
        font-size: 0.9rem;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-sm);
    }
    
    .gallery-grid img {
        aspect-ratio: 1;
    }
    
    .products-grid {
        gap: var(--space-md);
        padding: 0;
    }
    
    .product-card {
        flex: 0 1 100%;
        max-width: 100%;
    }
    
    .rules-list li {
        padding: var(--space-md);
    }
    
    .rule-icon {
        font-size: 1.25rem;
    }
    
    .social-bar {
        bottom: var(--space-sm);
        right: var(--space-sm);
    }
    
    .social-icon {
        width: 40px;
        height: 40px;
    }
    
    .social-icon svg {
        width: 18px;
        height: 18px;
    }
}

@media (max-width: 400px) {
    .header {
        gap: var(--space-xs);
    }
    
    .logo img {
        height: 30px;
    }
    
    .logo-svg-animation {
        height: 32px;
    }
    
    .logo-svg-text {
        font-size: 20px;
    }
    
    .header-controls {
        gap: 2px;
    }
    
    .wifi-connect-btn {
        font-size: 0.7rem;
        padding: 5px 8px;
    }
    
    .wifi-connect-btn .wifi-icon {
        display: none;
    }
    
    .theme-toggle {
        width: 28px;
        height: 28px;
        font-size: 0.9rem;
    }
    
    .lang-btn {
        padding: 3px 6px;
        font-size: 0.6rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .tagline {
        font-size: 0.9rem;
    }
    
    .contact-grid {
        flex-direction: column;
        align-items: center;
    }
}

/* ==================== SCROLLBAR ==================== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.3);
}

::-webkit-scrollbar-thumb {
    background: var(--color-primary);
    border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-primary-light);
}


/* ==================== REALTIME NOTIFICATION BANNER ==================== */
.hk-notification-banner {
    position: fixed;
    top: -150px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary));
    color: white;
    padding: 16px 20px;
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 40px rgba(46, 139, 87, 0.4);
    display: flex;
    align-items: center;
    gap: 16px;
    z-index: 9999;
    width: 90%;
    max-width: 400px;
    transition: top 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}
.hk-notification-banner.show {
    top: 24px;
}
.hk-banner-icon {
    font-size: 1.8rem;
    background: rgba(255, 255, 255, 0.2);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
}
.hk-banner-content {
    flex: 1;
}
.hk-banner-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 2px;
}
.hk-banner-text {
    font-size: 0.85rem;
    opacity: 0.9;
    line-height: 1.3;
}
.hk-banner-close {
    background: transparent;
    border: none;
    color: white;
    opacity: 0.7;
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    border-radius: 50%;
}
.hk-banner-close:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.2);
}

/* Completed (cleaning done) banner variant */
.hk-completed-banner {
    background: linear-gradient(135deg, #b8860b, #daa520);
    box-shadow: 0 10px 40px rgba(218, 165, 32, 0.4);
}

/* ==================== BOOKING SYSTEM ==================== */

/* Booking Confirm Modal */
.booking-confirm-glass {
    text-align: center;
    max-width: 420px;
    padding: var(--space-2xl) var(--space-xl);
}

.booking-confirm-icon {
    font-size: 3rem;
    margin-bottom: var(--space-md);
    animation: bounceIn 0.6s ease;
}

@keyframes bounceIn {
    0% { transform: scale(0); opacity: 0; }
    60% { transform: scale(1.15); opacity: 1; }
    100% { transform: scale(1); }
}

.booking-confirm-title {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: var(--space-sm);
    color: var(--color-text);
}

.booking-service-name {
    font-size: 1.1rem;
    color: var(--color-primary-light);
    font-weight: 600;
    margin-bottom: var(--space-xl);
}

.booking-confirm-buttons {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
}

.booking-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border: none;
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
    min-width: 130px;
    justify-content: center;
}

.booking-btn-yes {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
    color: white;
    box-shadow: 0 4px 16px rgba(46, 139, 87, 0.3);
}

.booking-btn-yes:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(46, 139, 87, 0.45);
}

.booking-btn-no {
    background: rgba(255, 255, 255, 0.08);
    color: var(--color-text-muted);
    border: 1px solid var(--color-glass-border);
}

.booking-btn-no:hover {
    background: rgba(231, 76, 60, 0.15);
    color: #e74c3c;
    border-color: rgba(231, 76, 60, 0.3);
}

/* Booking Form Modal */
.booking-form-glass {
    max-width: 460px;
    padding: var(--space-xl);
}

.booking-form-header {
    text-align: center;
    margin-bottom: var(--space-lg);
}

.booking-form-icon {
    font-size: 2.5rem;
    margin-bottom: var(--space-sm);
    animation: bounceIn 0.6s ease;
}

.booking-form-header h2 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 4px;
}

.booking-form-service-name {
    font-size: 1rem;
    color: var(--color-primary-light);
    font-weight: 600;
}

/* Booking Info Card */
.booking-info-card {
    background: rgba(46, 139, 87, 0.08);
    border: 1px solid rgba(46, 139, 87, 0.2);
    border-radius: var(--radius-md);
    padding: 14px 16px;
    margin-bottom: var(--space-lg);
}

.booking-info-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-primary-light);
    margin-bottom: 10px;
    letter-spacing: 0.3px;
}

.booking-info-steps {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.booking-info-step {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.82rem;
    color: var(--color-text-muted);
    line-height: 1.3;
}

.booking-step-num {
    width: 22px;
    height: 22px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 800;
    flex-shrink: 0;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.social-icon svg {
    width: 48px;
    height: 48px;
    transition: transform 0.3s ease;
}

.social-icon:hover {
    transform: scale(1.15);
}

.social-icon:hover svg {
    transform: scale(1.05);
}

.booking-form-body {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.booking-form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.booking-form-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-text-muted);
    letter-spacing: 0.3px;
}

/* Booking Hint */
.booking-form-hint {
    font-size: 0.78rem;
    color: var(--color-text-muted);
    text-align: center;
    opacity: 0.7;
    margin: 0;
    line-height: 1.4;
}

/* Date Input Styling */

.booking-date-input {
    color-scheme: dark;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--color-glass-border);
    color: var(--color-text);
    padding: 12px 16px;
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all var(--transition-normal);
}

.booking-date-input:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(46, 139, 87, 0.15);
    outline: none;
}

[data-theme="light"] .booking-date-input {
    color-scheme: light;
    background: rgba(0, 0, 0, 0.04);
}

/* Time Picker */
.time-picker-card {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--color-glass-border);
    border-radius: var(--radius-md);
    padding: 10px 12px;
}

.time-picker-slot {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.time-picker-label {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--color-primary-light);
}

.time-picker-input {
    width: 100%;
    padding: 10px 8px;
    border-radius: 8px;
    border: 1px solid var(--color-glass-border);
    background: rgba(0, 0, 0, 0.4);
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 600;
    text-align: center;
    outline: none;
    transition: all 0.25s ease;
    color-scheme: dark;
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
}

.time-picker-input:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(46, 139, 87, 0.15);
}

[data-theme="light"] .time-picker-input {
    color-scheme: light;
    background: rgba(0, 0, 0, 0.04);
}

/* ==================== Flatpickr Premium Theme — Garden Inn ==================== */

/* Reset ALL Flatpickr default backgrounds/colors */
.flatpickr-calendar,
.flatpickr-calendar *,
.flatpickr-calendar *::before,
.flatpickr-calendar *::after {
    box-sizing: border-box;
}

/* Calendar container */
.flatpickr-calendar {
    background: #1a1f1a !important;
    border: 1px solid rgba(46, 139, 87, 0.3) !important;
    box-shadow: 0 16px 48px rgba(0,0,0,0.6), 0 0 0 1px rgba(46,139,87,0.1) !important;
    border-radius: 14px !important;
    font-family: var(--font-body) !important;
    padding: 10px 14px !important;
    overflow: hidden !important;
    min-width: 300px !important;
}

.flatpickr-calendar::before,
.flatpickr-calendar::after {
    display: none !important;
}

.flatpickr-calendar.hasTime.noCalendar {
    width: 160px !important;
    min-width: 160px !important;
}

.flatpickr-innerContainer {
    background: transparent !important;
    border: none !important;
}

.flatpickr-rContainer {
    background: transparent !important;
}

.dayContainer {
    background: transparent !important;
    min-width: 100% !important;
    max-width: 100% !important;
}

[data-theme="light"] .flatpickr-calendar {
    background: #f5f8f5 !important;
    border: 1px solid rgba(46, 139, 87, 0.2) !important;
    box-shadow: 0 16px 48px rgba(0,0,0,0.12) !important;
}

/* ---- Month navigation header ---- */
.flatpickr-months {
    background: transparent !important;
    margin-bottom: 6px;
    position: relative;
    height: 44px !important;
    align-items: center;
}

.flatpickr-months .flatpickr-month {
    background: transparent !important;
    color: #fff !important;
    fill: #fff !important;
    height: 44px !important;
}

[data-theme="light"] .flatpickr-months .flatpickr-month {
    color: #1a3a2a !important;
    fill: #1a3a2a !important;
}

.flatpickr-current-month {
    font-size: 1rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.3px;
    padding: 8px 0 0 0 !important;
    color: #fff !important;
}

[data-theme="light"] .flatpickr-current-month {
    color: #1a3a2a !important;
}

.flatpickr-current-month .flatpickr-monthDropdown-months {
    appearance: none !important;
    -webkit-appearance: none !important;
    background: transparent !important;
    border: none !important;
    padding: 2px 4px !important;
    font-family: var(--font-body) !important;
    font-weight: 700 !important;
    color: #fff !important;
    font-size: 1rem !important;
}

[data-theme="light"] .flatpickr-current-month .flatpickr-monthDropdown-months {
    color: #1a3a2a !important;
}

.flatpickr-current-month .flatpickr-monthDropdown-months option {
    background: #1a1f1a !important;
    color: #fff !important;
}

[data-theme="light"] .flatpickr-current-month .flatpickr-monthDropdown-months option {
    background: #f5f8f5 !important;
    color: #1a3a2a !important;
}

.flatpickr-current-month input.cur-year {
    font-weight: 700 !important;
    font-size: 1rem !important;
    color: #fff !important;
    background: transparent !important;
}

[data-theme="light"] .flatpickr-current-month input.cur-year {
    color: #1a3a2a !important;
}

/* Prev / Next month arrows — FIXED visibility */
.flatpickr-months .flatpickr-prev-month,
.flatpickr-months .flatpickr-next-month {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    padding: 8px !important;
    border-radius: 8px !important;
    z-index: 10 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 32px !important;
    width: 32px !important;
    transition: background 0.2s ease !important;
}

.flatpickr-months .flatpickr-prev-month {
    left: 6px !important;
}

.flatpickr-months .flatpickr-next-month {
    right: 6px !important;
}

.flatpickr-months .flatpickr-prev-month svg,
.flatpickr-months .flatpickr-next-month svg {
    fill: rgba(255,255,255,0.7) !important;
    width: 14px !important;
    height: 14px !important;
}

.flatpickr-months .flatpickr-prev-month:hover,
.flatpickr-months .flatpickr-next-month:hover {
    background: rgba(46,139,87,0.3) !important;
}

.flatpickr-months .flatpickr-prev-month:hover svg,
.flatpickr-months .flatpickr-next-month:hover svg {
    fill: #fff !important;
}

[data-theme="light"] .flatpickr-months .flatpickr-prev-month svg,
[data-theme="light"] .flatpickr-months .flatpickr-next-month svg {
    fill: rgba(0,0,0,0.5) !important;
}

[data-theme="light"] .flatpickr-months .flatpickr-prev-month:hover,
[data-theme="light"] .flatpickr-months .flatpickr-next-month:hover {
    background: rgba(46,139,87,0.1) !important;
}

[data-theme="light"] .flatpickr-months .flatpickr-prev-month:hover svg,
[data-theme="light"] .flatpickr-months .flatpickr-next-month:hover svg {
    fill: #1a3a2a !important;
}

/* ---- Weekdays ---- */
.flatpickr-weekdays {
    background: transparent !important;
    margin-bottom: 4px;
}

.flatpickr-weekdaycontainer {
    background: transparent !important;
}

span.flatpickr-weekday {
    color: var(--color-primary-light) !important;
    background: transparent !important;
    font-size: 0.6rem !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 0px;
}

[data-theme="light"] span.flatpickr-weekday {
    color: var(--color-primary-dark) !important;
}

/* ---- Day cells ---- */
.flatpickr-day {
    color: rgba(255,255,255,0.85) !important;
    background: transparent !important;
    border-radius: 8px !important;
    font-weight: 500 !important;
    font-size: 0.85rem !important;
    max-width: 38px !important;
    height: 36px !important;
    line-height: 36px !important;
    border: 2px solid transparent !important;
    transition: all 0.15s ease !important;
}

[data-theme="light"] .flatpickr-day {
    color: #2a4a3a !important;
}

.flatpickr-day:hover {
    background: rgba(46,139,87,0.2) !important;
    border-color: rgba(46,139,87,0.3) !important;
}

[data-theme="light"] .flatpickr-day:hover {
    background: rgba(46,139,87,0.1) !important;
}

.flatpickr-day.today {
    border-color: var(--color-primary-light) !important;
    color: var(--color-primary-light) !important;
    font-weight: 700 !important;
    background: transparent !important;
}

[data-theme="light"] .flatpickr-day.today {
    border-color: var(--color-primary) !important;
    color: var(--color-primary) !important;
}

/* Selected */
.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange,
.flatpickr-day.selected.inRange,
.flatpickr-day.selected:focus,
.flatpickr-day.selected:hover,
.flatpickr-day.startRange:hover,
.flatpickr-day.endRange:hover {
    background: linear-gradient(135deg, #2E8B57, #3CB371) !important;
    border-color: transparent !important;
    color: #fff !important;
    box-shadow: 0 3px 10px rgba(46,139,87,0.4) !important;
    font-weight: 700 !important;
}

/* Disabled / other-month */
.flatpickr-day.flatpickr-disabled,
.flatpickr-day.flatpickr-disabled:hover,
.flatpickr-day.prevMonthDay,
.flatpickr-day.nextMonthDay,
.flatpickr-day.prevMonthDay:hover,
.flatpickr-day.nextMonthDay:hover {
    color: rgba(255,255,255,0.15) !important;
    background: transparent !important;
    border-color: transparent !important;
}

[data-theme="light"] .flatpickr-day.flatpickr-disabled,
[data-theme="light"] .flatpickr-day.prevMonthDay,
[data-theme="light"] .flatpickr-day.nextMonthDay {
    color: rgba(0,0,0,0.15) !important;
}

/* ---- Time picker ---- */
.flatpickr-time {
    background: transparent !important;
    border: none !important;
    border-top: 1px solid rgba(46,139,87,0.2) !important;
    margin-top: 6px;
    padding-top: 8px !important;
    max-height: 50px !important;
}

.flatpickr-time .numInputWrapper {
    background: transparent !important;
    border: none !important;
}

.flatpickr-time input {
    color: #fff !important;
    font-weight: 700 !important;
    font-size: 1.15rem !important;
    background: transparent !important;
    border: none !important;
    border-radius: 6px;
}

[data-theme="light"] .flatpickr-time input {
    color: #1a3a2a !important;
}

.flatpickr-time input:hover,
.flatpickr-time input:focus {
    background: rgba(46,139,87,0.15) !important;
}

[data-theme="light"] .flatpickr-time input:hover,
[data-theme="light"] .flatpickr-time input:focus {
    background: rgba(46,139,87,0.08) !important;
}

.flatpickr-time .flatpickr-time-separator {
    color: var(--color-primary-light) !important;
    font-weight: 700 !important;
    font-size: 1.15rem !important;
    background: transparent !important;
}

.flatpickr-time .flatpickr-am-pm {
    color: var(--color-primary-light) !important;
    font-weight: 700 !important;
    background: transparent !important;
}

.flatpickr-time .flatpickr-am-pm:hover,
.flatpickr-time .flatpickr-am-pm:focus {
    background: rgba(46,139,87,0.15) !important;
    border-radius: 6px;
}

/* Num-input arrows */
.numInputWrapper span {
    border: none !important;
    background: transparent !important;
}

.numInputWrapper span:hover {
    background: rgba(46,139,87,0.15) !important;
}

.numInputWrapper span::after {
    border-bottom-color: var(--color-primary-light) !important;
    border-top-color: var(--color-primary-light) !important;
}

.numInputWrapper:hover {
    background: rgba(46,139,87,0.08) !important;
    border-radius: 6px;
}

[data-theme="light"] .numInputWrapper:hover {
    background: rgba(46,139,87,0.05) !important;
}

/* ---- Mobile Responsiveness ---- */
@media (max-width: 420px) {
    .flatpickr-calendar {
        width: calc(100vw - 40px) !important;
        left: 20px !important;
        right: 20px !important;
        padding: 8px 10px !important;
    }

    .flatpickr-day {
        max-width: 34px !important;
        height: 34px !important;
        line-height: 34px !important;
        font-size: 0.82rem !important;
    }

    .flatpickr-current-month {
        font-size: 0.92rem !important;
    }

    .time-picker-card {
        flex-direction: row;
        gap: 6px;
    }

    .time-picker-input {
        font-size: 1rem;
        padding: 8px 6px;
    }
}
/* ==================== End Flatpickr Theme ==================== */

.time-picker-divider {
    color: var(--color-primary);
    display: flex;
    align-items: center;
    padding-top: 16px;
    opacity: 0.6;
}

[data-theme="light"] .booking-info-card {
    background: rgba(46, 139, 87, 0.06);
    border-color: rgba(46, 139, 87, 0.15);
}

/* Loading State */
.hk-submit-btn.loading {
    opacity: 0.7;
    pointer-events: none;
    position: relative;
}

.hk-submit-btn.loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    right: 16px;
    top: 50%;
    margin-top: -10px;
}

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

/* Booking Toast Notifications */
.booking-toast {
    position: fixed;
    top: -120px;
    left: 50%;
    transform: translateX(-50%);
    max-width: 420px;
    width: 92%;
    padding: 16px 20px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: flex-start;
    gap: 12px;
    z-index: 99999;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.4);
    transition: top 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.booking-toast.show {
    top: 24px;
}

.booking-toast.approved {
    background: linear-gradient(135deg, rgba(46, 139, 87, 0.9), rgba(60, 179, 113, 0.9));
    border: 1px solid rgba(74, 222, 128, 0.4);
    color: white;
}

.booking-toast.rejected {
    background: linear-gradient(135deg, rgba(231, 76, 60, 0.9), rgba(192, 57, 43, 0.9));
    border: 1px solid rgba(248, 113, 113, 0.4);
    color: white;
}

.booking-toast-content {
    flex: 1;
}

.booking-toast-title {
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 2px;
}

.booking-toast-message {
    font-size: 0.85rem;
    opacity: 0.9;
    line-height: 1.4;
}

.booking-toast-close {
    background: transparent;
    border: none;
    color: white;
    opacity: 0.7;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    border-radius: 50%;
    flex-shrink: 0;
}

.booking-toast-close:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.2);
}

/* Booking Confirm & Form Modal z-index */
#booking-confirm-modal.active,
#booking-form-modal.active {
    z-index: 1700 !important;
}

/* Status badge for paid services - booking indicator */
.service-card {
    position: relative;
}

.service-card[data-is-paid="true"]::after {
    content: '📅';
    position: absolute;
    top: 8px;
    right: 8px;
    font-size: 1.1rem;
    opacity: 0.7;
}

/* ==================== ROOM AUTH ==================== */

/* Room Badge */
.room-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: linear-gradient(135deg, rgba(46, 139, 87, 0.25), rgba(60, 179, 113, 0.15));
    border: 1px solid rgba(76, 175, 80, 0.3);
    color: var(--color-primary-light);
    font-size: 0.78rem;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 20px;
    letter-spacing: 0.5px;
    backdrop-filter: blur(8px);
    white-space: nowrap;
}

/* Login Overlay */
.room-login-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(12px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 20px;
}

.room-login-overlay.active {
    display: flex;
}

.room-login-card {
    background: var(--color-glass);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 48px 36px;
    max-width: 380px;
    width: 100%;
    text-align: center;
    backdrop-filter: blur(20px);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.4);
    animation: modalPopIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.room-login-icon {
    font-size: 3rem;
    margin-bottom: 16px;
}

.room-login-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--color-text);
    margin: 0 0 8px;
}

.room-login-subtitle {
    color: var(--color-text-secondary);
    font-size: 0.9rem;
    margin: 0 0 28px;
}

.room-login-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.room-login-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    text-align: left;
}

.room-login-label {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--color-primary-light);
    font-weight: 600;
    padding-left: 4px;
}

.room-login-input {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    color: var(--color-text);
    font-size: 1.2rem;
    font-weight: 600;
    padding: 14px 18px;
    text-align: center;
    outline: none;
    transition: border-color 0.3s, box-shadow 0.3s;
    width: 100%;
    font-family: 'Inter', 'Montserrat', sans-serif;
    -moz-appearance: textfield;
    appearance: textfield;
}

.room-login-input::-webkit-inner-spin-button,
.room-login-input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    appearance: none;
    margin: 0;
}

.room-login-input:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.2), 0 0 20px rgba(76, 175, 80, 0.1);
}

.room-login-btn {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
    color: white;
    border: none;
    border-radius: 14px;
    padding: 14px 24px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.room-login-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(46, 139, 87, 0.3);
}

.room-login-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.room-login-error {
    color: #ef5350;
    font-size: 0.85rem;
    font-weight: 500;
    text-align: center;
    padding: 8px;
    border-radius: 8px;
    background: rgba(239, 83, 80, 0.1);
}

.room-login-hint {
    color: var(--color-text-secondary);
    font-size: 0.78rem;
    margin: 20px 0 0;
    opacity: 0.6;
}

.room-login-spinner {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

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

/* Light theme overrides */
[data-theme="light"] .room-login-card {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .room-login-input {
    background: rgba(0, 0, 0, 0.04);
    border-color: rgba(0, 0, 0, 0.12);
    color: #333;
}

[data-theme="light"] .room-badge {
    background: linear-gradient(135deg, rgba(46, 139, 87, 0.12), rgba(60, 179, 113, 0.08));
    color: var(--color-primary-dark);
}

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



.hot-deals-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.hot-deal-card {
    background: rgba(30, 39, 46, 0.7);
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255,255,255,0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.hot-deal-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
    border-color: rgba(231, 76, 60, 0.4);
}

.hot-deal-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(255, 71, 87, 0.85); /* Slightly transparent red */
    color: white;
    font-size: 11px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
    z-index: 2;
}

.hot-deal-image-wrapper {
    position: relative;
    overflow: hidden;
    height: 160px;
    border-radius: 12px 12px 0 0;
    padding: 0 !important; /* Force override of .product-image padding */
}

.hot-deal-image {
    width: 100%;
    height: 100%;
    object-fit: cover !important;
    background: #2f3640;
    transition: transform var(--transition-normal);
    padding: 0 !important;
    margin: 0 !important;
}



.hot-deal-card:hover .hot-deal-image {
    transform: scale(1.05);
}

.hot-deal-card:hover .product-overlay {
    opacity: 1;
}

.hot-deal-content {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex-grow: 1;
}

.hot-deal-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
}

.hot-deal-desc {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    line-height: 1.4;
    margin: 0;
}

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

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

.hot-deal-old-price {
    font-size: 0.8rem;
    color: #7f8fa6;
    text-decoration: line-through;
}

.hot-deal-new-price {
    font-size: 1.2rem;
    font-weight: 800;
    color: #ff4757;
}

.hot-deal-free {
    font-size: 1.1rem;
    font-weight: 800;
    color: #fbc531;
}

[data-theme="light"] .hot-deal-card {
    background: rgba(255,255,255,0.9);
    border-color: rgba(0,0,0,0.08);
}

[data-theme="light"] .hot-deal-title {
    color: #2f3542;
}

[data-theme="light"] .hot-deal-desc {
    color: #57606f;
}

[data-theme="light"] .hot-deal-footer {
    border-color: rgba(0,0,0,0.05);
}

/* 🔥 Hot Deals Fire Effect Button */
.hot-deal-btn {
    background: linear-gradient(135deg, #ff4757, #ff6b81) !important;
    color: white !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    position: relative;
    overflow: hidden;
}

.hot-deal-btn::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: inherit;
    box-shadow: 0 0 20px rgba(255, 71, 87, 0.8);
    animation: hotDealPulse 1.5s infinite alternate;
    pointer-events: none;
}

@keyframes hotDealPulse {
    0% { opacity: 0.5; transform: scale(0.95); }
    100% { opacity: 1; transform: scale(1.05); }
}

.hot-deal-btn:hover {
    background: linear-gradient(135deg, #ff6b81, #ff4757) !important;
    transform: translateY(-2px) scale(1.02) !important;
}
