/* ==========================================================================
   TAXI LANKA - ROYAL MIDNIGHT & CHAMPAGNE GOLD LUXURY DESIGN SYSTEM
   Featuring: Deep Cosmic Obsidian, Imperial Champagne Gold, Aurora Cyan Glow,
   Solar Amber Triggers & Multilingual AI Travel Concierge
   ========================================================================== */

:root {
    /* Cosmic Midnight & Velvet Obsidian Surfaces */
    --bg-midnight:      #050811;
    --bg-dark:          #070C18;
    --bg-surface:       #0C1324;
    --bg-surface-elev:  #111A30;
    --bg-card:          #111A2E;
    --bg-card-hover:    #16233E;
    --bg-card-glass:    rgba(11, 18, 35, 0.88);
    --bg-glass-strong:  rgba(7, 12, 24, 0.94);

    /* Imperial Champagne Gold Palette */
    --gold-primary:     #D4AF37;
    --gold-bright:      #F5D77F;
    --gold-light:       #ECC265;
    --gold-dark:        #A8842E;
    --gold-badge:       rgba(212, 175, 55, 0.14);
    --gold-border:      rgba(212, 175, 55, 0.32);
    --gold-glow:        rgba(212, 175, 55, 0.45);
    --gold-gradient:    linear-gradient(135deg, #F5D77F 0%, #D4AF37 50%, #A8842E 100%);
    --gold-gradient-subtle: linear-gradient(135deg, rgba(245, 215, 127, 0.18) 0%, rgba(212, 175, 55, 0.08) 100%);

    /* Aurora Cyan & Electric Turquoise Accents */
    --cyan-accent:      #00F2FE;
    --cyan-light:       #38BDF8;
    --cyan-medium:      #0EA5E9;
    --cyan-dark:        #0284C7;
    --cyan-glow:        rgba(0, 242, 254, 0.38);
    --cyan-gradient:    linear-gradient(135deg, #00F2FE 0%, #4FACFE 100%);

    /* Solar Radiant Gold & Champagne Accents (Replaced Orange for Harmony) */
    --cinnamon-primary: #D4AF37;
    --cinnamon-hover:   #F5D77F;
    --cinnamon-deep:    #A8842E;
    --cinnamon-glow:    rgba(212, 175, 55, 0.45);
    --cinnamon-gradient: linear-gradient(135deg, #F5D77F 0%, #D4AF37 55%, #A8842E 100%);

    /* Emerald WhatsApp & Verification */
    --emerald-green:    #10B981;
    --emerald-bright:   #25D366;
    --emerald-dark:     #059669;
    --emerald-glow:     rgba(37, 211, 102, 0.4);
    --emerald-gradient: linear-gradient(135deg, #25D366 0%, #10B981 100%);

    /* Typography & Text Tones */
    --text-white:       #FFFFFF;
    --text-pearl:       #F8FAFC;
    --text-sand:        #F1F5F9;
    --text-muted:       #94A3B8;
    --text-dim:         #64748B;
    --text-ink:         #0F172A;

    /* Theme Legacy Aliases for Seamless Backward Compatibility */
    --ct-teal-darkest:  var(--bg-midnight);
    --ct-teal-darker:   var(--bg-dark);
    --ct-teal-dark:     var(--bg-surface);
    --ct-teal:          var(--bg-card);
    --ct-teal-medium:   var(--bg-surface-elev);
    --ct-teal-glow:     var(--cyan-glow);

    --ct-paper:         #FFFFFF;
    --ct-sand:          var(--text-sand);
    --ct-cream-border:  rgba(212, 175, 55, 0.25);

    --ct-cinnamon:      var(--cinnamon-primary);
    --ct-cinnamon-deep: var(--cinnamon-deep);
    --ct-cinnamon-glow: var(--cinnamon-glow);
    --ct-cinnamon-gradient: var(--cinnamon-gradient);

    --ct-gold:          var(--gold-primary);
    --ct-gold-light:    var(--gold-bright);
    --ct-gold-bright:   var(--gold-bright);
    --ct-gold-dark:     var(--gold-dark);
    --ct-gold-border:   var(--gold-border);

    --ct-wa-green:      var(--emerald-bright);
    --ct-wa-dark:       var(--emerald-dark);
    --ct-wa-gradient:   var(--emerald-gradient);
    --ct-wa-glow:       var(--emerald-glow);

    --text-main:        var(--text-white);
    --accent-glow:      var(--cinnamon-glow);
    --border-color:     var(--gold-border);
    --border-bright:    var(--cyan-glow);

    --gold-500:         var(--gold-primary);
    --purple-500:       var(--cinnamon-primary);
    --purple-800:       var(--bg-surface);
    --purple-900:       var(--bg-dark);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: var(--bg-midnight);
    color: var(--text-pearl);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
    background-image: 
        radial-gradient(circle at 10% 12%, rgba(0, 242, 254, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 90% 45%, rgba(212, 175, 55, 0.07) 0%, transparent 45%),
        radial-gradient(circle at 50% 85%, rgba(255, 107, 0, 0.05) 0%, transparent 50%);
    background-attachment: fixed;
}

/* ==========================================================================
   TYPOGRAPHY & BRAND BADGES
   ========================================================================== */

h1, h2, h3, .brand-heading, .font-serif-heading {
    font-family: 'Fraunces', 'Outfit', serif;
    letter-spacing: -0.018em;
    color: var(--text-white);
}

.font-mono-accent {
    font-family: 'IBM Plex Mono', monospace;
}

/* Luxury Eyebrow Pill with Gold Rule Accents */
.ct-eyebrow, .ths-eyebrow, .tobook-eyebrow, .badge-outline-purple, .badge-outline-gold {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold-bright) !important;
    background: var(--gold-badge);
    border: 1px solid var(--gold-border);
    padding: 0.38rem 0.95rem;
    border-radius: 50px;
    margin-bottom: 0.85rem;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(8px);
}

.ct-eyebrow-divider {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--gold-bright);
}

.ct-eyebrow-divider::before,
.ct-eyebrow-divider::after {
    content: "";
    width: 26px;
    height: 1px;
    background: var(--gold-primary);
    display: inline-block;
}

/* Text Highlights */
.text-gold {
    color: var(--gold-bright) !important;
}

.text-cyan {
    color: var(--cyan-accent) !important;
}

.text-cinnamon {
    color: var(--cinnamon-primary) !important;
}

.text-purple-glow {
    color: var(--gold-bright) !important;
    text-shadow: 0 0 16px rgba(212, 175, 55, 0.5);
}

/* ==========================================================================
   BUTTONS: LUXURY GOLD, SOLAR AMBER, CYAN, & EMERALD
   ========================================================================== */

.btn-3d, .btn-custom, .catb-btn-next {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    padding: 0.75rem 1.6rem;
    font-size: 0.92rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    border: 1px solid transparent;
    outline: none;
    border-radius: 12px;
    text-align: center;
    position: relative;
    user-select: none;
    transition: all 0.22s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* Imperial Champagne Gold Primary Button */
.btn-3d-purple, .btn-3d-gold, .btn-gold, .btn-cinnamon, .catb-btn-next {
    background: var(--cinnamon-gradient) !important;
    color: #050811 !important;
    font-weight: 800 !important;
    border: 1.5px solid #FFF1B8 !important;
    box-shadow: 0 4px 18px var(--cinnamon-glow), inset 0 1px 1px rgba(255, 255, 255, 0.6) !important;
    text-shadow: none;
}

.btn-3d-purple:hover, .btn-3d-gold:hover, .btn-gold:hover, .btn-cinnamon:hover, .catb-btn-next:hover {
    background: linear-gradient(135deg, #FFF0B3 0%, #F5D77F 50%, #C49830 100%) !important;
    border-color: #FFFFFF !important;
    box-shadow: 0 8px 28px rgba(212, 175, 55, 0.65), 0 0 18px rgba(0, 242, 254, 0.35) !important;
    color: #050811 !important;
    transform: translateY(-2px);
}

.btn-3d-purple:active, .btn-3d-purple.active {
    background: #A8842E !important;
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.5) !important;
    transform: translateY(0);
}

/* WhatsApp & Emerald Button */
.btn-3d-green, .ths-whatsapp {
    background: var(--emerald-gradient) !important;
    color: #FFFFFF !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    box-shadow: 0 4px 18px var(--emerald-glow) !important;
    font-weight: 700 !important;
}

.btn-3d-green:hover, .ths-whatsapp:hover {
    background: linear-gradient(135deg, #2EE871 0%, #12BA84 100%) !important;
    border-color: rgba(255, 255, 255, 0.5) !important;
    box-shadow: 0 8px 26px var(--emerald-glow), 0 0 16px rgba(37, 211, 102, 0.35) !important;
    color: #FFFFFF !important;
    transform: translateY(-2px);
}

/* Royal Champagne Gold Button */
.btn-3d-amber {
    background: var(--gold-gradient) !important;
    color: #060913 !important;
    font-weight: 800 !important;
    border: 1px solid #FFF1B8 !important;
    box-shadow: 0 4px 18px var(--gold-glow) !important;
}

.btn-3d-amber:hover {
    background: linear-gradient(135deg, #FFF0B3 0%, #D4AF37 100%) !important;
    box-shadow: 0 8px 26px var(--gold-glow), 0 0 18px rgba(212, 175, 55, 0.45) !important;
    color: #000000 !important;
    transform: translateY(-2px);
}

/* Deep Obsidian Glass Secondary Button */
.btn-3d-dark, .catb-btn-back {
    background: linear-gradient(135deg, rgba(17, 26, 46, 0.95) 0%, rgba(10, 16, 29, 0.95) 100%) !important;
    color: var(--text-pearl) !important;
    border: 1px solid var(--gold-border) !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35) !important;
}

.btn-3d-dark:hover, .catb-btn-back:hover {
    background: linear-gradient(135deg, rgba(23, 35, 62, 0.98) 0%, rgba(17, 26, 46, 0.98) 100%) !important;
    border-color: var(--gold-bright) !important;
    color: #FFFFFF !important;
    box-shadow: 0 6px 22px rgba(212, 175, 55, 0.25) !important;
    transform: translateY(-2px);
}

/* Aurora Cyan Button */
.btn-3d-cyan {
    background: var(--cyan-gradient) !important;
    color: #050811 !important;
    font-weight: 800 !important;
    border: 1px solid #E0F2FE !important;
    box-shadow: 0 4px 20px var(--cyan-glow) !important;
}

.btn-3d-cyan:hover {
    box-shadow: 0 8px 28px var(--cyan-glow), 0 0 20px rgba(0, 242, 254, 0.5) !important;
    transform: translateY(-2px);
    color: #000000 !important;
}

/* Button Sizing */
.btn-3d-lg {
    padding: 0.95rem 2rem;
    font-size: 1.05rem;
    border-radius: 14px;
}

.btn-3d-sm {
    padding: 0.45rem 1.05rem;
    font-size: 0.84rem;
    border-radius: 9px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25) !important;
}

.btn-3d-block {
    width: 100%;
}

/* ==========================================================================
   GLASSMORPHISM CARDS & CONTAINERS
   ========================================================================== */

.glass-card {
    background: var(--bg-card-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--gold-border);
    border-radius: 20px;
    padding: 1.85rem;
    box-shadow: 0 16px 45px rgba(0, 0, 0, 0.55), 0 0 1px rgba(255, 255, 255, 0.08);
    transition: all 0.28s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.glass-card:hover {
    border-color: rgba(212, 175, 55, 0.5);
    box-shadow: 0 22px 55px rgba(0, 0, 0, 0.7), 0 0 22px rgba(212, 175, 55, 0.15);
}

.glass-card-glow {
    position: relative;
}

.glass-card-glow::before {
    content: '';
    position: absolute;
    inset: -1px;
    background: linear-gradient(135deg, var(--gold-glow), var(--cyan-glow) 40%, transparent 75%);
    border-radius: 21px;
    z-index: -1;
    pointer-events: none;
}

/* Paper Card for Light Highlights */
.paper-card {
    background: #FFFFFF;
    color: var(--text-ink);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* ==========================================================================
   VEHICLE CARDS (PHOTO BOXES, CAPACITY BADGES & PRICE CALLOUTS)
   ========================================================================== */

.vehicle-card {
    position: relative;
    background: linear-gradient(145deg, rgba(17, 26, 46, 0.95), rgba(10, 16, 29, 0.95));
    border: 1.5px solid var(--gold-border);
    border-radius: 18px;
    padding: 1.25rem;
    cursor: pointer;
    transition: all 0.24s cubic-bezier(0.2, 0.8, 0.2, 1);
    user-select: none;
    overflow: hidden;
}

.vehicle-card:hover {
    border-color: var(--cyan-accent);
    background: linear-gradient(145deg, rgba(23, 35, 62, 0.98), rgba(15, 23, 40, 0.98));
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6), 0 0 22px rgba(0, 242, 254, 0.25);
}

.vehicle-card.selected {
    border-color: var(--gold-bright) !important;
    background: linear-gradient(145deg, rgba(212, 175, 55, 0.16), rgba(17, 26, 46, 0.98)) !important;
    box-shadow: 0 0 0 1px var(--gold-bright), 0 16px 40px rgba(212, 175, 55, 0.35) !important;
    transform: translateY(-3px);
}

.vehicle-card .check-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1.5px solid rgba(255, 255, 255, 0.25);
    color: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    transition: all 0.2s ease;
}

.vehicle-card.selected .check-badge {
    background: var(--gold-gradient);
    border-color: #FFFFFF;
    color: #060913;
    box-shadow: 0 0 14px var(--gold-glow);
}

.vehicle-photo-box {
    width: 100%;
    aspect-ratio: 16/10;
    border-radius: 14px;
    background: #082423;
    border: 1px solid rgba(212, 175, 55, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 0.85rem;
    position: relative;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.25);
}

.vehicle-photo-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    padding: 0;
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-card:hover .vehicle-photo-box img,
.vehicle-card:hover .vehicle-photo-box img {
    transform: scale(1.06);
}

.vehicle-price-tag {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--gold-bright) !important;
}

/* ==========================================================================
   FORM CONTROLS & INPUTS
   ========================================================================== */

.form-control-dark {
    width: 100%;
    background-color: var(--bg-surface) !important;
    border: 1.5px solid var(--gold-border) !important;
    border-radius: 12px;
    padding: 0.78rem 1.1rem;
    color: #FFFFFF !important;
    font-size: 0.93rem;
    font-family: inherit;
    transition: all 0.2s ease;
    outline: none;
    color-scheme: dark;
}

select.form-control-dark,
.form-select.form-control-dark {
    background-color: var(--bg-surface) !important;
    color: #FFFFFF !important;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23D4AF37' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e") !important;
    background-repeat: no-repeat !important;
    background-position: right 0.95rem center !important;
    background-size: 14px 10px !important;
    padding-right: 2.3rem !important;
}

select.form-control-dark option,
.form-select.form-control-dark option {
    background-color: #0C1324 !important;
    color: #FFFFFF !important;
    padding: 10px 12px;
}

.form-control-dark:focus,
select.form-control-dark:focus,
.form-select.form-control-dark:focus {
    border-color: var(--cyan-accent) !important;
    background-color: #111A30 !important;
    color: #FFFFFF !important;
    box-shadow: 0 0 0 3px rgba(0, 242, 254, 0.25) !important;
}

.form-control-dark::placeholder {
    color: var(--text-dim) !important;
}

.form-label-dark {
    display: block;
    font-size: 0.84rem;
    font-weight: 700;
    color: var(--text-pearl);
    margin-bottom: 0.45rem;
    letter-spacing: 0.02em;
}

.input-icon-group {
    position: relative;
}

.input-icon-group i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gold-bright);
    pointer-events: none;
    font-size: 0.98rem;
}

.input-icon-group .form-control-dark {
    padding-left: 2.85rem;
}

/* Toggle Switch Group */
.toggle-switch-group {
    display: flex;
    background: var(--bg-surface);
    border: 1.5px solid var(--gold-border);
    border-radius: 12px;
    padding: 4px;
    position: relative;
}

.toggle-option {
    flex: 1;
    text-align: center;
    padding: 0.65rem 0.5rem;
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--text-muted);
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.2s ease;
    user-select: none;
}

