/* link-discord.css — Landing de vinculación de cuenta con Discord.
   Mismo vocabulario visual que beta-android.css (madera/pergamino/oro) para
   que se lea como parte del sitio y no como una página aparte. */

.ld-wrap {
    max-width: 640px;
    margin: 0 auto 3rem;
    padding: 0 0.5rem;
}

.ld-hero {
    text-align: center;
    padding: 2.2rem 1rem 0.5rem;
}

.ld-hero-avatar {
    width: 128px;
    height: 128px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    display: block;
    box-shadow: 0 0 0 4px rgba(255, 213, 79, 0.85),
                0 0 28px rgba(255, 179, 0, 0.55),
                0 10px 26px rgba(0, 0, 0, 0.5);
}

.ld-title {
    font-family: 'Pirata One', cursive;
    font-size: clamp(1.9rem, 6vw, 2.7rem);
    color: #ffd54f;
    margin: 0 0 0.6rem;
    line-height: 1.1;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.85);
    letter-spacing: 1px;
}

.ld-card {
    background: linear-gradient(145deg, #4e342e, #3e2723);
    border: 2px solid #8d6e63;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6), inset 0 2px 4px rgba(255, 255, 255, 0.1);
    padding: 1.6rem;
    color: #fff8e1;
    margin-top: 1.6rem;
    text-align: center;
}

.ld-card h2 {
    font-family: 'Pirata One', cursive;
    font-size: 1.5rem;
    color: #ffd54f;
    margin: 0 0 0.9rem;
    letter-spacing: 0.5px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

.ld-card p {
    color: #e8dcc8;
    line-height: 1.55;
    margin: 0 auto 1rem;
}

.ld-input {
    width: 100%;
    box-sizing: border-box;
    padding: 0.75rem 0.9rem;
    background: rgba(0, 0, 0, 0.45);
    border: 2px solid #8d6e63;
    border-radius: 8px;
    color: #fff8e1;
    font-family: inherit;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.ld-input::placeholder { color: #a1887f; }

.ld-input:focus {
    outline: none;
    border-color: #f0c040;
    box-shadow: 0 0 10px rgba(240, 192, 64, 0.3);
    background: rgba(0, 0, 0, 0.6);
}

.ld-btn {
    display: inline-block;
    width: 100%;
    padding: 0.8rem 2rem;
    background: linear-gradient(180deg, #f0c040, #c8860a);
    border: 2px solid #7a4f00;
    border-radius: 8px;
    color: #1a0a00;
    font-family: inherit;
    font-size: 1.02rem;
    font-weight: 800;
    letter-spacing: 0.3px;
    cursor: pointer;
    transition: filter 0.15s ease, transform 0.15s ease;
}

.ld-btn:hover:not(:disabled)  { filter: brightness(1.12); transform: translateY(-1px); }
.ld-btn:active:not(:disabled) { filter: brightness(0.92); transform: translateY(1px); }
.ld-btn:disabled { filter: brightness(0.6); cursor: not-allowed; transform: none; }

.ld-status {
    min-height: 1.2em;
    margin: 0.9rem 0 0;
    text-align: center;
    font-size: 0.92rem;
    font-weight: 700;
}

.ld-status:empty { display: none; }
.ld-status.ok { color: #66bb6a; }
.ld-status.ko { color: #ef5350; }

.ld-success-mark {
    font-size: 3rem;
    line-height: 1;
    margin-bottom: 0.6rem;
}

.ld-role-warning {
    background: rgba(0, 0, 0, 0.35);
    border: 1px dashed rgba(255, 213, 79, 0.55);
    border-radius: 8px;
    padding: 0.7rem 0.9rem;
    color: #ffd54f;
    font-size: 0.9rem;
}

.ld-loading {
    text-align: center;
    color: #e8dcc8;
    padding: 2rem 1rem;
}
