/* ---------------------------------------------------------
   GLOBAL — Eleven Premium + Arkana
--------------------------------------------------------- */

body {
    margin: 0;
    background: #0a0c10;
    color: #e8e8e8;
    font-family: 'Segoe UI', sans-serif;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
    transition: 0.25s ease;
}

h1, h2, h3 {
    margin: 0;
    font-weight: 600;
    letter-spacing: 0.4px;
}

/* Animación global suave */
* {
    transition: 0.25s ease;
}

/* ---------------------------------------------------------
   SIDEBAR — Eleven Premium
--------------------------------------------------------- */

.sidebar {
    width: 260px;
    background: linear-gradient(180deg, #111418, #0d0f12);
    border-right: 1px solid #1c1f24;
    padding: 32px 24px;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
    box-shadow: 4px 0 25px rgba(0,0,0,0.35);
}

.sidebar-logo {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 1.35rem;
    color: #00c2ff;
    margin-bottom: 28px;
    font-weight: 700;
    text-shadow: 0 0 12px rgba(0,194,255,0.4);
}

.sidebar a {
    padding: 14px 18px;
    border-radius: 12px;
    background: #14171c;
    border: 1px solid #1f2429;
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 0.97rem;
    font-weight: 500;
}

.sidebar a:hover {
    background: #1c2127;
    border-color: #2b323a;
    transform: translateX(6px);
    box-shadow: 0 0 12px rgba(0,194,255,0.15);
}

.sidebar-separator {
    margin: 24px 0;
    border-bottom: 1px solid #1f2429;
    opacity: 0.6;
}

/* ---------------------------------------------------------
   MAIN CONTENT
--------------------------------------------------------- */

.main {
    margin-left: 280px;
    padding: 50px;
}

.subtitle {
    color: #b8b8b8;
    margin-bottom: 28px;
    font-size: 1.08rem;
}

/* ---------------------------------------------------------
   CARDS — Eleven Premium Depth
--------------------------------------------------------- */

.contact-card,
.whitelist-card,
.dashboard-card,
.forbidden-card {
    background: #111418;
    padding: 34px;
    border-radius: 16px;
    border: 1px solid #1f2429;
    box-shadow: 0 0 30px rgba(0,0,0,0.28);
    transition: 0.25s ease;
}

/* Hover 3D */
.contact-card:hover,
.whitelist-card:hover,
.dashboard-card:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 0 40px rgba(0,0,0,0.38);
}

.dashboard-card {
    display: flex;
    align-items: center;
    gap: 30px;
    max-width: 700px;
}

.whitelist-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 780px;
    margin-bottom: 38px;
}

.forbidden-card {
    max-width: 540px;
    text-align: center;
}

.forbidden-icon {
    font-size: 3.4rem;
    color: #ff6666;
    margin-bottom: 20px;
}

/* ---------------------------------------------------------
   AVATAR — Glow Arkana
--------------------------------------------------------- */

.avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 3px solid #00c2ff;
    box-shadow: 0 0 18px rgba(0,194,255,0.45);
}

/* ---------------------------------------------------------
   FORMULARIOS — Premium
--------------------------------------------------------- */

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form label {
    font-size: 1rem;
    color: #c7c7c7;
    font-weight: 500;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    background: #14171c;
    border: 1px solid #22282e;
    padding: 15px;
    border-radius: 12px;
    color: #e5e5e5;
    font-size: 1rem;
    resize: none;
}

.contact-form textarea {
    height: 160px;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    outline: none;
    border-color: #00c2ff;
    box-shadow: 0 0 12px rgba(0,194,255,0.35);
}

/* ---------------------------------------------------------
   ESTADOS WHITELIST
--------------------------------------------------------- */

.estado {
    padding: 10px 18px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.97rem;
}

.estado-pendiente {
    background: #2f2f00;
    color: #fff176;
}

.estado-aceptado {
    background: #003300;
    color: #66ff66;
}

.estado-rechazado {
    background: #330000;
    color: #ff6666;
}

/* ---------------------------------------------------------
   BOTONES — Eleven Premium Gradient
--------------------------------------------------------- */

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(90deg, #00c2ff, #0099cc);
    padding: 14px 28px;
    border-radius: 12px;
    color: #000;
    font-weight: 700;
    border: none;
    font-size: 1rem;
}

.btn-primary:hover {
    background: linear-gradient(90deg, #00a4d6, #007aa3);
    transform: translateY(-3px);
    box-shadow: 0 0 14px rgba(0,194,255,0.35);
}

/* ---------------------------------------------------------
   GRID PREMIUM PARA FACCIONES
--------------------------------------------------------- */

.facciones-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
    margin-top: 30px;
}

.faccion-card {
    background: #111418;
    padding: 28px;
    border-radius: 16px;
    border: 1px solid #1f2429;
    box-shadow: 0 0 25px rgba(0,0,0,0.25);
    transition: 0.25s ease;
}

.faccion-card:hover {
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 0 45px rgba(0,194,255,0.25);
}

/* ---------------------------------------------------------
   FOOTER
--------------------------------------------------------- */

.footer {
    margin-top: 80px;
    padding: 28px;
    text-align: center;
    color: #777;
    border-top: 1px solid #1f2429;
    font-size: 0.92rem;
}

/* ---------------------------------------------------------
   RESPONSIVE
--------------------------------------------------------- */

@media (max-width: 900px) {
    .sidebar {
        position: relative;
        width: 100%;
        flex-direction: row;
        overflow-x: auto;
        height: auto;
        padding: 18px;
    }

    .main {
        margin-left: 0;
        padding: 30px;
    }

    .whitelist-card {
        flex-direction: column;
        text-align: center;
    }
}
