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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow-x: hidden;
}

#threejs-container {
    width: 100%;
    height: calc(100vh - 56px);
    position: relative;
    background: linear-gradient(to bottom, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
}

#loadingOverlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    transition: opacity 0.5s;
}

#loadingOverlay.hidden {
    opacity: 0;
    pointer-events: none;
}

/* Enhanced Navigation Styles */
.navbar-custom {
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.95) 0%, rgba(22, 33, 62, 0.95) 100%);
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    padding: 12px 20px;
    transition: all 0.3s;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar-custom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #ff6b6b, #4ecdc4, #ffe66d, #95e1d3);
    opacity: 0.6;
}

.nav-container {
    max-width: 100%;
    padding: 0 20px;
}

/* Brand Section */
.brand-section {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    padding: 8px 0;
    transition: transform 0.3s;
}

.brand-section:hover {
    transform: translateX(5px);
}

.brand-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: float 3s ease-in-out infinite;
}

.karnataka-map-icon {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 2px 8px rgba(78, 205, 196, 0.3));
    transition: all 0.3s;
}

.brand-section:hover .karnataka-map-icon {
    filter: drop-shadow(0 4px 12px rgba(78, 205, 196, 0.5));
    transform: scale(1.05);
}

.pulse-dot {
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { 
        opacity: 1;
        r: 3;
    }
    50% { 
        opacity: 0.6;
        r: 5;
    }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.brand-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: white;
    letter-spacing: 0.5px;
}

.brand-subtitle {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

/* Custom Toggler */
.custom-toggler {
    border: none;
    padding: 4px 8px;
    width: 40px;
    height: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    transition: all 0.3s;
}

.custom-toggler span {
    width: 25px;
    height: 3px;
    background: white;
    border-radius: 3px;
    transition: all 0.3s;
}

.custom-toggler:hover {
    background: rgba(255, 255, 255, 0.2);
}

.custom-toggler[aria-expanded="true"] span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.custom-toggler[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.custom-toggler[aria-expanded="true"] span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Navigation Actions */
.nav-actions {
    display: flex;
    gap: 10px;
    align-items: center;
    margin: 0 20px;
    flex-wrap: wrap;
}

.nav-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    border: none;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.nav-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.nav-btn:hover::before {
    width: 300px;
    height: 300px;
}

.nav-btn-icon {
    font-size: 1.1rem;
    z-index: 1;
}

.nav-btn-text {
    z-index: 1;
}

.nav-badge {
    background: #ff6b6b;
    color: white;
    border-radius: 10px;
    padding: 2px 6px;
    font-size: 0.7rem;
    font-weight: 700;
    margin-left: 4px;
    min-width: 18px;
    text-align: center;
    z-index: 1;
}

.nav-btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.nav-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.nav-btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.nav-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.nav-btn-accent {
    background: linear-gradient(135deg, #4ecdc4 0%, #44a08d 100%);
    color: white;
}

.nav-btn-accent:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(78, 205, 196, 0.4);
}

.nav-btn-success {
    background: linear-gradient(135deg, #ffe66d 0%, #ffd93d 100%);
    color: #333;
}

.nav-btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 230, 109, 0.4);
}

/* Navigation Controls */
.nav-controls {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
    margin-left: auto;
}

.search-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    padding: 8px 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s;
    min-width: 250px;
}

.search-wrapper:focus-within {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(102, 126, 234, 0.5);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.search-icon {
    font-size: 1rem;
    margin-right: 8px;
    opacity: 0.7;
}

.search-input {
    background: transparent;
    border: none;
    outline: none;
    color: white;
    font-size: 0.9rem;
    flex: 1;
    padding: 0;
}

.search-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.search-clear {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1rem;
    margin-left: 8px;
    transition: all 0.3s;
}

.search-clear:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.filter-group {
    display: flex;
    gap: 8px;
}

.filter-select {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    color: white;
    padding: 8px 16px;
    font-size: 0.85rem;
    cursor: pointer;
    outline: none;
    transition: all 0.3s;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='white' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 12px;
    padding-right: 35px;
}

.filter-select:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.filter-select option {
    background: #2d3748;
    color: white;
}

/* Stats Display */
.nav-stats {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-left: 20px;
    padding-left: 20px;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.stat-value {
    font-size: 1.2rem;
    font-weight: 700;
    color: #4ecdc4;
    line-height: 1;
}

.stat-label {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Responsive Design */
@media (max-width: 991px) {
    .nav-actions {
        margin: 10px 0;
        justify-content: center;
    }
    
    .nav-controls {
        margin: 10px 0;
        width: 100%;
        justify-content: center;
    }
    
    .search-wrapper {
        width: 100%;
        min-width: auto;
    }
    
    .filter-group {
        width: 100%;
    }
    
    .filter-select {
        flex: 1;
    }
    
    .nav-stats {
        margin: 10px 0;
        padding: 10px 0;
        border-left: none;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        width: 100%;
        justify-content: center;
    }
    
    .brand-section {
        margin-bottom: 10px;
    }
}

@media (max-width: 576px) {
    .nav-btn-text {
        display: none;
    }
    
    .nav-btn {
        padding: 10px;
        min-width: 40px;
        justify-content: center;
    }
    
    .brand-title {
        font-size: 0.95rem;
    }
    
    .brand-subtitle {
        font-size: 0.7rem;
    }
}

#infoSidebar {
    z-index: 1000;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.3);
}

#infoSidebar.show {
    transform: translateX(0) !important;
}

