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

body {
    background: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
    overflow: hidden;
    font-family: 'Arial', sans-serif;
    color: #fff;
}

#particleCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.controls {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: flex-end;
}

.control-button {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 10px 20px;
    border-radius: 25px;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.control-button:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.control-button.active {
    background: rgba(255, 0, 0, 0.2);
    border-color: rgba(255, 0, 0, 0.4);
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.3);
}

.stats {
    background: rgba(0, 0, 0, 0.5);
    padding: 10px 15px;
    border-radius: 15px;
    font-size: 14px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    backdrop-filter: blur(5px);
}

.stats span {
    color: #fff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.settings-panel {
    position: fixed;
    top: 20px;
    right: -400px;
    width: 350px;
    background: rgba(0, 0, 0, 0.8);
    padding: 20px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    transition: right 0.3s ease;
    z-index: 3;
}

.settings-panel.active {
    right: 20px;
}

.settings-panel h3 {
    margin-bottom: 20px;
    color: #fff;
    text-align: center;
}

.setting-group {
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.setting-group label {
    color: #fff;
    font-size: 14px;
}

.setting-group input[type="range"] {
    width: 100%;
    margin: 5px 0;
}

.setting-group select {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 5px;
    border-radius: 5px;
    width: 100%;
}

.info-panel {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.9);
    padding: 30px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    z-index: 4;
    text-align: center;
    max-width: 400px;
}

.info-panel h3 {
    margin-bottom: 20px;
    color: #fff;
}

.info-panel p {
    margin-bottom: 10px;
    color: #fff;
    font-size: 14px;
}

.info-panel .control-button {
    margin-top: 20px;
}

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

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

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

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