/* Variáveis de cores */
:root {
    --dark-bg: #0d1b2a;
    --neon-green: #00ff88;
    --metal-dark: #1b263b;
    --text-light: #e0e1dd;
}

/* Reset básico e configurações globais */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: var(--dark-bg);
    font-family: 'Oxanium', cursive;
    color: var(--text-light);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Container principal */
.forge-container {
    background: var(--metal-dark);
    border: 2px solid var(--neon-green);
    border-radius: 15px;
    padding: 2rem;
    width: 90%;
    max-width: 600px;
    text-align: center;
    margin: 20px;
    box-shadow: 0 0 30px rgba(0, 255, 136, 0.1);
}

/* Cabeçalho */
h1 {
    color: var(--neon-green);
    margin-bottom: 2rem;
    font-size: 1.8rem;
    text-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
}

/* Display da senha */
.password-display {
    background: #18273a;
    padding: 1.5rem;
    margin: 1rem 0;
    border: 1px solid var(--neon-green);
    border-radius: 8px;
    font-size: 1.4rem;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s;
}

.password-display:hover {
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.2);
    transform: scale(1.02);
}

/* Dica para copiar senha */
.copy-hint {
    color: var(--neon-green);
    font-size: 1rem;
    margin-bottom: 0.5rem;
    margin-top: -0.5rem;
    text-shadow: 0 0 5px rgba(0,255,136,0.2);
}

/* Controles de seleção de materiais */
.forge-controls {
    display: grid;
    gap: 1rem;
    margin: 2rem 0;
}

.material-select {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1rem;
    background: #14212f;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
}

.material-select:hover {
    background: #1f3045;
    transform: translateY(-3px);
}

.material-select i {
    color: var(--neon-green);
    font-size: 1.2rem;
}

/* Controle deslizante de nível */
.level-container {
    margin: 1.5rem 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.level-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 10px;
    background: #14212f;
    border-radius: 5px;
    outline: none;
}
.level-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 25px;
    height: 25px;
    background: var(--neon-green);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
}

.level-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
    box-shadow: 0 0 15px var(--neon-green);
}

/* Botão principal */
.forge-button {
    background: none;
    border: 2px solid var(--neon-green);
    color: var(--neon-green);
    padding: 1rem 2rem;
    font-size: 1.1rem;
    cursor: pointer;
    border-radius: 50px;
    transition: all 0.3s;
    text-transform: uppercase;
    margin-top: 1rem;
    width: 100%;
}

.forge-button:hover {
    background: rgba(0, 255, 136, 0.1);
    letter-spacing: 3px;
}

/* Indicador de força */
.strength-indicator {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 1rem 0;
}

.strength-bar {
    width: 50px;
    height: 10px;
    background: #14212f;
    border-radius: 5px;
    transition: all 0.3s;
}

/* Barra ativa de força */
.strength-bar.ativa {
    background: var(--neon-green);
    box-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
}

/* Animações */
@keyframes glow {
    0% { text-shadow: 0 0 10px var(--neon-green); }
    50% { text-shadow: 0 0 20px var(--neon-green); }
    100% { text-shadow: 0 0 10px var(--neon-green); }
}

/* Seleção de material ativa */
.material-select.selected {
    background: #3a4d64 !important;
    border: 1px solid var(--neon-green);
}

.material-select.selected i {
    color: #ffffff !important;
}

/* Footer */
.footer {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid var(--neon-green);
    text-align: center;
}

.copyright {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.5;
}

.social-links {
    margin-top: 0.5rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.social-links a {
    color: var(--neon-green);
    font-size: 1.5rem;
    transition: all 0.3s;
}

.social-links a:hover {
    transform: translateY(-3px);
    text-shadow: 0 0 15px var(--neon-green);
}