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

:root {
    --vector-blue: #2D5BFF;
    --vector-coral: #FF6B6B;
    --vector-purple: #9B59B6;
    --vector-teal: #1ABC9C;
    --vector-yellow: #F39C12;
    --dark: #2C3E50;
    --light: #ECF0F1;
    --white: #FFFFFF;
}

body {
    font-family: 'Montserrat', sans-serif;
    background: var(--white);
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--white);
    z-index: 1000;
    padding: 20px 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-text {
    font-family: 'Cormorant Garamond', serif;
    font-size: 32px;
    font-weight: 600;
    letter-spacing: 4px;
    color: var(--vector-blue);
    position: relative;
}

.logo-text::before {
    content: '';
    position: absolute;
    left: -40px;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    background: var(--vector-coral);
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}

.logo-text::after {
    content: '';
    position: absolute;
    right: -40px;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    background: var(--vector-teal);
    border-radius: 50%;
}

/* Hero News Buttons */
.hero-news-buttons {
    display: flex;
    gap: 16px;
    margin-top: 50px;
    justify-content: center;
    flex-wrap: wrap;
}

/* IP Display */
.ip-display {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    font-size: 14px;
    font-weight: 500;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.ip-display svg {
    flex-shrink: 0;
}

#ipAddress {
    font-family: 'Courier New', monospace;
    letter-spacing: 0.5px;
}

/* Camera Section */
.camera-section {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.music-toggle-btn,
.camera-toggle-btn,
.chat-toggle-btn {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    padding: 14px 28px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
}

.music-toggle-btn:hover,
.camera-toggle-btn:hover,
.chat-toggle-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.camera-container {
    position: relative;
    width: 100%;
    max-width: 500px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    border: 3px solid rgba(255, 255, 255, 0.3);
}

#cameraVideo {
    width: 100%;
    height: auto;
    display: block;
}

.close-camera-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 107, 107, 0.9);
    backdrop-filter: blur(10px);
    color: var(--white);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.close-camera-btn:hover {
    background: rgba(255, 23, 68, 0.9);
    transform: scale(1.1) rotate(90deg);
}

.hero-news-btn {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    padding: 16px 32px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
}

.hero-news-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* News Modal */
.news-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.news-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.news-modal-content {
    position: relative;
    background: var(--white);
    border-radius: 25px;
    width: 90%;
    max-width: 1000px;
    max-height: 80vh;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    z-index: 2001;
}

.news-modal-header {
    padding: 30px 40px;
    border-bottom: 2px solid var(--light);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, var(--vector-blue), var(--vector-purple));
}

.news-modal-header h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 36px;
    font-weight: 600;
    color: var(--white);
    margin: 0;
}

.news-close-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    color: var(--white);
}

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

.news-modal-body {
    padding: 40px;
    max-height: calc(80vh - 120px);
    overflow-y: auto;
}

.news-loading {
    text-align: center;
    padding: 60px 20px;
    font-size: 18px;
    color: var(--vector-blue);
    font-weight: 600;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

.news-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
    border: 2px solid var(--light);
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-color: var(--vector-blue);
}

.news-image {
    width: 100%;
    height: 200px;
    background-size: cover;
    background-position: center;
    background-color: var(--light);
}

.news-content {
    padding: 20px;
}

.news-source {
    font-size: 12px;
    color: var(--vector-blue);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.news-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--dark);
    margin: 0 0 10px 0;
    line-height: 1.4;
}

.news-title a {
    color: var(--dark);
    text-decoration: none;
    transition: color 0.2s;
}

.news-title a:hover {
    color: var(--vector-blue);
}

