* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body,
html {
    height: 100%;
    background-color: #0b0b0b;
    overflow: hidden;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #3a736d;
}

.hero {
    position: relative;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: radial-gradient(circle, #101010, #0b0b0b);
    overflow: hidden;
}

.logo {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 200px;
    z-index: 6;
}

h1 {
    font-size: 4rem;
    font-weight: bold;
    color: #e94e77;
    /* Vibrant pink */
    text-shadow: 0 0 20px rgba(233, 78, 119, 0.7), 0 0 40px rgba(233, 78, 119, 0.6);
    animation: colorGlow 4s infinite alternate ease-in-out;
    text-align: center;
    letter-spacing: 2px;
    margin-top: -220px;
}

h2 {
    margin-top: 10px;
    font-size: 1.5rem;
    color: #48c4b7;
    animation: floatText 4s ease-in-out infinite;
}

@keyframes colorGlow {
    0% {
        color: #e94e77;
        text-shadow: 0 0 20px rgba(233, 78, 119, 0.8), 0 0 40px rgba(233, 78, 119, 0.6);
    }

    50% {
        color: #58e884;
        text-shadow: 0 0 20px rgba(88, 232, 132, 0.8), 0 0 40px rgba(88, 232, 132, 0.6);
    }

    100% {
        color: #48c4b7;
        text-shadow: 0 0 20px rgba(72, 196, 183, 0.8), 0 0 40px rgba(72, 196, 183, 0.6);
    }
}

@keyframes floatText {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0);
    }
}

.about-button,
.gallery-button,
.calc-button,
.gods-button,
.leaders-button,
.launchers-button {
    padding: 10px 9px;
    font-size: 0.9rem;
    font-weight: bold;
    background-color: #48c4b7;
    color: white;
    border-radius: 50%;
    text-transform: uppercase;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(72, 196, 183, 0.5);
    text-align: center;
    margin-right: 2px;
}

.fa-fw {
    padding-left: 3px;
}

.about-button {
    padding: 10px 20px !important;
    border-radius: 20px;
    margin-left: 2px;
}

.gallery-button:hover,
.launchers-button:hover,
.calc-button:hover,
.gods-button:hover,
.leaders-button:hover,
.about-button:hover {
    background-color: #5ad9ca;
    box-shadow: 0 0 20px rgba(72, 196, 183, 0.8);
}

.launchers-button {
    top: 10%;
}

.calc-button {
    top: 20%;
}

.gods-button {
    top: 30%;
}

.leaders-button {
    top: 40%;
}

.grid {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.grid-line {
    position: absolute;
    background-color: #48c4b7;
    opacity: 0.3;
}

.grid-line.horizontal {
    height: 1px;
    width: 100%;
}

.grid-line.vertical {
    width: 1px;
    height: 100%;
}

.circle {
    position: absolute;
    border: 2px solid rgba(72, 196, 183, 0.5);
    border-radius: 50%;
    opacity: 0.5;
    animation: pulse 5s infinite ease-in-out;
    z-index: 2;
}

.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: all;
    z-index: 3;
}

.particle {
    position: absolute;
    width: 12px;
    height: 12px;
    background-color: #48c4b7;
    border-radius: 50%;
    opacity: 0.8;
    cursor: pointer;
    z-index: 4;
}

.tooltip {
    display: none;
    position: absolute;
    background: rgba(72, 196, 183, 0.9);
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.8rem;
    pointer-events: none;
    z-index: 5;
}

.particle:hover {
    transform: scale(1.5);
    transition: transform 0.3s ease;
}

.explosion {
    position: absolute;
    background-color: rgba(72, 196, 183, 0.8);
    border-radius: 50%;
}

.dust-dot {
    position: absolute;
    width: 5px;
    height: 5px;
    background-color: rgba(72, 196, 183, 0.5);
    border-radius: 50%;
    opacity: 0.7;
    pointer-events: none;
    z-index: 1;
}

.black-hole {
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 1));
    opacity: 0.8;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
    animation: blackHoleSpin 20s linear infinite;
}

@keyframes blackHoleSpin {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 700px;
    background-color: #1e1e1e;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
    text-align: left;
    z-index: 100;
    display: none;
    color: white;
    max-height: 80vh;
    overflow-y: auto;
}

.modal h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #48c4b7;
}

.modal p {
    font-size: 1.1rem;
    line-height: 1.8;
}

.modal .close-button {
    margin-top: 20px;
    padding: 10px 20px;
    font-size: 1rem;
    background-color: #48c4b7;
    color: white;
    border-radius: 30px;
    cursor: pointer;
    text-align: center;
    display: inline-block;
}

.modal .close-button:hover {
    background-color: #5ad9ca;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 50;
    display: none;
}

.metrics {
    position: absolute;
    bottom: 110px;
    width: 100%;
    display: flex;
    justify-content: space-evenly;
    color: #48c4b7;
    font-size: 1.2rem;
    text-shadow: 0 0 5px rgba(72, 196, 183, 0.8), 0 0 10px rgba(72, 196, 183, 0.5);
    z-index: 99;
}

.metrics2 {
    position: absolute;
    bottom: 210px;
    width: 100%;
    display: flex;
    justify-content: space-evenly;
    color: #48c4b7;
    font-size: 1.2rem;
    text-shadow: 0 0 5px rgba(72, 196, 183, 0.8), 0 0 10px rgba(72, 196, 183, 0.5);
    z-index: 99;
}

.metric {
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: metricPulse 5s ease-in-out infinite;
}

.metric-title {
    font-size: 1rem;
    color: #fff;
    margin-bottom: 5px;
    font-weight: bold
}

@keyframes colorGlow {
    0% {
        color: #e94e77;
        text-shadow: 0 0 20px rgba(233, 78, 119, 0.8), 0 0 40px rgba(233, 78, 119, 0.6);
    }

    50% {
        color: #58e884;
        text-shadow: 0 0 20px rgba(88, 232, 132, 0.8), 0 0 40px rgba(88, 232, 132, 0.6);
    }

    100% {
        color: #48c4b7;
        text-shadow: 0 0 20px rgba(72, 196, 183, 0.8), 0 0 40px rgba(72, 196, 183, 0.6);
    }
}

@keyframes metricPulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

/* Mobile Padding and Responsiveness */
@media (max-width: 1000px) {
    h1 {
        font-size: 2rem;
        margin-bottom: 10px;
        text-align: center;
    }

    h2 {
        font-size: 1rem;
    }

    .about-button {
        padding: 8px 15px;
        font-size: 0.8rem;
    }

    .graphs {
        margin-top: 315px !important;
    }

    #charts-container {
        height: 560px !important;

    }
}

.leaflet-control-attribution.leaflet-control {
    display: none;
}