/* ============================================
   LAKES EXPLORER - COMPLETE STYLES
   ============================================ */

/* CSS Variables */
:root {
    --primary-blue: #0077be;
    --deep-blue: #003366;
    --light-blue: #4db8ff;
    --water-blue: #00aaff;
    --accent-cyan: #00d4ff;
    --dark-bg: #0a1628;
    --card-bg: rgba(255, 255, 255, 0.1);
    --text-light: #ffffff;
    --text-muted: rgba(255, 255, 255, 0.7);
    --shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    --border-radius: 20px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, var(--dark-bg) 0%, #1a3a5c 50%, var(--deep-blue) 100%);
    min-height: 100vh;
    color: var(--text-light);
    overflow-x: hidden;
}

/* ============================================
   LAKES MAIN PAGE STYLES
   ============================================ */

.lakes-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 20px;
    min-height: 100vh;
}

/* Header */
.lakes-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 30px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border-radius: var(--border-radius);
    margin-bottom: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.back-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-btn:hover {
    background: var(--primary-blue);
    transform: scale(1.1);
}

.header-content h1 {
    font-size: 2rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 15px;
}

.header-content h1 i {
    color: var(--accent-cyan);
}

.header-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-top: 5px;
}

.header-stats {
    display: flex;
    gap: 40px;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-cyan);
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Search & Filter */
.search-filter-bar {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.search-box {
    flex: 1;
    min-width: 250px;
    position: relative;
}

.search-box i {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}

.search-box input {
    width: 100%;
    padding: 15px 20px 15px 50px;
    border: none;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
}

.search-box input::placeholder {
    color: var(--text-muted);
}

.search-box input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.3);
}

.filter-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    font-family: inherit;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.filter-btn.active {
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-cyan));
    box-shadow: 0 5px 20px rgba(0, 212, 255, 0.4);
}

.continent-filter select {
    padding: 12px 20px;
    border: none;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    font-family: inherit;
    font-size: 0.9rem;
    cursor: pointer;
    min-width: 180px;
}

.continent-filter select option {
    background: var(--dark-bg);
    color: var(--text-light);
}

/* Lakes Grid */
.lakes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 30px;
    padding: 20px 0;
}

/* Lake Card */
.lake-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.lake-card:nth-child(1) { animation-delay: 0.05s; }
.lake-card:nth-child(2) { animation-delay: 0.1s; }
.lake-card:nth-child(3) { animation-delay: 0.15s; }
.lake-card:nth-child(4) { animation-delay: 0.2s; }
.lake-card:nth-child(5) { animation-delay: 0.25s; }
.lake-card:nth-child(6) { animation-delay: 0.3s; }
.lake-card:nth-child(7) { animation-delay: 0.35s; }
.lake-card:nth-child(8) { animation-delay: 0.4s; }

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

.lake-card:hover {
    transform: translateY(-10px);
}

.lake-image-container {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    border: 4px solid rgba(255, 255, 255, 0.2);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.lake-card:hover .lake-image-container {
    border-color: var(--accent-cyan);
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.5);
}

.lake-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.lake-card:hover .lake-image {
    transform: scale(1.15);
}

.lake-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent 50%, rgba(0, 119, 190, 0.7) 100%);
    opacity: 0;
    transition: var(--transition);
}

.lake-card:hover .lake-overlay {
    opacity: 1;
}

.lake-rank {
    position: absolute;
    top: 5px;
    left: 5px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-cyan));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    z-index: 2;
}

.lake-info {
    margin-top: 15px;
}

.lake-name {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
    transition: var(--transition);
}

.lake-card:hover .lake-name {
    color: var(--accent-cyan);
}

.country-flags {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-bottom: 8px;
}

