/* ==========================================================================
   Modern Gaming-Focused Design System - Enhanced Version
   
   Updated Color Palette:
   Primary: #1A1F43 (Deep space blue - gaming aesthetic)
   Secondary: #F5F8FA (Soft white - clean, spacious)
   Accent: #00E4FF (Neon cyan - gaming/tech vibe)
   Accent2: #FF4A6E (Hot pink - energy, contrast)
   Text: #E0E5F2 (Light grey-blue - easier on eyes for dark themes)
   Background: #121426 (Deep blue-black - gaming aesthetic)
   
   Typography Scale:
   h1: 2.5rem (40px)
   h2: 2rem (32px)
   h3: 1.5rem (24px)
   base: 1rem (16px)
   small: 0.875rem (14px)
   
   Spacing Scale:
   xs: 0.25rem (4px)
   sm: 0.5rem (8px)
   md: 1rem (16px)
   lg: 1.5rem (24px)
   xl: 2rem (32px)
   xxl: 3rem (48px)
   ========================================================================== */

/* Base Reset & Typography */
:root {
  --color-primary: #1A1F43;
  --color-primary-light: #2A3066;
  --color-primary-dark: #12142E;
  --color-secondary: #F5F8FA;
  --color-accent: #00E4FF;
  --color-accent-light: #70F1FF;
  --color-accent-dark: #00B3DB;
  --color-accent2: #FF4A6E;
  --color-accent2-light: #FF7A94;
  --color-accent2-dark: #DB2950;
  --color-text: #E0E5F2;
  --color-text-light: #B0B7C9;
  --color-text-lighter: #8D96AC;
  --color-background: #121426;
  --color-background-alt: #1C1F3A;
  --color-border: #2A3066;
  
  --font-sans: 'Exo 2', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --font-display: 'Orbitron', sans-serif;
  
  --shadow-sm: 0 2px 4px rgba(0, 228, 255, 0.1);
  --shadow-md: 0 4px 8px rgba(0, 228, 255, 0.15), 0 2px 4px rgba(0, 228, 255, 0.1);
  --shadow-lg: 0 10px 20px rgba(0, 228, 255, 0.2), 0 6px 6px rgba(0, 228, 255, 0.1);
  --shadow-neon: 0 0 10px rgba(0, 228, 255, 0.5), 0 0 20px rgba(0, 228, 255, 0.3), 0 0 30px rgba(0, 228, 255, 0.1);
  --shadow-neon-pink: 0 0 10px rgba(255, 74, 110, 0.5), 0 0 20px rgba(255, 74, 110, 0.3), 0 0 30px rgba(255, 74, 110, 0.1);
  
  --transition-fast: 150ms cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 250ms cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 500ms cubic-bezier(0.16, 1, 0.3, 1);
  
  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  
  --container-width: 1200px;
  
  scroll-behavior: smooth;
}

@import url('https://fonts.googleapis.com/css2?family=Exo+2:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500&family=Orbitron:wght@400;500;600;700&display=swap');

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

html, body {
  height: 100%;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-background);
  background-image: 
    radial-gradient(circle at 25% 25%, rgba(42, 48, 102, 0.2) 0%, transparent 50%),
    radial-gradient(circle at 75% 75%, rgba(0, 228, 255, 0.1) 0%, transparent 50%);
  background-attachment: fixed;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
  margin: 0 0 1rem;
  line-height: 1.2;
  font-weight: 700;
  color: var(--color-accent);
  font-family: var(--font-display);
  letter-spacing: 0.02em;
}

h1 {
  font-size: 2.5rem;
  letter-spacing: 0.03em;
  text-shadow: 0 0 10px rgba(0, 228, 255, 0.5);
}

h2 {
  font-size: 2rem;
  letter-spacing: 0.02em;
  text-shadow: 0 0 5px rgba(0, 228, 255, 0.3);
}

h3 {
  font-size: 1.5rem;
  letter-spacing: 0.01em;
}

p {
  margin: 0 0 1.5rem;
  font-size: 1rem;
  line-height: 1.7;
}

a {
  color: var(--color-accent);
  text-decoration: none;
  font-weight: 500;
  transition: color var(--transition-fast), text-shadow var(--transition-fast);
  border-radius: var(--radius-sm);
  position: relative;
}