.toggle-option.active {
    background: var(--cinnamon-gradient);
    color: #FFFFFF;
    font-weight: 800;
    box-shadow: 0 4px 14px var(--cinnamon-glow);
}

/* ==========================================================================
   NAVIGATION & HEADER (TLKA Luxury White Horizontal Menu as shown in reference)
   ========================================================================== */

.site-navbar,
.tlka-site-navbar {
    background: #FFFFFF !important;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08) !important;
    position: sticky;
    top: 0;
    z-index: 1040;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.tlka-brand-logo,
.brand-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    line-height: 1;
}

.tlka-logo-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1;
    padding: 0.2rem 0;
}

.tlka-crown-icon {
    color: #D4AF37 !important;
    font-size: 0.95rem;
    line-height: 1;
    margin-bottom: 3px;
    filter: drop-shadow(0 1px 2px rgba(212, 175, 55, 0.5));
}

.tlka-brand-name {
    font-family: 'Fraunces', 'Cinzel', Georgia, 'Times New Roman', serif;
    font-size: 1.7rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: #0F172A !important;
    line-height: 1;
    text-transform: uppercase;
}

.brand-icon {
    width: 44px;
    height: 44px;
    background: var(--gold-gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #060913;
    font-size: 1.25rem;
    box-shadow: 0 4px 18px var(--gold-glow);
    border: 1px solid #FFF1B8;
}

.brand-title {
    font-family: 'Fraunces', 'Outfit', serif;
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    color: #0F172A;
}

/* Horizontal Nav List & Links */
.tlka-nav-list {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 1.75rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.tlka-nav-link {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: #1E293B !important;
    text-decoration: none;
    padding: 0.5rem 0.2rem;
    position: relative;
    transition: color 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    white-space: nowrap;
    letter-spacing: -0.01em;
}

.tlka-nav-link:hover {
    color: #B8860B !important;
}

.tlka-nav-link::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0%;
    height: 2.5px;
    background: linear-gradient(90deg, #D4AF37, #ECC265);
    transition: width 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
    border-radius: 2px;
}

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

.tlka-nav-link.active {
    color: #B8860B !important;
    font-weight: 700;
}

.tlka-dropdown-arrow {
    font-size: 0.62rem;
    transition: transform 0.2s ease;
    opacity: 0.65;
    color: #64748B;
}

.tlka-nav-item:hover .tlka-dropdown-arrow {
    transform: rotate(180deg);
    opacity: 1;
    color: #B8860B;
}

/* Luxury Light Floating Dropdown Menu */
.tlka-dropdown-menu {
    border: 1px solid rgba(15, 23, 42, 0.08) !important;
    border-radius: 14px !important;
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.12), 0 2px 8px rgba(0, 0, 0, 0.04) !important;
    background: #FFFFFF !important;
    padding: 0.65rem !important;
    min-width: 250px;
    margin-top: 0.4rem !important;
    animation: tlkaNavFade 0.2s ease forwards;
}

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

.tlka-dropdown-item {
    font-size: 0.88rem;
    font-weight: 500;
    color: #334155 !important;
    padding: 0.55rem 0.85rem !important;
    border-radius: 8px !important;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    text-decoration: none;
    transition: all 0.16s ease;
}

.tlka-dropdown-item:hover {
    background: #FFFBEB !important;
    color: #926E17 !important;
    transform: translateX(3px);
}

.tlka-dropdown-item i {
    color: #D4AF37;
    font-size: 0.88rem;
    width: 20px;
    text-align: center;
}

/* Desktop Hover Trigger */
@media (min-width: 1200px) {
    .tlka-nav-item.dropdown:hover > .tlka-dropdown-menu {
        display: block !important;
    }
}

/* Warm Champagne Gold Book Now Button */
.tlka-btn-book {
    background: linear-gradient(135deg, #ECC265 0%, #D4AF37 50%, #B8860B 100%) !important;
    color: #0F172A !important;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.92rem;
    font-weight: 700;
    padding: 0.62rem 1.65rem;
    border-radius: 8px;
    border: none !important;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(212, 175, 55, 0.38);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
    white-space: nowrap;
    letter-spacing: -0.01em;
}

.tlka-btn-book:hover {
    background: linear-gradient(135deg, #FFF0B3 0%, #F5D77F 50%, #C49830 100%) !important;
    color: #0F172A !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(212, 175, 55, 0.55);
}

.tlka-btn-book:active {
    transform: translateY(0);
}

/* Backward-compatible .nav-link-custom styling */
.nav-link-custom {
    color: #1E293B;
    font-weight: 600;
    font-size: 0.92rem;
    text-decoration: none;
    padding: 0.5rem 0.85rem;
    border-radius: 8px;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.nav-link-custom:hover {
    color: #B8860B;
    background: #FFFBEB;
}

.nav-link-custom.active {
    color: #B8860B;
    font-weight: 700;
}

/* Top bar styling */
.site-topbar {
    background: rgba(5, 8, 17, 0.98);
    border-bottom: 1px solid rgba(212, 175, 55, 0.18);
    padding: 0.45rem 0;
    font-size: 0.82rem;
    color: var(--text-sand);
}

/* ==========================================================================
   3D FULL-BODY ROBOT AI AGENT (HEAD, ARMS, BELLY, LEGS & WALKING PATROL)
   ========================================================================== */

.robo-launcher-container {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 1040;
    display: flex;
    align-items: flex-end;
    gap: 10px;
    transition: left 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

/* 3D Robot Full Body Floating / Walking Avatar */
.floating-3d-robot {
    cursor: pointer;
    position: relative;
    user-select: none;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.75)) drop-shadow(0 0 18px rgba(0, 242, 254, 0.45));
    display: inline-block;
}

.floating-3d-robot:hover {
    transform: scale(1.12) translateY(-6px);
    filter: drop-shadow(0 16px 32px rgba(0, 0, 0, 0.85)) drop-shadow(0 0 28px rgba(0, 242, 254, 0.85));
}

.floating-3d-robot.funny-bounce {
    animation: roboFunnyExcited 0.8s ease-in-out !important;
}

/* Full Body Walking Cycle Animation */
.floating-3d-robot.walking-active {
    animation: roboWalkBobbing 0.6s infinite ease-in-out;
}

.floating-3d-robot.walking-active .robo-arm-left {
    animation: roboArmSwingLeft 0.6s infinite ease-in-out;
    transform-origin: 22px 64px;
}

.floating-3d-robot.walking-active .robo-arm-right {
    animation: roboArmSwingRight 0.6s infinite ease-in-out;
    transform-origin: 78px 64px;
}

.floating-3d-robot.walking-active .robo-leg-left {
    animation: roboLegStepLeft 0.6s infinite ease-in-out;
    transform-origin: 36px 98px;
}

.floating-3d-robot.walking-active .robo-leg-right {
    animation: roboLegStepRight 0.6s infinite ease-in-out;
    transform-origin: 64px 98px;
}

/* Walking Step Keyframes */
@keyframes roboWalkBobbing {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-7px); }
}

@keyframes roboArmSwingLeft {
    0%, 100% { transform: rotate(-22deg); }
    50% { transform: rotate(22deg); }
}

@keyframes roboArmSwingRight {
    0%, 100% { transform: rotate(22deg); }
    50% { transform: rotate(-22deg); }
}

@keyframes roboLegStepLeft {
    0%, 100% { transform: rotate(18deg) translateY(0); }
    50% { transform: rotate(-18deg) translateY(-4px); }
}

@keyframes roboLegStepRight {
    0%, 100% { transform: rotate(-18deg) translateY(-4px); }
    50% { transform: rotate(18deg) translateY(0); }
}

/* Belly Arc Reactor Glow */
.robo-belly-reactor {
    animation: reactorPulse 2s infinite ease-in-out;
}

@keyframes reactorPulse {
    0%, 100% { filter: drop-shadow(0 0 4px #00F2FE); opacity: 0.8; }
    50% { filter: drop-shadow(0 0 12px #00F2FE) drop-shadow(0 0 20px #4FACFE); opacity: 1; }
}

/* Voice Mic Recording Glow */
.mic-recording-pulse {
    animation: micPulseRecord 1s infinite alternate;
    background: #EF4444 !important;
    border-color: #F87171 !important;
    color: #FFFFFF !important;
    box-shadow: 0 0 16px rgba(239, 68, 68, 0.75) !important;
}

@keyframes micPulseRecord {
    0% { transform: scale(1); box-shadow: 0 0 10px rgba(239, 68, 68, 0.6); }
    100% { transform: scale(1.1); box-shadow: 0 0 22px rgba(239, 68, 68, 0.95); }
}

/* =========================================================================
   3D HAILSTONE / SNOWBALL GATHERING & 3D SCREEN THROWING ANIMATIONS
   ========================================================================= */

/* Robot Gathering Hailstones from the Ground */
.floating-3d-robot.gathering-hail {
    animation: roboGatherBend 1.2s ease-in-out forwards !important;
}

.floating-3d-robot.gathering-hail .robo-arm-left {
    transform-origin: 22px 64px;
    animation: roboArmGatherLeft 1.2s ease-in-out forwards;
}

.floating-3d-robot.gathering-hail .robo-arm-right {
    transform-origin: 78px 64px;
    animation: roboArmGatherRight 1.2s ease-in-out forwards;
}

.floating-3d-robot.gathering-hail .robo-snowball-gathering-orb {
    animation: snowballGatherGrow 1.2s cubic-bezier(0.34, 1.3, 0.64, 1) forwards;
}

@keyframes roboGatherBend {
    0% { transform: translateY(0) rotate(0deg); }
    30% { transform: translateY(16px) rotate(8deg) scale(0.96); }
    70% { transform: translateY(18px) rotate(4deg) scale(0.96); }
    100% { transform: translateY(0) rotate(0deg) scale(1); }
}

@keyframes roboArmGatherLeft {
    0% { transform: rotate(0); }
    40%, 75% { transform: rotate(58deg) translateY(14px) translateX(8px); }
    100% { transform: rotate(0); }
}

@keyframes roboArmGatherRight {
    0% { transform: rotate(0); }
    40%, 75% { transform: rotate(-58deg) translateY(14px) translateX(-8px); }
    100% { transform: rotate(0); }
}

@keyframes snowballGatherGrow {
    0% { opacity: 0; transform: scale(0) rotate(0deg); filter: drop-shadow(0 0 2px #00F2FE); }
    35% { opacity: 0.8; transform: scale(0.6) rotate(180deg); filter: drop-shadow(0 0 10px #00F2FE); }
    85% { opacity: 1; transform: scale(1.15) rotate(360deg); filter: drop-shadow(0 0 18px #FFFFFF) drop-shadow(0 0 28px #00F2FE); }
    100% { opacity: 1; transform: scale(1) rotate(420deg); filter: drop-shadow(0 0 14px #00F2FE); }
}

/* Robot Windup & 3D Hurl to Screen */
.floating-3d-robot.throwing-windup {
    animation: roboThrowWindup 0.5s cubic-bezier(0.25, 1, 0.5, 1) forwards !important;
}

.floating-3d-robot.throwing-windup .robo-arm-right {
    transform-origin: 78px 64px;
    transform: rotate(-100deg) translateY(-8px) translateX(-4px);
    transition: transform 0.4s ease-out;
}

.floating-3d-robot.throwing-windup .robo-arm-left {
    transform-origin: 22px 64px;
    transform: rotate(-35deg) translateY(-4px);
    transition: transform 0.4s ease-out;
}

@keyframes roboThrowWindup {
    0% { transform: scale(1) rotate(0deg); }
    100% { transform: scale(1.06) translateY(-8px) rotate(-16deg); }
}

.floating-3d-robot.throwing-release {
    animation: roboThrowRelease 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards !important;
}

.floating-3d-robot.throwing-release .robo-arm-right {
    transform-origin: 78px 64px;
    transform: rotate(55deg) translateY(8px) translateX(12px);
    transition: transform 0.15s cubic-bezier(0.2, 0.9, 0.3, 1.3);
}

@keyframes roboThrowRelease {
    0% { transform: translateY(-8px) rotate(-16deg); }
    40% { transform: translateY(6px) rotate(18deg) scale(1.14); }
    100% { transform: translateY(0) rotate(0deg) scale(1); }
}

/* Robot Happy Victory Dance After Direct Hit */
.floating-3d-robot.celebrating-happy {
    animation: roboVictoryJump 0.9s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
}

.floating-3d-robot.celebrating-happy .robo-arm-left {
    animation: roboArmCheerLeft 0.9s ease-in-out;
    transform-origin: 22px 64px;
}

.floating-3d-robot.celebrating-happy .robo-arm-right {
    animation: roboArmCheerRight 0.9s ease-in-out;
    transform-origin: 78px 64px;
}

@keyframes roboVictoryJump {
    0%, 100% { transform: translateY(0) scale(1); }
    30% { transform: translateY(-24px) scale(1.15) rotate(-6deg); }
    60% { transform: translateY(-12px) scale(1.08) rotate(6deg); }
    80% { transform: translateY(-4px) scale(1.03) rotate(-2deg); }
}

@keyframes roboArmCheerLeft {
    0%, 100% { transform: rotate(0deg); }
    30%, 70% { transform: rotate(-140deg); }
}

@keyframes roboArmCheerRight {
    0%, 100% { transform: rotate(0deg); }
    30%, 70% { transform: rotate(140deg); }
}

/* 3D Snowball / Hailstone Projectile in Flight */
.robo-snowball-3d-projectile {
    position: fixed;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 10060;
    transform-style: preserve-3d;
    perspective: 1200px;
    background: radial-gradient(circle at 35% 30%, #FFFFFF 0%, #E0F7FA 30%, #B2EBF2 60%, #4DD0E1 85%, #00ACC1 100%);
    box-shadow: 
        0 0 25px rgba(255, 255, 255, 0.95),
        0 0 45px rgba(0, 242, 254, 0.85),
        inset -4px -4px 10px rgba(0, 151, 167, 0.6),
        inset 4px 4px 10px rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.8);
    filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.5));
}

/* 3D Flight Keyframes toward Screen Glass (Z-Axis Expansion) */
.snowball-flying-3d {
    animation: snowballFlyToCamera 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

@keyframes snowballFlyToCamera {
    0% {
        transform: translate3d(var(--start-x, 0), var(--start-y, 0), 0) scale(0.2) rotateX(0deg) rotateY(0deg) rotateZ(0deg);
        opacity: 0.9;
    }
    40% {
        transform: translate3d(calc((var(--start-x, 0) + var(--target-x, 0)) * 0.5), calc((var(--start-y, 0) + var(--target-y, 0)) * 0.4 - 70px), 150px) scale(1.4) rotateX(280deg) rotateY(380deg) rotateZ(180deg);
        opacity: 1;
    }
    85% {
        transform: translate3d(var(--target-x, 0), var(--target-y, 0), 380px) scale(4.2) rotateX(600deg) rotateY(850deg) rotateZ(320deg);
        opacity: 1;
        filter: blur(0px) drop-shadow(0 0 35px rgba(0, 242, 254, 0.95));
    }
    100% {
        transform: translate3d(var(--target-x, 0), var(--target-y, 0), 550px) scale(6.5) rotateX(720deg) rotateY(1080deg) rotateZ(360deg);
        opacity: 0;
        filter: blur(2px);
    }
}

/* Screen Micro-Shake on Glass Impact */
.screen-shake-micro {
    animation: screenMicroShake 0.22s cubic-bezier(0.36, 0.07, 0.19, 0.97) !important;
}

@keyframes screenMicroShake {
    0% { transform: translate(0, 0) rotate(0deg); }
    15% { transform: translate(-4px, 3px) rotate(-0.3deg); }
    30% { transform: translate(5px, -3px) rotate(0.4deg); }
    50% { transform: translate(-3px, 2px) rotate(-0.2deg); }
    70% { transform: translate(3px, -1px) rotate(0.2deg); }
    85% { transform: translate(-1px, 1px) rotate(-0.1deg); }
    100% { transform: translate(0, 0) rotate(0deg); }
}

/* Frosted Screen Glass Splat Container & Decal */
#tnmSnowSplatContainer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 10055;
    overflow: hidden;
}

.snow-glass-splat {
    position: absolute;
    pointer-events: none;
    transform-origin: center center;
    animation: snowSplatMeltAndDrip 4.2s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    filter: drop-shadow(0 6px 20px rgba(0, 242, 254, 0.4)) drop-shadow(0 12px 35px rgba(0, 0, 0, 0.5));
}

@keyframes snowSplatMeltAndDrip {
    0% {
        transform: translate(-50%, -50%) scale(0.2);
        opacity: 0;
    }
    8% {
        transform: translate(-50%, -50%) scale(1.15);
        opacity: 1;
    }
    18% {
        transform: translate(-50%, -50%) scale(1.0);
        opacity: 0.98;
    }
    60% {
        transform: translate(-50%, calc(-50% + 12px)) scale(1.0, 1.05);
        opacity: 0.85;
    }
    85% {
        transform: translate(-50%, calc(-50% + 26px)) scale(0.96, 1.12);
        opacity: 0.45;
        filter: blur(1.5px) drop-shadow(0 4px 10px rgba(0, 242, 254, 0.2));
    }
    100% {
        transform: translate(-50%, calc(-50% + 38px)) scale(0.9, 1.18);
        opacity: 0;
        filter: blur(4px);
    }
}

/* Proactive 3D Speech Bubble */
.robo-proactive-bubble {
    background: linear-gradient(135deg, rgba(12, 19, 36, 0.96) 0%, rgba(8, 12, 24, 0.98) 100%);
    border: 1.5px solid var(--gold-border);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 18px;
    padding: 0.85rem 1.15rem;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.65), 0 0 20px rgba(212, 175, 55, 0.25);
    max-width: 320px;
    min-width: 240px;
    color: var(--text-pearl);
    position: relative;
    transform-origin: bottom left;
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    animation: bubbleSlideIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    cursor: pointer;
}

.robo-proactive-bubble.hidden {
    opacity: 0;
    pointer-events: none;
    transform: scale(0.7) translateY(15px);
}

.robo-proactive-bubble::after {
    content: '';
    position: absolute;
    bottom: 16px;
    left: -8px;
    width: 0;
    height: 0;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-right: 9px solid rgba(12, 19, 36, 0.98);
}

@keyframes bubbleSlideIn {
    0% { opacity: 0; transform: scale(0.6) translateY(20px); }
    100% { opacity: 1; transform: scale(1) translateY(0); }
}

@keyframes roboFunnyExcited {
    0% { transform: scale(1) rotate(0deg); }
    20% { transform: scale(1.22) translateY(-16px) rotate(-10deg); }
    40% { transform: scale(1.15) translateY(-4px) rotate(10deg); }
    60% { transform: scale(1.2) translateY(-12px) rotate(-6deg); }
    80% { transform: scale(1.1) translateY(-2px) rotate(4deg); }
    100% { transform: scale(1) rotate(0deg); }
}

/* Robot SVG Internals */
.robo-antenna-spark {
    animation: sparkPulse 1.8s infinite ease-in-out;
}

@keyframes sparkPulse {
    0%, 100% { fill: #00F2FE; filter: drop-shadow(0 0 4px #00F2FE); opacity: 0.7; }
    50% { fill: #FFD700; filter: drop-shadow(0 0 10px #FFD700); opacity: 1; transform: scale(1.2); }
}

.robo-eye-blink {
    animation: eyeBlinkAnim 3.6s infinite ease-in-out;
    transform-origin: center;
}

@keyframes eyeBlinkAnim {
    0%, 94%, 100% { transform: scaleY(1); }
    96% { transform: scaleY(0.1); }
}

.robo-mouth-wave {
    animation: mouthTalkAnim 1.2s infinite ease-in-out;
}

@keyframes mouthTalkAnim {
    0%, 100% { stroke-dashoffset: 0; }
    50% { stroke-dashoffset: 8; }
}

.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1030;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.75rem 1.35rem;
    border-radius: 50px;
    animation: pulseWhatsapp 2.5s infinite;
}

@keyframes pulseWhatsapp {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7), 0 8px 24px rgba(0, 0, 0, 0.5);
    }
    70% {
        box-shadow: 0 0 0 18px rgba(37, 211, 102, 0), 0 8px 24px rgba(0, 0, 0, 0.5);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0), 0 8px 24px rgba(0, 0, 0, 0.5);
    }
}

/* ==========================================================================
   AI CHATBOT MODAL DIALOGUE & MESSAGING SYSTEM
   ========================================================================== */

#aiChatbotWindow {
    position: fixed;
    bottom: 95px;
    left: 30px;
    width: 420px;
    max-width: calc(100vw - 40px);
    height: 600px;
    max-height: calc(100vh - 120px);
    background: rgba(10, 16, 30, 0.96);
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    border: 1.5px solid var(--gold-border);
    border-radius: 24px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.75), 0 0 30px rgba(0, 242, 254, 0.2);
    z-index: 1050;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    transform-origin: bottom left;
}

#aiChatbotWindow.hidden {
    opacity: 0;
    pointer-events: none;
    transform: scale(0.85) translateY(20px);
}

.ai-chat-header {
    background: linear-gradient(135deg, rgba(17, 26, 48, 0.98) 0%, rgba(10, 16, 30, 0.98) 100%);
    border-bottom: 1px solid var(--gold-border);
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.ai-chat-body {
    flex: 1;
    overflow-y: auto;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background: radial-gradient(circle at 50% 0%, rgba(0, 242, 254, 0.04) 0%, transparent 60%);
}

.ai-chat-footer {
    background: rgba(12, 18, 36, 0.98);
    border-top: 1px solid var(--gold-border);
    padding: 0.85rem 1rem;
}

/* Chat Messages */
.ai-msg {
    display: flex;
    gap: 0.75rem;
    max-width: 88%;
    animation: fadeInMsg 0.25s ease-out;
}

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

.ai-msg-bot {
    align-self: flex-start;
}

.ai-msg-user {
    align-self: flex-end;
    flex-direction: row-reverse;
}

.ai-msg-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    flex-shrink: 0;
}

.ai-msg-avatar.bot {
    background: var(--gold-gradient);
    color: #060913;
    box-shadow: 0 0 12px var(--gold-glow);
}

.ai-msg-avatar.user {
    background: var(--cyan-gradient);
    color: #060913;
    box-shadow: 0 0 12px var(--cyan-glow);
}

.ai-msg-bubble {
    padding: 0.85rem 1.1rem;
    border-radius: 18px;
    font-size: 0.88rem;
    line-height: 1.55;
    position: relative;
    word-break: break-word;
}

.ai-msg-bot .ai-msg-bubble {
    background: rgba(17, 26, 48, 0.9);
    border: 1px solid rgba(212, 175, 55, 0.28);
    color: var(--text-pearl);
    border-top-left-radius: 4px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

.ai-msg-user .ai-msg-bubble {
    background: linear-gradient(135deg, #0EA5E9 0%, #0284C7 100%);
    color: #FFFFFF;
    border-top-right-radius: 4px;
    box-shadow: 0 6px 20px rgba(14, 165, 233, 0.4);
}

/* Prompt Chips */
.ai-prompt-chip {
    background: rgba(17, 26, 48, 0.8);
    border: 1px solid rgba(0, 242, 254, 0.3);
    color: var(--text-pearl);
    padding: 0.4rem 0.85rem;
    border-radius: 30px;
    font-size: 0.78rem;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: left;
    display: inline-block;
    user-select: none;
}

.ai-prompt-chip:hover {
    background: rgba(0, 242, 254, 0.15);
    border-color: var(--cyan-accent);
    color: var(--cyan-accent);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 242, 254, 0.2);
}

/* Typing Dots Animation */
.ai-typing-indicator {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 0.6rem 1rem;
}

.ai-typing-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--cyan-accent);
    animation: typingPulse 1.4s infinite ease-in-out;
}

.ai-typing-dot:nth-child(2) { animation-delay: 0.2s; }
.ai-typing-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingPulse {
    0%, 80%, 100% { transform: scale(0.6); opacity: 0.4; }
    40% { transform: scale(1.1); opacity: 1; }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.site-footer {
    background: #04060D;
    border-top: 1px solid var(--gold-border);
    padding: 4.5rem 0 2rem;
    color: var(--text-muted);
}

.footer-link {
    color: var(--text-muted);
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 0.55rem;
}

.footer-link:hover {
    color: var(--gold-bright);
    transform: translateX(3px);
}

/* ==========================================================================
   3D REALISTIC SNOWFALL & HAILSTONE ATMOSPHERE ENGINE
   ========================================================================== */

#tnm3dSnowContainer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 9999;
    overflow: hidden;
    perspective: 1200px;
    transform-style: preserve-3d;
}

/* 3D Snow Particle Base */
.snow-particle-3d {
    position: absolute;
    top: 0;
    left: 0;
    pointer-events: none;
    user-select: none;
    will-change: transform, opacity;
    animation: snowFall3D var(--fall-duration, 8s) linear infinite;
    animation-delay: var(--fall-delay, 0s);
}

/* 3D Foreground Layer (Large Sparkling Snowflakes & Crystals) */
.snow-particle-3d.snow-3d-front {
    font-size: var(--flake-size, 24px);
    color: #FFFFFF;
    filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.95)) drop-shadow(0 0 14px rgba(0, 242, 254, 0.8));
    --depth-z: 220px;
    --max-opacity: 0.98;
}

/* 3D Midground Layer (Crisp Crystal Flakes) */
.snow-particle-3d.snow-3d-mid {
    font-size: var(--flake-size, 16px);
    color: #F0F9FF;
    filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.85)) drop-shadow(0 0 8px rgba(0, 242, 254, 0.5));
    --depth-z: 80px;
    --max-opacity: 0.9;
}

