body {
    margin: 0;
    padding: 20px;
    font-family: "Gotham SSm A", "Gotham SSm B", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
    background-color: #f5f5f5;
    color: #800000; /* UChick Maroon */
}

#simulation-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.controls-wrapper {
    position: fixed;
    right: 20px;
    top: 20px;
    width: 400px;
    z-index: 100;
    transition: transform 0.3s ease;
}

.controls-wrapper.collapsed {
    transform: translateX(370px);
}

#controls {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(128, 0, 0, 0.1);
    border: 2px solid #800000;
    position: relative;
}

.toggle-controls {
    position: absolute;
    left: -40px;
    top: 50%;
    transform: translateY(-50%);
    background: #800000;
    color: white;
    border: none;
    padding: 10px;
    border-radius: 5px 0 0 5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 80px;
    font-size: 20px;
    box-shadow: -2px 0 5px rgba(0,0,0,0.1);
}

.toggle-controls:hover {
    background: #600000;
}

.press-f-prompt {
    position: fixed;
    top: 20px;
    left: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.9);
    padding: 10px 15px;
    border-radius: 20px;
    box-shadow: 0 2px 10px rgba(128, 0, 0, 0.1);
    border: 2px solid #800000;
    animation: bounce 2s infinite;
}

.press-f-prompt img {
    width: 30px;
    height: 30px;
}

.press-f-prompt span {
    color: #800000;
    font-weight: 500;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

h1 {
    margin: 0 0 20px 0;
    color: #800000;
    font-size: 28px;
    text-align: center;
    font-weight: 700;
}

h1::after {
    content: "💨";
    margin-left: 10px;
    font-size: 24px;
}

h2 {
    color: #800000;
    font-size: 20px;
    margin: 25px 0 15px 0;
    padding-top: 15px;
    border-top: 2px solid rgba(128, 0, 0, 0.1);
}

h2::after {
    margin-left: 10px;
    font-size: 18px;
}

.control-group {
    margin-bottom: 20px;
    position: relative;
    padding: 10px;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.control-group:hover {
    background-color: rgba(128, 0, 0, 0.05);
}

.control-group::before {
    content: attr(data-pun);
    position: absolute;
    right: 10px;
    top: -5px;
    font-size: 12px;
    color: #800000;
    opacity: 0;
    transition: opacity 0.3s;
}

.control-group:hover::before {
    opacity: 0.7;
}

label {
    display: block;
    margin-bottom: 8px;
    color: #800000;
    font-weight: 500;
}

input[type="range"] {
    width: 100%;
    margin: 10px 0;
    accent-color: #800000;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    height: 20px;
    width: 20px;
    border-radius: 50%;
    background: #800000;
    cursor: pointer;
    transition: transform 0.2s;
}

input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

#stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 2px solid rgba(128, 0, 0, 0.1);
}

.stat {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    border: 1px solid rgba(128, 0, 0, 0.1);
    transition: transform 0.3s;
}

.stat:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(128, 0, 0, 0.1);
}

.stat h3 {
    margin: 0 0 10px 0;
    font-size: 14px;
    color: #800000;
}

.stat p {
    margin: 0;
    font-size: 18px;
    font-weight: bold;
    color: #800000;
}

#canvas-container {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(128, 0, 0, 0.1);
    border: 2px solid #800000;
    min-height: 400px;
    position: relative;
    overflow: hidden;
}

/* Easter egg tooltip */
#easter-egg {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #800000;
    color: white;
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 14px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s;
}

#easter-egg.show {
    opacity: 1;
    transform: translateY(0);
}

#infoContainer {
    margin-top: 20px;
    text-align: center;
    color: #800000; /* UCHICKKKKK Maroon */
}

.stats {
    display: flex;
    justify-content: space-around;
    margin-top: 20px;
}

.stat {
    flex: 1; 
    text-align: center;
} 