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

body {
    background: linear-gradient(135deg, #0a1c2e 0%, #061220 100%);
    font-family: 'Courier New', 'VT323', monospace;
    padding: 2rem 1.5rem;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.pixel-card {
    max-width: 550px;
    margin: 0 auto;
    background: #0e2a3a;
    border-radius: 32px;
    padding: 1.8rem;
    border: 2px solid #00b4d8;
    box-shadow: 8px 8px 0 #062c3b;
}

.pixel-header {
    text-align: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px dashed #00b4d855;
}

.pixel-header h1 {
    color: #90e0ef;
    font-size: 1.8rem;
    letter-spacing: 3px;
    text-shadow: 3px 3px 0 #004e6e;
}

.pixel-header p {
    color: #7fdbff;
    font-weight: bold;
    font-size: 0.85rem;
    margin-top: 0.3rem;
}

.btn-voltar {
    display: inline-block;
    background: #1a3a48;
    color: #90e0ef;
    text-decoration: none;
    padding: 0.5rem 1.2rem;
    border-radius: 40px;
    font-weight: bold;
    font-size: 0.85rem;
    margin-top: 0.8rem;
    border: 1px solid #00b4d8;
    transition: all 0.2s;
}

.btn-voltar:hover {
    background: #00b4d8;
    color: #0a1c2e;
    border-color: #90e0ef;
    transform: scale(0.98);
}

.art-area {
    background: #05212b;
    border-radius: 28px;
    text-align: center;
    padding: 1.5rem;
    margin-bottom: 1.2rem;
    border: 1px solid #00b4d8aa;
}

.art-area img {
    width: 200px;
    height: auto;
    image-rendering: crisp-edges;
    image-rendering: pixelated;
}

.pokemon-name {
    display: inline-block;
    background: #1a3a48;
    padding: 0.3rem 1.5rem;
    border-radius: 40px;
    font-size: 1.8rem;
    font-weight: bold;
    color: #c4f2ff;
    border: 1px solid #48cae4;
}

.type-badge {
    display: inline-block;
    background: #0e2a3a;
    padding: 0.2rem 1rem;
    border-radius: 32px;
    margin: 0.2rem;
    font-weight: bold;
    color: #ade8f4;
    font-size: 0.85rem;
    border-left: 2px solid #00b4d8;
}

.description {
    background: #05212bcc;
    padding: 1rem;
    border-radius: 20px;
    margin: 1rem 0;
    color: #cae9ff;
    font-size: 0.9rem;
    line-height: 1.4;
    border-left: 4px solid #90e0ef;
}

.matchup-section {
    margin-top: 1rem;
}

.matchup-title {
    font-weight: bold;
    font-size: 0.8rem;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    color: #90e0ef;
    border-left: 3px solid #00b4d8;
    padding-left: 8px;
}

.badge-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 0.3rem;
}

.type-tag {
    background: #143b49;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: bold;
    color: #d7f2ff;
    border: 1px solid #2c6a80;
}

.type-strong {
    background: #1a5a6e;
    border-color: #6ee7ff;
    color: #e6faff;
}

.type-weak {
    background: #6b2e3a;
    border-color: #ff8a8a;
    color: #ffe0e0;
}

.type-immune {
    background: #2a3a6b;
    border-color: #8a9eff;
    color: #e0e4ff;
}

.footer {
    text-align: center;
    margin-top: 1.8rem;
    padding-top: 1rem;
    border-top: 2px dashed #00b4d855;
    color: #6cb0c0;
    font-size: 0.75rem;
}

/* FORMULÁRIO */
.form-section {
    margin-top: 1.5rem;
    background: #05212bcc;
    padding: 1rem;
    border-radius: 20px;
}

.form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: flex-end;
}

.form-group {
    flex: 1;
    min-width: 180px;
}

.form-group label {
    display: block;
    color: #7fdbff;
    font-size: 0.8rem;
    margin-bottom: 0.3rem;
    font-weight: bold;
}

.form-group input {
    width: 100%;
    padding: 0.7rem 1rem;
    border-radius: 16px;
    border: 2px solid #00b4d8;
    background: #0e2a3a;
    color: #fff;
    font-family: monospace;
    font-size: 0.85rem;
    transition: all 0.2s;
}

.form-group input:focus {
    outline: none;
    border-color: #90e0ef;
    box-shadow: 0 0 0 3px #90e0ef33;
    background: #1a3a48;
}

.button-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
}

.btn-enviar {
    background: linear-gradient(135deg, #00b4d8 0%, #0077b6 100%);
    color: #0a1c2e;
    border: none;
    padding: 0.7rem 2rem;
    border-radius: 50px;
    font-weight: bold;
    cursor: pointer;
    font-family: 'Courier New', 'VT323', monospace;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    min-width: 160px;
    transition: background 0.2s;
}

.btn-enviar:hover {
    background: linear-gradient(135deg, #90e0ef 0%, #48cae4 100%);
    color: #0a1c2e;
}

@media (max-width: 600px) {
    body {
        padding: 1rem;
    }
    .pixel-card {
        padding: 1.2rem;
    }
    .pokemon-name {
        font-size: 1.4rem;
    }
    .art-area img {
        width: 150px;
    }
    .form-row {
        flex-direction: column;
        gap: 0.8rem;
    }
    .btn-enviar {
        width: 100%;
        min-width: unset;
    }
}