.news-description {
    font-size: 14px;
    color: #7f8c8d;
    line-height: 1.6;
    margin: 0 0 12px 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-date {
    font-size: 12px;
    color: #95a5a6;
    font-weight: 500;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -5%;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.1);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    animation: float 6s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -15%;
    left: -5%;
    width: 600px;
    height: 600px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    animation: pulse 8s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(10deg); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.hero-content {
    text-align: center;
    padding: 0 40px;
    max-width: 800px;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 72px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 60px;
    letter-spacing: 2px;
    line-height: 1.2;
}

/* Search Box */
.search-box {
    background: var(--white);
    border-radius: 60px;
    padding: 8px;
    display: flex;
    align-items: center;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.search-input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 16px;
    color: var(--dark);
    font-weight: 500;
    background: transparent;
    padding: 20px 32px;
}

.search-input::placeholder {
    color: #95a5a6;
}

.search-btn {
    background: var(--vector-blue);
    color: var(--white);
    border: none;
    border-radius: 50px;
    padding: 20px 40px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    font-weight: 600;
}

.search-btn:hover {
    background: var(--vector-coral);
    transform: scale(1.05);
}

/* Autocomplete */
#autocompleteContainer {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 100;
}

#autocompleteContainer ul {
    background: var(--white);
    border-radius: 20px;
    margin-top: 10px;
    list-style: none;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

#autocompleteContainer li {
    padding: 16px 32px;
    cursor: pointer;
    transition: all 0.2s;
    border-bottom: 1px solid var(--light);
    color: var(--dark);
    font-size: 15px;
    font-weight: 500;
    position: relative;
}

#autocompleteContainer li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--vector-blue);
    transform: scaleY(0);
    transition: transform 0.2s;
}

#autocompleteContainer li:hover::before {
    transform: scaleY(1);
}

#autocompleteContainer li:last-child {
    border-bottom: none;
}

#autocompleteContainer li:hover {
    background: var(--light);
    padding-left: 40px;
}

/* City Info Section */
.city-info-section {
    padding: 100px 0;
    background: var(--white);
    position: relative;
    overflow: hidden;
}

.city-info-section::before {
    content: '';
    position: absolute;
    top: 10%;
    left: -5%;
    width: 300px;
    height: 300px;
    background: var(--vector-teal);
    opacity: 0.05;
    clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
}

.city-info-section::after {
    content: '';
    position: absolute;
    bottom: 10%;
    right: -5%;
    width: 400px;
    height: 400px;
    background: var(--vector-coral);
    opacity: 0.05;
    clip-path: polygon(30% 0%, 70% 0%, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0% 70%, 0% 30%);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 60px;
    position: relative;
    z-index: 2;
}

.city-info-card {
    background: var(--white);
    border-radius: 30px;
    padding: 60px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.city-info-card::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: var(--vector-blue);
    opacity: 0.05;
    border-radius: 50%;
}

.city-header {
    text-align: center;
    margin-bottom: 60px;
    padding-bottom: 40px;
    border-bottom: 2px solid var(--light);
    position: relative;
}

.city-header::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--vector-blue), var(--vector-coral));
    border-radius: 2px;
}

.city-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 64px;
    font-weight: 600;
    color: var(--dark);
    margin: 0 0 12px 0;
    letter-spacing: 1px;
}

.city-country {
    font-size: 16px;
    color: #7f8c8d;
    margin: 0;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 600;
}

.city-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.stat-item {
    background: linear-gradient(135deg, var(--light) 0%, var(--white) 100%);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--vector-blue);
}

.stat-item:nth-child(1)::before { background: var(--vector-blue); }
.stat-item:nth-child(2)::before { background: var(--vector-coral); }
.stat-item:nth-child(3)::before { background: var(--vector-teal); }
.stat-item:nth-child(4)::before { background: var(--vector-purple); }

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.stat-divider {
    display: none;
}

.stat-value {
    font-family: 'Cormorant Garamond', serif;
    font-size: 32px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
}

.stat-label {
    font-size: 12px;
    color: #7f8c8d;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

/* Categories Section */
.categories-section {
    padding: 100px 0;
    background: var(--light);
    position: relative;
    overflow: hidden;
}

.categories-section::before {
    content: '';
    position: absolute;
    top: 20%;
    right: 5%;
    width: 250px;
    height: 250px;
    background: var(--vector-yellow);
    opacity: 0.08;
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}

.section-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 56px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 80px;
    text-align: center;
    position: relative;
}

