HowItWorks.svelte 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. <section id="how" class="section">
  2. <div class="container">
  3. <div class="section-header">
  4. <div class="eyebrow">FOUR SIMPLE STEPS</div>
  5. <h2>How ChatRPG Works</h2>
  6. <p>From idea to epic in seconds. Then the story never has to end.</p>
  7. </div>
  8. <div class="steps">
  9. <div class="step">
  10. <div class="step-num">01</div>
  11. <h3>Define Your Adventure</h3>
  12. <p>Choose genre, tone, setting, and your character. Or just start typing and let the AI surprise you. Want hard sci-fi with body horror and romance? Done.</p>
  13. </div>
  14. <div class="step">
  15. <div class="step-num">02</div>
  16. <h3>LLM Opens the World</h3>
  17. <p>The model writes a rich, detailed opening scene that perfectly matches everything you described. No two games are ever the same.</p>
  18. </div>
  19. <div class="step">
  20. <div class="step-num">03</div>
  21. <h3>Respond Naturally</h3>
  22. <p>Type anything you want: dialogue, internal thoughts, actions, questions, jokes, reckless ideas. The game understands plain English.</p>
  23. </div>
  24. <div class="step">
  25. <div class="step-num">04</div>
  26. <h3>The Story Continues</h3>
  27. <p>The LLM narrates consequences, advances plots, introduces memorable characters, and keeps perfect continuity. Every decision matters forever.</p>
  28. </div>
  29. </div>
  30. </div>
  31. </section>
  32. <style>
  33. /* How it works / steps specific */
  34. .steps {
  35. display: grid;
  36. grid-template-columns: repeat(4, 1fr);
  37. gap: 24px;
  38. }
  39. .step {
  40. background: #121218;
  41. border: 1px solid #2a2a35;
  42. border-radius: 16px;
  43. padding: 28px 24px;
  44. }
  45. .step-num {
  46. font-size: 13px;
  47. font-weight: 700;
  48. color: #c084fc;
  49. margin-bottom: 16px;
  50. letter-spacing: 1px;
  51. }
  52. .step h3 {
  53. font-size: 1.15rem;
  54. margin-bottom: 12px;
  55. }
  56. .step p {
  57. color: #a1a1aa;
  58. font-size: 0.97rem;
  59. margin: 0;
  60. }
  61. @media (max-width: 900px) {
  62. .steps {
  63. grid-template-columns: 1fr 1fr;
  64. }
  65. }
  66. @media (max-width: 700px) {
  67. .steps {
  68. grid-template-columns: 1fr;
  69. }
  70. }
  71. </style>