/* 3D Background Layer (Distant Flurries) */
.snow-particle-3d.snow-3d-back {
    font-size: var(--flake-size, 11px);
    color: #E0F2FE;
    filter: drop-shadow(0 0 3px rgba(255, 255, 255, 0.7));
    --depth-z: -120px;
    --max-opacity: 0.75;
}

/* 3D Hailstone Particle Element */
.snow-particle-3d.hail-3d {
    width: var(--flake-size, 10px);
    height: var(--flake-size, 10px);
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, #FFFFFF 0%, #E0F7FA 35%, #80DEEA 70%, #0097A7 100%);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.95), 0 0 18px rgba(0, 242, 254, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.9);
    --depth-z: 160px;
    --max-opacity: 0.95;
}

/* 3D Falling Down Keyframes (with 3D rotation and sway) */
@keyframes snowFall3D {
    0% {
        transform: translate3d(var(--start-x, 50vw), -40px, var(--depth-z, 0)) rotateX(0deg) rotateY(0deg) rotateZ(0deg);
        opacity: 0;
    }
    4% {
        opacity: var(--max-opacity, 0.92);
    }
    92% {
        opacity: var(--max-opacity, 0.92);
    }
    100% {
        transform: translate3d(calc(var(--start-x, 50vw) + var(--sway-x, 25px)), calc(100vh + 30px), var(--depth-z, 0)) rotateX(var(--rot-x, 360deg)) rotateY(var(--rot-y, 720deg)) rotateZ(var(--rot-z, 180deg));
        opacity: 0;
    }
}

