@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap');

body {
  margin: 0;
  font-family: 'Press Start 2P', monospace;
  background: #101014;
  color: #39ff14;
  min-height: 100vh;
  /* CRT scanlines effect */
  position: relative;
  overflow-x: hidden;
}
body::before {
  content: '';
  pointer-events: none;
  position: fixed;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: repeating-linear-gradient(
    to bottom, rgba(57,255,20,0.04) 0px, rgba(57,255,20,0.04) 1px, transparent 1px, transparent 4px
  );
  z-index: 1;
}
h1 {
  text-align: center;
  margin: 2rem 0 1.5rem;
  font-size: 1.2rem;
  font-family: 'Press Start 2P', monospace;
  color: #39ff14;
  text-shadow: 0 0 8px #39ff14, 0 0 2px #fff;
  letter-spacing: 2px;
  font-weight: 700;
  position: relative;
  z-index: 2;
  animation: blink-title 1.5s steps(2, start) infinite;
}
@keyframes blink-title {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}
h1::before {
  content: '█ ';
}
h1::after {
  content: ' ▒';
}
.columns {
  display: flex;
  gap: 2vw;
  padding: 2vw;
  max-width: 900px;
  margin: auto;
  z-index: 2;
  position: relative;
}
.column {
  flex: 1;
  background: #18181c;
  border-radius: 0;
  box-shadow: 0 0 0 4px #39ff14, 0 0 16px #39ff1444;
  padding: 1rem 0.5rem 1.5rem;
  min-width: 0;
  display: flex;
  flex-direction: column;
  border: 4px solid #39ff14;
  border-image: repeating-linear-gradient(135deg, #39ff14 0 8px, #101014 8px 16px) 8;
  margin-bottom: 1.5rem;
  position: relative;
}
.column h2 {
  text-align: center;
  font-size: 0.9rem;
  margin: 0.7rem 0 1.1rem;
  letter-spacing: 1.5px;
  font-family: 'Press Start 2P', monospace;
  color: #00eaff;
  text-shadow: 0 0 4px #00eaff, 0 0 2px #fff;
  font-weight: 700;
  border-bottom: 2px dashed #39ff14;
  padding-bottom: 0.3em;
  background: #101014;
  z-index: 2;
}
.katalist {
  flex: 1;
  min-height: 60px;
}
.kata {
  background: #101014;
  margin: 0.7rem 0;
  padding: 0.9rem 0.7rem;
  border-radius: 0;
  font-size: 0.85rem;
  font-family: 'Press Start 2P', monospace;
  color: #39ff14;
  box-shadow: 0 0 0 3px #00eaff, 0 0 8px #00eaff44;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 3px solid #00eaff;
  border-image: repeating-linear-gradient(135deg, #00eaff 0 8px, #101014 8px 16px) 8;
  transition: transform 0.15s, box-shadow 0.15s, background 0.2s;
  cursor: pointer;
  position: relative;
}
.kata.dragging {
  opacity: 0.6;
  transform: scale(1.04) skewX(-2deg);
  box-shadow: 0 0 24px #00eaffcc, 0 0 8px #39ff14cc;
}
.katalist.over {
  background: #222a  !important;
  border: 2.5px dashed #39ff14;
}
.kata-btns {
  display: none;
  gap: 0.3em;
}
.kata-btn {
  background: #101014;
  color: #39ff14;
  border: 2px solid #39ff14;
  border-radius: 0;
  padding: 0.22em 0.7em;
  font-size: 1em;
  font-family: 'Press Start 2P', monospace;
  font-weight: 700;
  box-shadow: 0 0 0 2px #00eaff, 0 0 8px #00eaff44;
  cursor: pointer;
  margin-left: 0.2em;
  transition: background 0.15s, color 0.15s, transform 0.1s;
  outline: none;
}
.kata-btn:active {
  background: #39ff14;
  color: #101014;
  transform: scale(1.13) skewX(-7deg);
  box-shadow: 0 0 16px #39ff14cc;
}
.kata-btn:hover {
  background: #00eaff;
  color: #101014;
  border-color: #00eaff;
}
@media (max-width: 700px) {
  .columns { flex-direction: column; gap: 3vw; }
  .column { min-height: 120px; }
  .kata { cursor: default; }
  .kata-btns { display: flex; }
}

/* Cursor tipo bloque */
* { cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16"><rect width="16" height="16" fill="%2339ff14"/></svg>') 8 8, auto; } 

.mobile-menu {
  display: flex;
  justify-content: space-around;
  align-items: center;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #18181c;
  border-top: 4px solid #39ff14;
  box-shadow: 0 -2px 16px #39ff1444;
  z-index: 100;
  padding: 0.2em 0 0.1em 0;
}
.menu-btn {
  flex: 1;
  text-align: center;
  font-family: 'Press Start 2P', monospace;
  color: #39ff14;
  text-decoration: none;
  font-size: 0.7rem;
  padding: 0.7em 0 0.3em 0;
  border: none;
  background: none;
  border-right: 2px solid #00eaff44;
  border-left: 2px solid #00eaff44;
  box-shadow: 0 0 0 2px #00eaff44;
  transition: background 0.15s, color 0.15s, box-shadow 0.15s;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.menu-btn:last-child { border-right: none; }
.menu-btn:first-child { border-left: none; }
.menu-btn.active, .menu-btn:active {
  background: #101014;
  color: #00eaff;
  box-shadow: 0 0 8px #00eaff, 0 0 2px #39ff14;
}
.menu-btn span {
  display: block;
  font-size: 1.3em;
  margin-bottom: 0.1em;
}
.menu-label {
  font-size: 0.6em;
  letter-spacing: 1px;
}
@media (min-width: 701px) {
  .mobile-menu { display: none; }
} 