/* ==========================================================================
   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;
    align-items: center;
    padding: 10px 20px;
    flex-wrap: wrap;
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto 20px auto;
    border-radius: 6px;
}

.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 10px 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
   ========================================================================== */
.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;
}

/* ==========================================================================
   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 {
  font-family: 'Chakra Petch', 'Courier New', monospace;
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 2px;
  margin: 0 0 20px 0;
  text-align: center;
  border-bottom: 1px dashed rgba(57, 255, 20, 0.3);
  padding-bottom: 10px;

  /* Efecto degradado neón */
  background: linear-gradient(90deg, #00b7ff 0%, #39ff14 50%, #ff7b00 100%) !important;
  background-clip: text !important;
  -webkit-background-clip: text !important;
  color: transparent !important;
  -webkit-text-fill-color: transparent !important;
  filter: drop-shadow(0 0 5px rgba(57, 255, 20, 0.5));
}


.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: 5px;
    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-grid .manifesto-item:nth-child(1) p {
    background: linear-gradient(90deg, #00b7ff 0%, #00b7ff 35%, #39ff14 70%, #ff7b00 100%);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

.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;
}

/* ==========================================================================
   ESTILO OFICIAL MARCA 107D (CYAN / AZUL GLOW)
   ========================================================================== */
.brand-107d,
a.brand-107d {
    font-family: 'Chakra Petch', 'Courier New', monospace !important;
    font-weight: 900 !important;
    text-decoration: none !important;
    display: inline-block;
    
    /* Degradado metálico Azul Cyan de 107D */
    background: linear-gradient(135deg, #00d2ff 0%, #0072ff 100%) !important;
    background-clip: text !important;
    -webkit-background-clip: text !important;
    color: transparent !important;
    -webkit-text-fill-color: transparent !important;
    
    /* Glow / Resplandor Neón Celeste */
    filter: drop-shadow(0 0 6px rgba(0, 210, 255, 0.8)) !important;
    transition: all 0.3s ease;
}

.brand-107d:hover,
a.brand-107d:hover {
    filter: drop-shadow(0 0 12px rgba(0, 210, 255, 1)) !important;
    transform: scale(1.08);
}

/* ==========================================================================
   FOOTER Y EFECTO NEÓN CIBERPUNK COMPLETO
   ========================================================================== */
.site-footer {
    background-color: #020508;
    padding: 25px 0;
    text-align: center;
    font-family: 'Chakra Petch', 'Courier New', monospace;
    font-size: 0.95rem;
    font-weight: 700;
    border-top: 1px solid rgba(0, 183, 255, 0.2);
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.8);
}

.footer-content p {
    margin: 6px 0;
}

/* Degradado Neón para el texto general del footer que NO sea 107D */
.site-footer p,
.site-footer strong,
.site-footer .copyright {
    background: linear-gradient(90deg, #00b7ff 0%, #39ff14 50%, #ff7b00 100%) !important;
    background-clip: text !important;
    -webkit-background-clip: text !important;
    color: transparent !important;
    -webkit-text-fill-color: transparent !important;
    filter: drop-shadow(0 0 4px rgba(57, 255, 20, 0.5));
}

/* --- GRILLA DE BANNERS NOWEY --- */
.banner-hero {
  margin-bottom: 25px;
}

.banner-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.banner-item {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background-color: #121212;
  border: 2px solid #222;
  border-radius: 4px;
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.banner-item.hero-banner {
  min-height: 260px;
  border-color: #ff0055;
}

/* Imagen de Fondo */
.banner-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.4s ease;
  z-index: 1;
}

/* Sombra oscura sobre la imagen para leer bien el texto */
.banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 20%, rgba(0, 0, 0, 0.3) 100%);
  z-index: 2;
}

/* Texto e Info */
.banner-info {
  position: relative;
  z-index: 3;
  padding: 18px;
}

.banner-tag {
  font-size: 0.75rem;
  font-weight: 700;
  color: #00e5ff;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: block;
  margin-bottom: 4px;
}

.hero-banner .banner-tag {
  color: #ff0055;
}

.banner-info h2, 
.banner-info h3 {
  font-family: 'Chakra Petch', sans-serif;
  color: #ffffff;
  text-transform: uppercase;
  margin: 0 0 6px 0;
  line-height: 1.1;
}

.banner-info h2 { font-size: 1.8rem; }
.banner-info h3 { font-size: 1.3rem; }

.banner-info p {
  color: #bbb;
  font-size: 0.85rem;
  margin: 0;
  line-height: 1.3;
}

.banner-btn {
  display: inline-block;
  margin-top: 12px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #ff0055;
  text-transform: uppercase;
}

/* EFECTOS HOVER */
.banner-item:hover {
  transform: translateY(-4px);
  border-color: #00e5ff;
  box-shadow: 0 6px 20px rgba(0, 229, 255, 0.25);
}

.banner-item.hero-banner:hover {
  border-color: #ff0055;
  box-shadow: 0 6px 20px rgba(255, 0, 85, 0.35);
}

.banner-item:hover .banner-bg {
  transform: scale(1.06);
}

@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@600;800&display=swap');

/* Banner Login Cyberpunk */
.cyber-banner-link {
    display: block;
    text-decoration: none;
    margin: 15px auto 0;
    width: fit-content;
}

.cyber-button-wrapper {
    position: relative;
    display: inline-flex;
    filter: drop-shadow(0 0 15px rgba(255, 102, 0, 0.5)) drop-shadow(0 0 30px rgba(0, 240, 255, 0.3));
    transition: all 0.3s ease;
}

.cyber-button-wrapper:hover {
    filter: drop-shadow(0 0 25px rgba(255, 102, 0, 0.8)) drop-shadow(0 0 50px rgba(0, 240, 255, 0.7));
    transform: scale(1.03);
}

