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

body {
    background-color: rgba(25,23,25,255);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: 'DM Mono', monospace;
    color: white;
}

.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 2rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-bottom: 0.5rem;
    letter-spacing: 2px;
}

h3 {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    margin-bottom: 2rem;
    opacity: 0.8;
}

.loading-gif {
    width: auto;
    max-width: 100%;
    height: auto;
    margin: 2rem 0;
}

.status {
    font-size: clamp(1rem, 2vw, 1.2rem);
    opacity: 0.8;
}

.error-message {
    margin: 2rem 0;
    font-size: clamp(1rem, 2vw, 1.2rem);
}

.error-code {
    margin-top: 1rem;
    color: #ff4444;
    font-family: monospace;
}

.button-container {
    display: flex;
    gap: clamp(1rem, 3vw, 2rem);
    margin-top: 2rem;
    justify-content: center;
    width: 100%;
    flex-wrap: wrap;
}

.back-button, .repair-button {
    background-color: white;
    color: black;
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 9999px;
    cursor: pointer;
    font-weight: 700;
    font-size: clamp(0.9rem, 1.5vw, 1rem);
    text-decoration: none;
    transition: transform 0.2s ease;
    min-width: 140px;
}

.back-button:hover, .repair-button:hover {
    transform: scale(1.05);
}

.repair-button {
    background-color: rgb(212 160 255);
}

@media (max-width: 480px) {
    .container {
        padding: 1rem;
    }

    .button-container {
        flex-direction: column;
        align-items: center;
    }

    .back-button, .repair-button {
        width: 100%;
        max-width: 200px;
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
    }
}