a:hover, a:focus {
  color: var(--color-accent-light);
  text-decoration: none;
  text-shadow: 0 0 8px rgba(0, 228, 255, 0.5);
}

a::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  bottom: -2px;
  left: 0;
  background-color: var(--color-accent);
  transform: scaleX(0);
  transform-origin: bottom right;
  transition: transform 0.3s ease;
}

a:hover::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

a:focus {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

/* Layout */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

section {
  margin-bottom: 4rem;
  position: relative;
}

/* Header & Navigation */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(26, 31, 67, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 228, 255, 0.3);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  transition: background-color var(--transition-normal), transform var(--transition-normal);
}

.header.scrolled {
  background-color: rgba(26, 31, 67, 0.95);
}

.header.hidden {
  transform: translateY(-100%);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
}

.header__logo {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-secondary);
  text-decoration: none;
  letter-spacing: 0.05em;
  position: relative;
  text-shadow: 0 0 10px rgba(0, 228, 255, 0.5);
}

.header__logo::after {
  display: none; /* Disable underline effect for logo */
}

.header__logo:hover {
  color: var(--color-accent);
  text-shadow: 0 0 15px rgba(0, 228, 255, 0.8);
  text-decoration: none;
}

.nav {
  display: flex;
  align-items: center;
}

.nav__list {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__item {
  margin: 0 0.75rem;
}

.nav__link {
  display: block;
  padding: 0.5rem 0.75rem;
  color: var(--color-text);
  font-weight: 500;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--color-accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s cubic-bezier(0.86, 0, 0.07, 1);
  z-index: -1;
}

.nav__link:hover::after, 
.nav__link:focus::after,
.nav__link.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav__link:hover, .nav__link:focus {
  color: var(--color-accent);
  text-shadow: 0 0 5px rgba(0, 228, 255, 0.5);
  background-color: rgba(0, 228, 255, 0.1);
  text-decoration: none;
}

.nav__link.active {
  color: var(--color-accent);
  font-weight: 600;
  text-shadow: 0 0 8px rgba(0, 228, 255, 0.5);
}

.nav__toggle {
  display: none;
  background: none;
  border: none;
  color: var(--color-text);
  font-size: 1.5rem;
  cursor: pointer;
  transition: color 0.3s ease;
}

.nav__toggle:hover {
  color: var(--color-accent);
}

/* Content Cards & Sections */
.card {
  background-color: var(--color-background-alt);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 2rem;
  margin-bottom: 2rem;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  border-left: 4px solid var(--color-accent);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 228, 255, 0.05) 0%, transparent 100%);
  pointer-events: none;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg), var(--shadow-neon);
}

.card--primary {
  border-left-color: var(--color-accent);
}

.card--accent {
  border-left-color: var(--color-accent);
}

.card--accent2 {
  border-left-color: var(--color-accent2);
}

.card__title {
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--color-border);
  color: var(--color-accent);
  display: inline-block;
  position: relative;
}

.card__title::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 30%;
  height: 2px;
  background-color: var(--color-accent);
  box-shadow: 0 0 10px var(--color-accent);
}

.intro-section {
  max-width: 800px;
  margin: 0 auto 4rem;
  text-align: center;
  position: relative;
  padding: 2rem;
  background-color: rgba(26, 31, 67, 0.5);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-md);
}

.intro-section::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  padding: 2px;
  background: linear-gradient(45deg, var(--color-accent), var(--color-accent2));
  -webkit-mask: 
     linear-gradient(#fff 0 0) content-box, 
     linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.intro-section__title {
  margin-bottom: 1.5rem;
  color: var(--color-accent);
  position: relative;
  display: inline-block;
}

.intro-section__title::after {
  content: '';
  position: absolute;
  width: 60%;
  height: 3px;
  bottom: -8px;
  left: 20%;
  background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
}

.intro-section__text {
  font-size: 1.125rem;
  color: var(--color-text);
  max-width: 700px;
  margin: 0 auto;
}

/* Lists with Icons */
.feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.feature-list__item,
.feature-list li {
  position: relative;
  padding: 1rem 0 1rem 2rem;
  border-bottom: 1px solid var(--color-border);
  transition: background-color var(--transition-fast), transform var(--transition-fast);
}

.feature-list__item:last-child,
.feature-list li:last-child {
  border-bottom: none;
}

.feature-list__item:hover,
.feature-list li:hover {
  background-color: rgba(0, 228, 255, 0.05);
  transform: translateX(5px);
}

.feature-list__item::before,
.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.15rem;
  width: 1.25rem;
  height: 1.25rem;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.feature-list--tips .feature-list__item::before,
.feature-list--tips li::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2300E4FF'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41L9 16.17z'/%3E%3C/svg%3E");
}