.section-title::before {
    content: '';
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 60px;
    background: var(--vector-coral);
    opacity: 0.2;
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.category-card {
    position: relative;
    height: 400px;
    overflow: hidden;
    cursor: pointer;
    background: white;
    border-radius: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s;
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.category-card.selected {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(45, 91, 255, 0.3);
}

.category-card.selected::after {
    content: '';
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: var(--vector-blue);
    border-radius: 50%;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(45, 91, 255, 0.4);
}

.category-card.selected::before {
    content: '✓';
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    font-weight: 700;
    z-index: 4;
}

.category-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s ease;
}

.category-card:hover .category-image {
    transform: scale(1.1);
}

.category-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 50%, rgba(0, 0, 0, 0.7));
    z-index: 1;
}

.category-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    z-index: 2;
}

.category-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 36px;
    font-weight: 600;
    margin: 0;
    color: white;
}

/* Results Section */
.results-section {
    padding: 100px 0;
    background: var(--white);
    min-height: 400px;
    position: relative;
}

.results-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.results-header::before {
    content: '';
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 80px;
    background: var(--vector-teal);
    opacity: 0.1;
    clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
}

.results-header h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 48px;
    font-weight: 600;
    color: var(--dark);
    margin: 0;
}

/* Place Cards */
.place-card {
    background: white;
    overflow: hidden;
    margin-bottom: 30px;
    transition: all 0.3s;
    display: grid;
    grid-template-columns: 400px 1fr;
    height: 280px;
    border-radius: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.place-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.place-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
}

.place-info {
    padding: 35px 40px;
    display: flex;
    gap: 25px;
    align-items: flex-start;
    background: white;
}

.place-number {
    font-family: 'Cormorant Garamond', serif;
    color: var(--vector-blue);
    font-size: 56px;
    font-weight: 700;
    flex-shrink: 0;
    line-height: 1;
    opacity: 0.3;
}

.place-content {
    flex: 1;
}

.place-title {
    margin: 0 0 12px 0;
    font-family: 'Cormorant Garamond', serif;
    font-size: 28px;
    font-weight: 600;
    line-height: 1.3;
}

.place-title a {
    color: var(--dark);
    text-decoration: none;
    transition: color 0.2s;
}

.place-title a:hover {
    color: var(--vector-blue);
}

.place-description {
    margin: 0;
    color: #7f8c8d;
    line-height: 1.7;
    font-size: 15px;
    font-weight: 400;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* City Selector Dropdown */
.city-selector-dropdown {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    max-height: 400px;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    margin-top: 10px;
}

.selector-dropdown-title {
    padding: 20px 32px;
    font-weight: 600;
    color: var(--white);
    background: var(--vector-purple);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.city-dropdown-option {
    padding: 18px 32px;
    cursor: pointer;
    transition: all 0.2s;
    border-bottom: 1px solid var(--light);
    position: relative;
}

.city-dropdown-option::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--vector-blue);
    transform: scaleY(0);
    transition: transform 0.2s;
}

.city-dropdown-option:hover::before {
    transform: scaleY(1);
}

.city-dropdown-option:last-child {
    border-bottom: none;
}

.city-dropdown-option:hover {
    background: var(--light);
    padding-left: 40px;
}

.city-dropdown-option .city-option-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 4px;
}

.city-dropdown-option .city-option-details {
    color: #7f8c8d;
    font-size: 13px;
    font-weight: 400;
}

/* Messages */
.no-results, .error-message {
    background: var(--light);
    padding: 60px 40px;
    text-align: center;
    color: #7f8c8d;
    font-size: 16px;
    font-weight: 500;
    border-radius: 20px;
}

.error-message {
    background: #ffe5e5;
    color: var(--vector-coral);
}

/* Footer */
.footer {
    background: var(--dark);
    color: var(--white);
    padding: 50px 0;
    margin-top: 100px;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 100px;
    background: var(--vector-blue);
    opacity: 0.1;
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}

.footer-content {
    text-align: center;
}

.footer-text {
    font-size: 13px;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
    text-transform: uppercase;
}

