/* Aru AI Core - Game UI Styling System */
/* Palette: Amber Orange Brown - Be */

:root {
  --aru-amber-light: #FFFBEB;
  --aru-be-neutral: #F7F3EB;
  --aru-be-dark: #EFE8DC;
  --aru-amber-primary: #D97706;
  --aru-amber-dark: #B45309;
  --aru-amber-deep: #78350F;
  --aru-obsidian: #2A241B;
  --aru-obsidian-dark: #19140E;
  --aru-obsidian-card: rgba(42, 36, 27, 0.85);
  --aru-amber-glow: rgba(217, 119, 6, 0.25);
  --aru-border-amber: rgba(217, 119, 6, 0.35);
}

body {
  font-family: 'LXGW Marker Gothic', sans-serif;
  background-color: var(--aru-obsidian);
  color: var(--aru-be-neutral);
  overflow-x: hidden;
}

.font-title {
  font-family: 'Cherry Bomb One', cursive;
  letter-spacing: 0.05em;
}

.font-content {
  font-family: 'LXGW Marker Gothic', sans-serif;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: var(--aru-obsidian-dark);
}
::-webkit-scrollbar-thumb {
  background: var(--aru-amber-dark);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--aru-amber-primary);
}

/* Subtle CRT / Cyber Scanline overlay */
.scanlines {
  background: linear-gradient(
    rgba(18, 16, 16, 0) 50%, 
    rgba(0, 0, 0, 0.25) 50%
  ), linear-gradient(
    90deg,
    rgba(255, 0, 0, 0.01),
    rgba(0, 255, 0, 0.005),
    rgba(0, 0, 255, 0.01)
  );
  background-size: 100% 4px, 6px 100%;
  pointer-events: none;
}

/* Cyber Matrix / Grid Background */
.cyber-grid {
  background-size: 40px 40px;
  background-image: 
    linear-gradient(to right, rgba(217, 119, 6, 0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(217, 119, 6, 0.06) 1px, transparent 1px);
}

/* Cyber Cut Corner Elements */
.cyber-cut {
  clip-path: polygon(
    0 12px, 
    12px 0, 
    100% 0, 
    100% calc(100% - 12px), 
    calc(100% - 12px) 100%, 
    0 100%
  );
}

.cyber-cut-tr {
  clip-path: polygon(
    0 0, 
    calc(100% - 16px) 0, 
    100% 16px, 
    100% 100%, 
    0 100%
  );
}

.cyber-cut-both {
  clip-path: polygon(
    0 14px,
    14px 0,
    calc(100% - 14px) 0,
    100% 14px,
    100% calc(100% - 14px),
    calc(100% - 14px) 100%,
    14px 100%,
    0 calc(100% - 14px)
  );
}

/* HUD Corner Brackets */
.hud-frame {
  position: relative;
}
.hud-frame::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  width: 14px;
  height: 14px;
  border-top: 2px solid var(--aru-amber-primary);
  border-left: 2px solid var(--aru-amber-primary);
  pointer-events: none;
}
.hud-frame::after {
  content: '';
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 14px;
  height: 14px;
  border-bottom: 2px solid var(--aru-amber-primary);
  border-right: 2px solid var(--aru-amber-primary);
  pointer-events: none;
}

/* Glow Utilities */
.amber-glow-sm {
  box-shadow: 0 0 15px rgba(217, 119, 6, 0.2);
}
.amber-glow-md {
  box-shadow: 0 0 25px rgba(217, 119, 6, 0.35);
}
.amber-glow-lg {
  box-shadow: 0 0 40px rgba(217, 119, 6, 0.5);
}
.amber-text-glow {
  text-shadow: 0 0 12px rgba(217, 119, 6, 0.6);
}

/* Blinking Radar Pulse */
@keyframes pulseRadar {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.15); opacity: 0.3; }
  100% { transform: scale(0.95); opacity: 0.8; }
}
.radar-pulse {
  animation: pulseRadar 2s infinite ease-in-out;
}

/* Live Terminal Cursor */
@keyframes blinkCursor {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}
.terminal-cursor {
  animation: blinkCursor 0.8s infinite;
}

/* Slide Transition Animations */
.slide-item {
  transition: opacity 0.4s ease-in-out, transform 0.4s ease-in-out;
}

/* Game UI Button Hover Effects */
.btn-game-primary {
  background: linear-gradient(135deg, #D97706 0%, #B45309 100%);
  color: #FFFBEB;
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
}
.btn-game-primary:hover {
  background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
  box-shadow: 0 0 20px rgba(217, 119, 6, 0.6);
  transform: translateY(-1px);
}
.btn-game-secondary {
  background: rgba(42, 36, 27, 0.9);
  border: 1px solid rgba(217, 119, 6, 0.4);
  color: #F7F3EB;
  transition: all 0.2s ease;
}
.btn-game-secondary:hover {
  background: rgba(120, 53, 15, 0.4);
  border-color: #D97706;
  color: #FFFBEB;
  box-shadow: 0 0 15px rgba(217, 119, 6, 0.3);
}
