/* GREGMATIUModulus - Pixel-Match Cyber Styling */

:root {
  --color-bg-base: #07080a;
  --color-bg-panel: #0b0c12;
  --color-bg-card: #0f1118;
  --color-orange-core: #ff6a00;
  --color-orange-glow: #ff7700;
  --color-orange-light: #ff8c00;
  --color-border-subtle: #1c202d;
  --color-border-glow: rgba(255, 106, 0, 0.45);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 75px;
}

body {
  background-color: var(--color-bg-base);
  color: #f3f4f6;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  overflow-x: hidden;
}

/* Cyber Font Classes */
.font-cyber {
  font-family: 'Rajdhani', -apple-system, sans-serif;
  letter-spacing: 0.02em;
}

.font-tech {
  font-family: 'Space Grotesk', -apple-system, sans-serif;
}

/* Glow & Neon Effects matching Screenshot */
.text-glow-orange {
  color: var(--color-orange-glow);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.95), 0 0 16px rgba(255, 106, 0, 0.75), 0 0 32px rgba(255, 106, 0, 0.4);
}

.text-silver {
  color: #ffffff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9), 0 0 12px rgba(255, 255, 255, 0.25);
}

/* Hero Background - Wide Zoomed-Out Fitting */
.hero-bg-zoomed-out {
  background-image: url('../images/Futuristic-Orange-Lit-Server%20Corridor.png'), url('../images/hero-bg.png');
  background-repeat: no-repeat;
  background-position: 62% center;
  background-size: cover;
}

@media (max-width: 1024px) {
  .hero-bg-zoomed-out {
    background-size: cover;
    background-position: 55% 10%;
  }
}

@media (max-width: 768px) {
  .hero-bg-zoomed-out {
    background-size: cover;
    background-position: 60% top;
  }
}

/* Horizontal Laser Beam from Screenshot */
.hero-laser-beam {
  position: relative;
  height: 2px;
  background: linear-gradient(90deg, #ff8c00 0%, #ff5500 35%, rgba(255, 85, 0, 0.4) 70%, transparent 100%);
  box-shadow: 0 0 10px #ff6a00, 0 0 22px rgba(255, 106, 0, 0.5);
}

/* 4-Feature Console Panel with Lighter, High-Definition Borders */
.feature-console {
  position: relative;
  background: #0b0c12;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 10px 30px rgba(0, 0, 0, 0.6);
}

.feature-console-wing-left {
  position: relative;
  background: linear-gradient(135deg, #131620 0%, #0b0c12 100%);
  border-left: 1px solid #232838;
  border-top: 1px solid #232838;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 16px 100%, 0 calc(100% - 16px));
}

.feature-console-wing-right {
  position: relative;
  background: linear-gradient(225deg, #131620 0%, #0b0c12 100%);
  border-right: 1px solid #232838;
  border-top: 1px solid #232838;
  clip-path: polygon(0 0, 100% 0, calc(100% - 16px) calc(100% - 16px), 100% 100%, 0 100%);
}

/* Exact Hexagonal Trust Badge / Pill from Screenshot */
.trust-hex-pill {
  position: relative;
  background: #090a0f;
  border: 1.5px solid #ff6a00;
  box-shadow: 0 0 15px rgba(255, 106, 0, 0.35), inset 0 0 10px rgba(255, 106, 0, 0.12);
  clip-path: polygon(
    14px 0%, 
    calc(100% - 14px) 0%, 
    100% 50%, 
    calc(100% - 14px) 100%, 
    14px 100%, 
    0% 50%
  );
}

/* Laser Lines radiating from the Trust Pill */
.trust-line-left {
  height: 1.5px;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 106, 0, 0.8) 70%, #ff6a00 100%);
  box-shadow: 0 0 8px #ff6a00;
}

.trust-line-right {
  height: 1.5px;
  background: linear-gradient(90deg, #ff6a00 0%, rgba(255, 106, 0, 0.8) 30%, transparent 100%);
  box-shadow: 0 0 8px #ff6a00;
}

/* Discord Pill Button matching Screenshot */
.discord-pill-btn {
  border: 1px solid rgba(255, 106, 0, 0.7);
  background: rgba(11, 12, 17, 0.85);
  transition: all 0.25s ease;
}
.discord-pill-btn:hover {
  border-color: #ff6a00;
  background: rgba(255, 106, 0, 0.12);
  box-shadow: 0 0 16px rgba(255, 106, 0, 0.45);
}

/* Navbar active indicator */
.nav-item-active {
  position: relative;
}
.nav-item-active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2.5px;
  background-color: #ff6a00;
  box-shadow: 0 0 8px #ff6a00;
  border-radius: 1px;
}

/* Cyber card styling for extended sections */
.cyber-card {
  position: relative;
  background: rgba(13, 15, 22, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(35, 40, 55, 0.8);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.cyber-card:hover {
  border-color: rgba(255, 106, 0, 0.6);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px -4px rgba(255, 106, 0, 0.28);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #07080a;
}
::-webkit-scrollbar-thumb {
  background: #1c202d;
  border-radius: 4px;
  border: 1px solid rgba(255, 106, 0, 0.3);
}
::-webkit-scrollbar-thumb:hover {
  background: #ff6a00;
}

/* Arithmetic Quiz Modal Shake Animation */
@keyframes quizShake {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-6px); }
  40%, 80% { transform: translateX(6px); }
}
.animate-quiz-shake {
  animation: quizShake 0.35s ease-in-out;
}