/* Responsive */
@media (max-width: 1024px) {
    .place-card {
        grid-template-columns: 1fr;
        height: auto;
    }
    
    .place-image {
        height: 280px;
    }
    
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .city-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    
    .nav-container {
        padding: 0 20px;
    }
    
    .logo-text {
        font-size: 24px;
        letter-spacing: 3px;
    }
    
    .logo-text::before,
    .logo-text::after {
        display: none;
    }
    
    .hero {
        min-height: 100vh;
        padding: 80px 0 40px 0;
    }
    
    .hero-content {
        padding: 0 20px;
        width: 100%;
    }
    
    .hero-title {
        font-size: 36px;
        margin-bottom: 40px;
    }
    
    .ip-display {
        font-size: 12px;
        padding: 10px 20px;
        margin-bottom: 20px;
    }
    
    .search-box {
        max-width: 100%;
        padding: 6px;
    }
    
    .search-input {
        padding: 16px 20px;
        font-size: 15px;
    }
    
    .search-btn {
        padding: 16px 30px;
    }
    
    .hero-news-buttons {
        flex-direction: column;
        gap: 12px;
        margin-top: 30px;
        padding: 0 10px;
    }
    
    .hero-news-btn {
        width: 100%;
        justify-content: center;
        padding: 14px 24px;
        font-size: 14px;
    }
    
    .news-modal-content {
        width: 95%;
        max-height: 90vh;
    }
    
    .news-modal-header {
        padding: 20px;
    }
    
    .news-modal-header h2 {
        font-size: 24px;
    }
    
    .news-modal-body {
        padding: 20px;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .city-info-section {
        padding: 60px 0;
    }
    
    .city-info-card {
        padding: 30px 20px;
    }
    
    .city-name {
        font-size: 32px;
    }
    
    .city-country {
        font-size: 14px;
    }
    
    .section-title {
        font-size: 32px;
        margin-bottom: 40px;
    }
    
    .categories-section {
        padding: 60px 0;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .category-card {
        height: 280px;
    }
    
    .category-title {
        font-size: 28px;
    }
    
    .results-section {
        padding: 60px 0;
    }
    
    .results-header h2 {
        font-size: 28px;
    }
    
    .place-card {
        grid-template-columns: 1fr;
        height: auto;
    }
    
    .place-image {
        height: 200px;
    }
    
    .place-info {
        padding: 20px;
        gap: 15px;
    }
    
    .place-title {
        font-size: 20px;
    }
    
    .place-number {
        font-size: 36px;
    }
    
    .place-description {
        font-size: 14px;
    }
    
    .city-stats {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .stat-item {
        padding: 20px;
    }
    
    .stat-value {
        font-size: 24px;
    }
    
    .stat-label {
        font-size: 11px;
    }
    
    #autocompleteContainer ul {
        border-radius: 15px;
    }
    
    #autocompleteContainer li {
        padding: 12px 20px;
        font-size: 14px;
    }
    
    .city-selector-dropdown {
        border-radius: 15px;
    }
    
    .selector-dropdown-title {
        padding: 15px 20px;
        font-size: 12px;
    }
    
    .city-dropdown-option {
        padding: 15px 20px;
    }
    
    .city-option-name {
        font-size: 15px;
    }
    
    .city-option-details {
        font-size: 12px;
    }
}


/* Connection dot */
.chat-conn-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
    transition: background .3s;
}
.chat-conn-dot.online  { background: #34d399; }
.chat-conn-dot.offline { background: #ff5c5c; animation: connPulse 1s infinite; }
@keyframes connPulse { 0%,100%{opacity:1} 50%{opacity:.3} }

/* Group Chat Styles */
.chat-body {
    padding: 0;
    display: flex;
    flex-direction: column;
    height: calc(80vh - 120px);
}

.chat-header-controls {
    background: white;
    padding: 15px 20px;
    border-bottom: 2px solid var(--light);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.current-username {
    display: flex;
    align-items: center;
    gap: 10px;
}

.username-label {
    font-size: 13px;
    color: #7f8c8d;
    font-weight: 500;
}

.username-display {
    font-size: 15px;
    font-weight: 600;
    color: var(--vector-blue);
    background: var(--light);
    padding: 6px 15px;
    border-radius: 20px;
}

.change-username-btn {
    background: transparent;
    border: 2px solid var(--light);
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    color: var(--vector-blue);
}

.change-username-btn:hover {
    background: var(--vector-blue);
    border-color: var(--vector-blue);
    color: white;
    transform: rotate(15deg) scale(1.1);
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    background: var(--light);
}

.chat-message {
    margin-bottom: 15px;
    animation: slideIn 0.3s ease;
}

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

.chat-message-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 5px;
}

.chat-username {
    font-weight: 600;
    color: var(--vector-blue);
    font-size: 14px;
}

.chat-time {
    font-size: 11px;
    color: #95a5a6;
}

.chat-message-text {
    background: var(--white);
    padding: 12px 16px;
    border-radius: 15px;
    font-size: 14px;
    color: var(--dark);
    line-height: 1.5;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    max-width: 80%;
    word-wrap: break-word;
}

.chat-message.own .chat-message-text {
    background: linear-gradient(135deg, var(--vector-blue), var(--vector-purple));
    color: var(--white);
    margin-left: auto;
}

.chat-message.own .chat-username {
    color: var(--vector-purple);
}

.chat-input-container {
    display: flex;
    gap: 10px;
    padding: 20px;
    background: var(--white);
    border-top: 2px solid var(--light);
}

.chat-input {
    flex: 1;
    border: 2px solid var(--light);
    border-radius: 25px;
    padding: 12px 20px;
    font-size: 14px;
    outline: none;
    transition: all 0.3s;
}

.chat-input:focus {
    border-color: var(--vector-blue);
}

.send-message-btn {
    background: var(--vector-blue);
    color: var(--white);
    border: none;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
}

.send-message-btn:hover {
    background: var(--vector-coral);
    transform: scale(1.1);
}

.chat-system-message {
    text-align: center;
    color: #95a5a6;
    font-size: 12px;
    margin: 10px 0;
    font-style: italic;
}


/* Floating Chat Widget */
.floating-chat-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
}

.floating-chat-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--vector-blue), var(--vector-purple));
    color: white;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(45, 91, 255, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    position: relative;
}