.feature-list--strategies .feature-list__item::before,
.feature-list--strategies li::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23FF4A6E'%3E%3Cpath d='M8 5v14l11-7L8 5z'/%3E%3C/svg%3E");
}

/* Guide Parts Cards */
.guide-part {
  background-color: var(--color-background-alt);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 2rem;
  margin-bottom: 2.5rem;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--color-border);
}

.guide-part::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: linear-gradient(to bottom, var(--color-accent), var(--color-accent2));
}

.guide-part::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at top right, rgba(0, 228, 255, 0.07), transparent 70%);
  pointer-events: none;
}

.guide-part:hover {
  transform: translateY(-5px) translateX(3px);
  box-shadow: var(--shadow-lg), 0 0 20px rgba(0, 228, 255, 0.2);
}

.guide-part__title {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--color-border);
  color: var(--color-accent);
  position: relative;
}

.guide-part__title::before {
  content: "";
  display: inline-block;
  width: 1.5rem;
  height: 1.5rem;
  margin-right: 0.75rem;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  filter: drop-shadow(0 0 3px rgba(0, 228, 255, 0.5));
}

.guide-part__title::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 30%;
  height: 2px;
  background: linear-gradient(90deg, var(--color-accent), transparent);
}

#part1 .guide-part__title::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2300E4FF'%3E%3Cpath d='M3.55 19.09l1.41 1.41 1.79-1.8-1.41-1.41-1.79 1.8zM11 23h2v-2.95h-2V23zM4 11.05H1v2h3v-2zM15 6.86V2.05H9v4.81c-2.28 1.04-4 3.31-4 5.94 0 3.64 2.92 6.6 6.6 6.6s6.6-2.96 6.6-6.6c0-2.63-1.72-4.9-4-5.94z'/%3E%3C/svg%3E");
}

#part2 .guide-part__title::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2300E4FF'%3E%3Cpath d='M6 13h12c.55 0 1-.45 1-1s-.45-1-1-1H6c-.55 0-1 .45-1 1s.45 1 1 1zm-2 4h12c.55 0 1-.45 1-1s-.45-1-1-1H4c-.55 0-1 .45-1 1s.45 1 1 1zm3-9c0 .55.45 1 1 1h12c.55 0 1-.45 1-1s-.45-1-1-1H8c-.55 0-1 .45-1 1z'/%3E%3C/svg%3E");
}

#part3 .guide-part__title::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2300E4FF'%3E%3Cpath d='M16.24 7.76C15.07 6.59 13.54 6 12 6v6l-4.24 4.24c2.34 2.34 6.14 2.34 8.49 0 2.34-2.34 2.34-6.14-.01-8.48zM12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z'/%3E%3C/svg%3E");
}

#part4 .guide-part__title::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2300E4FF'%3E%3Cpath d='M19.35 10.04C18.67 6.59 15.64 4 12 4 9.11 4 6.6 5.64 5.35 8.04 2.34 8.36 0 10.91 0 14c0 3.31 2.69 6 6 6h13c2.76 0 5-2.24 5-5 0-2.64-2.05-4.78-4.65-4.96zM14 13v4h-4v-4H7l5-5 5 5h-3z'/%3E%3C/svg%3E");
}

#part5 .guide-part__title::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2300E4FF'%3E%3Cpath d='M16 6l2.29 2.29-4.88 4.88-4-4L2 16.59 3.41 18l6-6 4 4 6.3-6.29L22 12V6h-6z'/%3E%3C/svg%3E");
}

