@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Oswald', sans-serif;
    -webkit-tap-highlight-color: transparent;
}

body {
    background-color: #000000;
    color: #ffffff;
    display: flex;
    justify-content: center;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

#particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.mobile-container {
    width: 100%;
    max-width: 480px;
    background-color: transparent;
    display: flex;
    flex-direction: column;
    padding: 20px;
    position: relative;
    overflow-x: hidden;
    z-index: 1;
}

header {
    text-align: center;
    margin-bottom: 30px;
    margin-top: 10px;
}

.banner-img {
    max-width: 35%;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 8px;
}

.header-subtitle {
    background-color: #000000;
    color: #ffffff;
    border: 2px solid #ff0000;
    padding: 10px 20px;
    margin-bottom: 15px;
    border-radius: 8px;
    font-size: 14px;
    text-align: center;
    letter-spacing: 0.5px;
    display: block;
    width: 100%;
    text-transform: uppercase;
    font-family: 'Oswald', sans-serif;
    font-weight: 400;
    box-sizing: border-box;
}

.input-group {
    margin-bottom: 25px;
    display: flex;
    flex-direction: column;
}

.input-group label {
    font-size: 18px;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #ffffff;
}

.centered-label {
    text-align: center;
}

input, select {
    width: 100%;
    background-color: #0a0000;
    border: 2px solid #ff0000;
    color: #ffffff;
    padding: 15px;
    font-size: 18px;
    border-radius: 8px;
    outline: none;
    box-shadow: inset 0 0 10px rgba(255, 0, 0, 0.2);
    transition: 0.3s;
    cursor: pointer;
}

select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 20px;
    padding-right: 45px;
    text-align: center;
    text-align-last: center;
}

select option {
    background-color: #000000;
    color: #ffffff;
    padding: 10px;
}

input {
    cursor: text;
}

input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

input:focus, select:focus {
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.6), inset 0 0 10px rgba(255, 0, 0, 0.3);
}

.dpi-container {
    display: flex;
    gap: 15px;
    justify-content: space-between;
}

.dpi-btn {
    flex: 1;
    background-color: #000000;
    border: 2px solid #ff0000;
    color: #ffffff;
    padding: 15px 5px;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dpi-btn.active {
    background-color: #ff0000;
    color: #000000;
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.8);
}

.space-filler {
    flex-grow: 1;
}

.token-message {
    text-align: center;
    margin-bottom: 15px;
    padding: 10px;
    background-color: rgba(255, 0, 0, 0.1);
    border: 1px solid #ff0000;
    border-radius: 8px;
}

.token-message p {
    color: #ffffff;
    font-size: 16px;
    margin: 0;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.btn-gerar {
    width: 100%;
    background-color: #000000;
    border: 3px solid #ff0000;
    color: #ffffff;
    font-size: 24px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 18px;
    border-radius: 12px;
    cursor: pointer;
    margin-top: 20px;
    margin-bottom: 20px;
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.4);
    transition: 0.3s;
}

.btn-gerar:active {
    background-color: #ff0000;
    color: #000000;
    box-shadow: 0 0 30px #ff0000;
    transform: scale(0.95);
}

/* CARD DE RESULTADO */
.result-card {
    background-color: #0a0000;
    border: 2px solid #ff0000;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 0 25px rgba(255, 0, 0, 0.5);
    display: none;
    animation: fadeIn 0.5s ease;
}

.result-card.show {
    display: block;
}

.result-title {
    text-align: center;
    font-size: 22px;
    margin-bottom: 20px;
    border-bottom: 1px dashed #ff0000;
    padding-bottom: 10px;
    color: #ffffff;
}

.sensi-list {
    list-style: none;
}

.sensi-list li {
    display: flex;
    justify-content: space-between;
    font-size: 20px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 0, 0, 0.2);
    text-transform: uppercase;
    color: #ffffff;
}

.sensi-list li:last-child {
    border-bottom: none;
    font-weight: bold;
    font-size: 22px;
    margin-top: 10px;
    color: #ffffff;
}

.val {
    font-weight: 700;
    color: #ffffff;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Modal de Tokens Esgotados */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    animation: fadeIn 0.3s ease;
}

.modal-overlay.show {
    display: flex;
}

.modal-content {
    background-color: #0a0000;
    border: 3px solid #ff0000;
    border-radius: 12px;
    padding: 40px 30px;
    max-width: 400px;
    width: 90%;
    text-align: center;
    box-shadow: 0 0 30px rgba(255, 0, 0, 0.6);
    animation: fadeIn 0.5s ease;
}

.modal-content h2 {
    color: #ffffff;
    font-size: 24px;
    text-transform: uppercase;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.modal-content p {
    color: #ffffff;
    font-size: 18px;
    margin-bottom: 30px;
    line-height: 1.5;
}

.modal-btn {
    background-color: #ff0000;
    color: #ffffff;
    border: none;
    padding: 15px 40px;
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s;
    font-family: 'Oswald', sans-serif;
}

.modal-btn:hover {
    background-color: #cc0000;
    transform: scale(1.05);
}

.modal-btn:active {
    transform: scale(0.95);
}
