/* ============================================================
   ARKadia - Web Pública
   CSS principal
   ============================================================ */


/* ============================================================
   RESET / BASE
   ============================================================ */

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
}

body {
    margin: 0;
    padding: 0;

    background: #15181d;
    color: #ffffff;

    font-family:Segoe UI,Arial,sans-serif;
    font-size: 14px;

    min-height: 100vh;
}


/* ============================================================
   ENLACES
   ============================================================ */

a {
    color: #59b8ff;
    text-decoration: none;
}

a:hover {
    color: #ffffff;
}


/* ============================================================
   HEADER
   ============================================================ */

header {
    width: 100%;
    margin: 10px 0 1px;
}

.header-container{

    max-width:1650px;

    margin:0 auto;

    background:#20242b;

    border:1px solid #303844;

    border-radius:12px;

    overflow:hidden;

    box-shadow:0 0 20px rgba(0,0,0,.25);

}

.topbar{

    max-width:1200px;

    margin:0 auto;

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:5px 5px;

}


/* ============================================================
   LOGO
   ============================================================ */

.logo,
.logo:hover,
.logo:visited {
    text-decoration: none;
    color: inherit;
}

.logo{

    display:flex;

    align-items:center;

    gap:22px;

    text-decoration:none;

    color:inherit;

}

.logo img {
    height: 72px;
}


.logo-text {
    display: flex;
    flex-direction: column;
}

.logo span{

    font-size:44px;

    font-weight:700;

    color:#59c4ff;

    line-height:1;

}

.logo small{

    margin-top:6px;

    font-size:14px;

    color:#9ea9b7;

    letter-spacing:.5px;

}


/* ============================================================
   MENÚ PRINCIPAL
   ============================================================ */

nav {
    position: absolute;

    left: 50%;
    transform: translateX(-50%);

    width: max-content;

    display: flex;
    justify-content: center;

    gap: 20px;
}

nav a{

    text-decoration:none;

    color:#f0f0f0;

    padding:10px 18px;

    border-radius:8px;

    transition:.25s;

}

nav a:hover{

    background:#38bdf8;

    color:#111;

}

nav a.active {
    background: #2b313b;
    color: #59c4ff;
    font-weight: 600;
}


/* ============================================================
   CONTENIDO PRINCIPAL
   ============================================================ */

.site-content {
    width: 100%;
    padding: 10px 10px 10px;
}


/* ============================================================
   CONTENEDOR DE PÁGINA
   ============================================================ */

.page-container {
    width: 100%;
    max-width: 1350px;

    margin:0 auto;

    background: #20242b;

    border: 1px solid #2f3946;
    border-radius: 16px;

    padding: 20px;

    box-sizing: border-box;
}

.page-container-login {
    width: 100%;
    max-width: 600px;

    margin:0 auto;

    background: #20242b;

    border: 1px solid #2f3946;
    border-radius: 16px;

    padding: 20px;

    box-sizing: border-box;
}



/* ===========================================
   Botones
=========================================== */

.button,
.button:link,
.button:visited{

    display:inline-block;

    background:#2b313b;

    color:#ffffff !important;

    text-decoration:none;

    padding:14px 28px;

    border:1px solid #303844;

    border-radius:10px;

    font-weight:bold;

    transition:.25s;

}

.button:hover{

    background:#38bdf8;

    color:#111 !important;

    border-color:#38bdf8;

    text-decoration:none;

    transform:translateY(-3px);

}

.button:active{

    text-decoration:none;

}


/* ============================================================
   ENCABEZADO DE PÁGINA
   ============================================================ */

.page-header {
    margin-bottom: 10px;
}

.page-header h1 {
    margin: 0 0 8px;

    font-size: 28px;
    font-weight: 700;
}

.page-header p {
    margin: 0;

    color: #9da7b5;
}


/* ============================================================
   CARDS
   ============================================================ */

.card {
    background: #1b1f25;

    border: 1px solid #2f3946;
    border-radius: 12px;

    padding: 20px;

    margin-bottom: 15px;
}

.card h2 {
    margin-top: 0;
    margin-bottom: 10px;

    font-size: 20px;
}

.card p {
    margin: 0;

    color: #b8c0cc;
    line-height: 1.6;
}


/* ============================================================
   CAJAS DE INFORMACIÓN
   ============================================================ */

.info-box,
.warning-box,
.success-box,
.premium-box {
    border-radius: 10px;
    padding: 15px 18px;

    margin-bottom: 15px;
}

.info-box {
    background: rgba(59, 130, 246, .08);
    border: 1px solid rgba(59, 130, 246, .30);
}

.warning-box {
    background: rgba(245, 158, 11, .08);
    border: 1px solid rgba(245, 158, 11, .30);
}

.success-box {
    background: rgba(34, 197, 94, .08);
    border: 1px solid rgba(34, 197, 94, .30);
}

.premium-box {
    background: rgba(168, 85, 247, .08);
    border: 1px solid rgba(168, 85, 247, .30);
}


/* ============================================================
   TEXTO
   ============================================================ */

.text-muted {
    color: #8b95a7;
}