/* Glistening Bottom Snow Bank */
#tnmBottomSnowBank {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100vw;
    height: 14px;
    background: linear-gradient(to top, rgba(255, 255, 255, 0.35) 0%, rgba(200, 242, 254, 0.15) 60%, rgba(255, 255, 255, 0) 100%);
    box-shadow: 0 -2px 12px rgba(0, 242, 254, 0.3);
    pointer-events: none;
    z-index: 9998;
    backdrop-filter: blur(1px);
}

/* ==========================================================================
   SMARTPHONE & TABLET RESPONSIVE OPTIMIZATIONS (< 1024px)
   ========================================================================== */

/* Universal Touch & Mobile Viewport Protection */
html, body {
    overflow-x: hidden;
    width: 100%;
    -webkit-overflow-scrolling: touch;
}

/* Tablet & Smaller Screens (< 992px) */
@media (max-width: 991.98px) {
    .tlka-site-navbar .navbar-collapse,
    .site-navbar .navbar-collapse {
        background: #FFFFFF !important;
        border: 1px solid rgba(15, 23, 42, 0.08) !important;
        border-radius: 14px;
        padding: 1.25rem;
        margin-top: 0.85rem;
        box-shadow: 0 16px 36px rgba(0, 0, 0, 0.12);
    }

    .tlka-nav-list {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
        width: 100%;
    }

    .tlka-nav-item {
        width: 100%;
    }

    .tlka-nav-link {
        width: 100%;
        padding: 0.65rem 0.85rem !important;
        font-size: 0.95rem;
        border-radius: 8px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .tlka-nav-link:hover {
        background: #FFFBEB;
    }

    .tlka-dropdown-menu {
        position: static !important;
        transform: none !important;
        box-shadow: none !important;
        border: 1px solid #F1F5F9 !important;
        background: #FAFAFA !important;
        margin: 0.25rem 0 0.5rem 0.5rem !important;
        width: calc(100% - 0.5rem);
    }

    .tlka-btn-book {
        width: 100%;
        text-align: center;
        justify-content: center;
        margin-top: 0.5rem;
    }

    .nav-link-custom {
        width: 100%;
        padding: 0.75rem 1rem !important;
        font-size: 0.95rem;
        border-radius: 10px;
        margin-bottom: 0.25rem;
    }

    .site-navbar .btn-3d {
        width: 100%;
        text-align: center;
        justify-content: center;
        margin-top: 0.5rem;
    }

    .hero-title {
        font-size: 2.35rem !important;
        line-height: 1.25;
    }

    .hero-subtitle {
        font-size: 0.95rem !important;
    }

    .floating-3d-robot {
        transform: scale(0.88);
        transform-origin: bottom left;
    }

    .robo-launcher-container {
        bottom: 15px;
        left: 15px;
    }

    #aiChatbotWindow {
        width: 400px;
        max-height: 560px;
        right: 15px;
        bottom: 15px;
    }
}