.floating-chat-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(45, 91, 255, 0.6);
}

.chat-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--vector-coral);
    color: white;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    border: 2px solid white;
}

.floating-chat-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 350px;
    height: 500px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.floating-chat-header {
    background: linear-gradient(135deg, var(--vector-blue), var(--vector-purple));
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.floating-chat-header h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
}

.online-status {
    font-size: 11px;
    opacity: 0.9;
    display: flex;
    align-items: center;
    gap: 5px;
}

.minimize-chat-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: white;
    transition: all 0.3s;
}

.minimize-chat-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

.floating-chat-username {
    background: var(--light);
    padding: 10px 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #ddd;
}

.floating-username-display {
    font-size: 13px;
    font-weight: 600;
    color: var(--vector-blue);
}

.floating-change-username {
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--vector-blue);
    padding: 5px;
    transition: all 0.3s;
}

.floating-change-username:hover {
    transform: scale(1.2);
}

.floating-chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 15px;
    background: var(--light);
}

.floating-chat-input {
    display: flex;
    gap: 8px;
    padding: 12px;
    background: white;
    border-top: 1px solid #ddd;
}

.floating-chat-input input {
    flex: 1;
    border: 2px solid var(--light);
    border-radius: 20px;
    padding: 10px 15px;
    font-size: 13px;
    outline: none;
}

.floating-chat-input input:focus {
    border-color: var(--vector-blue);
}

.floating-send-btn {
    background: var(--vector-blue);
    color: white;
    border: none;
    border-radius: 50%;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
}

.floating-send-btn:hover {
    background: var(--vector-coral);
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .floating-chat-window {
        width: calc(100vw - 40px);
        height: 450px;
        right: -10px;
    }
}
