/* ==========================================================================
   LNET PLUS - ULTRA OPTIMIZED STANDALONE STYLESHEET (0% CPU / 0ms LAG)
   ========================================================================== */

/* Custom Font: Game Of Squids */
@font-face {
  font-family: 'Game of Squids';
  src: url('../assets/fonts/Game Of Squids.otf') format('opentype'),
       url('../assets/fonts/Game Of Squids.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg-main: #08080B;
  --bg-card: #12121A;
  --bg-card-hover: #181824;
  --primary-pink: #FF007A;
  --primary-pink-dark: #D80068;
  --primary-pink-light: #FF2E93;
  --text-primary: #FFFFFF;
  --text-secondary: #A0A0B0;
  --text-muted: #6C6C7E;
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-pink: rgba(255, 0, 122, 0.35);
  
  --font-squids: 'Game of Squids', -apple-system, sans-serif;
  --font-sans: 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  font-family: var(--font-sans);
  background-color: var(--bg-main);
  color: var(--text-primary);
  overflow-x: hidden;
  text-rendering: optimizeSpeed;
}

body {
  background-color: var(--bg-main);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Typography Helpers */
.font-squids {
  font-family: var(--font-squids);
  letter-spacing: 0.08em;
}

.font-sans {
  font-family: var(--font-sans);
}

.text-pink-gradient {
  background: linear-gradient(135deg, #FF3B9A 0%, #FF007A 50%, #E60067 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.text-brand-pink {
  color: var(--primary-pink);
}

.text-brand-muted {
  color: var(--text-secondary);
}

/* Zero-Cost Ambient Lighting */
.ambient-glow-top {
  position: absolute;
  top: -100px;
  right: 0;
  width: 600px;
  max-width: 90vw;
  height: 600px;
  background: radial-gradient(circle at 60% 40%, rgba(255, 0, 122, 0.16) 0%, rgba(216, 0, 104, 0.04) 40%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.ambient-glow-bottom {
  position: absolute;
  bottom: 5%;
  left: -100px;
  width: 500px;
  max-width: 90vw;
  height: 500px;
  background: radial-gradient(circle at 40% 60%, rgba(255, 0, 122, 0.12) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}

/* Containers */
.container-custom {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

@media (min-width: 640px) {
  .container-custom {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

/* Navbar */
.navbar-fixed {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 50;
  transition: background-color 0.2s ease, border-color 0.2s ease;
  padding: 1rem 0;
}

.navbar-scrolled {
  background-color: rgba(8, 8, 11, 0.95);
  border-bottom: 1px solid var(--border-subtle);
}

.nav-link {
  position: relative;
  color: #B5B5C4;
  font-size: 0.925rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease;
  padding: 0.25rem 0;
}

.nav-link:hover, .nav-link.active {
  color: #FFFFFF;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--primary-pink);
  border-radius: 2px;
  box-shadow: 0 0 8px var(--primary-pink);
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #FF007A 0%, #E60067 100%);
  color: #FFFFFF;
  font-weight: 600;
  text-decoration: none;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(255, 0, 122, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(255, 0, 122, 0.55);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.04);
  color: #FFFFFF;
  font-weight: 500;
  text-decoration: none;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 0, 122, 0.4);
  transform: translateY(-2px);
}

/* Cards & Grid Items */
.glass-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 1rem;
  transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.glass-card:hover {
  border-color: var(--border-pink);
  background-color: var(--bg-card-hover);
  transform: translateY(-3px);
}

.icon-box {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(255, 0, 122, 0.1);
  border: 1px solid rgba(255, 0, 122, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-pink);
  flex-shrink: 0;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.glass-card:hover .icon-box {
  background: rgba(255, 0, 122, 0.22);
  border-color: var(--primary-pink);
}

/* Credential Items */
.credential-item {
  transition: background-color 0.2s ease;
}

.credential-item:hover svg {
  transform: scale(1.08);
}

/* Mascot Display */
.mascot-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.mascot-glow-bg {
  position: absolute;
  width: 100%;
  height: 100%;
  max-width: 420px;
  max-height: 420px;
  background: radial-gradient(circle, rgba(255, 0, 122, 0.25) 0%, transparent 65%);
  pointer-events: none;
  z-index: 1;
}

.mascot-float {
  position: relative;
  z-index: 2;
  animation: floatSmooth 6s ease-in-out infinite;
}

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

/* Toast */
#toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  opacity: 0;
  background: #14141E;
  border: 1px solid rgba(255, 0, 122, 0.4);
  color: #FFFFFF;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6);
  z-index: 100;
  transition: transform 0.25s ease, opacity 0.25s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  pointer-events: none;
}

#toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35);
  z-index: 40;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.08) translateY(-2px);
  box-shadow: 0 6px 22px rgba(37, 211, 102, 0.55);
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 82%;
  max-width: 320px;
  height: 100%;
  background-color: #111118;
  border-left: 1px solid var(--border-subtle);
  z-index: 60;
  transform: translateX(100%);
  transition: transform 0.25s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.5rem;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.7);
}

.mobile-drawer.open {
  transform: translateX(0);
}

.mobile-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.75);
  z-index: 55;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.mobile-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}