/* Smartphone Screens (< 768px) */
@media (max-width: 767.98px) {
    /* Prevent iOS input auto-zoom by keeping font-size >= 16px */
    input.form-control,
    select.form-control,
    textarea.form-control,
    .form-control-dark,
    .flatpickr-input {
        font-size: 16px !important;
        min-height: 48px;
    }

    /* Touch-friendly buttons */
    .btn-3d,
    .btn-lg,
    button[type="submit"] {
        min-height: 48px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .brand-logo-img {
        height: 38px !important;
        max-width: 135px !important;
    }

    .brand-title {
        font-size: 1.15rem !important;
    }

    .hero-title {
        font-size: 1.95rem !important;
        line-height: 1.25;
    }

    /* Booking Engine Widget on Mobile */
    .booking-tabs {
        flex-direction: row;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        gap: 6px;
        padding-bottom: 4px;
        scrollbar-width: none;
    }
    .booking-tabs::-webkit-scrollbar {
        display: none;
    }

    .booking-tab-btn {
        flex: 1 0 auto;
        white-space: nowrap;
        padding: 0.65rem 1rem !important;
        font-size: 0.85rem !important;
    }

    /* AI Robot Avatar Scale on Mobile */
    .floating-3d-robot {
        transform: scale(0.75);
        transform-origin: bottom left;
    }

    .robo-launcher-container {
        bottom: 12px;
        left: 10px;
        max-width: calc(100vw - 20px);
    }

    .robo-proactive-bubble {
        max-width: calc(100vw - 32px);
        font-size: 0.8rem;
        padding: 0.75rem 0.95rem;
    }

    /* Fullscreen Adaptive AI Chatbot on Mobile */
    #aiChatbotWindow {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 100vw !important;
        height: 100vh !important;
        max-width: 100vw !important;
        max-height: 100vh !important;
        border-radius: 0 !important;
        z-index: 10080 !important;
    }

    #aiChatMessages {
        height: calc(100vh - 165px) !important;
        max-height: calc(100vh - 165px) !important;
    }

    .ai-chat-input-wrapper {
        padding: 0.75rem 0.85rem;
    }

    /* Responsive Tables */
    .table-responsive {
        border-radius: 12px;
        -webkit-overflow-scrolling: touch;
    }

    /* Card Padding Adjustments */
    .glass-card {
        padding: 1.25rem !important;
    }
}

