:root {
    --primary-color: #2ecc71;
    --secondary-color: #3498db;
    --background-color: #f5f6fa;
    --card-background: #ffffff;
    --text-color: #2d3436;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

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

body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

header {
    text-align: center;
    margin-bottom: 2rem;
}

h1 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.subtitle {
    font-size: 1.2rem;
    color: #666;
}

.location-section {
    text-align: center;
    margin-bottom: 2rem;
}

.primary-button {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-size: 1rem;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: var(--shadow);
}

.primary-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

.cluster-controls {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 1.5rem;
    background: #e7f3ff;
    border-radius: 8px;
    padding: 1rem 2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.cluster-control-group {
    display: flex;
    align-items: center;
    margin: 0 0.5rem;
    min-width: 180px;
}

.cluster-control-group label {
    font-size: 1rem;
    color: #333;
    margin-right: 0.5rem;
    white-space: nowrap;
}

.cluster-control-group input[type="range"] {
    margin: 0 1rem 0 0.5rem;
    accent-color: var(--primary-color);
    height: 2px;
    flex: 1;
}

.cluster-control-group span {
    font-weight: bold;
    color: var(--secondary-color);
    margin-left: 0.25rem;
}

.layer-toggles {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    justify-content: center;
    margin: 0.5rem 0;
}

.generate-btn {
    background-color: #0053a6;
}

.generate-btn:hover {
    background-color: #004080;
}

@media (max-width: 600px) {
    .cluster-controls {
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
        padding: 0.5rem 0.5rem;
    }
    .cluster-control-group {
        width: 100%;
        margin: 0.25rem 0;
    }
}

.map-container {
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 2rem;
    box-shadow: var(--shadow);
}

.data-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.card {
    background-color: var(--card-background);
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: var(--shadow);
}

.card h2 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.info-box {
    background-color: var(--card-background);
    padding: 1rem;
    border-radius: 10px;
    margin: 1rem 0;
    box-shadow: var(--shadow);
    display: none;
}

.info-box.active {
    display: block;
}

footer {
    text-align: center;
    color: #666;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid #ddd;
}

footer p {
    margin: 0.5rem 0;
}

footer .credits {
    font-size: 0.8rem;
    color: var(--secondary-color);
    font-family: 'Montserrat', 'Roboto', sans-serif;
    letter-spacing: 0.02em;
}

.credits-avatars {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-left: 0;
}

.credits-avatar {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.credits-avatar img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    vertical-align: middle;
    border: 2px solid #e0e0e0;
    box-shadow: 0 2px 6px rgba(0,0,0,0.10);
    background: #fff;
    object-fit: cover;
    margin: 0;
}

footer .credits a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.2s ease;
}

footer .credits a:hover {
    color: #27ae60;
    text-decoration: underline;
}

.credits {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 1rem;
}

.credits a {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: var(--secondary-color);
    margin: 0 4px;
}

.credits img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    margin-right: 0;
    vertical-align: middle;
    border: 2px solid #e0e0e0;
    box-shadow: 0 2px 6px rgba(0,0,0,0.10);
    background: #fff;
    object-fit: cover;
}

.copyright {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: #888;
}

@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    .map-container {
        height: 300px;
    }
}
