/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f0f8ff;
    color: #333;
    line-height: 1.6;
}

.game-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header Styles */
header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

h1 {
    color: #4a90e2;
    margin-bottom: 15px;
    font-size: 2.5rem;
}

.resource-display {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.resource {
    font-size: 1.2rem;
    font-weight: bold;
    background-color: #e6f2ff;
    padding: 10px 20px;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

#current-mutation {
    font-weight: bold;
    transition: color 0.5s ease;
}

#next-mutation {
    font-weight: bold;
    transition: color 0.5s ease;
}

#current-mutation-detail {
    font-weight: bold;
    transition: color 0.5s ease;
}

/* Main Game Area */
main {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.game-area {
    display: flex;
    gap: 30px;
}

.clicker-area {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

#main-clicker {
    background-color: #4a90e2;
    color: white;
    border: none;
    padding: 20px 40px;
    font-size: 1.5rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

#main-clicker:hover {
    background-color: #357abd;
    transform: scale(1.05);
}

#main-clicker:active {
    transform: scale(0.95);
}

.upgrades-area {
    flex: 1;
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.upgrades-area h2 {
    margin-bottom: 15px;
    color: #4a90e2;
    text-align: center;
}

.upgrade-items {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.upgrade-item {
    background-color: white;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease;
}

.upgrade-item:hover {
    transform: translateY(-3px);
}

.upgrade-item h3 {
    color: #4a90e2;
    margin-bottom: 5px;
}

.buy-button {
    background-color: #4caf50;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 10px;
    transition: background-color 0.2s ease;
}

.buy-button:hover {
    background-color: #3e8e41;
}

.buy-button:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}

/* Mutation specific styles */
#upgrade-mutation .buy-button {
    background-color: #9c27b0;
}

#upgrade-mutation .buy-button:hover {
    background-color: #7b1fa2;
}

#upgrade-mutation .buy-button:disabled {
    background-color: #cccccc;
}

/* Stats Area */
.stats-area {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.stats-area h2 {
    margin-bottom: 15px;
    color: #4a90e2;
}

.stats-area p {
    margin-bottom: 8px;
}

/* Reset Button */
.reset-container {
    margin-top: 20px;
    text-align: center;
}

#reset-button {
    background-color: #ff5252;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.2s ease;
}

#reset-button:hover {
    background-color: #ff0000;
    transform: scale(1.05);
}

#reset-button:active {
    transform: scale(0.95);
}

/* Footer */
footer {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    color: #777;
}

/* Animation for mutation upgrade */
@keyframes colorPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.mutation-upgraded {
    animation: colorPulse 0.5s ease;
}

/* Responsive Design */
@media (max-width: 768px) {
    .game-area {
        flex-direction: column;
    }
    
    .resource-display {
        flex-direction: column;
        gap: 10px;
    }
} 