/* Extra Small Mobile Devices (< 420px) */
@media (max-width: 419.98px) {
    .hero-title {
        font-size: 1.7rem !important;
    }

    .brand-title {
        font-size: 1rem !important;
    }

    .btn-3d {
        font-size: 0.85rem !important;
        padding: 0.65rem 1rem !important;
    }
}

/* ==========================================================================
   MULTI-STOP ROUTE & INTERMEDIATE STOPS STYLES
   ========================================================================== */

.route-stops-container {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    position: relative;
}

.route-stop-row {
    position: relative;
    animation: stopSlideIn 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    background: rgba(14, 59, 57, 0.45);
    border: 1px solid rgba(245, 158, 11, 0.35);
    border-radius: 10px;
    padding: 0.45rem 0.6rem;
    transition: all 0.25s ease;
}

.route-stop-row:hover {
    border-color: rgba(245, 158, 11, 0.65);
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.12);
}

@keyframes stopSlideIn {
    from {
        opacity: 0;
        transform: translateY(-6px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.route-stop-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.68rem;
    font-weight: 700;
    font-family: 'IBM Plex Mono', monospace;
    letter-spacing: 0.05em;
    color: #FBBF24;
    background: rgba(245, 158, 11, 0.18);
    border: 1px solid rgba(245, 158, 11, 0.4);
    border-radius: 20px;
    padding: 0.15rem 0.5rem;
}

.route-stop-remove-btn {
    background: transparent;
    border: 1px solid transparent;
    color: #F87171;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0;
}

.route-stop-remove-btn:hover {
    background: rgba(239, 68, 68, 0.2);
    border-color: rgba(239, 68, 68, 0.5);
    color: #FCA5A5;
    transform: scale(1.08);
}

.btn-add-stop {
    font-size: 0.74rem;
    font-weight: 600;
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: #F3ECDC;
    background: rgba(14, 59, 57, 0.6);
    border: 1px dashed rgba(169, 133, 46, 0.55);
    border-radius: 20px;
    padding: 0.28rem 0.75rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: all 0.25s ease;
    text-decoration: none;
}

.btn-add-stop:hover {
    background: rgba(169, 133, 46, 0.25);
    border-color: var(--gold-bright);
    color: #FFFFFF;
    box-shadow: 0 0 12px rgba(212, 175, 55, 0.3);
    transform: translateY(-1px);
}

.btn-add-stop:active {
    transform: translateY(0);
}

.btn-add-stop:disabled,
.btn-add-stop[disabled] {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

/* Map Waypoint Pins for Intermediate Stops */
.map-pin-stop {
    background: #F59E0B;
    color: #061A19;
    font-weight: 800;
    font-size: 10px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 12px rgba(245, 158, 11, 0.9);
    font-family: 'IBM Plex Mono', monospace;
}
