@import url('https://fonts.googleapis.com/css2?family=Comfortaa:wght@300..700&display=swap');

html, * {
    font-family: 'Comfortaa', sans-serif;
    margin: 0;
    color: white;
}

body {
    background: url("/assets/images/background.png") no-repeat center center fixed !important;
}

.container {
    width: 600px;
    max-height: 90vh;
    background: rgba(27, 26, 31, 0.7);
    backdrop-filter: blur(144px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 30px;
    overflow: auto;
}

#tslogo {
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    width: 500px;
    height: auto;
}

.project-desc {
    font-size: 16px;
    line-height: 1.5;
    margin: 40px 0;
    text-align: center;
}

.buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.button-section {
    display: flex;
    width: 100%;
    flex-direction: row;
    justify-content: center;
    gap: 20px;
    margin-bottom: 0;
}

.button {
    width: 100%;
    height: 100px;
    background: rgba(27, 26, 31, 0.8);
    border-radius: 10px;
    border: none;
    color: white;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-transform: uppercase;
    margin: 0;
}

.button:disabled {
    background: rgba(13, 12, 15, 0.5);
    cursor: not-allowed;
    position: relative;
    transition: color 0.3s ease;
}

.button:disabled::after {
    content: "Indisponible";
    color: rgba(255,255,255,0.7);
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    font-size: 16px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.button:disabled:hover {
    color: transparent;
}

.button:disabled:hover::after {
    opacity: 1;
}

.button:hover {
    background: rgba(13, 12, 15, 0.8);
}

.button#green {
    border: 1px solid #0EB551;
}

.button#blue {
    border: 1px solid #558BFF;
}

.button#red {
    border: 1px solid #FF5555;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .container {
        width: 90%;
        max-width: none;
        padding: 20px;
        margin: 20px;
        top: auto;
        left: auto;
        right: auto;
        bottom: auto;
        position: relative;
        transform: none;
        min-height: calc(100vh - 40px);
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    body {
        padding: 0;
        margin: 0;
        min-height: 100vh;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    #tslogo {
        width: 90%;
        max-width: 350px;
    }

    .project-desc {
        font-size: 14px;
        margin: 30px 0;
    }

    .button-section {
        flex-direction: column;
        gap: 15px;
    }

    .button {
        height: 80px;
        font-size: 14px;
    }
}

@media screen and (max-width: 480px) {
    .container {
        width: 95%;
        padding: 15px;
        margin: 10px;
        border-radius: 15px;
    }

    #tslogo {
        width: 95%;
        max-width: 280px;
    }

    .project-desc {
        font-size: 13px;
        margin: 25px 0;
        line-height: 1.4;
    }

    .buttons {
        gap: 15px;
    }

    .button {
        height: 70px;
        font-size: 13px;
        border-radius: 8px;
    }

    .button:disabled::after {
        font-size: 13px;
    }
}

@media screen and (max-width: 320px) {
    .container {
        width: 98%;
        padding: 12px;
        margin: 5px;
    }

    #tslogo {
        width: 100%;
        max-width: 250px;
    }

    .project-desc {
        font-size: 12px;
        margin: 20px 0;
    }

    .button {
        height: 60px;
        font-size: 12px;
    }

    .button:disabled::after {
        font-size: 12px;
    }
}