    /* Global Variables */
    :root {
      --bg-color: #000;
      --text-color: #fff;
      --border-color: #fff;
      --accent-color: #F04F58;
  }

  /* Dark Theme */
  body.dark-theme {
      --bg-color: #000;
      --text-color: #fff;
      --border-color: #fff;
  }

  /* Light Theme */
  body.light-theme {
      --bg-color: #fff;
      --text-color: #000;
      --border-color: #000;
  }

  /* General Styles */
  * {
      box-sizing: border-box;
      transition: color 0.4s ease, background-color 0.4s ease, border-color 0.4s ease;
  }

  body {
      margin: 0;
      padding: 0;
      min-height: 100vh;
      display: flex;
      flex-direction: column;
      background-color: var(--bg-color);
      color: var(--text-color);
      overflow-x: hidden;
      font-family: 'SFDroob', sans-serif;
      text-align: center;
  }

  h1, h2, h3, p, a {
      color: var(--text-color);
  }

  /* Font Faces */
  @font-face {
      font-family: 'SFDroob';
      src: url('fonts/SFDroob.woff2') format('woff2');
      font-weight: 100 900;
      font-stretch: 100% 900%;
      font-style: normal;
      font-display: swap;
  }
  @font-face {
      font-family: 'Aden';
      src: url('fonts/Aden.woff2') format('woff2');
      font-weight: 400;
      font-style: normal;
      font-display: swap;
  }
  @font-face {
      font-family: 'Aden-Bold';
      src: url('fonts/Aden-Bold.woff2') format('woff2');
      font-weight: 900;
      font-style: normal;
      font-display: swap;
  }

  /* Navigation */
  nav {
      display: flex;
      justify-content: flex-start;
      align-items: center;
      padding: 10px 20px;
      position: sticky;
      top: 0;
      z-index: 100;
      box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
      background-color: var(--bg-color);
  }
  .logo {
      text-decoration: none;
      font-family: 'SFDroob', sans-serif;
      font-size: 24px;
  }

  /* Theme Toggle Button */
  .icon-theme-button {
      position: fixed;
      top: 20px;
      right: 20px;
      z-index: 99999;
      width: 44px;
      height: 44px;
      border-radius: 50%;
      background-color: transparent;
      border: 2px solid var(--text-color);
      cursor: pointer;
      outline: none;
      display: flex;
      align-items: center;
      justify-content: center;
  }
  .icon-theme-button .color-circle {
      width: 20px;
      height: 20px;
      border-radius: 50%;
      background-color: var(--text-color);
      transition: background-color 0.3s ease;
  }

  /* Controls Bar */
  .controls-bar {
      background-color: var(--bg-color);
      padding: 15px 20px;
      text-align: center;
      position: sticky;
      top: 50px;
      z-index: 90;
      border-bottom: 1px solid var(--border-color);
  }
  .controls {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 20px;
      flex-wrap: wrap;
  }
  .slider-container {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 5px;
  }
  .slider-container label, .slider-container span {
      font-size: 14px;
  }
  input[type="range"] {
      -webkit-appearance: none;
      appearance: none;
      width: 120px;
      height: 4px;
      background: #00aeff;
      outline: none;
      border-radius: 5px;
      cursor: pointer;
      transition: background 0.3s ease;
  }
  input[type="range"]::-webkit-slider-thumb {
      -webkit-appearance: none;
      appearance: none;
      width: 16px;
      height: 16px;
      background: var(--text-color);
      border-radius: 50%;
      cursor: pointer;
  }
  .weight-buttons button, .features-toggle {
      padding: 8px 16px;
      background-color: var(--border-color);
      color: var(--bg-color);
      border: none;
      border-radius: 5px;
      cursor: pointer;
      font-weight: bold;
  }
  .weight-buttons button:hover, .features-toggle:hover {
      opacity: 0.8;
  }
  .weight-buttons button.active {
      background-color: #00aeff;
      color: #fff;
  }
  .Layout-features {
      position: relative;
  }
  .feature-list {
      display: none;
      position: absolute;
      top: 100%;
      left: 50%;
      transform: translateX(-50%);
      background-color: var(--bg-color);
      padding: 10px;
      border-radius: 5px;
      border: 1px solid var(--border-color);
      z-index: 1001;
      width: 150px;
      text-align: left;
  }
  .feature-list.show {
      display: block;
  }
  .feature-list label {
      display: block;
      margin-bottom: 8px;
  }

  /* Main Content */
  .main-content {
      background-color: var(--bg-color);
      padding: 20px;
  }
  .preview-container {
      display: flex;
      justify-content: center;
      align-items: center;
      padding: 10px 20px;
  }
  #editable-preview {
      width: 100%;
      max-width: 800px;
      min-height: 150px;
      padding: 30px;
      border: 2px dashed #00aeff;
      border-radius: 10px;
      background-color: var(--bg-color);
      color: #00aeff;
      text-align: center;
      font-size: 60px;
      font-weight: 400;
      font-family: 'Aden', sans-serif;
      outline: none;
      resize: none;
      overflow: auto;
      word-wrap: break-word;
  }
  #editable-preview:empty:before {
      content: attr(data-placeholder);
      color: #777;
      font-style: normal;
      display: block;
  }
  .explanation {
      font-size: 16px;
      text-align: center;
      margin: 10px 0;
  }
  .page-container {
      flex: 1;
      padding: 10px;
      display: flex;
      flex-direction: column;
      align-items: center;
  }
  .font-page.active {
      display: block;
  }
  .animated-title {
      font-family: 'SFDroob', sans-serif;
      font-weight: 700;
      font-size: 2em;
      background-image: linear-gradient(270deg, #f200ff, #00BFFF, #f200ff);
      background-size: 300%;
      background-clip: text;
      -webkit-text-fill-color: transparent;
      animation: gradient-animation 5s ease infinite;
      margin-top: 0;
  }
  @keyframes gradient-animation {
      0% { background-position: 0% 50%; }
      100% { background-position: 100% 50%; }
  }
  .btn {
      display: inline-block;
      padding: 14px 30px;
      font-size: 18px;
      font-weight: bold;
      color: #fff !important;
      background-color: var(--accent-color) !important;
      border-radius: 8px;
      text-decoration: none !important;
      box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
      transition: all 0.3s ease;
      border: none;
      cursor: pointer;
  }
  .btn:hover {
      background-color: #d9454e !important;
      transform: scale(1.05);
      box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
  }
  /* Footer */
  footer {
    background-color: #333;
    padding: 10px;
    text-align: center;
  }
  
  footer a {
    color: #fff;
    text-decoration: none;
  }
  
  footer {
    background-color: #1a1a1a;
    padding: 20px 0;
    text-align: center;
    margin-top: auto;
    border-top: 1px solid #333;
  }
  
  footer p {
    margin: 5px 0;
    font-family: 'SFDroob', sans-serif;
    font-weight: 400;
  }
  
  footer {
    background-color: #2e2e2e;
    color: #b0b0b0;
  }
  
  footer a {
    color: #00aeff;
  }
  
  footer a:hover {
    color: #007bff;
  }

  @media (max-width: 600px) {
    table {
      display: block;
      overflow-x: auto;
    }
  }

  /* Chat Window */
  #chat-icon {
      position: fixed;
      bottom: 20px;
      right: 20px;
      width: 60px;
      height: 60px;
      background-color: #007bff;
      border-radius: 50%;
      color: #fff;
      font-size: 30px;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
      z-index: 1000;
  }
  #chat-window {
      position: fixed;
      bottom: 90px;
      right: 20px;
      width: 300px;
      background-color: #fff !important;
      color: #000 !important;
      border-radius: 10px;
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
      overflow: hidden;
      display: none;
      z-index: 1000;
  }
  .chat-header {
      background-color: #007bff !important;
      color: #fff !important;
      padding: 10px;
      display: flex;
      justify-content: space-between;
      align-items: center;
  }
  .chat-header h3, .chat-header p {
      margin: 0;
      font-size: 16px;
      color: #fff !important;
      background-color: transparent !important;
  }
  #close-chat {
      font-size: 20px;
      font-weight: bold;
      cursor: pointer;
      background-color: transparent !important;
      color: #fff !important;
  }
  .chat-body, .chat-footer {
      padding: 10px;
      background-color: #f9f9f9 !important;
  }
  #chat-message {
      width: 100%;
      padding: 10px;
      border-radius: 5px;
      border: 1px solid #ccc !important;
      background-color: #fff !important;
      color: #000 !important;
      resize: none;
  }
  #send-message {
      width: 100%;
      padding: 10px 20px;
      background-color: #007bff !important;
      color: #fff !important;
      border: none;
      border-radius: 5px;
      cursor: pointer;
  }
  #send-message:hover {
      background-color: #0056b3 !important;
  }
