:root {
    --dark-bg: #050a14;
    --panel-bg: #10182D;
    --text-color: #eeeeee;
    --label-color: #888899;
    --neon-blue: #00d1ff;
    --neon-magenta: #ff00f7;
}

body {
    background-color: var(--dark-bg);
    color: var(--text-color);
    font-family: 'Roboto Mono', monospace;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    padding: 20px;
    box-sizing: border-box;
}

.container {
    width: 100%;
    max-width: 800px;
    text-align: center;
}

h1 {
    font-weight: 700;
    font-size: 2rem;
    color: var(--text-color);
    margin-bottom: 30px;
}

.gauge-container {
    margin-bottom: 20px;
}

#gauge-value {
    font-size: 16px;
    font-weight: 700;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.result-box {
    background-color: var(--panel-bg);
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #2a334f;
}

.result-box .label {
    display: block;
    font-size: 0.9rem;
    color: var(--label-color);
    margin-bottom: 10px;
}

.result-box .value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--neon-blue);
}

.button {
    display: inline-block;
    padding: 15px 50px;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark-bg);
    background-color: var(--neon-blue);
    border: 2px solid var(--neon-blue);
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(0, 209, 255, 0.5);
}

.button:hover {
    background-color: var(--dark-bg);
    color: var(--neon-blue);
}

#summaryArea {
    margin-top: 20px;
    min-height: 24px;
    font-size: 1.1rem;
    color: var(--neon-magenta);
}

.tech-toggle {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #2a334f;
    transition: .4s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: var(--neon-blue);
}

input:checked + .slider:before {
    transform: translateX(26px);
}

#tech-details {
    margin-top: 30px;
    padding: 20px;
    background-color: var(--panel-bg);
    border-radius: 8px;
    border: 1px solid #2a334f;
    transition: opacity 0.5s ease;
}

#tech-details.hidden {
    display: none;
    opacity: 0;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    text-align: left;
    margin-bottom: 20px;
}

.graph-container {
    width: 100%;
}