.text-secondary {
    color: #b8c0cc;
}

.text-white {
    color: #ffffff;
}


/* ============================================================
   TABLAS
   ============================================================ */

.table-container {
    width: 100%;
    overflow-x: auto;

    border: 1px solid #2f3946;
    border-radius: 10px;
}

table {
    width: 100%;

    border-collapse: collapse;

    background: #1b1f25;
}

th {
    padding: 12px;

    background: #252b34;

    color: #ffffff;

    font-weight: 600;
    text-align: left;

    border-bottom: 1px solid #36404d;
}

td {
    padding: 11px 12px;

    color: #d7dce3;

    border-bottom: 1px solid #2a3039;
}

tr:last-child td {
    border-bottom: none;
}

tr:hover td {
    background: rgba(255, 255, 255, .025);
}


/* ============================================================
   BOTONES
   ============================================================ */

.btn {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 7px;

    padding: 8px 14px;

    border-radius: 8px;
    border: 1px solid #394452;

    background: #252b34;
    color: #ffffff;

    cursor: pointer;

    font-size: 14px;

    transition:
        background .2s,
        border-color .2s,
        color .2s;
}

.btn:hover {
    background: #303844;
    border-color: #4b5969;
    color: #ffffff;
}


/* ============================================================
   FORMULARIOS
   ============================================================ */

input,
select,
textarea {
    width: 100%;

    padding: 10px 12px;

    background: #171b20;
    color: #ffffff;

    border: 1px solid #353e4a;
    border-radius: 8px;

    font-family: inherit;
    font-size: 14px;

    outline: none;
}

input:focus,
select:focus,
textarea:focus {
    border-color: #59b8ff;
}

label {
    display: block;

    margin-bottom: 6px;

    color: #b8c0cc;

    font-weight: 600;
}


/* ============================================================
   PLAYER
   ============================================================ */

.player-row {
    display: grid;

    grid-template-columns: 180px 1fr;

    align-items: center;

    padding: 10px 0;
}

.player-label {
    color: #8b95a7;
    font-weight: 600;
}

.player-value {
    color: #ffffff;
    text-align: left;
}


/* ============================================================
   ENLACES DE JUGADORES
   ============================================================ */

.link-name {
    color: #ffffff;

    font-weight: 600;
    text-decoration: none;

    transition: color .18s ease;

    cursor: pointer;
}

.link-name:hover {
    color: #59b8ff;
}


/* ============================================================
   ARKPOINTS
   ============================================================ */

.apoints {
    text-align: right;

    color: #00FF7F;

    font-weight: 700;
    font-size: 1rem;
}


/* ============================================================
   FOOTER
   ============================================================ */

footer {
    width: 100%;
    margin-top: 20px;
}

.footer-container {
    max-width: 1650px;

    margin: 0 auto;
    padding: 8px;

    background: #20242b;

    border: 1px solid #303844;
    border-radius: 12px;

    text-align: center;

    color: #8b95a7;
}


/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1100px) {

    .header-container {
        padding: 8px 15px;
    }

    nav {
        position: static;

        transform: none;

        width: auto;

        margin-left: auto;

        flex-wrap: wrap;

        justify-content: flex-end;
    }

    .logo img {
        height: 60px;
    }

    .logo {
        gap: 12px;
    }

    .logo span {
        font-size: 21px;
    }
}


@media (max-width: 800px) {

    header {
        margin: 5px 0;
    }

    .header-container {
        flex-direction: column;

        gap: 10px;

        padding: 12px;
    }

    nav {
        width: 100%;

        justify-content: center;

        gap: 5px;
    }

    nav a {
        padding: 7px 9px;

        font-size: 13px;
    }

    .site-content {
        padding: 5px 10px 20px;
    }

    .page-container {
        padding: 15px;
    }

    .player-row {
        grid-template-columns: 1fr;
        gap: 5px;
    }
}


@media (max-width: 550px) {

    .logo-text {
        display: none;
    }

    nav {
        gap: 3px;
    }

    nav a {
        padding: 6px 7px;

        font-size: 12px;
    }

    .page-container {
        border-radius: 10px;
        padding: 12px;
    }

    .card {
        padding: 15px;
    }

    .page-header h1 {
        font-size: 24px;
    }
}

/* ===========================================
   FOOTER
=========================================== */

footer{

    background:#20242b;

    margin-top:5px;

    padding:4px 4px;

}

footer{

    background:transparent;
    margin-top:0px;
    padding:8px;

}

.footer{

    max-width:1000px;

    margin:0 auto;

    display:flex;

    align-items:center;

    justify-content:center;

    gap:10px;

}

.footer-logo img{



    height:70px;

}

.footer-content{

    display:flex;

    flex-direction:column;

    align-items:center;

	    border-radius:12px;

    gap:2px;

    text-align:center;

}



.footer-copy{

    color:#7f8b98;

    font-size:12px;

}


.footer-content{

    display:flex;

    flex-direction:column;

    align-items:center;

	    border-radius:12px;

    justify-content:center;

    text-align:center;

    gap:2px;

}