/* Video Section */
.video-section {
  padding: 3rem 0;
  background-color: rgba(28, 31, 58, 0.5);
  border-radius: var(--radius-lg);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.video-section::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  padding: 2px;
  background: linear-gradient(45deg, var(--color-accent), var(--color-accent2));
  -webkit-mask: 
     linear-gradient(#fff 0 0) content-box, 
     linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.video-section__title {
  display: inline-block;
  margin-bottom: 2rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--color-accent2);
  color: var(--color-accent);
  position: relative;
  font-family: var(--font-display);
}

.video-section__title::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-accent2));
  transform: translateY(2px);
}

.video-container {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg), 0 0 30px rgba(0, 228, 255, 0.3);
}

.video-container video {
  width: 100%;
  display: block;
  background-color: #000;
}

.video-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 450px;
  background-color: rgba(26, 31, 67, 0.7);
  border: 2px dashed var(--color-accent2);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.video-placeholder__icon {
  margin-bottom: 1rem;
  font-size: 3rem;
  color: var(--color-accent);
  text-shadow: 0 0 10px rgba(0, 228, 255, 0.8);
  animation: pulse 2s infinite;
}

.video-placeholder__text {
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
  color: var(--color-text);
}

.video-placeholder__path {
  padding: 0.5rem;
  background-color: rgba(0, 228, 255, 0.1);
  border-radius: var(--radius-md);
  font-family: var(--font-mono);
  font-size: 0.875rem;
  color: var(--color-accent);
}

/* Guide Cards */
.guide-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.guide-card {
  display: flex;
  flex-direction: column;
  background-color: var(--color-background-alt);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  position: relative;
  border: 1px solid var(--color-border);
}

.guide-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-accent2));
  z-index: 2;
}

.guide-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-lg), var(--shadow-neon);
}

.guide-card__image {
  height: 180px;
  background-color: var(--color-primary);
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}

.guide-card__image::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, transparent 50%, var(--color-background-alt));
  pointer-events: none;
}

.guide-card__content {
  flex: 1;
  padding: 1.5rem;
  position: relative;
  z-index: 1;
}

.guide-card__title {
  margin-bottom: 1rem;
  color: var(--color-accent);
  font-family: var(--font-display);
  position: relative;
  display: inline-block;
}

.guide-card__title::after {
  content: '';
  position: absolute;
  width: 40px;
  height: 3px;
  bottom: -5px;
  left: 0;
  background-color: var(--color-accent2);
}

.guide-card__text {
  margin-bottom: 1.5rem;
  color: var(--color-text-light);
}

.guide-card__link {
  display: inline-block;
  margin-top: auto;
  padding: 0.75rem 1.25rem;
  background-color: var(--color-accent);
  color: var(--color-primary-dark);
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  position: relative;
  overflow: hidden;
  z-index: 1;
  text-transform: uppercase;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
}

.guide-card__link::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transform: translateX(-100%);
  transition: transform 0.8s;
  z-index: -1;
}

.guide-card__link:hover::before {
  transform: translateX(100%);
}

.guide-card__link:hover {
  background-color: var(--color-accent-dark);
  box-shadow: 0 0 15px rgba(0, 228, 255, 0.5);
  transform: translateY(-2px);
  text-decoration: none;
  color: white;
}

.guide-card__link::after {
  display: none; /* Disable the underline effect for buttons */
}

/* Progress Indicator */
.progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 4px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-accent2));
  z-index: 1000;
  transition: width var(--transition-normal);
  box-shadow: 0 0 10px rgba(0, 228, 255, 0.5);
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  background-color: var(--color-primary);
  color: var(--color-accent);
  border: 2px solid var(--color-accent);
  border-radius: 50%;
  font-size: 1.5rem;
  box-shadow: var(--shadow-neon);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition-normal);
  z-index: 99;
}

.back-to-top:hover {
  background-color: var(--color-primary-light);
  transform: translateY(0) scale(1.1);
  box-shadow: 0 0 20px rgba(0, 228, 255, 0.8);
  text-decoration: none;
  color: white;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top::after {
  display: none; /* Disable underline effect */
}

/* Footer */
.footer {
  padding: 3rem 0;
  background-color: var(--color-primary-dark);
  color: var(--color-text);
  text-align: center;
  margin-top: 6rem;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-accent2), var(--color-accent), var(--color-accent2));
}

