  .reset-progress-btn {
    position: relative;
    z-index: 10001;
  }
  @media (max-width: 768px) {
    .reset-progress-btn {
      position: relative !important;
      left: auto !important;
      right: auto !important;
      bottom: auto !important;
      transform: none !important;
      z-index: 1 !important;
      width: auto !important;
      min-width: 100px !important;
      font-size: 0.85em !important;
      background: #222 !important;
      color: #fff !important;
      border: 2px solid #00f7ff !important;
      border-radius: 6px !important;
      box-shadow: 0 2px 12px rgba(0,247,255,0.18) !important;
      padding: 8px 14px !important;
      margin: 12px auto 0 auto !important;
      display: block !important;
    }
  }
  #site-intro-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    min-width: 100vw !important;
    min-height: 100vh !important;
    background: #000 !important;
    z-index: 99999 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: opacity 0.7s !important;
    overflow: hidden !important;
  }
  @media (max-width: 768px) {
    img, .about-photo, .project-image, .artifact-card img {
      max-width: 96vw !important;
      width: 100% !important;
      height: auto !important;
      object-fit: contain !important;
      border-radius: 10px !important;
      margin: 0 auto 12px auto !important;
      display: block !important;
      box-shadow: 0 2px 8px rgba(0,0,0,0.18) !important;
      overflow: hidden !important;
    }
    .avatar-display img {
      border-radius: 50% !important;
      width: 100% !important;
      height: 100% !important;
      object-fit: cover !important;
    }
    .about-text-centered, .read-section, .timeline-content, .artifact-description, .project-card p {
      word-break: break-word !important;
      font-size: 1.08em !important;
      padding-left: 6px !important;
      padding-right: 6px !important;
      box-sizing: border-box !important;
      overflow-wrap: anywhere !important;
      max-width: 98vw !important;
      overflow-x: auto !important;
    }
  }
  /* Mobile adjustments for System Origins block */
  @media (max-width: 768px) {
    .quest-area[data-quest="explore-story"] .story-content {
      flex-direction: column !important;
      align-items: center !important;
    }
    .quest-area[data-quest="explore-story"] .story-content > .read-section > div {
      flex-direction: column !important;
      align-items: center !important;
      gap: 18px !important;
    }
    .read-section > div[style*="display: flex"] {
      flex-direction: column !important;
    }
    .quest-area[data-quest="explore-story"] img {
      width: 80vw !important;
      max-width: 320px !important;
      height: auto !important;
      margin: 0 auto 12px auto !important;
      display: block !important;
      border-radius: 8px !important;
      box-shadow: 0 2px 8px rgba(0,247,255,0.18) !important;
      order: -1 !important;
    }
    .quest-area[data-quest="explore-story"] h3,
    .quest-area[data-quest="explore-story"] p {
      text-align: center !important;
      font-size: 1.05em !important;
      margin-left: auto !important;
      margin-right: auto !important;
    }
    .quest-area[data-quest="explore-story"] .xp-indicator {
      text-align: center !important;
      margin-top: 8px !important;
      margin-bottom: 18px !important;
    }
  }
  /* Mobile XP Tracker Toggle Button */
  .mobile-xp-toggle {
    display: none;
  }
  @media (max-width: 768px) {
    .mobile-xp-toggle {
      display: flex;
      position: fixed;
      bottom: 10px;
      right: 10px;
      width: 50px;
      height: 50px;
      background: linear-gradient(135deg, #0a0e27, #1a1a2e);
      border: 2px solid #00f7ff;
      border-radius: 50%;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      z-index: 10000;
      box-shadow: 0 4px 20px rgba(0,247,255,0.3);
      transition: all 0.3s ease;
      font-size: 1.5em;
      user-select: none;
      -webkit-tap-highlight-color: transparent;
    }
    .mobile-xp-toggle:active {
      transform: scale(0.95);
    }
    .mobile-xp-toggle.active {
      background: linear-gradient(135deg, #1a1a2e, #0a0e27);
      border-color: #ff2a6d;
      box-shadow: 0 4px 20px rgba(255,42,109,0.3);
    }
  }

  /* Mobile XP Tracker Footer */
  @media (max-width: 768px) {
    body {
      padding-bottom: 80px;
      box-sizing: border-box;
    }
    .quest-area, main {
      padding-bottom: 20px !important;
      margin-bottom: 20px !important;
    }
    .character-tracker {
      position: fixed !important;
      left: 0 !important;
      right: 0 !important;
      bottom: -100% !important;
      top: auto !important;
      transform: none !important;
      width: 100vw !important;
      max-width: 100vw !important;
      min-height: 200px;
      max-height: 300px;
      border-radius: 0 !important;
      box-shadow: 0 -2px 18px rgba(0,247,255,0.12) !important;
      background: linear-gradient(90deg, #0a0e27 80%, #1a1a2e 100%) !important;
      z-index: 9999 !important;
      display: flex !important;
      flex-direction: column !important;
      align-items: center !important;
      justify-content: center !important;
      padding: 15px 20px 15px 20px !important;
      gap: 12px !important;
      border-top: 2px solid #00f7ff !important;
      transition: bottom 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55), 
                  visibility 0.5s ease,
                  opacity 0.5s ease;
      overflow: hidden;
      visibility: hidden;
      opacity: 0;
    }
    .character-tracker.expanded {
      bottom: 0 !important;
      visibility: visible;
      opacity: 1;
    }
    .character-tracker .character-avatar-display {
      margin: 0 auto !important;
      display: flex !important;
      justify-content: center !important;
      width: 100% !important;
    }
    .character-tracker .character-info-display {
      flex: 1 !important;
      text-align: center !important;
      padding: 0 20px !important;
      width: 100% !important;
      box-sizing: border-box !important;
      display: flex !important;
      flex-direction: column !important;
      align-items: center !important;
    }
    .character-tracker .character-info-display h4 {
      text-align: center !important;
      margin: 5px auto !important;
      width: 100% !important;
      display: block !important;
    }
    .character-tracker .character-sprite {
      margin: 0 auto !important;
      display: flex !important;
      align-items: center !important;
      justify-content: center !important;
    }
    .character-tracker .xp-progress {
      width: 85% !important;
      max-width: 350px !important;
      margin: 0 auto !important;
      box-sizing: border-box !important;
    }
    .character-tracker .xp-text {
      font-size: 1em !important;
      color: #00f7ff !important;
      margin: 8px auto 0 auto !important;
      font-weight: bold !important;
      text-align: center !important;
      display: block !important;
      width: 100% !important;
    }
  }
  /* RPG Game Styling - Natural Integration */
  /* This replaces the overlay approach with integrated theming */

  /* Base Futuristic Theme */
  body {
    background: #000;
    color: #d9d9d9;
    font-family: 'Orbitron', 'Roboto Mono', monospace;
    margin: 0;
    min-height: 100vh;
    position: relative;
  }

  /* Remove animated grid for minimal dark theme */
  body::before { display: none; }

  /* Minimal header */
  .site-header {
    background: #000;
    padding: 26px 0 22px 0;
    text-align: center;
    border-bottom: 1px solid #111;
    position: relative;
    z-index: 10;
  }
  .site-header h1 {
    margin: 0;
    font-size: 2rem;
    font-weight: 600;
    color: #fff !important;
    letter-spacing: 1px;
    text-shadow: none !important;
    filter: none !important;
  }
  .site-header h1 .role {
    font-weight: 400;
    color: #fff !important;
    font-size: 1.05rem;
    margin-left: 10px;
    text-shadow: none !important;
    filter: none !important;
  }

  @keyframes gridPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
  }

  /* Quest Complete Notification */
  .quest-complete-notification,
  .achievement-summary-notification {
    /* Scroll reveal base state */
    .read-section, .path-card, .achievement-card {
      opacity: 0;
      transform: translateY(42px);
      transition: opacity 0.6s cubic-bezier(0.16,0.8,0.3,1), transform 0.6s cubic-bezier(0.16,0.8,0.3,1);
      will-change: transform, opacity;
    }
    .read-section.in-view, .path-card.in-view, .achievement-card.in-view {
      opacity: 1;
      transform: translateY(0);
    }

    /* Slight stagger for groups */
    .adventure-paths .path-card:nth-child(2) { transition-delay: 0.05s; }
    .adventure-paths .path-card:nth-child(3) { transition-delay: 0.10s; }
    .achievement-grid .achievement-card:nth-child(2) { transition-delay: 0.05s; }
    .achievement-grid .achievement-card:nth-child(3) { transition-delay: 0.10s; }
    .achievement-grid .achievement-card:nth-child(4) { transition-delay: 0.15s; }
    position: fixed;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #0a0e27, #1a1a2e);
    border: 2px solid #00f7ff;
    border-radius: 5px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 0 20px rgba(0, 247, 255, 0.3);
    z-index: 1000;
    animation: slideInFromRight 0.5s ease-out, fadeOutAfter 4s ease-in;
    max-width: 300px;
  }

  .quest-complete-notification .notification-content h3,
  .achievement-summary-notification .notification-content h3 {
    margin: 0 0 10px 0;
    color: #00f7ff;
    font-size: 1.2em;
    text-shadow: 0 0 10px rgba(0, 247, 255, 0.5);
  }

  .quest-complete-notification .notification-content p,
  .achievement-summary-notification .notification-content p {
    margin: 5px 0;
    color: #00f7ff;
  }

  .xp-reward {
    background: linear-gradient(45deg, #ff2a6d, #d1f7ff);
    color: #0a0e27;
    padding: 5px 15px;
    border-radius: 3px;
    text-align: center;
    font-weight: bold;
    margin-top: 10px;
    box-shadow: 0 0 15px rgba(255, 42, 109, 0.5);
  }

  @keyframes slideInFromRight {
    0% { transform: translateX(100%); opacity: 0; }
    100% { transform: translateX(0); opacity: 1; }
  }

  @keyframes fadeOutAfter {
    0%, 80% { opacity: 1; }
    100% { opacity: 0; }
  }

  /* Futuristic Headers */
  h1, h2, h3 {
    color: #fff;
    text-shadow: none;
    font-family: 'Orbitron', 'Rajdhani', sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
  }

  h1 {
    font-size: 2.5em;
    margin-bottom: 20px;
    text-align: center;
    color: #fff;
  }

  /* Futuristic Cards */
  .quest-area, .artifact-card, .skill-card, .commission-board {
    background: #0a0a0a;
    border: 1px solid #222;
    border-radius: 4px;
    padding: 20px;
    margin: 20px auto;
    max-width: 1200px;
    box-shadow: none;
    position: relative;
    overflow: hidden;
  }

  .quest-area::before, .artifact-card::before, .skill-card::before, .commission-board::before {
    display: none;
  }

  /* Futuristic Buttons */
  .rpg-button, .quest-button, .action-button {
    background: #111;
    color: #888;
    border: 1px solid #333;
    padding: 12px 25px;
    border-radius: 3px;
    cursor: pointer;
    font-family: 'Orbitron', sans-serif;
    font-weight: bold;
    text-shadow: none;
    box-shadow: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1px;
  }

  .rpg-button:hover, .quest-button:hover, .action-button:hover {
    background: #1a1a1a;
    color: #aaa;
    border-color: #444;
  }

  .rpg-button:active, .quest-button:active, .action-button:active {
    background: #0a0a0a;
  }

  /* Progress Bars */
  .progress-container {
    background: #0a0a0a;
    border: 1px solid #222;
    border-radius: 3px;
    overflow: hidden;
    margin: 10px 0;
    position: relative;
    height: 20px;
  }

  .progress-bar {
    background: #444;
    height: 100%;
    border-radius: 3px;
    transition: width 0.5s ease;
    box-shadow: none;
    position: relative;
  }

  .progress-bar::after {
    display: none;
  }

  /* Level Display */
  .level-display, [data-player-level] {
    background: #111;
    color: #888;
    padding: 5px 15px;
    border-radius: 3px;
    font-weight: bold;
    display: inline-block;
    margin: 5px;
    box-shadow: none;
    border: 1px solid #333;
  }

  /* Rarity System - Futuristic Tech Tiers */
  .rarity-common { border-color: #00f7ff; }
  .rarity-uncommon { border-color: #00d4ff; }
  .rarity-rare { border-color: #ff2a6d; }
  .rarity-epic { border-color: #9c27b0; }
  .rarity-legendary { border-color: #ffea00; }

  .rarity-common::before { background: linear-gradient(90deg, transparent, rgba(0, 247, 255, 0.1), transparent); }
  .rarity-uncommon::before { background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.1), transparent); }
  .rarity-rare::before { background: linear-gradient(90deg, transparent, rgba(255, 42, 109, 0.1), transparent); }
  .rarity-epic::before { background: linear-gradient(90deg, transparent, rgba(156, 39, 176, 0.1), transparent); }
  .rarity-legendary::before { background: linear-gradient(90deg, transparent, rgba(255, 234, 0, 0.1), transparent); }

  /* Futuristic Links */
  a {
    color: #888;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
  }

  a:hover {
    color: #aaa;
    text-shadow: none;
  }

  a::before {
    display: none;
  }

  /* Reading Progress Indicators */
  .read-section {
    position: relative;
    padding: 15px;
    margin: 10px 0;
    border-left: 4px solid transparent;
    transition: all 0.3s ease;
  }

  .read-section.reading {
    border-left-color: #ff9800;
    background: rgba(255, 152, 0, 0.1);
  }

  .read-section.completed {
    border-left-color: #00f7ff;
    background: rgba(0, 247, 255, 0.1);
  }

  /* Mini-game styles - Futuristic */
  .mini-game-container {
    background: linear-gradient(135deg, #0a0e27, #1a1a2e);
    border: 2px solid #00f7ff;
    border-radius: 5px;
    padding: 30px;
    margin: 20px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8), 0 0 30px rgba(0, 247, 255, 0.3);
  }

  .mini-game-container::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #00f7ff, #ff2a6d, #00f7ff);
    z-index: -1;
    border-radius: 5px;
    animation: borderGlow 3s ease-in-out infinite;
  }

  @keyframes borderGlow {
    0%, 100% { background: linear-gradient(45deg, #00f7ff, #ff2a6d, #00f7ff); }
    50% { background: linear-gradient(45deg, #ff2a6d, #00f7ff, #ff2a6d); }
  }

  .skill-item, .artifact-guess {
    background: linear-gradient(135deg, #0a0e27, #16213e);
    border: 2px solid #00f7ff;
    border-radius: 5px;
    padding: 15px;
    margin: 10px;
    cursor: grab;
    transition: all 0.3s ease;
    color: white;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
  }

  .skill-item:hover, .artifact-guess:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(0, 247, 255, 0.5);
    border-color: #ff2a6d;
  }

  .skill-item.dragging {
    opacity: 0.5;
    transform: rotate(5deg);
  }

  .drop-zone {
    border: 2px dashed rgba(0, 247, 255, 0.5);
    border-radius: 5px;
    padding: 20px;
    margin: 10px;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: #00f7ff;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: rgba(10, 14, 39, 0.4);
  }

  .drop-zone.drag-over {
    background: rgba(0, 247, 255, 0.2);
    border-style: solid;
    border-color: #ff2a6d;
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(255, 42, 109, 0.6);
  }

  /* Responsive Design - Futuristic */
  @media (max-width: 768px) {
    h1 { font-size: 2em; }
    
    .quest-area, .artifact-card, .skill-card, .commission-board {
      padding: 15px;
      margin: 15px 10px;
    }
    
    .rpg-button, .quest-button, .action-button {
      padding: 10px 20px;
      font-size: 0.9em;
    }
    
    .quest-complete-notification,
    .achievement-summary-notification {
      top: 10px;
      right: 10px;
      max-width: 250px;
      padding: 15px;
    }
    
    .mini-game-container {
      padding: 20px;
      margin: 15px 10px;
    }
    
    .skill-item, .artifact-guess {
      padding: 12px;
      margin: 8px;
      font-size: 0.9em;
    }
    
    .character-tracker {
      right: 10px;
      min-width: 120px;
      padding: 10px;
    }
    
    .character-sprite {
      font-size: 2em;
      width: 50px;
      height: 50px;
    }
  }

  /* Floating text animation for CPU gains - Futuristic */
  @keyframes floatUp {
    0% {
      transform: translateY(0);
      opacity: 1;
    }
    100% {
      transform: translateY(-50px);
      opacity: 0;
    }
  }

  .floating-xp {
    position: absolute;
    color: #ff2a6d;
    font-weight: bold;
    font-size: 1.2em;
    pointer-events: none;
    animation: floatUp 2s ease-out forwards;
    text-shadow: 0 0 15px rgba(255, 42, 109, 1);
    font-family: 'Orbitron', monospace;
  }

  /* Container improvements removed - no containers in HTML */

  /* Main content centering */
  main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
  }
  
  main > * {
    margin-left: auto;
    margin-right: auto;
  }

  /* Header improvements */
  header {
    text-align: center;
    padding: 40px 0;
    position: relative;
    z-index: 2;
  }

  /* Navigation improvements */
  nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 30px;
    padding: 0;
    margin: 30px 0;
  }

  nav ul li a {
    background: linear-gradient(135deg, rgba(0, 247, 255, 0.2), rgba(255, 42, 109, 0.2));
    padding: 10px 20px;
    border-radius: 5px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
  }

  nav ul li a:hover {
    border-color: #00f7ff;
    background: linear-gradient(135deg, rgba(0, 247, 255, 0.3), rgba(255, 42, 109, 0.3));
    transform: translateY(-2px);
  }

  /* Footer - Futuristic */
  footer {
    text-align: center;
    padding: 16px 12px;
    margin-top: 24px;
    background: linear-gradient(135deg, #070a13 90%, #11131a 100%);
    color: #fff;
    border-top: 2px solid #222;
    position: relative;
    z-index: 2;
    box-shadow: 0 -5px 24px rgba(0, 0, 0, 0.45);
    font-size: 1.08em;
    letter-spacing: 0.5px;
    font-family: 'Orbitron', 'Roboto Mono', monospace;
  }

  /* Additional Layout Styles for New Design */

  /* Hero section - Futuristic */
  .game-header {
    background: linear-gradient(135deg, rgba(10, 14, 39, 0.95), rgba(26, 26, 46, 0.9));
    border-bottom: 2px solid #00f7ff;
    padding: 60px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 30px rgba(0, 247, 255, 0.3);
  }

  .game-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(0, 247, 255, 0.1) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
  }

  .hero-title {
    font-size: 3em;
    margin-bottom: 15px;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.8);
  }

  .hero-subtitle {
    font-size: 1.3em;
    color: #e8f5e8;
    margin-bottom: 25px;
    opacity: 0.9;
  }

  .player-level-badge {
    background: linear-gradient(45deg, #00f7ff, #ff2a6d);
    color: white;
    padding: 8px 20px;
    border-radius: 5px;
    font-weight: bold;
    display: inline-block;
    box-shadow: 0 5px 15px rgba(0, 247, 255, 0.4);
    animation: levelGlow 3s ease-in-out infinite alternate;
    text-transform: uppercase;
    letter-spacing: 1px;
  }

  @keyframes levelGlow {
    from { box-shadow: 0 5px 15px rgba(0, 247, 255, 0.4); }
    to { box-shadow: 0 8px 25px rgba(255, 42, 109, 0.6); }
  }

  /* Quest navigation improvements */
  .quest-navigation {
    background: #0a0a0a;
    border-bottom: 1px solid #222;
    padding: 20px 0;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .quest-menu {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 30px;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
  }

  .quest-menu li .nav-link {
    background: transparent;
    padding: 12px 24px;
    border-radius: 3px;
    border: 1px solid transparent;
    transition: all 0.3s ease;
    font-weight: bold;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    color: #666;
  }

  .quest-menu li .nav-link:hover,
  .quest-menu li .nav-link.active {
    border-color: #333;
    background: #111;
    color: #888;
  }

  /* Unlock pulse animation for newly available navigation */
  @keyframes unlockPulse {
    0% { box-shadow: 0 0 0 0 rgba(0,247,255,0.6); background:#111; }
    40% { box-shadow: 0 0 12px 6px rgba(255,42,109,0.4); background:#141414; }
    70% { box-shadow: 0 0 18px 10px rgba(0,247,255,0.5); background:#111; }
    100% { box-shadow: 0 0 0 0 transparent; }
  }
  .nav-link.unlock-pulse {
    animation: unlockPulse 2s ease-out, dramaticButtonPulse 3.5s cubic-bezier(0.4,0,0.2,1) infinite alternate;
    position: relative;
    box-shadow: 0 0 0 0 #00f7ff, 0 0 0 0 #ff2a6d;
    border-width: 3px;
    border-image: linear-gradient(90deg, #00f7ff 0%, #ff2a6d 100%) 1;
    z-index: 10;
  }

  @keyframes dramaticButtonPulse {
    0% {
      box-shadow: 0 0 0 0 #00f7ff, 0 0 0 0 #ff2a6d;
      filter: brightness(1.1) drop-shadow(0 0 8px #00f7ff);
      border-color: #00f7ff;
    }
    50% {
      box-shadow: 0 0 24px 8px #ff2a6d, 0 0 16px 4px #00f7ff;
      filter: brightness(1.3) drop-shadow(0 0 16px #ff2a6d);
      border-color: #ff2a6d;
    }
    100% {
      box-shadow: 0 0 0 0 #00f7ff, 0 0 0 0 #ff2a6d;
      filter: brightness(1.1) drop-shadow(0 0 8px #00f7ff);
      border-color: #00f7ff;
    }
  }


  /* Unlock reveal animation - lock icon fades and button becomes visible */
  @keyframes unlockReveal {
    0% { 
      opacity: 0.4;
      filter: brightness(0.6);
    }
    50% {
      opacity: 0.7;
      filter: brightness(1.2);
      box-shadow: 0 0 15px rgba(0,247,255,0.4);
    }
    100% { 
      opacity: 1;
      filter: brightness(1);
      box-shadow: none;
    }
  }

  @keyframes lockIconFade {
    0% {
      opacity: 1;
      transform: scale(1);
    }
    50% {
      opacity: 0.5;
      transform: scale(1.3) rotate(15deg);
    }
    100% {
      opacity: 0;
      transform: scale(0.5) rotate(30deg);
    }
  }

  .nav-link.unlocking {
    animation: unlockReveal 0.8s ease-out forwards;
  }

  .lock-icon.fading {
    animation: lockIconFade 0.6s ease-out forwards;
  }

  /* Adventure paths styling */
  .adventure-paths {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin: 30px 0;
  }

  .path-card {
    background: #0a0a0a;
    border: 1px solid #222;
    border-radius: 4px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: none;
  }

  .path-card:hover {
    border-color: #333;
    background: #0d0d0d;
  }

  .path-card::before {
    display: none;
  }

  .path-icon {
    font-size: 3em;
    margin-bottom: 15px;
    filter: none;
    opacity: 0.6;
  }

  .path-card h3 {
    color: #fff;
    margin-bottom: 15px;
    font-size: 1.4em;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: none;
  }

  .path-card p {
    color: #e8f5e8;
    margin-bottom: 20px;
    line-height: 1.5;
    opacity: 0.9;
  }

  /* Achievement showcase */
  .achievement-showcase {
    margin-top: 50px;
    padding: 30px;
    background: #0a0a0a;
    border: 1px solid #222;
    border-radius: 4px;
    position: relative;
  }

  .achievement-showcase h2 {
    color: #fff;
    text-align: center;
    margin-bottom: 20px;
  }

  .achievement-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
  }

  .achievement-card {
    background: #0a0a0a;
    border: 1px solid #222;
    border-radius: 4px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
  }

  .achievement-card.unlocked {
    border-color: #333;
    background: #0d0d0d;
  }

  .achievement-card.locked {
    opacity: 0.4;
    filter: grayscale(0.9);
  }

  .achievement-card:hover:not(.locked) {
    border-color: #333;
    background: #0d0d0d;
  }

  .achievement-card.unlocked:hover {
    border-color: #444;
  }

  .achievement-icon {
    font-size: 2.5em;
    margin-bottom: 15px;
    filter: none;
    opacity: 0.6;
  }

  .achievement-card.unlocked .achievement-icon {
    opacity: 0.8;
  }

  .achievement-card h4 {
    color: #666;
    margin-bottom: 10px;
    font-size: 1.2em;
    text-transform: uppercase;
    letter-spacing: 1px;
  }

  .achievement-card.unlocked h4 {
    color: #888;
    text-shadow: none;
  }

  .achievement-card p {
    color: #e8f5e8;
    margin-bottom: 15px;
    font-size: 0.9em;
    opacity: 0.8;
  }

  .achievement-status {
    background: transparent;
    color: #666;
    padding: 5px 12px;
    border-radius: 3px;
    font-size: 0.8em;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid #222;
  }

  .achievement-card.unlocked .achievement-status {
    background: transparent;
    color: #888;
    border-color: #333;
  }

  /* XP indicator styling */
  .xp-indicator {
    background: #111;
    color: #666;
    padding: 8px 15px;
    border-radius: 3px;
    text-align: center;
    font-weight: bold;
    margin-top: 15px;
    font-size: 0.9em;
    box-shadow: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid #222;
  }

  /* Story content improvements */
  .story-content {
    margin: 30px 0;
  }

  .read-section {
    background: #0a0a0a;
    border: 1px solid #222;
    border-radius: 4px;
    padding: 25px;
    margin: 20px 0;
    transition: all 0.3s ease;
    position: relative;
  }

  .read-section:hover {
    border-color: #333;
    background: #0d0d0d;
  }

  .read-section h3 {
    color: #fff;
    margin-bottom: 15px;
    font-size: 1.3em;
    border-bottom: 1px solid #222;
    padding-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: none;
  }

  .read-section p {
    color: #e8f5e8;
    line-height: 1.6;
    margin-bottom: 0;
    opacity: 0.9;
  }

  /* Enhanced responsive design */
  @media (max-width: 768px) {
    .hero-title { font-size: 2.2em; }
    .hero-subtitle { font-size: 1.1em; }
    
    .quest-menu {
      flex-direction: column;
      align-items: center;
      gap: 15px;
    }
    
    .adventure-paths {
      grid-template-columns: 1fr;
      gap: 20px;
    }
    
    .achievement-grid {
      grid-template-columns: 1fr;
      gap: 15px;
    }
    
    .path-card, .achievement-card, .read-section {
      padding: 20px;
    }
    
    .game-header {
      padding: 40px 0;
    }
    
    .character-tracker {
      width: 120px;
      padding: 10px;
    }
    
    .character-sprite {
      font-size: 2em;
      width: 50px;
      height: 50px;
    }
    
    .character-info-display h4 {
      font-size: 0.8em;
    }
    
    .xp-text {
      font-size: 0.7em;
    }
  }

  /* Character Tracker - Futuristic Style */
  .character-tracker {
    position: fixed;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    background: #0a0a0a;
    border: 1px solid #222;
    border-radius: 4px;
    padding: 15px;
    box-shadow: none;
    z-index: 1000;
    min-width: 150px;
    text-align: center;
    transition: all 0.3s ease;
  }

  .character-tracker:hover {
    border-color: #333;
  }

  .character-avatar-display {
    margin-bottom: 10px;
  }

  .character-sprite {
    font-size: 3em;
    width: 70px;
    height: 70px;
    margin: 0 auto;
    background: transparent;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s ease;
    filter: none;
  }

  .character-info-display h4 {
    color: #888;
    margin: 5px 0;
    font-size: 1em;
    text-shadow: none;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
  }

  .xp-progress {
    background: #0a0a0a;
    border-radius: 3px;
    height: 12px;
    overflow: hidden;
    margin: 8px 0;
    border: 1px solid #222;
  }

  .xp-bar-fill {
    height: 100%;
    background: #444;
    border-radius: 3px;
    transition: width 0.5s ease;
    box-shadow: none;
    position: relative;
    overflow: hidden;
  }

  .xp-bar-fill::after {
    display: none;
  }

  .xp-text {
    color: #888;
    font-size: 0.85em;
    margin: 5px 0 0 0;
    font-weight: bold;
    text-shadow: none;
  }

  /* Level Up Animation - Futuristic */
  .character-tracker.level-up {
    animation: levelUpBounce 0.6s ease;
    border-color: #ff2a6d;
    box-shadow: 0 15px 60px rgba(255, 42, 109, 0.9), 0 0 50px rgba(0, 247, 255, 0.6);
  }

  @keyframes levelUpBounce {
    0%, 100% { transform: translateY(-50%) scale(1); }
    25% { transform: translateY(-50%) scale(1.2) rotate(5deg); }
    50% { transform: translateY(-50%) scale(0.95) rotate(-5deg); }
    75% { transform: translateY(-50%) scale(1.1) rotate(3deg); }
  }

  .character-tracker.level-up .character-sprite {
    animation: characterCelebrate 0.6s ease;
  }

  @keyframes characterCelebrate {
    0%, 100% { transform: rotate(0deg) scale(1); filter: drop-shadow(0 0 10px rgba(0, 247, 255, 0.8)); }
    25% { transform: rotate(-15deg) scale(1.3); filter: drop-shadow(0 0 20px rgba(255, 42, 109, 1)); }
    50% { transform: rotate(15deg) scale(1.3); filter: drop-shadow(0 0 20px rgba(0, 247, 255, 1)); }
    75% { transform: rotate(-10deg) scale(1.3); filter: drop-shadow(0 0 20px rgba(255, 42, 109, 1)); }
  }

  /* Level Up Notification - Futuristic */
  .level-up-notification {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(135deg, #0a0e27, #1a1a2e 80%);
    border: 4px solid #00f7ff;
    border-radius: 12px;
    padding: 40px 70px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.95), 0 0 80px 20px rgba(255, 42, 109, 0.7), 0 0 60px 10px rgba(0, 247, 255, 0.8);
    z-index: 2000;
    animation: dramaticPopIn 1.2s cubic-bezier(0.4,0,0.2,1);
    text-align: center;
  }

  .level-up-notification.dramatic {
    border: 4px solid #ff2a6d;
    box-shadow: 0 0 80px 20px #ff2a6d, 0 0 60px 10px #00f7ff, 0 30px 80px rgba(0,0,0,0.95);
  }

  @keyframes dramaticPopIn {
    0% { transform: translate(-50%, -50%) scale(0.2); opacity: 0; }
    60% { transform: translate(-50%, -50%) scale(1.25); opacity: 1; }
    100% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
  }

  @keyframes dramaticPop {
    0% { transform: scale(0.5); opacity: 0; }
    60% { transform: scale(1.3); opacity: 1; }
    100% { transform: scale(1); opacity: 1; }
  }

  @keyframes dramaticFadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
  }

  @keyframes dramaticPulse {
    0% { color: #00f7ff; text-shadow: 0 0 20px #00f7ff; }
    50% { color: #ff2a6d; text-shadow: 0 0 30px #ff2a6d; }
    100% { color: #00f7ff; text-shadow: 0 0 20px #00f7ff; }
  }

  @keyframes levelUpPopIn {
    0% {
      transform: translate(-50%, -50%) scale(0);
      opacity: 0;
    }
    50% {
      transform: translate(-50%, -50%) scale(1.2);
    }
    100% {
      transform: translate(-50%, -50%) scale(1);
      opacity: 1;
    }
  }

  .level-up-notification .notification-content h3 {
    margin: 0 0 10px 0;
    color: #00f7ff;
    font-size: 2em;
    text-shadow: 0 0 15px rgba(0, 247, 255, 1);
    animation: textPulse 0.5s ease-in-out infinite alternate;
    text-transform: uppercase;
  }

  @keyframes textPulse {
    0% { transform: scale(1); text-shadow: 0 0 15px rgba(0, 247, 255, 1); }
    100% { transform: scale(1.05); text-shadow: 0 0 25px rgba(255, 42, 109, 1); }
  }

  .level-up-notification .notification-content p {
    margin: 0;
    color: #ff2a6d;
    font-size: 1.3em;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(255, 42, 109, 0.8);
  }

  /* Floating XP Gain Animation - Futuristic */
  .floating-xp-gain {
    position: absolute;
    top: 20px;
    color: #00f7ff;
    font-weight: bold;
    font-size: 1.2em;
    pointer-events: none;
    animation: floatUpXP 2s ease-out forwards;
    text-shadow: 0 0 15px rgba(0, 247, 255, 1);
    font-family: 'Orbitron', monospace;
  }

  @keyframes floatUpXP {
    0% {
      transform: translateY(0);
      opacity: 1;
    }
    100% {
      transform: translateY(-100px);
      opacity: 0;
    }
  }

  /* Character Stats Specific Styles */

  .character-overview {
    margin-bottom: 40px;
  }

  .character-info {
    display: flex;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
  }

  .character-avatar {
    text-align: center;
    min-width: 200px;
  }

  .avatar-display {
    font-size: 6em;
    background: linear-gradient(45deg, #00f7ff, #ff2a6d);
    border-radius: 50%;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    box-shadow: 0 10px 30px rgba(0, 247, 255, 0.5);
    animation: avatarGlow 4s ease-in-out infinite alternate;
  }

  @keyframes avatarGlow {
    from { box-shadow: 0 10px 30px rgba(0, 247, 255, 0.5); }
    to { box-shadow: 0 15px 40px rgba(255, 42, 109, 0.7); }
  }

  .character-avatar h3 {
    color: #00f7ff;
    margin-bottom: 5px;
    font-size: 1.5em;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 10px rgba(0, 247, 255, 0.6);
  }

  .character-class {
    color: #ff2a6d;
    font-weight: bold;
    background: rgba(255, 42, 109, 0.2);
    padding: 5px 15px;
    border-radius: 5px;
      text-transform: uppercase;
      letter-spacing: 1px;
      text-shadow: 0 0 8px rgba(255, 42, 109, 0.6);
    display: inline-block;
  }

  .character-description {
    flex: 1;
    min-width: 300px;
  }

  .character-description p {
    color: #e8f5e8;
    line-height: 1.6;
    font-size: 1.1em;
    opacity: 0.9;
  }

  /* Skill Spellbook Styles */
  .skill-spellbook {
    margin-bottom: 40px;
  }

  .skill-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
    margin-top: 30px;
  }

  .spell-category {
    background: linear-gradient(135deg, rgba(40, 40, 60, 0.9), rgba(60, 60, 80, 0.8));
    border: 2px solid #3498db;
    border-radius: 15px;
    padding: 25px;
  }

  .spell-category h3 {
    color: #3498db;
    text-align: center;
    margin-bottom: 20px;
    font-size: 1.3em;
    border-bottom: 1px solid rgba(52, 152, 219, 0.3);
    padding-bottom: 10px;
  }

  .spell-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }

  .spell-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    transition: all 0.3s ease;
  }

  .spell-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
  }

  .spell-icon {
    font-size: 1.5em;
    min-width: 30px;
    text-align: center;
  }

  .spell-name {
    color: #e8f5e8;
    font-weight: bold;
    flex: 1;
    min-width: 120px;
  }

  .skill-level {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 5px;
    min-width: 100px;
  }

  .skill-bar {
    height: 8px;
    background: linear-gradient(90deg, #00f7ff, #ff2a6d);
    border-radius: 2px;
    position: relative;
    box-shadow: 0 0 10px rgba(0, 247, 255, 0.5);
    animation: skillGlow 3s ease-in-out infinite alternate;
  }

  @keyframes skillGlow {
    from { box-shadow: 0 0 10px rgba(0, 247, 255, 0.5); }
    to { box-shadow: 0 0 15px rgba(255, 42, 109, 0.7); }
  }

  .level-text {
    color: #00f7ff;
      text-shadow: 0 0 5px rgba(0, 247, 255, 0.4);
    font-size: 0.8em;
    font-weight: bold;
  }

  /* Experience Timeline Styles */
  .experience-timeline {
    margin-bottom: 40px;
  }

  .timeline {
    position: relative;
    padding: 20px 0;
  }

  .timeline::before {
    content: '';
    position: absolute;
    left: 50px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, #00f7ff, #ff2a6d);
      box-shadow: 0 0 10px rgba(0, 247, 255, 0.5);
    border-radius: 2px;
  }

  .timeline-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 40px;
    position: relative;
  }

  .timeline-icon {
    background: linear-gradient(45deg, #00f7ff, #ff2a6d);
    color: white;
    width: 60px;
    height: 60px;
      box-shadow: 0 0 20px rgba(0, 247, 255, 0.6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5em;
    font-weight: bold;
    box-shadow: 0 5px 15px rgba(0, 247, 255, 0.6), 0 0 25px rgba(255, 42, 109, 0.4);
    z-index: 2;
    position: relative;
  }

  .timeline-content {
    background: linear-gradient(135deg, rgba(40, 40, 40, 0.9), rgba(60, 60, 60, 0.8));
    border: 1px solid rgba(0, 247, 255, 0.3);
    border-radius: 5px;
    padding: 20px;
    flex: 1;
    transition: all 0.3s ease;
  }

  .timeline-content:hover {
    border-color: rgba(0, 247, 255, 0.6);
      box-shadow: 0 5px 20px rgba(0, 247, 255, 0.3);
    transform: translateX(5px);
  }

  .timeline-content h4 {
    color: #00f7ff;
      text-transform: uppercase;
      letter-spacing: 1px;
      text-shadow: 0 0 8px rgba(0, 247, 255, 0.5);
    margin-bottom: 5px;
    font-size: 1.2em;
  }

  .timeline-location {
    color: #ff2a6d;
    font-weight: bold;
    margin-bottom: 10px;
    font-size: 0.9em;
  }

  .timeline-content p {
    color: #e8f5e8;
    line-height: 1.5;
    margin-bottom: 15px;
    opacity: 0.9;
  }

  .achievement-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }

  .tag {
    background: linear-gradient(45deg, #3498db, #2980b9);
    color: white;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8em;
    font-weight: bold;
    box-shadow: 0 2px 8px rgba(52, 152, 219, 0.3);
  }

  /* Responsive adjustments for character stats */
  @media (max-width: 768px) {
    .character-info {
      flex-direction: column;
      text-align: center;
      gap: 20px;
    }
    
    .skill-categories {
      grid-template-columns: 1fr;
      gap: 20px;
    }
    
    .timeline::before {
      left: 30px;
    }
    
    .timeline-icon {
      width: 50px;
      height: 50px;
      font-size: 1.2em;
    }
    
    .spell-item {
      flex-direction: column;
      text-align: center;
      gap: 10px;
    }
    
    .skill-level {
      align-items: center;
      width: 100%;
    }
    
    .skill-bar {
      width: 100%;
    }
  }
