/* ============================================
   BASE STYLES - Shared across all pages
   ============================================ */

/* CSS Variables */
:root {
  /* ARX Identity Palette */
  --bg: #060b1f;
  --bg-2: #0b1540;
  --text: #f3f6ff;
  --muted: #b8c3e6;
  --primary: #2f78ff;
  --primary-600: #1f5de2;
  --accent: #8ab4ff;
  --card: #0f1a3a;
  --card-2: #15214d;
  --shadow: 0 15px 40px rgba(0,0,0,.45);
}

/* Reset & Base */
* { 
  box-sizing: border-box; 
}

html, body { 
  height: 100%; 
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding-top: 80px; /* Space for fixed header */
  font-family: 'Poppins', system-ui, -apple-system, Segoe UI, Roboto, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--text);
  background-color: var(--bg);
  position: relative;
}

/* Blurred background image */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(1000px 600px at 50% -100px, #2a3a8f22, transparent), 
              url('/DB/catch fly/Main/ARX-Animated.gif') center/cover fixed no-repeat;
  filter: blur(18px);
  z-index: -2;
}

/* Subtle overlay for better readability */
body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(6, 11, 31, 0.3);
  z-index: -1;
}

/* Container */
.container {
  width: min(1100px, 92%);
  margin-inline: auto;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-weight: 600;
}

p {
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.9rem 1.4rem;
  border-radius: 999px;
  text-decoration: none;
  color: #fff;
  box-shadow: var(--shadow);
  font-weight: 700;
  backdrop-filter: blur(8px);
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.btn--primary {
  background: linear-gradient(135deg, rgba(47, 120, 255, 0.8), rgba(31, 93, 226, 0.8));
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn--primary:hover {
  filter: brightness(1.08);
  box-shadow: 0 12px 26px rgba(47,120,255,.35);
  background: linear-gradient(135deg, rgba(47, 120, 255, 0.9), rgba(31, 93, 226, 0.9));
}

/* Animations */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Responsive */
@media (max-width: 768px) {
  body {
    padding-top: 70px;
  }
}
