@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@400;500;700;900&display=swap');

:root {
  --primary: #EF4444;
  --secondary: #F59E0B;
  --accent: #3B82F6;
  --bg-dark: #0F0A0A;
  --bg-light: rgba(255, 255, 255, 0.06);
  --text-main: #F9FAFB;
  --text-muted: #9CA3AF;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Noto Sans SC', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.65;
  overflow-x: hidden;
}

img, video {
  max-width: 100%;
  height: auto;
  display: block;
}

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

ul, ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1, h2, h3, h4, h5, h6, p {
  margin: 0;
}

.neon-glow {
  box-shadow: 0 0 12px rgba(239, 68, 68, 0.45), 0 0 24px rgba(239, 68, 68, 0.2);
}

.neon-text {
  text-shadow: 0 0 8px rgba(239, 68, 68, 0.7), 0 0 16px rgba(245, 158, 11, 0.45);
}

.blue-glow {
  box-shadow: 0 0 12px rgba(59, 130, 246, 0.45), 0 0 24px rgba(59, 130, 246, 0.2);
}

.gold-glow {
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.45), 0 0 24px rgba(245, 158, 11, 0.2);
}

.arcade-grid {
  background-image:
    linear-gradient(rgba(239, 68, 68, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(239, 68, 68, 0.06) 1px, transparent 1px);
  background-size: 40px 40px;
}

.scanline {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9999;
  background: repeating-linear-gradient(
    0deg,
    rgba(0, 0, 0, 0.05) 0,
    rgba(0, 0, 0, 0.05) 1px,
    transparent 1px,
    transparent 3px
  );
}

.title-underline {
  position: relative;
  display: inline-block;
  padding-bottom: 0.5rem;
}

.title-underline::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 2px;
}

.title-center::after {
  left: 50%;
  transform: translateX(-50%);
}

.title-bar {
  position: relative;
  padding-left: 1rem;
  border-left: 4px solid var(--primary);
}

.title-bar-gold {
  border-left-color: var(--secondary);
}

.btn-neon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  border-radius: 9999px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(90deg, var(--primary), #DC2626);
  border: 2px solid rgba(255, 255, 255, 0.15);
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-neon:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 0 20px rgba(239, 68, 68, 0.6), 0 0 40px rgba(239, 68, 68, 0.25);
}

.btn-3d {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  border-radius: 0.75rem;
  font-weight: 700;
  color: #0F0A0A;
  background: linear-gradient(180deg, var(--secondary), #D97706);
  border: none;
  border-bottom: 4px solid #92400E;
  transition: all 0.15s ease;
  cursor: pointer;
}

.btn-3d:active {
  transform: translateY(3px);
  border-bottom-width: 0;
}

.btn-glass {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  font-weight: 600;
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: var(--accent);
  box-shadow: 0 0 16px rgba(59, 130, 246, 0.35);
}

.card-glass {
  background: var(--bg-light);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1rem;
  backdrop-filter: blur(10px);
  transition: all 0.35s ease;
}

.card-glass:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 24px rgba(239, 68, 68, 0.18);
  border-color: rgba(239, 68, 68, 0.3);
}

.card-solid {
  background: linear-gradient(145deg, #1A1111, #0F0A0A);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 1rem;
  transition: all 0.3s ease;
}

.card-solid:hover {
  transform: scale(1.02);
  border-color: var(--secondary);
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.2);
}

.card-border {
  background: transparent;
  border: 2px solid rgba(59, 130, 246, 0.35);
  border-radius: 0.75rem;
  transition: all 0.3s ease;
}

.card-border:hover {
  border-color: var(--accent);
  box-shadow: 0 0 24px rgba(59, 130, 246, 0.35);
  transform: translateY(-4px);
}

.section-title {
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 900;
  letter-spacing: 0.02em;
}

.nav-link {
  position: relative;
  padding: 0.5rem 0;
  color: var(--text-muted);
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-main);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

@keyframes pulse-neon {
  0%, 100% { box-shadow: 0 0 12px rgba(239, 68, 68, 0.45); }
  50% { box-shadow: 0 0 24px rgba(239, 68, 68, 0.75); }
}

.animate-pulse-neon {
  animation: pulse-neon 2s infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.animate-float {
  animation: float 4s ease-in-out infinite;
}

@keyframes slideInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-slide-up {
  animation: slideInUp 0.7s ease-out forwards;
}

.footer-wave {
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.footer-wave svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 50px;
}

@media (max-width: 767px) {
  .footer-wave svg {
    height: 30px;
  }
}
