/* CyberPulse Gaming - Deep Sea Noir Design System */

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

body {
  background-color: #11131b;
  background-image: radial-gradient(circle at 50% 0%, #1d1f28 0%, #11131b 100%);
  background-attachment: fixed;
  color: #e1e1ed;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
html, body { overflow-x: hidden; }

a { color: inherit; text-decoration: none; }

img { max-width: 100%; display: block; }

/* Glassmorphism */
.glass-card {
  background: rgba(29, 31, 40, 0.4);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-left: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 0;
  overflow: hidden;
}

.glass-panel {
  background: rgba(17, 19, 27, 0.6);
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}

/* Neon glow */
.neon-glow {
  box-shadow: 0 0 15px rgba(204, 255, 0, 0.3);
}

.neon-glow-hover:hover {
  box-shadow: 0 0 30px rgba(204, 255, 0, 0.6);
}

.neon-glow-primary {
  box-shadow: 0 0 10px rgba(171, 214, 0, 0.4), 0 0 20px rgba(171, 214, 0, 0.2);
}

.neon-glow-primary:hover {
  box-shadow: 0 0 15px rgba(171, 214, 0, 0.6), 0 0 30px rgba(171, 214, 0, 0.3);
}

.neon-text { color: #CCFF00; }
.neon-border { border-color: #CCFF00; }

.rim-light {
  box-shadow: inset 0 1px 0 0 rgba(255, 255, 255, 0.1);
}

.text-glow {
  text-shadow: 0 0 10px rgba(195, 244, 0, 0.5);
}

/* Buttons */
.btn-primary {
  background: #CCFF00;
  color: #000;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 10px 24px;
  border: none;
  cursor: pointer;
  box-shadow: 0 0 15px rgba(204, 255, 0, 0.3);
  transition: all 0.3s ease;
}

.btn-primary:hover {
  box-shadow: 0 0 30px rgba(204, 255, 0, 0.6);
  transform: scale(1.02);
}

.btn-secondary {
  background: transparent;
  color: #e9b3ff;
  border: 1px solid #e9b3ff;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-secondary:hover {
  background: rgba(233, 179, 255, 0.1);
  box-shadow: 0 0 15px rgba(233, 179, 255, 0.3);
}

/* Forms */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="date"],
input[type="search"],
textarea,
select {
  background: #191b23;
  border: none;
  border-bottom: 1px solid #444933;
  color: #e1e1ed;
  padding: 10px 14px;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  transition: all 0.3s ease;
  border-radius: 0;
  outline: none;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-bottom-color: #CCFF00;
  box-shadow: 0 4px 12px rgba(204, 255, 0, 0.15);
}

.input-glow:focus {
  box-shadow: 0 4px 12px -2px rgba(171, 214, 0, 0.15);
}

/* Tags */
.cyber-tag {
  background: rgba(204, 255, 0, 0.1);
  border: 1px solid rgba(204, 255, 0, 0.3);
  color: #CCFF00;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  padding: 2px 8px;
  display: inline-block;
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #0c0e16; }
::-webkit-scrollbar-thumb { background: #33343d; }
::-webkit-scrollbar-thumb:hover { background: #444933; }

/* Transitions */
.transition-all {
  transition: all 0.3s ease;
}

/* Line clamp */
.line-clamp-1 { overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 1; }
.line-clamp-2 { overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }

/* Selection */
::selection {
  background: #c3f400;
  color: #161e00;
}

/* Overlay grid */
.grid-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.03;
  background-image:
    linear-gradient(to right, #ffffff 1px, transparent 1px),
    linear-gradient(to bottom, #ffffff 1px, transparent 1px);
  background-size: 40px 40px;
  z-index: 9999;
}

/* Dropdown styling */
select option {
  background: #191b23;
  color: #e1e1ed;
}

/* File input styling */
input[type="file"] {
  padding: 8px 0;
}

input[type="file"]::file-selector-button {
  background: #282a32;
  color: #e1e1ed;
  border: none;
  padding: 8px 16px;
  font-family: 'Space Grotesk', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 12px;
  cursor: pointer;
  margin-right: 12px;
}

input[type="file"]::file-selector-button:hover {
  background: #33343d;
}

/* Checkbox */
input[type="checkbox"] {
  accent-color: #CCFF00;
}

/* Material Symbols */
.material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

/* Input focus (additional) */
input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-bottom-color: #CCFF00;
  box-shadow: 0 4px 12px rgba(204, 255, 0, 0.15);
}

/* Cyber tag (head.ejs version) */
.cyber-tag {
  background: rgba(204, 255, 0, 0.1);
  border: 1px solid rgba(204, 255, 0, 0.3);
  color: #CCFF00;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 4px 10px;
}