.country-flag {
    width: 24px;
    height: 16px;
    border-radius: 3px;
    object-fit: cover;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.lake-area {
    font-size: 0.85rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.lake-area i {
    color: var(--accent-cyan);
    font-size: 0.75rem;
}

/* Water Type Badge */
.water-type-badge {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    z-index: 2;
}

.water-type-badge.freshwater {
    background: linear-gradient(135deg, #00b894, #00cec9);
}

.water-type-badge.saltwater {
    background: linear-gradient(135deg, #fd79a8, #e84393);
}

/* Loading Overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--dark-bg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.loading-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.water-loader {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-cyan));
    position: relative;
    overflow: hidden;
}

.water-loader .wave {
    position: absolute;
    width: 200%;
    height: 200%;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 40%;
    animation: waveAnimation 3s infinite linear;
}

.water-loader .wave:nth-child(2) {
    animation-delay: -1s;
    opacity: 0.7;
}

.water-loader .wave:nth-child(3) {
    animation-delay: -2s;
    opacity: 0.5;
}

@keyframes waveAnimation {
    0% {
        transform: translate(-50%, -75%) rotate(0deg);
    }
    100% {
        transform: translate(-50%, -75%) rotate(360deg);
    }
}

.loading-overlay p {
    margin-top: 20px;
    font-size: 1.1rem;
    color: var(--text-muted);
}

/* ============================================
   PROFILE PAGE STYLES
   ============================================ */

.profile-page {
    overflow: hidden;
}

.profile-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.dark-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        180deg,
        rgba(10, 22, 40, 0.7) 0%,
        rgba(10, 22, 40, 0.5) 50%,
        rgba(10, 22, 40, 0.8) 100%
    );
}

.shimmer-effect {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.03) 50%,
        transparent 100%
    );
    animation: shimmer 8s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Profile Header */
.profile-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 40px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 100;
}

.profile-header .back-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    width: auto;
    padding: 12px 25px;
    border-radius: 50px;
}

.profile-header .back-btn span {
    font-size: 0.9rem;
}

.lake-title h1 {
    font-size: 2.5rem;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.lake-subtitle {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 5px;
}

.lake-type {
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.1);
}

.header-actions {
    display: flex;
    gap: 15px;
}

.action-btn {
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-cyan));
    color: var(--text-light);
    font-family: inherit;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
}

.action-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.4);
}

.action-btn#fullscreenBtn {
    width: 50px;
    height: 50px;
    padding: 0;
    border-radius: 50%;
    justify-content: center;
}

/* Profile Content */
.profile-content {
    display: flex;
    height: calc(100vh - 100px);
    position: relative;
}