.footer::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center top, rgba(0, 228, 255, 0.1), transparent 70%);
  pointer-events: none;
}

.footer__text {
  opacity: 0.9;
  font-size: 0.875rem;
  letter-spacing: 1px;
  position: relative;
  z-index: 1;
}

/* Table of Contents for Guides */
.toc {
  position: sticky;
  top: 6rem;
  padding: 1.5rem;
  background-color: rgba(26, 31, 67, 0.7);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  margin-bottom: 2rem;
  border: 1px solid var(--color-border);
  backdrop-filter: blur(10px);
}

.toc::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  padding: 2px;
  background: linear-gradient(45deg, var(--color-accent), transparent, var(--color-accent2));
  -webkit-mask: 
     linear-gradient(#fff 0 0) content-box, 
     linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.7;
}

.toc__title {
  margin-bottom: 1rem;
  font-size: 1.25rem;
  color: var(--color-accent);
  font-family: var(--font-display);
  text-align: center;
  position: relative;
  display: inline-block;
}

.toc__title::after {
  content: '';
  position: absolute;
  width: 50%;
  height: 2px;
  bottom: -5px;
  left: 25%;
  background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
}

.toc__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.toc__item {
  margin-bottom: 0.5rem;
}

.toc__link {
  display: block;
  padding: 0.5rem;
  border-radius: var(--radius-md);
  color: var(--color-text);
  font-weight: 500;
  transition: all var(--transition-fast);
  position: relative;
  padding-left: 1rem;
}

.toc__link::before {
  content: '>';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-accent);
  font-size: 0.8em;
  opacity: 0;
  transition: opacity 0.3s, transform 0.3s;
}

.toc__link:hover::before, 
.toc__link:focus::before, 
.toc__link.active::before {
  opacity: 1;
  transform: translateY(-50%) translateX(2px);
}

.toc__link:hover, .toc__link:focus, .toc__link.active {
  background-color: rgba(0, 228, 255, 0.1);
  color: var(--color-accent);
  transform: translateX(3px);
  text-decoration: none;
}

.toc__link::after {
  display: none; /* Disable underline effect */
}

/* Grid Layouts */
.grid {
  display: grid;
  gap: 2rem;
}

.grid--2-cols {
  grid-template-columns: repeat(2, 1fr);
}

.grid--3-cols {
  grid-template-columns: repeat(3, 1fr);
}

.grid--with-sidebar {
  grid-template-columns: 3fr 1fr;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
  0% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(1.05); }
  100% { opacity: 1; transform: scale(1); }
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.fade-in {
  animation: fadeIn var(--transition-normal) forwards;
}

/* Intro Animation Styles */
body.no-scroll {
  overflow: hidden;
}

.intro-animation {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 9999;
  overflow: hidden;
}

.intro-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 2s cubic-bezier(0.16, 1, 0.3, 1);
}

.intro-background::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(26, 31, 67, 0.9) 0%, rgba(0, 228, 255, 0.4) 100%);
  opacity: 0;
  transition: opacity 1.5s ease;
}

.intro-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -30%);
  width: 90%;
  max-width: 800px;
  text-align: center;
  opacity: 0;
  z-index: 2;
  background-color: rgba(18, 20, 38, 0.7);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  padding: 2.5rem 3rem;
  transition: opacity 1.5s ease, transform 1.5s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid rgba(0, 228, 255, 0.3);
  box-shadow: 0 0 30px rgba(0, 228, 255, 0.3);
}

.intro-content::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  padding: 2px;
  background: linear-gradient(45deg, var(--color-accent), var(--color-accent2));
  -webkit-mask: 
     linear-gradient(#fff 0 0) content-box, 
     linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.7;
}

.intro-title {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  color: #ffffff;
  text-shadow: 0 0 10px rgba(0, 228, 255, 0.7), 0 0 20px rgba(0, 228, 255, 0.4);
  font-weight: 700;
  font-family: var(--font-display);
  line-height: 1.2;
}

.intro-subtitle {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  color: #f0f8ff;
  text-shadow: 0 0 5px rgba(0, 228, 255, 0.5);
  font-weight: 500;
  font-family: var(--font-sans);
  line-height: 1.5;
}

