    :root {
      --blur: 25px;
      --refraction: 0.12;
      --depth: 0.3;
      --box-inset-alpha: 0.2;
      --box-glow-alpha: 0.08;
      --bg-image: url("https://images.pexels.com/photos/807598/pexels-photo-807598.jpeg");
      --mode-bg: rgba(0, 0, 0, 0.3);
      --text-color: white;
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
      font-family: "Montserrat", sans-serif;
    }

    html,
    body {
      height: 100%;
      overflow-x: hidden;
      background-image: var(--bg-image);
      background-size: cover;
      background-position: center;
      transition: background-image 1s ease-in-out;
      color: var(--text-color);
    }

    header,
    footer,
    .sidebar {
      background: var(--mode-bg);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      color: var(--text-color);
      border: none;
      box-shadow: none;
    }

    header {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      padding: 20px;
      font-size: 1.5rem;
      font-weight: 700;
      z-index: 10;
    }

    footer {
      position: fixed;
      bottom: 0;
      left: 0;
      right: 0;
      padding: 20px;
      font-size: 0.9rem;
      z-index: 10;
    }

    main {
      width: 80%;
      float: left;
      padding: 120px 20px 80px;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 40px;
    }

    nav {
      margin-top: 10px;
      display: flex;
      flex-wrap: wrap;
      gap: 20px;
      justify-content: center;
    }

    nav a {
      text-decoration: none;
      padding: 10px 20px;
      border-radius: 20px;
      background: rgba(255, 255, 255, var(--refraction));
      backdrop-filter: blur(var(--blur)) saturate(160%);
      -webkit-backdrop-filter: blur(var(--blur)) saturate(160%);
      color: var(--text-color);
      font-weight: 600;
      transition: background 0.3s ease, transform 0.3s ease;
      border: 1px solid rgba(255, 255, 255, 0.25);
      box-shadow: inset 0 0 20px rgba(255, 255, 255, var(--box-inset-alpha)),
        0 8px 32px rgba(0, 0, 0, var(--depth)),
        0 0 30px rgba(255, 255, 255, var(--box-glow-alpha));
      position: relative;
    }

    nav a:hover {
      background: rgba(255, 255, 255, 0.4);
      transform: translateY(-5px);
    }

    .cards-container {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 30px;
      max-width: 1200px;
    }

    .glass-card {
      width: 300px;
      padding: 20px;
      border-radius: 20px;
      background: rgba(255, 255, 255, var(--refraction));
      backdrop-filter: blur(var(--blur)) saturate(160%);
      -webkit-backdrop-filter: blur(var(--blur)) saturate(160%);
      border: 1px solid rgba(255, 255, 255, 0.25);
      box-shadow: inset 0 0 20px rgba(255, 255, 255, var(--box-inset-alpha)),
        0 8px 32px rgba(0, 0, 0, var(--depth)),
        0 0 30px rgba(255, 255, 255, var(--box-glow-alpha));
      position: relative;
      transition: transform 0.3s ease;
    }

    .glass-card:hover {
      transform: translateY(-10px);
    }

    .card-title {
      font-size: 1.3rem;
      font-weight: 600;
      margin-bottom: 10px;
    }

    .card-text {
      font-size: 0.95rem;
      line-height: 1.6;
    }

    .sidebar {
      position: fixed;
      top: 0;
      right: 0;
      width: 20%;
      height: 100vh;
      overflow-y: auto;
      padding: 20px;
      z-index: 20;
    }

    .sidebar label {
      display: block;
      margin-top: 10px;
    }

    .sidebar input[type="range"] {
      width: 100%;
      margin-top: 5px;
    }

    .sidebar input[type="text"] {
      width: 100%;
      padding: 10px 15px;
      margin-top: 5px;
      border: 1px solid rgba(255, 255, 255, 0.2);
      border-radius: 12px;
      background: rgba(255, 255, 255, 0.1);
      color: var(--text-color);
      font-size: 14px;
      backdrop-filter: blur(var(--blur));
      -webkit-backdrop-filter: blur(var(--blur));
      box-shadow: inset 0 0 10px rgba(255, 255, 255, 0.1),
        0 4px 10px rgba(0, 0, 0, 0.2);
      outline: none;
    }

    .sidebar input[type="text"]::placeholder {
      color: rgba(255, 255, 255, 0.5);
    }

    .sidebar button {
      width: 100%;
      padding: 10px;
      margin-top: 10px;
      border: 1px solid rgba(255, 255, 255, 0.25);
      border-radius: 12px;
      background: rgba(255, 255, 255, 0.15);
      color: var(--text-color);
      font-weight: 600;
      cursor: pointer;
      backdrop-filter: blur(var(--blur));
      -webkit-backdrop-filter: blur(var(--blur));
      transition: background 0.3s ease, transform 0.3s ease;
    }

    .sidebar button:hover {
      background: rgba(255, 255, 255, 0.3);
      transform: translateY(-2px);
    }

    .bg-buttons button.active {
      background: rgba(255, 255, 255, 0.5);
      font-weight: bold;
      border: 1px solid white;
    }

    .reference-button,
    .copy-css {
      margin-top: 15px;
      display: inline-block;
      width: 100%;
      padding: 10px;
      background: rgba(255, 255, 255, 0.2);
      border-radius: 8px;
      text-align: center;
      color: var(--text-color);
      font-weight: 600;
      text-decoration: none;
      backdrop-filter: blur(10px);
      cursor: pointer;
    }

    .toggle-mode {
      margin-top: 15px;
      width: 100%;
      padding: 10px;
      background: rgba(255, 255, 255, 0.2);
      border: none;
      border-radius: 8px;
      font-weight: 600;
      color: var(--text-color);
      cursor: pointer;
    }

    @media (max-width: 768px) {
      main {
        width: 100%;
        float: none;
      }

      .sidebar {
        position: relative;
        width: 100%;
        height: auto;
        border-top: 1px solid rgba(255, 255, 255, 0.2);
      }

      header,
      footer {
        border-radius: 0;
      }
    }

    /* Custom scrollbar for Webkit browsers (Chrome, Edge, Safari) */
    .sidebar::-webkit-scrollbar {
      width: 6px;
      /* thinner scrollbar */
    }

    .sidebar::-webkit-scrollbar-track {
      background: transparent;
    }

    .sidebar::-webkit-scrollbar-thumb {
      background: rgba(255, 255, 255, 0.2);
      border-radius: 10px;
      backdrop-filter: blur(var(--blur));
    }

    /* For Firefox */
    .sidebar {
      scrollbar-width: thin;
      scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
    }
    
 .btmurl {
      color: var(--text-color);
    }