/* Map Container */
.map-container {
    flex: 1;
    position: relative;
    margin: 20px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.lake-map {
    width: 100%;
    height: 100%;
    border-radius: var(--border-radius);
}

/* Leaflet Custom Styles */
.leaflet-container {
    background: #0a1628;
    font-family: 'Poppins', sans-serif;
}

.leaflet-popup-content-wrapper {
    background: rgba(10, 22, 40, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    color: var(--text-light);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.leaflet-popup-tip {
    background: rgba(10, 22, 40, 0.95);
}

.leaflet-popup-content {
    margin: 15px 20px;
}

.leaflet-control-zoom a {
    background: rgba(10, 22, 40, 0.9) !important;
    color: var(--text-light) !important;
    border: none !important;
}

.leaflet-control-zoom a:hover {
    background: var(--primary-blue) !important;
}

.map-controls {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 1000;
}

.map-btn {
    width: 45px;
    height: 45px;
    border: none;
    border-radius: 12px;
    background: rgba(10, 22, 40, 0.9);
    backdrop-filter: blur(10px);
    color: var(--text-light);
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.map-btn:hover {
    background: var(--primary-blue);
    transform: scale(1.1);
}

.map-btn.active {
    background: var(--accent-cyan);
    color: var(--dark-bg);
}

.map-legend {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(10, 22, 40, 0.9);
    backdrop-filter: blur(10px);
    padding: 15px 20px;
    border-radius: 15px;
    z-index: 1000;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.map-legend h4 {
    font-size: 0.9rem;
    margin-bottom: 10px;
    color: var(--accent-cyan);
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    font-size: 0.8rem;
}

.legend-color {
    width: 20px;
    height: 4px;
    border-radius: 2px;
}

.legend-color.inflow {
    background: #00ff88;
}

.legend-color.outflow {
    background: #ff6b6b;
}

.legend-color.city {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ffd700;
}

.legend-color.island {
    width: 12px;
    height: 12px;
    border-radius: 3px;
    background: #a8e6cf;
}

/* Mind Map Container */
.mind-map-container {
    width: 450px;
    background: rgba(10, 22, 40, 0.95);
    backdrop-filter: blur(20px);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    overflow-y: auto;
    position: relative;
    transition: var(--transition);
}

.mind-map-container.collapsed {
    width: 60px;
}

.mind-map-toggle {
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.mind-map-toggle:hover {
    background: rgba(255, 255, 255, 0.05);
}

.mind-map-toggle i {
    font-size: 1.5rem;
    color: var(--accent-cyan);
}

.mind-map-toggle span {
    font-size: 1.1rem;
    font-weight: 600;
}

.mind-map {
    padding: 20px;
}

/* Mind Map Tree */
.mind-map-node {
    margin-bottom: 15px;
}

.node-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid transparent;
}

.node-header:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(0, 212, 255, 0.3);
}

.node-header.expanded {
    background: rgba(0, 212, 255, 0.1);
    border-color: var(--accent-cyan);
}

.node-icon {
    width: 35px;
    height: 35px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.node-icon.location { background: linear-gradient(135deg, #6c5ce7, #a29bfe); }
.node-icon.type { background: linear-gradient(135deg, #00cec9, #81ecec); }
.node-icon.area { background: linear-gradient(135deg, #0984e3, #74b9ff); }
.node-icon.depth { background: linear-gradient(135deg, #00b894, #55efc4); }
.node-icon.volume { background: linear-gradient(135deg, #fd79a8, #e84393); }
.node-icon.elevation { background: linear-gradient(135deg, #fdcb6e, #f39c12); }
.node-icon.inflow { background: linear-gradient(135deg, #00ff88, #00cc6a); }
.node-icon.outflow { background: linear-gradient(135deg, #ff6b6b, #ee5a5a); }
.node-icon.basin { background: linear-gradient(135deg, #a29bfe, #6c5ce7); }
.node-icon.islands { background: linear-gradient(135deg, #55efc4, #00b894); }
.node-icon.cities { background: linear-gradient(135deg, #ffeaa7, #fdcb6e); }
.node-icon.biodiversity { background: linear-gradient(135deg, #81ecec, #00cec9); }
.node-icon.economy { background: linear-gradient(135deg, #fab1a0, #e17055); }
.node-icon.environment { background: linear-gradient(135deg, #ff7675, #d63031); }
.node-icon.disputes { background: linear-gradient(135deg, #b2bec3, #636e72); }
.node-icon.history { background: linear-gradient(135deg, #dfe6e9, #b2bec3); }

.node-title {
    flex: 1;
    font-weight: 500;
    font-size: 0.95rem;
}

.node-arrow {
    transition: var(--transition);
}

.node-header.expanded .node-arrow {
    transform: rotate(180deg);
}

.node-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    margin-left: 47px;
    border-left: 2px solid rgba(255, 255, 255, 0.1);
    padding-left: 20px;
}

.node-content.expanded {
    max-height: 500px;
    padding-top: 10px;
    padding-bottom: 10px;
}

.node-item {
    padding: 8px 0;
    font-size: 0.85rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 10px;
}

.node-item i {
    color: var(--accent-cyan);
    font-size: 0.7rem;
}

.node-item strong {
    color: var(--text-light);
}

.sub-list {
    margin-top: 5px;
    padding-left: 15px;
}

.sub-list-item {
    padding: 5px 0;
    font-size: 0.8rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
}

.sub-list-item::before {
    content: '•';
    color: var(--accent-cyan);
}

/* Quick Facts Panel */
.quick-facts-panel {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 20px;
    background: rgba(10, 22, 40, 0.95);
    backdrop-filter: blur(20px);
    padding: 15px 30px;
    border-radius: 60px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 100;
}

.quick-fact {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 20px;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.quick-fact:last-child {
    border-right: none;
}

.quick-fact i {
    font-size: 1.5rem;
    color: var(--accent-cyan);
}

.fact-content {
    display: flex;
    flex-direction: column;
}

.fact-value {
    font-size: 1.1rem;
    font-weight: 600;
}

.fact-label {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Fly Over Modal */
.fly-over-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.fly-over-modal.active {
    display: flex;
}

.fly-over-content {
    background: rgba(10, 22, 40, 0.95);
    backdrop-filter: blur(20px);
    border-radius: var(--border-radius);
    padding: 30px;
    width: 90%;
    max-width: 500px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.fly-over-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 25px;
}

.fly-over-header h3 {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.4rem;
}

.fly-over-header h3 i {
    color: var(--accent-cyan);
}

.close-fly-over {
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
}

.close-fly-over:hover {
    background: #ff6b6b;
}

.fly-over-progress {
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 25px;
}

.progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--primary-blue), var(--accent-cyan));
    border-radius: 3px;
    transition: width 0.3s ease;
}

.fly-over-info {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 20px;
}

.current-location {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.current-location i {
    color: var(--accent-cyan);
    font-size: 1.5rem;
    animation: pulse 1.5s infinite;
}

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

.flight-stats {
    display: flex;
    gap: 30px;
}

.flight-stat {
    text-align: center;
}

.flight-stat .stat-value {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--accent-cyan);
}

.flight-stat .stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.fly-over-controls {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.fly-control-btn {
    width: 60px;
    height: 60px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    font-size: 1.3rem;
    cursor: pointer;
    transition: var(--transition);
}

.fly-control-btn:hover {
    background: var(--primary-blue);
    transform: scale(1.1);
}

/* River Flow Animations */
@keyframes flowToLake {
    0% {
        stroke-dashoffset: 100;
        opacity: 0.3;
    }
    50% {
        opacity: 1;
    }
    100% {
        stroke-dashoffset: 0;
        opacity: 0.3;
    }
}

@keyframes flowFromLake {
    0% {
        stroke-dashoffset: 0;
        opacity: 0.3;
    }
    50% {
        opacity: 1;
    }
    100% {
        stroke-dashoffset: -100;
        opacity: 0.3;
    }
}

.inflow-river {
    stroke: #00ff88;
    stroke-width: 3;
    stroke-dasharray: 10, 5;
    animation: flowToLake 2s infinite linear;
}

.outflow-river {
    stroke: #ff6b6b;
    stroke-width: 3;
    stroke-dasharray: 10, 5;
    animation: flowFromLake 2s infinite linear;
}

/* Lake Boundary Glow */
.lake-boundary {
    fill: rgba(0, 170, 255, 0.3);
    stroke: var(--accent-cyan);
    stroke-width: 2;
    filter: drop-shadow(0 0 10px rgba(0, 212, 255, 0.5));
}

/* Water Shimmer Animation */
@keyframes waterShimmer {
    0% {
        fill-opacity: 0.2;
    }
    50% {
        fill-opacity: 0.4;
    }
    100% {
        fill-opacity: 0.2;
    }
}

.lake-water-effect {
    fill: url(#waterGradient);
    animation: waterShimmer 3s ease-in-out infinite;
}

/* Wave Motion */
@keyframes waveMotion {
    0% {
        transform: translateX(0) translateY(0);
    }
    25% {
        transform: translateX(-2px) translateY(-1px);
    }
    50% {
        transform: translateX(0) translateY(-2px);
    }
    75% {
        transform: translateX(2px) translateY(-1px);
    }
    100% {
        transform: translateX(0) translateY(0);
    }
}

.lake-polygon {
    animation: waveMotion 4s ease-in-out infinite;
}

/* City Markers */
.city-marker {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ffd700;
    border: 2px solid #fff;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.6);
    animation: cityGlow 2s ease-in-out infinite;
}

@keyframes cityGlow {
    0%, 100% {
        box-shadow: 0 0 15px rgba(255, 215, 0, 0.6);
    }
    50% {
        box-shadow: 0 0 25px rgba(255, 215, 0, 0.9);
    }
}

/* Island Markers */
.island-marker {
    background: linear-gradient(135deg, #a8e6cf, #88d8b0);
    border-radius: 5px;
    padding: 5px 10px;
    font-size: 0.7rem;
    font-weight: 600;
    color: #1a3a5c;
}

/* Depth Zone Styles */
.depth-zone-shallow {
    fill: rgba(0, 200, 255, 0.2);
}

.depth-zone-medium {
    fill: rgba(0, 150, 255, 0.3);
}

.depth-zone-deep {
    fill: rgba(0, 100, 200, 0.4);
}

.depth-zone-deepest {
    fill: rgba(0, 50, 150, 0.5);
}

/* Country Highlight */
.country-polygon {
    fill: rgba(255, 255, 255, 0.05);
    stroke: rgba(255, 255, 255, 0.2);
    stroke-width: 1;
    transition: var(--transition);
}

.country-polygon:hover {
    fill: rgba(0, 212, 255, 0.1);
    stroke: var(--accent-cyan);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .mind-map-container {
        width: 350px;
    }
    
    .quick-facts-panel {
        flex-wrap: wrap;
        border-radius: 20px;
        width: 90%;
        justify-content: center;
    }
    
    .quick-fact {
        border-right: none;
    }
}

@media (max-width: 900px) {
    .lakes-header {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .search-filter-bar {
        flex-direction: column;
    }
    
    .lakes-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 20px;
    }
    
    .lake-image-container {
        width: 120px;
        height: 120px;
    }
    
    .profile-content {
        flex-direction: column;
    }
    
    .mind-map-container {
        width: 100%;
        height: 50%;
        border-left: none;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .profile-header {
        flex-direction: column;
        gap: 15px;
        padding: 15px;
    }
    
    .lake-title h1 {
        font-size: 1.8rem;
    }
    
    .quick-facts-panel {
        position: relative;
        bottom: auto;
        left: auto;
        transform: none;
        margin: 20px;
    }
}

@media (max-width: 600px) {
    .lakes-container {
        padding: 10px;
    }
    
    .lakes-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .lake-image-container {
        width: 100px;
        height: 100px;
    }
    
    .lake-name {
        font-size: 0.85rem;
    }
    
    .header-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .action-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}
