/* Styles for xanrean/lore/world.html — moved out of the markup verbatim. */
    * { margin: 0; padding: 0; box-sizing: border-box; }
    html, body { height: 100%; overflow: auto; }
    
    nav {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      z-index: 100;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 1rem 2rem;
      background: rgba(10,6,20,0.9);
      backdrop-filter: blur(12px);
      border-bottom: 1px solid rgba(59,130,246,0.2);
    }
    
    .nav-logo {
      display: flex;
      align-items: center;
      gap: 0.75rem;
      font-family: var(--font-display);
      font-size: 1.25rem;
      font-weight: 700;
      color: var(--royal);
      text-decoration: none;
    }
    
    body {
      display: flex;
      flex-direction: column;
    }
    
    main {
      flex: 1;
      margin-top: 60px;
      display: flex;
      flex-direction: column;
      align-items: center;
      padding: 2rem;
    }

    .page-header {
      text-align: center;
      margin-bottom: 3rem;
    }

    .page-header h1 {
      font-family: var(--font-display);
      font-size: 2.5rem;
      margin-bottom: 1rem;
      color: var(--text);
    }

    .page-header p {
      color: var(--muted);
      font-size: 1.1rem;
      max-width: 600px;
      margin: 0 auto;
    }
    
    .worlds-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      gap: 1.5rem;
      width: 100%;
      max-width: 1200px;
    }
    
    .world-card {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: 16px;
      padding: 2rem;
      text-decoration: none;
      color: var(--text);
      transition: all 0.3s;
      display: flex;
      flex-direction: column;
      height: 100%;
    }
    
    .world-card:hover {
      border-color: var(--royal);
      transform: translateY(-4px);
      box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    }
    
    .world-card h2 {
      font-family: var(--font-display);
      font-size: 1.75rem;
      margin-bottom: 0.75rem;
      color: var(--royal-light);
      text-transform: capitalize;
    }
    
    .world-card .md-content {
      color: var(--muted);
      line-height: 1.6;
      font-size: 0.95rem;
      flex: 1;
    }

    .world-card .cta {
      margin-top: 1.5rem;
      font-weight: 600;
      color: var(--royal-light);
      display: flex;
      align-items: center;
      gap: 0.5rem;
    }
    
    footer {
      flex-shrink: 0;
      height: 52px;
      background: rgba(10,6,20,0.9);
      backdrop-filter: blur(12px);
      border-top: 1px solid rgba(255,255,255,0.1);
      padding: 0.75rem 1.5rem;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    
    .footer-link {
      color: rgba(255,255,255,0.7);
      text-decoration: none;
    }

    .loading {
      text-align: center;
      padding: 4rem 2rem;
      color: var(--muted);
      font-family: var(--font-display);
      font-size: 1.2rem;
    }
  