 body {
      font-family: Arial, sans-serif;
      padding: 20px;
      text-align: center;
      background: #fff;
      
      color: #222;
    }
    #states {
      margin: 40px auto;
      width: 400px;
      height: 200px;
      position: relative;
    }
    .state {
      width: 80px;
      height: 80px;
      border: 3px solid #333;
      border-radius: 50%;
      display: inline-flex;
      justify-content: center;
      align-items: center;
      font-weight: bold;
      font-size: 24px;
      position: absolute;
      transition: background-color 0.3s;
      user-select: none;
    }
    .active {
      background-color: #4caf50;
      color: white;
      border-color: #388e3c;
    }
    #nextStepBtn {
      padding: 10px 20px;
      font-size: 18px;
      cursor: pointer;
      margin-top: 10px;
    }
    #currentState {
      margin-top: 20px;
      font-size: 20px;
      font-weight: 600;
    }
    #explanation {
      margin-top: 20px;
      max-width: 400px;
      margin-left: auto;
      margin-right: auto;
      text-align: left;
      font-family: monospace;
      background: #f9f9f9;
      padding: 10px;
      border-radius: 6px;
      border: 1px solid #ddd;
      white-space: pre-line;
      user-select: text;
    }
    #markovExplanation {
      max-width: 600px;
      margin: 10px auto 30px auto;
      font-family: Arial, sans-serif;
      font-size: 16px;
      line-height: 1.5;
      background: #eef6fc;
      padding: 15px;
      border-left: 5px solid #2196f3;
      border-radius: 4px;
      text-align: left;
    }
    #markovExample {
      max-width: 600px;
      margin: 10px auto 40px auto;
      font-family: Arial, sans-serif;
      font-size: 15px;
      line-height: 1.4;
      background: #f0f4f8;
      padding: 12px;
      border-left: 5px solid #4caf50;
      border-radius: 4px;
      text-align: left;
    }
    .devcenter {
     display: flex;
      justify-content: center;
      align-items: center;
      margin-top: 20px;
      margin-left: 90px;
    }