.intro-cta {
  display: inline-block;
  padding: 0.75rem 2.5rem;
  background-color: var(--color-accent);
  color: var(--color-primary-dark);
  font-weight: 600;
  border-radius: var(--radius-md);
  box-shadow: 0 0 15px rgba(0, 228, 255, 0.5);
  transition: all 0.3s ease;
  cursor: pointer;
  text-decoration: none;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.intro-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transform: translateX(-100%);
  transition: transform 0.8s;
  z-index: -1;
}

.intro-cta:hover::before {
  transform: translateX(100%);
}

.intro-cta:hover {
  background-color: var(--color-accent-light);
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 0 25px rgba(0, 228, 255, 0.8);
  text-decoration: none;
  color: var(--color-primary-dark);
}

.intro-cta::after {
  display: none; /* Disable underline effect */
}

/* Animation sequence classes */
.intro-animation.phase1 .intro-background::before,
.intro-animation.animate .intro-background::before {
  opacity: 1;
}

.intro-animation.phase2 .intro-content,
.intro-animation.animate .intro-content {
  opacity: 1;
  transform: translate(-50%, -50%);
}

.intro-animation.complete {
  pointer-events: none;
}

.intro-animation.complete .intro-background {
  transform: translateY(-100vh);
}

.intro-animation.complete .intro-content {
  opacity: 0;
  transform: translate(-50%, -70%);
}

/* Main content visibility management */
.main-content {
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s ease, visibility 0s 0.5s;
}

.main-content.visible {
  opacity: 1;
  visibility: visible;
  transition: opacity 1s ease;
}

/* Hide hero section - we'll use the intro animation instead */
.hero {
  display: none;
}

/* Typography Enhancements */
strong, b {
  color: var(--color-accent);
  font-weight: 600;
}

em, i {
  color: var(--color-accent2-light);
  font-style: italic;
}

/* Code and Pre Elements for Guide Pages */
code {
  font-family: var(--font-mono);
  background-color: rgba(0, 228, 255, 0.1);
  color: var(--color-accent);
  padding: 0.2em 0.4em;
  border-radius: var(--radius-sm);
  font-size: 0.875em;
}

pre {
  background-color: rgba(12, 14, 26, 0.9);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  overflow-x: auto;
  margin: 1.5rem 0;
  border-left: 3px solid var(--color-accent);
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.3), 0 0 10px rgba(0, 228, 255, 0.2);
}

pre code {
  background-color: transparent;
  padding: 0;
  color: var(--color-text);
  display: block;
  line-height: 1.6;
}

/* Table Styles for Guides */
table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 1.5rem 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
}

th {
  background-color: var(--color-primary);
  color: var(--color-text);
  font-weight: 600;
  text-align: left;
  padding: 0.75rem 1rem;
  border-bottom: 2px solid var(--color-accent);
  font-family: var(--font-display);
  letter-spacing: 0.05em;
}

td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--color-border);
  background-color: rgba(26, 31, 67, 0.4);
}

tr:nth-child(even) td {
  background-color: rgba(26, 31, 67, 0.7);
}

tr:last-child td {
  border-bottom: none;
}

tr:hover td {
  background-color: rgba(0, 228, 255, 0.1);
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.mt-5 {
  margin-top: 3rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

/* Particles Background */
.particles-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

@keyframes floatParticle {
  0% {
    transform: translateY(0) translateX(0);
    opacity: 0;
  }
  25% {
    opacity: 0.8;
  }
  50% {
    transform: translateY(-20vh) translateX(10vw);
    opacity: 0.4;
  }
  75% {
    opacity: 0.8;
  }
  100% {
    transform: translateY(-40vh) translateX(20vw);
    opacity: 0;
  }
}

/* Stats Section Styles */
.stats-section {
  padding: 4rem 0;
  position: relative;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-card {
  background-color: rgba(26, 31, 67, 0.7);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg), var(--shadow-neon);
}

.stat-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  padding: 2px;
  background: linear-gradient(45deg, var(--color-accent), var(--color-accent2));
  -webkit-mask: 
     linear-gradient(#fff 0 0) content-box, 
     linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.7;
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--color-accent);
  font-family: var(--font-display);
  text-shadow: 0 0 10px rgba(0, 228, 255, 0.5);
}

.stat-label {
  font-size: 1.25rem;
  color: var(--color-text);
  letter-spacing: 0.05em;
}

/* Newsletter Section */
.newsletter-section {
  padding: 4rem 2rem;
  text-align: center;
  background-color: rgba(26, 31, 67, 0.5);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(10px);
  position: relative;
  box-shadow: var(--shadow-md);
  margin-bottom: 4rem;
}

.newsletter-section::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  padding: 2px;
  background: linear-gradient(45deg, var(--color-accent2), var(--color-accent));
  -webkit-mask: 
     linear-gradient(#fff 0 0) content-box, 
     linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.7;
}

.newsletter-section h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--color-accent);
  font-family: var(--font-display);
  text-shadow: 0 0 10px rgba(0, 228, 255, 0.3);
}

