* {
        box-sizing: border-box;
      }
      body {
        background: linear-gradient(145deg, #0b0e1a 0%, #111324 100%);
        font-family:
          system-ui,
          'Segoe UI',
          -apple-system,
          sans-serif;
        margin: 0;
        padding: 2rem;
        color: #eee;
      }
      .container {
        max-width: 1400px;
        margin: 0 auto;
        background: #0f1120dd;
        backdrop-filter: blur(4px);
        border-radius: 48px;
        padding: 2rem;
        border: 1px solid #2d3142;
        box-shadow: 0 30px 50px rgba(0, 0, 0, 0.5);
      }
      h1 {
        font-size: 2rem;
        background: linear-gradient(135deg, #c084fc, #9d6cab);
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
        margin: 0 0 0.5rem;
      }
      .sub {
        color: #aaa;
        border-right: 3px solid #9d6cab;
        padding-right: 1rem;
        margin-bottom: 2rem;
      }
      .two-columns {
        display: flex;
        flex-wrap: wrap;
        gap: 2rem;
      }
      .col {
        flex: 1;
        min-width: 280px;
      }
      .preview-box {
        background: #1e2137;
        border-radius: 32px;
        padding: 1.5rem;
        text-align: center;
        margin-bottom: 1.5rem;
        border: 1px solid #2d3142;
      }
      .gradient-preview {
        width: 100%;
        height: 250px;
        border-radius: 24px;
        background: linear-gradient(135deg, #9d6cab, #3f5dad);
        margin-bottom: 1rem;
        transition: background 0.1s ease;
      }
      .code-area {
        background: #0c0e1a;
        border-radius: 24px;
        padding: 1rem;
        position: relative;
      }
      pre {
        background: #00000066;
        padding: 12px;
        border-radius: 20px;
        overflow-x: auto;
        font-size: 0.8rem;
        font-family: monospace;
        margin: 0;
        white-space: pre-wrap;
        word-break: break-all;
      }
      button.copy-btn {
        position: absolute;
        top: 12px;
        left: 12px;
        background: #3f5dad;
        border: none;
        padding: 6px 12px;
        border-radius: 30px;
        font-size: 0.7rem;
        cursor: pointer;
        color: white;
      }
      button.copy-btn:hover {
        background: #9d6cab;
      }
      .control-group {
        background: #1e2137;
        border-radius: 24px;
        padding: 1.2rem;
        margin-bottom: 1.5rem;
      }
      .control-group label {
        display: block;
        margin-bottom: 8px;
        font-size: 0.85rem;
        color: #bbbdc0;
      }
      select,
      input[type='range'],
      input[type='text'],
      input[type='color'] {
        width: 100%;
        padding: 8px 12px;
        background: #2d3142;
        border: 1px solid #394072;
        border-radius: 20px;
        color: white;
        font-size: 0.9rem;
      }
      .color-row {
        display: flex;
        gap: 10px;
        align-items: center;
        margin-bottom: 10px;
        background: #0c0e1a;
        padding: 8px;
        border-radius: 40px;
      }
      .color-row input[type='color'] {
        width: 50px;
        height: 40px;
        padding: 0;
      }
      .color-row input[type='text'] {
        flex: 1;
      }
      .color-row button {
        background: #5e2a2a;
        width: 40px;
        padding: 6px;
        border-radius: 30px;
      }
      .add-color-btn {
        background: #3f5dad;
        border: none;
        padding: 8px 16px;
        border-radius: 40px;
        margin-top: 8px;
        cursor: pointer;
        color: white;
      }
      .angle-group {
        display: flex;
        gap: 10px;
        align-items: center;
      }
      .angle-group input {
        flex: 1;
      }
      .saved-list {
        margin-top: 1rem;
      }
      .saved-item {
        background: #2d3142;
        border-radius: 20px;
        padding: 6px 12px;
        margin-bottom: 6px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-size: 0.7rem;
        font-family: monospace;
        cursor: pointer;
      }
      .saved-item:hover {
        background: #3f5dad;
      }
      footer {
        text-align: center;
        font-size: 0.7rem;
        margin-top: 2rem;
        color: #5a5e7e;
      }
      .badge {
        background: #262c5a;
        border-radius: 30px;
        padding: 2px 8px;
        font-size: 0.7rem;
      }