.cyber-button {
    position: relative;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, rgba(25, 10, 30, 0.95), rgba(5, 5, 12, 0.98));
    border: 2px solid transparent;
    border-image: linear-gradient(90deg, #ff6600, #ff0055, #00f0ff) 1;
    padding: 12px 35px 12px 15px;
    clip-path: polygon(
        25px 0%, 100% 0%, 100% calc(100% - 15px), 
        calc(100% - 15px) 100%, 0% 100%, 0% 25px
    );
    cursor: pointer;
    font-family: 'Orbitron', sans-serif;
}

.cyber-button .icon-container {
    position: relative;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 102, 0, 0.2) 0%, rgba(0, 0, 0, 0.9) 70%);
    border: 2px solid #ff6600;
    box-shadow: 0 0 15px #ff6600, inset 0 0 10px #ff6600;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 18px;
    flex-shrink: 0;
}

.cyber-button .icon-container::after {
    content: '';
    position: absolute;
    top: -5px; left: -5px; right: -5px; bottom: -5px;
    border-radius: 50%;
    border: 2px dashed #00f0ff;
    box-shadow: 0 0 10px #00f0ff;
    animation: cyberRotate 10s linear infinite;
}

@keyframes cyberRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.cyber-button .icon-user {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: #ffffff;
    stroke-width: 2.2;
    filter: drop-shadow(0 0 5px #00f0ff);
}

.cyber-button .button-text {
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 2px;
    background: linear-gradient(90deg, #ffffff 0%, #ffcc00 50%, #ff6600 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 10px rgba(255, 102, 0, 0.6);
    white-space: nowrap;
}

.cyber-button .tech-data {
    position: absolute;
    bottom: 3px;
    right: 15px;
    font-size: 8px;
    color: #00f0ff;
    font-family: monospace;
}

/* Banner Chat Cyberpunk */
.cyber-button-wrapper.chat-theme {
    filter: drop-shadow(0 0 15px rgba(0, 240, 255, 0.5)) drop-shadow(0 0 30px rgba(0, 150, 255, 0.3));
}

.cyber-button-wrapper.chat-theme:hover {
    filter: drop-shadow(0 0 25px rgba(0, 240, 255, 0.9)) drop-shadow(0 0 50px rgba(0, 100, 255, 0.8));
}

.cyber-button.chat-theme {
    border-image: linear-gradient(90deg, #00f0ff, #0077ff, #7000ff) 1;
}

.cyber-button.chat-theme .icon-container {
    border-color: #00f0ff;
    box-shadow: 0 0 15px #00f0ff, inset 0 0 10px #00f0ff;
    background: radial-gradient(circle, rgba(0, 240, 255, 0.2) 0%, rgba(0, 0, 0, 0.9) 70%);
}

.cyber-button.chat-theme .icon-container::after {
    border-color: #ff0077;
    box-shadow: 0 0 10px #ff0077;
}

.cyber-button.chat-theme .button-text {
    background: linear-gradient(90deg, #ffffff 0%, #00f0ff 50%, #0077ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 10px rgba(0, 240, 255, 0.6);
}

/* Banner Juegos Cyberpunk */
.cyber-button-wrapper.games-theme {
    filter: drop-shadow(0 0 15px rgba(0, 255, 136, 0.5)) drop-shadow(0 0 30px rgba(0, 240, 255, 0.3));
}

.cyber-button-wrapper.games-theme:hover {
    filter: drop-shadow(0 0 25px rgba(0, 255, 136, 0.9)) drop-shadow(0 0 50px rgba(0, 240, 255, 0.8));
}

.cyber-button.games-theme {
    border-image: linear-gradient(90deg, #00ff88, #00f0ff, #0077ff) 1;
}

.cyber-button.games-theme .icon-container {
    border-color: #00ff88;
    box-shadow: 0 0 15px #00ff88, inset 0 0 10px #00ff88;
    background: radial-gradient(circle, rgba(0, 255, 136, 0.2) 0%, rgba(0, 0, 0, 0.9) 70%);
}

.cyber-button.games-theme .icon-container::after {
    border-color: #00f0ff;
    box-shadow: 0 0 10px #00f0ff;
}

.cyber-button.games-theme .button-text {
    background: linear-gradient(90deg, #ffffff 0%, #00ff88 50%, #00f0ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 10px rgba(0, 255, 136, 0.6);
}

/* Banner Mercado Cyberpunk */
.cyber-button-wrapper.market-theme {
    filter: drop-shadow(0 0 15px rgba(255, 0, 200, 0.5)) drop-shadow(0 0 30px rgba(255, 204, 0, 0.3));
}

.cyber-button-wrapper.market-theme:hover {
    filter: drop-shadow(0 0 25px rgba(255, 0, 200, 0.9)) drop-shadow(0 0 50px rgba(255, 204, 0, 0.8));
}

.cyber-button.market-theme {
    border-image: linear-gradient(90deg, #ff00c8, #ffcc00, #ff6600) 1;
}

.cyber-button.market-theme .icon-container {
    border-color: #ff00c8;
    box-shadow: 0 0 15px #ff00c8, inset 0 0 10px #ff00c8;
    background: radial-gradient(circle, rgba(255, 0, 200, 0.2) 0%, rgba(0, 0, 0, 0.9) 70%);
}

.cyber-button.market-theme .icon-container::after {
    border-color: #ffcc00;
    box-shadow: 0 0 10px #ffcc00;
}

.cyber-button.market-theme .button-text {
    background: linear-gradient(90deg, #ffffff 0%, #ff00c8 50%, #ffcc00 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 10px rgba(255, 0, 200, 0.6);
}
