    :root {
      --primary: #6366f1;
      --primary-hover: #4f46e5;
      --bg: #0f172a;
      --panel-bg: #1e293b;
      --text: #f8fafc;
      --border: #334155;
      --accent: #7c3aed;
    }

    [data-theme="light"] {
      --bg: #f8fafc;
      --panel-bg: #ffffff;
      --text: #0f172a;
      --border: #e2e8f0;
    }

    * {
      box-sizing: border-box;
      transition: background 0.2s ease;
    }

    body {
      font-family: 'Inter', system-ui, -apple-system, sans-serif;
      margin: 0;
      padding: 80px 0 0 0;
      background: var(--bg);
      color: var(--text);
      min-height: 100vh;
    }

    header {
      position: fixed;
      top: 0;
      right: 0;
      left: 0;
      background: var(--primary);
      padding: 1rem;
      box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    }

    h1, h2 {
      margin: 0;
      font-weight: 700;
    }

    h1 {
      font-size: 1.75rem;
      display: flex;
      align-items: center;
      gap: 0.5rem;
      justify-content: center;
    }

    h2 {
      font-size: 1.25rem;
      margin-bottom: 1.25rem;
      color: var(--primary);
    }

    a {
      position: absolute;
      top: 16px;
      right: 20px;
      -webkit-text-decoration: none;
      -moz-text-decoration: none;
      text-decoration: none;
      color: #ffffff;
      font-size: 16px;
      z-index: 10;
    }

    .container {
      max-width: 1200px;
      margin: 2rem auto;
      padding: 0 1rem;
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
      gap: 1.5rem;
    }

    .panel {
      background: var(--panel-bg);
      padding: 1.5rem;
      border-radius: 12px;
      box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
      border: 1px solid var(--border);
    }

    .form-group {
      margin-bottom: 1rem;
    }

    label {
      display: block;
      margin-bottom: 0.5rem;
      font-weight: 500;
      color: var(--text);
      opacity: 0.9;
    }

    input, select, textarea {
      width: 100%;
      padding: 0.75rem;
      border-radius: 6px;
      border: 1px solid var(--border);
      background: var(--panel-bg);
      color: var(--text);
      font-size: 1rem;
    }

    select {
      appearance: none;
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%237c3aed' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
      background-repeat: no-repeat;
      background-position: right 0.75rem center;
      background-size: 1rem;
    }

    .preview-box {
      border: 2px dashed var(--border);
      border-radius: 12px;
      padding: 2rem;
      min-height: 200px;
      display: flex;
      align-items: center;
      justify-content: center;
      background: rgba(99, 102, 241, 0.05);
      transition: all 0.3s ease;
    }

    .preview-box:hover {
      border-color: var(--primary);
    }

    textarea {
      min-height: 200px;
      font-family: 'Fira Code', monospace;
      resize: vertical;
    }

    .btn {
      margin-top: 1rem;
      padding: 0.75rem 1.5rem;
      background: var(--primary);
      color: white;
      border: none;
      border-radius: 6px;
      cursor: pointer;
      font-weight: 600;
      width: 100%;
      transition: all 0.2s ease;
    }

    .btn:hover {
      background: var(--primary-hover);
      transform: translateY(-2px);
    }

    .btn:active {
      transform: translateY(0);
    }

    .theme-toggle {
      position: fixed;
      bottom: 1.5rem;
      right: 1.5rem;
      width: 3rem;
      height: 3rem;
      border-radius: 50%;
      background: var(--primary);
      color: white;
      border: none;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
      transition: all 0.2s ease;
    }

    .theme-toggle:hover {
      transform: scale(1.1);
    }

    @keyframes bounce {
      0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
      40% {transform: translateY(-30px);}
      60% {transform: translateY(-15px);}
    }
    @keyframes rotate {
      from {transform: rotate(0deg);}
      to   {transform: rotate(360deg);}
    }
    @keyframes pulse {
      0%   {opacity: 1;}
      50%  {opacity: .5;}
      100% {opacity: 1;}
    }
    @keyframes fadeIn {
      from {opacity:0;}
      to   {opacity:1;}
    }
    @keyframes neonPulse {
      0%   {opacity: 1;}
      50%  {opacity: 0.7;}
      100% {opacity: 1;}
    }
    @keyframes slideIn {
      from {transform: translateX(-50px); opacity: 0;}
      to   {transform: translateX(0); opacity: 1;}
    }