/* --- VARIABLES Y RESET FUTURISTA --- */
:root {
  --bg-color: #0a0d14;
  --panel-bg: rgba(18, 24, 38, 0.75);
  --border-cyan: rgba(0, 229, 255, 0.25);
  --accent-cyan: #00e5ff;
  --accent-purple: #8a2be2;
  --text-main: #e2e8f0;
  --text-muted: #94a3b8;
  --header-height: 70px;
  --footer-height: 120px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: var(--bg-color);
  color: var(--text-main);
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  /* Espacios para que el contenido no quede oculto detrás de la barra superior ni inferior */
  padding-top: var(--header-height);
  padding-bottom: var(--footer-height);
  min-height: 100vh;
}

/* --- ESTILOS DE BANNER (468x60) --- */
.banner-top-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 15px 0 5px 0;
}

.banner-468x60 {
  width: 468px;
  height: 60px;
  max-width: 100%;
  background: rgba(0, 229, 255, 0.03);
  border: 1px dashed var(--accent-cyan);
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  box-shadow: 0 0 12px rgba(0, 229, 255, 0.1);
}

/* --- HEADER SUPERIOR FIJO (SIEMPRE VISIBLE) --- */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  background: rgba(10, 13, 20, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-cyan);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  text-decoration: none;
  letter-spacing: 2px;
}

.logo span { color: var(--accent-cyan); }

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 20px;
}

.main-nav a {
  color: var(--text-main);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--accent-cyan);
  text-shadow: 0 0 8px rgba(0, 229, 255, 0.5);
}

/* Menú Hamburguesa Móvil sin JS (CSS Hack) */
.menu-toggle { display: none; }
.hamburger-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}
.hamburger-btn span {
  width: 25px;
  height: 3px;
  background-color: var(--accent-cyan);
  border-radius: 2px;
}

/* --- CONTENEDOR DE CONTENIDO --- */
.content-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px;
}

.page-title {
  font-size: 2rem;
  color: var(--accent-cyan);
  margin: 20px 0;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* COMPONENTES DE DISEÑO */
.grid-layout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.card {
  background: var(--panel-bg);
  border: 1px solid var(--border-cyan);
  border-radius: 8px;
  padding: 25px;
  backdrop-filter: blur(8px);
}

.btn-action {
  display: inline-block;
  padding: 10px 24px;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 600;
  border: none;
  cursor: pointer;
}

/* --- FOOTER INFERIOR FIJO (SIEMPRE VISIBLE) --- */
.main-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: var(--footer-height);
  background: rgba(10, 13, 20, 0.95);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--border-cyan);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 5px 20px;
}

.footer-credits {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 5px;
  text-align: center;
}

/* --- RESPONSIVE MÓVIL --- */
@media (max-width: 768px) {
  .hamburger-btn { display: flex; }
  
  .main-nav {
    position: absolute;
    top: var(--header-height);
    left: 0;
    width: 100%;
    background: rgba(10, 13, 20, 0.98);
    border-bottom: 1px solid var(--border-cyan);
    clip-path: circle(0% at 100% 0);
    transition: clip-path 0.4s ease-in-out;
  }

  .main-nav ul {
    flex-direction: column;
    padding: 25px;
    text-align: center;
  }

  .menu-toggle:checked ~ .main-nav {
    clip-path: circle(150% at 100% 0);
  }
}
