/* ==========================================================================
   ESTILOS GENERALES Y BASE
   ========================================================================== */
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    background-color: #04080c;
    color: #fff;
    font-family: 'Chakra Petch', 'Courier New', monospace;
}

/* ==========================================================================
   HEADER Y NAVEGACIÓN
   ========================================================================== */
.logo-header{
    width:100%;
    text-align:center;
    padding:8px 0;
}

.logo-header img{
    width:100%;
    max-width:700px;   /* PC */
    height:auto;
    display:block;
    margin:0 auto;
}

.main-header {
    background: #020508;
    border-bottom: 1px solid rgba(0, 183, 255, 0.2);
    display: flex;
    justify-content: center; /* Centra horizontalmente el nav y el botón */
    align-items: center;     /* Centra verticalmente los elementos */
    padding: 10px 20px;
    flex-wrap: wrap;
    gap: 20px;
    
    /* REDUCCIÓN DEL LARGO/ANCHO */
    max-width: 1000px;       /* Mismo ancho máximo que el .game-container */
    margin: 0 auto 20px auto;/* Centra la barra completa en la pantalla */
    border-radius: 6px;      /* Borde suave opcional para acoplarse al diseño */
}


.main-nav {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

.main-nav a {
    color: #00b7ff;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: bold;
    letter-spacing: 1px;
    transition: color 0.2s, text-shadow 0.2s;
}

.main-nav a:hover,
.main-nav a.activo {
    color: #39ff14;
    text-shadow: 0 0 8px #39ff14;
}

.btn-login {
    background: #ff7b00;
    color: #000 !important;
    padding: 6px 16px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.8rem;
    transition: all 0.2s;
}

.btn-login:hover {
    background: #39ff14;
    box-shadow: 0 0 10px #39ff14;
}

/* ==========================================================================
   ESTILOS DE LA PORTADA PRINCIPAL (ARCADE HALL)
   ========================================================================== */
.game-container { 
    max-width: 1020px; 
    margin: 0 auto; 
    padding: 0 15px 30px 15px; 
}

.arcade-intro-box {
    text-align: center;
    margin: 25px 0;
}

.arcade-main-title {
    color: #ff7b00;
    font-size: 2.2rem;
    letter-spacing: 4px;
    text-shadow: 0 0 10px rgba(255, 123, 0, 0.5);
    margin: 0 0 5px 0;
    font-weight: 900;
}

.arcade-sub-title {
    color: #00b7ff;
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
    margin: 0;
}

.arcade-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.game-card {
    background: rgba(5, 12, 20, 0.95);
    border-radius: 8px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.game-card:hover {
    transform: translateY(-5px);
}

.game-card.blue-glow { border: 2px solid #00b7ff; box-shadow: 0 0 15px rgba(0, 183, 255, 0.15); }
.game-card.blue-glow:hover { box-shadow: 0 0 25px rgba(0, 183, 255, 0.4); }

.game-card.red-glow { border: 2px solid #ff0064; box-shadow: 0 0 15px rgba(255, 0, 100, 0.15); }
.game-card.red-glow:hover { box-shadow: 0 0 25px rgba(255, 0, 100, 0.4); }

.game-card.green-glow { border: 1px dashed #39ff14; opacity: 0.7; }

.card-status {
    position: absolute;
    top: 10px;
    right: 12px;
    font-family: 'Courier New', monospace;
    font-size: 0.65rem;
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 3px;
}
.status-online { background: rgba(57, 255, 20, 0.2); color: #39ff14; border: 1px solid #39ff14; }
.status-dev { background: rgba(255, 123, 0, 0.2); color: #ff7b00; border: 1px solid #ff7b00; }

.card-icon {
    font-size: 3rem;
    margin-bottom: 10px;
}

.card-title {
    color: #fff;
    font-size: 1.2rem;
    margin: 5px 0 10px 0;
    letter-spacing: 1px;
    font-weight: 700;
}

.card-desc {
    font-family: 'Courier New', monospace;
    color: #aaa;
    font-size: 0.75rem;
    line-height: 1.4;
    flex-grow: 1;
    margin-bottom: 15px;
}

.card-tags {
    display: flex;
    gap: 6px;
    margin-bottom: 15px;
}

.tag {
    background: #020508;
    color: #00b7ff;
    border: 1px solid rgba(0, 183, 255, 0.3);
    font-size: 0.65rem;
    padding: 3px 8px;
    border-radius: 3px;
    font-weight: bold;
}

.btn-play {
    width: 100%;
    background: #00b7ff;
    color: #000;
    font-weight: bold;
    font-size: 0.85rem;
    padding: 10px;
    border-radius: 4px;
    text-decoration: none;
    letter-spacing: 1px;
    transition: background 0.2s ease, box-shadow 0.2s ease;
    display: block;
}

.btn-play:hover {
    background: #39ff14;
    box-shadow: 0 0 10px #39ff14;
}

.btn-play.btn-red { background: #ff0064; color: #fff; }
.btn-play.btn-red:hover { background: #ff7b00; color: #000; box-shadow: 0 0 10px #ff7b00; }

.btn-play.btn-disabled { background: #222; color: #666; cursor: not-allowed; border: none; }

/* ==========================================================================
   LOBBY DE COMUNIDAD Y FOOTER
   ========================================================================== */
.community-lobby {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.lobby-box {
    background: #020508;
    border: 1px solid rgba(255, 123, 0, 0.3);
    border-radius: 6px;
    padding: 15px;
    text-align: center;
}

.lobby-box h3 {
    color: #ff7b00;
    font-size: 0.9rem;
    margin-top: 0;
}

.lobby-box p {
    color: #888;
    font-family: 'Courier New', monospace;
    font-size: 0.75rem;
    margin-bottom: 12px;
}

.side-action-btn {
    background: #03070d;
    border: 1px solid #00b7ff;
    color: #00b7ff;
    border-radius: 4px;
    padding: 6px 16px;
    font-size: 0.75rem;
    font-weight: bold;
    letter-spacing: 1px;
    cursor: pointer;
    text-transform: uppercase;
    text-decoration: none;
    display: inline-block;
    transition: all 0.2s;
}

.side-action-btn:hover {
    background: #00b7ff;
    color: #000;
    box-shadow: 0 0 10px #00b7ff;
}

.footer {
    background: #020508;
    border-top: 1px solid rgba(0, 183, 255, 0.15);
    padding: 20px;
    text-align: center;
    font-size: 0.75rem;
    color: #666;
    margin-top: 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1020px;
    margin: 0 auto;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-content h3 {
    color: #ff7b00;
    margin: 0;
    font-size: 0.9rem;
}

.footer-content p {
    margin: 3px 0 0 0;
}
/* ==========================================================================
   SECCIÓN INTRODUCCIÓN / MANIFIESTO
   ========================================================================== */
.nowey-manifesto {
    background: rgba(5, 12, 20, 0.95);
    border: 1px solid rgba(0, 183, 255, 0.3);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
}

.manifesto-header h2 {
    color: #39ff14;
    font-size: 1rem;
    letter-spacing: 2px;
    margin: 0 0 20px 0;
    text-align: center;
    border-bottom: 1px dashed rgba(57, 255, 20, 0.3);
    padding-bottom: 10px;
}

.manifesto-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.manifesto-item {
    background: #020508;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-left: 3px solid #00b7ff;
    padding: 15px;
    border-radius: 4px;
}

.manifesto-tag {
    font-size: 0.65rem;
    color: #ff7b00;
    font-weight: bold;
    letter-spacing: 1px;
}

.manifesto-item h3 {
    color: #fff;
    font-size: 1rem;
    margin: 5px 0 10px 0;
}

.manifesto-item p {
    font-family: 'Courier New', monospace;
    color: #aaa;
    font-size: 0.75rem;
    line-height: 1.5;
    margin: 0;
}

.manifesto-footer {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 15px;
    border-top: 1px solid rgba(0, 183, 255, 0.15);
    padding-top: 15px;
}

.target-box {
    background: #020508;
    padding: 12px 15px;
    border-radius: 4px;
    border: 1px solid rgba(0, 183, 255, 0.2);
}

.target-box.highlight {
    border-color: rgba(255, 123, 0, 0.4);
}

.target-box strong {
    display: block;
    color: #00b7ff;
    font-size: 0.8rem;
    margin-bottom: 5px;
    letter-spacing: 1px;
}

.target-box.highlight strong {
    color: #ff7b00;
}

.target-box p {
    font-family: 'Courier New', monospace;
    color: #ccc;
    font-size: 0.75rem;
    margin: 0;
    line-height: 1.4;
}