.newsletter-section p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  color: var(--color-text-light);
}

.newsletter-form {
  display: flex;
  max-width: 500px;
  margin: 0 auto;
  position: relative;
}

.newsletter-form input {
  flex: 1;
  padding: 1rem 1.5rem;
  border: 2px solid var(--color-border);
  background-color: rgba(18, 20, 38, 0.8);
  color: var(--color-text);
  border-radius: var(--radius-md) 0 0 var(--radius-md);
  font-family: var(--font-sans);
  font-size: 1rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.newsletter-form input:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 10px rgba(0, 228, 255, 0.3);
}

.newsletter-form button {
  padding: 1rem 1.5rem;
  background-color: var(--color-accent);
  color: var(--color-primary-dark);
  border: none;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-family: var(--font-display);
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.newsletter-form button:hover {
  background-color: var(--color-accent-light);
  transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 1200px) {
  .container {
    max-width: 95%;
  }
}

@media (max-width: 992px) {
  .grid--with-sidebar {
    grid-template-columns: 1fr;
  }
  
  .toc {
    position: relative;
    top: 0;
    margin-bottom: 2rem;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  html {
    font-size: 14px;
  }
  
  .intro-title {
    font-size: 2.5rem;
  }
  
  .intro-subtitle {
    font-size: 1.25rem;
  }
  
  .intro-content {
    padding: 2rem 1.5rem;
  }
  
  .nav__list {
    position: fixed;
    top: 60px;
    left: 0;
    width: 100%;
    height: 0;
    overflow: hidden;
    background-color: var(--color-primary-dark);
    flex-direction: column;
    align-items: center;
    transition: height 0.3s ease;
    z-index: 99;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    padding: 0;
  }
  
  .nav__list.active {
    height: auto;
    padding: 1rem 0;
  }
  
  .nav__item {
    margin: 0.5rem 0;
    width: 100%;
    text-align: center;
  }
  
  .nav__toggle {
    display: block;
  }
  
  .guide-cards {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }
  
  .guide-part {
    padding: 1.5rem;
  }
  
  .video-container {
    max-width: 95%;
  }
  
  .card {
    padding: 1.5rem;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .newsletter-form {
    flex-direction: column;
  }
  
  .newsletter-form input,
  .newsletter-form button {
    width: 100%;
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
  }
}

@media (max-width: 576px) {
  html {
    font-size: 13px;
  }
  
  .back-to-top {
    right: 1rem;
    bottom: 1rem;
    width: 3rem;
    height: 3rem;
  }
  
  .guide-cards {
    grid-template-columns: 1fr;
  }
  
  .intro-title {
    font-size: 2rem;
  }
  
  .intro-subtitle {
    font-size: 1rem;
  }
  
  .video-placeholder {
    height: 350px;
  }
}

@media (prefers-reduced-motion: reduce) {
  :root {
    scroll-behavior: auto;
  }
  
  .intro-background,
  .intro-content,
  .intro-animation.complete .intro-background,
  .intro-animation.complete .intro-content {
    transition: none !important;
  }
  
  .fade-in {
    animation: none !important;
    opacity: 1 !important;
    transform: translateY(0) !important;
  }
  
  @keyframes pulse {
    0%, 50%, 100% { opacity: 1; transform: scale(1); }
  }
}