.site-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
    cursor: pointer;
    transition: all 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.site-card:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(-5px);
}

.category-badge {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: bold;
    margin-right: 5px;
}

.category-UNESCO {
    background: #ff6b6b;
    color: white;
}

.category-Proposed {
    background: #4ecdc4;
    color: white;
}

.category-Heritage {
    background: #ffe66d;
    color: #333;
}

.category-Prehistoric {
    background: #95e1d3;
    color: #333;
}

/* Creative Modal Styles */
.creative-modal {
    border: none;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.modal-hero {
    position: relative;
    height: 200px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: flex-end;
    padding: 30px;
    overflow: hidden;
}

.modal-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 100%);
}

.modal-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 10;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    transition: all 0.3s;
}

.modal-close-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.hero-content {
    position: relative;
    z-index: 5;
    width: 100%;
}

.hero-title {
    color: white;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
}

.hero-badges {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.hero-badge {
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.creative-modal-body {
    padding: 40px;
    background: #f8f9fa;
}

.content-section {
    background: white;
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.content-section:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.section-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
}

.section-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 4px 10px rgba(102, 126, 234, 0.3);
}

.section-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #2d3748;
    margin: 0;
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.highlight-item {
    padding: 15px 20px;
    background: linear-gradient(135deg, #f6f8fb 0%, #e9ecef 100%);
    border-left: 4px solid #4ecdc4;
    border-radius: 10px;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.highlight-item::before {
    content: '✨';
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.3;
    font-size: 1.5rem;
}

.highlight-item:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(78, 205, 196, 0.2);
    border-left-color: #2dd4bf;
}

.highlight-item strong {
    display: block;
    color: #2d3748;
    font-size: 0.95rem;
    line-height: 1.6;
}

.timeline-container {
    position: relative;
    padding-left: 30px;
    margin-top: 20px;
}

.timeline-container::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, #667eea, #764ba2);
}

.timeline-item {
    position: relative;
    padding: 20px;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 12px;
    border-left: 4px solid #ffe66d;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -37px;
    top: 25px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #ffe66d;
    border: 3px solid white;
    box-shadow: 0 0 0 3px #ffe66d;
}

.timeline-item:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.timeline-year {
    display: inline-block;
    padding: 5px 12px;
    background: linear-gradient(135deg, #ffe66d 0%, #ffd93d 100%);
    color: #333;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.timeline-event {
    color: #4a5568;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.text-content {
    color: #4a5568;
    line-height: 1.8;
    font-size: 1rem;
    text-align: justify;
}

.creative-modal-footer {
    background: linear-gradient(135deg, #2d3748 0%, #1a202c 100%);
    padding: 25px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.action-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.btn-action {
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 600;
    border: none;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
}

.btn-icon {
    font-size: 1.1rem;
}

.btn-close-action {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.btn-close-action:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.btn-video-action {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.btn-video-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.btn-circuit-action {
    background: linear-gradient(135deg, #4ecdc4 0%, #44a08d 100%);
    color: white;
}

.btn-circuit-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(78, 205, 196, 0.4);
}

.btn-focus-action {
    background: linear-gradient(135deg, #ffe66d 0%, #ffd93d 100%);
    color: #333;
}

.btn-focus-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 230, 109, 0.4);
}

.qr-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.qr-container {
    background: white;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.qr-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
    margin: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .modal-hero {
        height: 150px;
        padding: 20px;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .creative-modal-body {
        padding: 25px 20px;
    }
    
    .highlights-grid {
        grid-template-columns: 1fr;
    }
    
    .creative-modal-footer {
        flex-direction: column;
        align-items: stretch;
    }
    
    .action-buttons {
        justify-content: center;
    }
    
    .qr-section {
        order: -1;
    }
}

.highlight-item {
    padding: 15px 20px;
    margin: 0;
    background: linear-gradient(135deg, #f6f8fb 0%, #e9ecef 100%);
    border-left: 4px solid #4ecdc4;
    border-radius: 10px;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.timeline-item {
    padding: 10px;
    margin: 8px 0;
    background: rgba(255, 255, 255, 0.05);
    border-left: 3px solid #ffe66d;
    border-radius: 4px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    #infoSidebar {
        width: 100% !important;
    }
}

/* Landing Page */
.landing-page {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 100vh;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    z-index: 2000;
    transition: opacity 0.8s, visibility 0.8s;
    overflow-y: auto;
    padding-top: 70px;
}

.landing-page.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.landing-grid {
    display: grid;

    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 30px;
    height: 696px;
}

.landing-main {
    color: white;
}

.landing-hero {
    text-align: center;
    margin-bottom: 40px;
    padding: 20px;
}

.landing-title {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
    opacity: 0;
    line-height: 1.2;
}

.landing-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

.landing-preview {
    width: 400px;
    height: 300px;
    margin: 2rem auto;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    backdrop-filter: blur(10px);
    opacity: 0;
}

.karnataka-map-display {
    margin: 2rem auto;
    max-width: 600px;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.5s forwards;
}

.karnataka-map-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.karnataka-map-image:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 40px rgba(78, 205, 196, 0.4);
}

.landing-btn {
    padding: 15px 40px;
    font-size: 1.2rem;
    border-radius: 50px;
    margin-top: 1rem;
    opacity: 0;
    position: relative;
    overflow: hidden;
}

.landing-tagline {
    margin-top: 1rem;
    font-style: italic;
    opacity: 0.8;
    opacity: 0;
}

/* Landing Categories Section */
.landing-categories {
    margin: 40px 0;
}

.section-head {
    margin-bottom: 20px;
}

.section-head h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    margin-bottom: 8px;
}

.tiny {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Timeline */
.timeline {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.tick {
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    color: white;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 500;
}

.tick:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.tick.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

/* Cards */
.cards {
    display: grid;
    gap: 20px;
}

.card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 25px;
    backdrop-filter: blur(10px);
    transition: all 0.3s;
}

.card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: white;
    margin-bottom: 10px;
}

.card .tiny {
    margin-bottom: 15px;
    display: block;
}

/* Chip Row */
.chiprow {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.chip {
    padding: 10px 18px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    color: white;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 500;
    position: relative;
    overflow: hidden;
}

.chip::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.4s, height 0.4s;
}

.chip:hover::before {
    width: 200px;
    height: 200px;
}

.chip:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.chip.active {
    background: linear-gradient(135deg, #4ecdc4 0%, #44a08d 100%);
    border-color: transparent;
    opacity: 1 !important;
    box-shadow: 0 4px 12px rgba(78, 205, 196, 0.4);
}

/* Landing Aside */
.landing-aside {
    position: sticky;
    top: 80px;
    height: fit-content;
}

.landing-map-container {
    width: 100%;
    height: 400px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.landing-vision {
    margin: 40px 0;
    padding: 25px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.landing-footer {
    text-align: center;
    padding: 30px 0;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 40px;
}

/* Responsive */
@media (max-width: 1200px) {
    .landing-grid {
        grid-template-columns: 1fr;
    }
    
    .landing-aside {
        position: relative;
        top: 0;
    }
    
    .landing-map-container {
        height: 300px;
    }
}

@media (max-width: 768px) {
    .landing-title {
        font-size: 2rem;
    }
    
    .landing-subtitle {
        font-size: 1rem;
    }
    
    .timeline {
        justify-content: center;
    }
    
    .tick {
        font-size: 0.75rem;
        padding: 6px 12px;
    }
}

/* Scene Intro Overlay */
.scene-intro {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 100;
    pointer-events: none;
    opacity: 0;
}

.intro-title {
    font-size: 3rem;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
    margin-bottom: 1rem;
}

.intro-text {
    font-size: 1.2rem;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
}

/* Ripple Effect */
.ripple-btn {
    position: relative;
    overflow: hidden;
}

.ripple-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.ripple-btn:active::after {
    width: 300px;
    height: 300px;
}

/* Chip hover animation */
.category-badge {
    transition: transform 0.3s, box-shadow 0.3s;
}

.category-badge:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* Itinerary styles */
.itinerary-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 10px;
    margin: 8px 0;
    border-radius: 5px;
    cursor: move;
    border-left: 3px solid #4ecdc4;
    transition: all 0.3s;
}

.itinerary-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(5px);
}

.itinerary-item.dragging {
    opacity: 0.5;
}

/* Animation classes */
.fade-in {
    animation: fadeIn 0.5s ease-in;
}

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

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

.pulse {
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

/* Text reveal animation */
.text-reveal {
    opacity: 0;
}

/* Particle container */
.particle-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

/* Leaflet Map Styles */
#leaflet-map {
    width: 100%;
    height: 100%;
    z-index: 0;
}

/* City Marker Styles */
.city-marker {
    background: transparent !important;
    border: none !important;
}

.city-marker-dot {
    width: 12px;
    height: 12px;
    background: #ffd93d;
    border-radius: 50%;
    border: 2px solid white;
    box-shadow: 0 0 10px rgba(255, 217, 61, 0.8), 0 0 20px rgba(255, 217, 61, 0.4);
    animation: cityPulse 2s ease-in-out infinite;
}

@keyframes cityPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
        box-shadow: 0 0 10px rgba(255, 217, 61, 0.8), 0 0 20px rgba(255, 217, 61, 0.4);
    }
    50% {
        transform: scale(1.3);
        opacity: 0.8;
        box-shadow: 0 0 15px rgba(255, 217, 61, 1), 0 0 30px rgba(255, 217, 61, 0.6);
    }
}

/* Border Animation Enhancements */
.leaflet-interactive {
    transition: all 0.3s ease;
}

.leaflet-interactive:hover {
    filter: brightness(1.2);
}

