    :root {
      --primary-color: #FF8C42;
      --secondary-color: #7C5CFF;
      --accent-color: #45E1B7;
      --dark-bg: #0B0710;
      --card-bg: rgba(255, 255, 255, 0.045);
      --glass-border: rgba(255, 255, 255, 0.14);
    }

    @property --angle {
      syntax: "<angle>";
      initial-value: 0deg;
      inherits: false;
    }

    @keyframes rotate {
      to {
        --angle: 360deg;
      }
    }

    * {
      -webkit-tap-highlight-color: transparent;
      box-sizing: border-box;
    }

html {
      background: #07070B;
    }

    body {
      margin: 0;
      padding: 0;
      font-family: "Manrope", sans-serif;
      background:
        radial-gradient(circle at 12% 8%, rgba(124, 92, 255, 0.38), transparent 42%),
        radial-gradient(circle at 88% 92%, rgba(255, 140, 66, 0.34), transparent 45%),
        radial-gradient(circle at 90% 10%, rgba(69, 225, 183, 0.14), transparent 40%),
        #07070B;
      color: white;
      overflow-x: hidden;
      text-align: center;
      position: relative;
    }

    @keyframes bgFlow {
      0% { background-position: 0% 50%; }
      50% { background-position: 100% 50%; }
      100% { background-position: 0% 50%; }
    }

    .wave-bg {
      position: fixed;
      width: 100%;
      height: 100%;
      top: 0;
      left: 0;
      overflow: hidden;
      z-index: -2;
    }

    .wave {
      position: absolute;
      width: 200%;
      height: 200%;
      background: radial-gradient(circle at 50% 50%, rgba(255, 140, 66, 0.14), transparent 70%);
      animation: waveMove 12s ease-in-out infinite alternate;
      filter: blur(70px);
    }

    .wave-bg::after {
      content: "";
      position: absolute;
      inset: -20%;
      background: radial-gradient(circle at 82% 12%, rgba(124, 92, 255, 0.16), transparent 55%),
                  radial-gradient(circle at 8% 88%, rgba(69, 225, 183, 0.08), transparent 50%),
                  radial-gradient(circle at 50% 100%, rgba(255, 90, 122, 0.06), transparent 60%);
      filter: blur(80px);
      pointer-events: none;
    }

    @keyframes waveMove {
      0% { transform: translate(-20%, -10%) scale(1); }
      100% { transform: translate(10%, 10%) scale(1.2); }
    }

    .container {
      max-width: 1000px;
      margin: 0 auto;
      padding: 24px 20px 36px;
    }


    .title {
      font-family: "Chakra Petch", sans-serif;
      font-size: 2.5rem;
      margin-bottom: 10px;
      position: relative;
    }

    .title span:nth-child(1) {
      background: linear-gradient(90deg, #45E1B7, #7C5CFF);
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent;
      filter: drop-shadow(0 0 14px rgba(124, 92, 255, 0.55));
    }

    .title span:nth-child(2) {
      background: linear-gradient(90deg, var(--primary-color), #FF5A7A);
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent;
      filter: drop-shadow(0 0 14px rgba(255, 140, 66, 0.55));
    }

    .title::after {
      content: "";
      position: absolute;
      bottom: -7px;
      left: 50%;
      transform: translateX(-50%);
      width: 140px;
      height: 4px;
      background: linear-gradient(90deg, transparent, var(--secondary-color) 18%, var(--primary-color) 50%, var(--secondary-color) 82%, transparent);
      border-radius: 0;
    }

    .subtitle {
      font-family: "Unbounded", sans-serif;
      color: #fff;
      margin-bottom: 30px;
      text-shadow: 0 0 5px rgba(255, 140, 66, 0.5);
      min-height: 1.5em;
      letter-spacing: 0.4px;
    }

    .letter {
      display: inline-block;
      opacity: 0;
      transform: translateY(10px);
      animation: revealLetter 0.3s forwards;
    }

    @keyframes revealLetter {
      to { opacity: 1; transform: translateY(0); }
    }

    .top-bar {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 16px;
      flex-wrap: wrap;
      margin-bottom: 20px;
    }

    .search-container {
      display: flex;
      justify-content: center;
      position: relative;
    }


    @media (max-width: 480px) {
      .top-bar { flex-direction: column; gap: 12px; }
    }





























    #poda { display: flex; align-items: center; justify-content: center; }

    #main {
      position: relative;
      border-radius: 16px;
      padding: 2px;
      background: linear-gradient(120deg, var(--secondary-color), var(--primary-color), #45E1B7, var(--secondary-color));
      background-size: 300% 300%;
      animation: searchBorderFlow 6s linear infinite;
      box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
    }

    @keyframes searchBorderFlow {
      0% { background-position: 0% 50%; }
      100% { background-position: 300% 50%; }
    }

    .input {
      background: #0C0C12;
      border: none;
      width: 260px;
      height: 46px;
      border-radius: 14px;
      color: white;
      padding-inline: 44px 18px;
      font-size: 15px;
      backdrop-filter: blur(10px);
      transition: background 0.25s ease;
      position: relative;
    }

    .input::placeholder { color: rgba(255, 255, 255, 0.45); }
    .input:focus {
      outline: none;
      background: #101018;
    }

    #main:has(.input:focus) {
      animation-duration: 2.2s;
      box-shadow: 0 0 0 4px color-mix(in srgb, var(--primary-color) 18%, transparent), 0 8px 24px rgba(0, 0, 0, 0.35);
    }

    #search-icon { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); opacity: 0.75; z-index: 1; }





    .tool-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
      gap: 20px;
      justify-items: center;
      margin-bottom: 40px;
    }

    .tool-card {
      --cat-color: var(--primary-color);
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      width: 110px;
      min-height: 150px;
      box-sizing: border-box;
      padding: 14px 10px 12px;
      border-radius: 24px;
      position: relative;
      overflow: hidden;
      cursor: pointer;
      isolation: isolate;
      border: 1px solid color-mix(in srgb, var(--cat-color) 28%, rgba(255, 255, 255, 0.08));
      background:
        linear-gradient(165deg,
          rgba(255, 255, 255, 0.05) 0%,
          rgba(255, 255, 255, 0.015) 45%,
          rgba(0, 0, 0, 0.15) 100%),
        #121218;
      backdrop-filter: blur(14px) saturate(140%);
      -webkit-backdrop-filter: blur(14px) saturate(140%);
      box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.14),
        inset 0 -1px 0 rgba(255, 255, 255, 0.04),
        0 8px 22px rgba(0, 0, 0, 0.45),
        0 0 0 1px color-mix(in srgb, var(--cat-color) 10%, transparent);
      transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.3s ease, background 0.3s ease;
      user-select: none;
      -webkit-user-select: none;
      -webkit-touch-callout: none;
    }

    .tool-card[data-cat="dev"] { --cat-color: #7C5CFF; }
    .tool-card[data-cat="social"] { --cat-color: #FF5A7A; }
    .tool-card[data-cat="other"] { --cat-color: #45E1B7; }

    .tool-card::after {
      content: "";
      position: absolute;
      top: 8px;
      left: 8px;
      width: 7px;
      height: 7px;
      border-radius: 50%;
      background: var(--cat-color);
      box-shadow: 0 0 6px var(--cat-color);
      z-index: 5;
      pointer-events: none;
    }

    .tool-card::before {
      content: "";
      position: absolute;
      inset: 0;
      border-radius: inherit;
      background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, 0.18) 50%, transparent 65%);
      transform: translateX(-120%);
      transition: transform 0.7s ease;
      pointer-events: none;
      z-index: 3;
    }

    .tool-card:hover::before { transform: translateX(120%); }

    .tool-card-border {
      position: absolute;
      inset: 0;
      border-radius: 24px;
      padding: 2px;
      background: conic-gradient(
        from var(--angle),
        color-mix(in srgb, var(--cat-color) 90%, white) 0%,
        transparent 30%,
        var(--cat-color) 55%,
        transparent 80%,
        color-mix(in srgb, var(--cat-color) 90%, white) 100%
      );
      -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
      -webkit-mask-composite: xor;
      mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
      mask-composite: exclude;
      animation: rotate 3s linear infinite;
      opacity: 0;
      transition: opacity 0.3s ease;
      pointer-events: none;
      z-index: 4;
    }

    .tool-card:hover .tool-card-border,
    .tool-card:focus-visible .tool-card-border,
    .tool-card:active .tool-card-border { opacity: 1; }

    .tool-card:hover {
      transform: translateY(-6px) scale(1.05);
      border-color: color-mix(in srgb, var(--cat-color) 45%, var(--glass-border));
      box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.25),
        0 14px 34px rgba(0, 0, 0, 0.45),
        0 0 26px color-mix(in srgb, var(--cat-color) 35%, transparent);
    }

    .tool-card:active { transform: scale(0.96); }

    .tool-icon {
      width: 84px;
      height: 84px;
      object-fit: contain;
      margin-bottom: 6px;
      flex-shrink: 0;
      transition: transform 0.3s ease, filter 0.3s ease;
      -webkit-user-drag: none;
      filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.45));
    }

    .tool-card:hover .tool-icon { transform: scale(1.1); filter: drop-shadow(0 6px 16px color-mix(in srgb, var(--cat-color) 55%, transparent)); }

    .tool-icon-broken {
      background: linear-gradient(120deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.18) 50%, rgba(255,255,255,0.05) 100%);
      background-size: 200% 100%;
      animation: iconShine 2.2s linear infinite;
      border-radius: 14px;
      opacity: 0.55;
    }
    @keyframes iconShine {
      0% { background-position: 200% 0; }
      100% { background-position: -200% 0; }
    }

    .tool-name {
      display: block;
      font-family: "Unbounded", sans-serif;
      font-size: 0.76rem;
      line-height: 1.25;
      font-weight: 600;
      color: rgba(255, 255, 255, 0.92);
      word-break: break-word;
      letter-spacing: 0.2px;
      text-shadow: 0 0 6px rgba(255, 140, 66, 0.25);
      padding-top: 6px;
      margin-top: 2px;
      position: relative;
    }

    .tool-name::before {
      content: "";
      display: block;
      width: 20px;
      height: 2px;
      margin: 0 auto 6px;
      border-radius: 2px;
      background: var(--cat-color);
      opacity: 0.85;
    }

    .no-results {
      grid-column: 1 / -1;
      color: rgba(255, 255, 255, 0.6);
      font-style: italic;
      padding: 30px 0;
    }








    @keyframes eyeLook {
      0%, 100% { transform: translateX(0); }
      25% { transform: translateX(-3px); }
      60% { transform: translateX(3px); }
    }

    @keyframes eyeBlink {
      0%, 88%, 100% { transform: scaleY(0); opacity: 0; }
      92% { transform: scaleY(1); opacity: 1; }
      96% { transform: scaleY(0); opacity: 0; }
    }



    @keyframes blink {
      0%, 100% { opacity: 1; }
      50% { opacity: 0.4; }
    }


    .footer {
      margin-top: 30px;
      padding: 20px;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 15px;
    }







    .footer-button {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 12px 30px;
      background: linear-gradient(45deg, #25d366, #128c7e);
      color: white;
      font-size: 1rem;
      text-decoration: none;
      border-radius: 16px 6px 16px 6px;
      transition: all 0.3s ease;
      font-weight: bold;
      box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
      position: relative;
      overflow: hidden;
      min-width: 250px;
    }

    .footer-button:before {
      content: "";
      position: absolute;
      top: 0;
      left: -100%;
      width: 100%;
      height: 100%;
      background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
      transition: 0.5s;
    }

    .footer-button:hover:before { left: 100%; }
    .footer-button:hover { transform: translateY(-3px); box-shadow: 0 6px 20px rgba(255, 140, 66, 0.4); }

    .watermark {
      font-family: "Fredoka", sans-serif;
      color: var(--accent-color);
      font-size: 0.9rem;
      margin-top: 15px;
      text-shadow: 0 0 5px rgba(69, 225, 183, 0.5);
    }

    .popup-overlay {
      position: fixed;
      inset: 0;
      background-color: rgba(0, 0, 0, 0.7);
      display: none;
      align-items: center;
      justify-content: center;
      z-index: 1000;
      backdrop-filter: blur(10px);
    }

    .glass-popup {
      background: rgba(255, 255, 255, 0.1);
      border-radius: 22px 8px 22px 8px;
      padding: 30px;
      max-width: 450px;
      width: 90%;
      text-align: center;
      box-shadow: 0 8px 32px rgba(255, 140, 66, 0.2);
      border: 1px solid rgba(255, 255, 255, 0.2);
      backdrop-filter: blur(15px);
      position: relative;
      overflow: hidden;
    }

    .glass-popup::before {
      content: "";
      position: absolute;
      top: -50%;
      left: -50%;
      width: 200%;
      height: 200%;
      background: linear-gradient(45deg, transparent, rgba(255, 140, 66, 0.1), transparent);
      transform: rotate(45deg);
      animation: shine 3s infinite;
      pointer-events: none;
    }

    @keyframes shine {
      0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
      100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
    }

    .glass-popup h3 {
      color: var(--primary-color);
      margin-bottom: 15px;
      font-family: "Unbounded", sans-serif;
      font-size: 1.8rem;
      text-shadow: 0 0 10px rgba(255, 140, 66, 0.5);
    }

    .glass-popup p { margin-bottom: 25px; line-height: 1.6; color: rgba(255, 255, 255, 0.9); }
    .glass-popup-buttons { display: flex; justify-content: center; gap: 15px; flex-wrap: wrap; position: relative; z-index: 2; }

    .glass-popup-btn {
      padding: 12px 25px;
      border: none;
      border-radius: 16px 6px 16px 6px;
      font-weight: bold;
      cursor: pointer;
      transition: all 0.3s ease;
      font-size: 1rem;
      position: relative;
      overflow: hidden;
    }

    .glass-popup-primary { background: linear-gradient(45deg, var(--primary-color), #7C5CFF); color: black; }
    .glass-popup-secondary { background: rgba(255, 255, 255, 0.2); color: white; border: 1px solid rgba(255, 255, 255, 0.3); }
    .glass-popup-btn:hover { transform: translateY(-3px); box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3); }
    .glass-popup-btn:active { transform: translateY(-1px); }

    .bottom-popup-overlay {
      position: fixed;
      bottom: 0;
      left: 0;
      width: 100%;
      display: none;
      justify-content: center;
      z-index: 999;
      padding: 20px;
      box-sizing: border-box;
    }

    .bottom-popup {
      background: rgba(20, 25, 45, 0.95);
      border-radius: 24px 24px 0 0;
      padding: 25px;
      max-width: 500px;
      width: 100%;
      text-align: center;
      box-shadow: 0 -5px 25px rgba(255, 140, 66, 0.3);
      border: 1px solid rgba(255, 140, 66, 0.3);
      border-bottom: none;
      backdrop-filter: blur(10px);
      transform: translateY(100%);
      animation: slideUp 0.5s ease forwards;
    }

    @keyframes slideUp { to { transform: translateY(0); } }

    .bottom-popup h3 {
      color: var(--primary-color);
      margin-bottom: 15px;
      font-family: "Unbounded", sans-serif;
      font-size: 1.5rem;
      text-shadow: 0 0 10px rgba(255, 140, 66, 0.5);
    }

    .bottom-popup p { margin-bottom: 20px; line-height: 1.5; color: rgba(255, 255, 255, 0.9); }
    .bottom-popup-buttons { display: flex; justify-content: center; gap: 15px; flex-wrap: wrap; }

    .bottom-popup-btn {
      padding: 10px 20px;
      border: none;
      border-radius: 16px 6px 16px 6px;
      font-weight: bold;
      cursor: pointer;
      transition: all 0.3s ease;
    }

    .bottom-popup-primary { background: linear-gradient(45deg, var(--primary-color), #0099cc); color: black; }
    .bottom-popup-secondary { background: rgba(255, 255, 255, 0.2); color: white; border: 1px solid rgba(255, 255, 255, 0.3); }
    .bottom-popup-btn:hover { transform: translateY(-2px); box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2); }

    .rating-popup .stars { display: flex; justify-content: center; gap: 10px; margin-bottom: 20px; }
    .rating-popup .star { font-size: 2rem; color: #555; cursor: pointer; transition: color 0.2s; }
    .rating-popup .star:hover, .rating-popup .star.active { color: gold; text-shadow: 0 0 10px gold; }

    .ad-popup {
      font-family: "Noto Nastaliq Urdu", serif;
      background: rgba(30, 35, 55, 0.95);
      border: 1px solid rgba(69, 225, 183, 0.3);
    }

    .ad-popup h3 { font-family: "Noto Nastaliq Urdu", serif; font-size: 1.8rem; color: var(--accent-color); }
    .ad-popup p { font-family: "Noto Nastaliq Urdu", serif; font-size: 1.1rem; line-height: 1.8; }

    .pwa-popup { border-color: rgba(255, 140, 66, 0.35); }

    .pwa-popup .pwa-head {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 14px;
      margin-bottom: 12px;
    }

    .pwa-popup .pwa-logo {
      width: 52px;
      height: 52px;
      border-radius: 12px 4px 12px 4px;
      border: 1px solid var(--glass-border);
      background: rgba(255, 255, 255, 0.08);
      padding: 4px;
      box-sizing: border-box;
      object-fit: contain;
    }

    .report-bug-container {
      margin: 30px auto 0;
      padding: 26px 24px;
      position: relative;
      overflow: hidden;
      border-radius: 24px 8px 24px 8px;
      max-width: 600px;
      border: 1px solid var(--glass-border);
      background: linear-gradient(160deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.02));
      backdrop-filter: blur(18px) saturate(140%);
      -webkit-backdrop-filter: blur(18px) saturate(140%);
      box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 16px 40px rgba(0, 0, 0, 0.4);
    }

    .report-bug-container::before {
      content: "";
      position: absolute;
      inset: -1px;
      border-radius: 24px 8px 24px 8px;
      padding: 1px;
      background: linear-gradient(120deg, rgba(255, 140, 66, 0.55), rgba(124, 92, 255, 0.45), rgba(255, 140, 66, 0.55));
      -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
      -webkit-mask-composite: xor;
      mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
      mask-composite: exclude;
      opacity: 0.5;
      pointer-events: none;
    }

    .report-bug-container h3 {
      font-family: "Unbounded", sans-serif;
      color: var(--primary-color);
      margin: 0 0 6px;
      font-size: 1.3rem;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      text-shadow: 0 0 12px rgba(255, 140, 66, 0.35);
    }

    .report-sub {
      color: rgba(255, 255, 255, 0.6);
      font-size: 0.82rem;
      margin: 0 0 18px;
    }

    .report-field { position: relative; margin-bottom: 14px; text-align: left; }

    .report-field > i {
      position: absolute;
      left: 14px;
      top: 15px;
      font-size: 0.85rem;
      color: rgba(255, 140, 66, 0.65);
      pointer-events: none;
    }

    .report-field textarea + i { top: 15px; }

    .report-bug-container input,
    .report-bug-container textarea {
      width: 100%;
      padding: 13px 15px 13px 38px;
      border: 1px solid rgba(255, 255, 255, 0.14);
      background-color: rgba(0, 0, 0, 0.28);
      color: white;
      border-radius: 12px;
      box-sizing: border-box;
      font-family: "Manrope", sans-serif;
      font-size: 0.9rem;
      transition: all 0.3s ease;
    }

    .report-bug-container input::placeholder,
    .report-bug-container textarea::placeholder { color: rgba(255, 255, 255, 0.4); }

    .report-bug-container input:focus,
    .report-bug-container textarea:focus {
      outline: none;
      border-color: var(--primary-color);
      box-shadow: 0 0 0 3px rgba(255, 140, 66, 0.12);
      background-color: rgba(0, 0, 0, 0.4);
    }

    .report-bug-container textarea { height: 100px; resize: none; }

    .report-bug-container button {
      padding: 13px 20px;
      background: linear-gradient(90deg, #FF8C42, #FF5A7A, #7C5CFF);
      background-size: 200% auto;
      color: #05101a;
      border: none;
      border-radius: 12px;
      cursor: pointer;
      font-weight: 700;
      font-size: 0.92rem;
      transition: all 0.4s ease;
      box-shadow: 0 8px 22px rgba(255, 140, 66, 0.22);
      width: 100%;
      letter-spacing: 0.5px;
      font-family: "Manrope", sans-serif;
    }

    .report-bug-container button:hover { background-position: right center; transform: translateY(-2px); }
    .report-bug-container button:active { transform: translateY(0); }

    #bug-status {
      margin: 12px 0 0;
      font-size: 0.85rem;
      min-height: 20px;
      padding: 0;
      border-radius: 10px;
      transition: all 0.3s ease;
    }

    #bug-status.show {
      padding: 10px 12px;
      border: 1px solid transparent;
    }

    #bug-status.ok {
      color: #7dffb0;
      background: rgba(45, 255, 150, 0.08);
      border-color: rgba(45, 255, 150, 0.3);
    }

    #bug-status.err {
      color: #ff9b9b;
      background: rgba(255, 80, 80, 0.08);
      border-color: rgba(255, 80, 80, 0.3);
    }

    @media (max-width: 768px) {
      .title { font-size: 2rem; }
      .report-bug-container { padding: 18px 15px; margin-top: 20px; }
      .report-bug-container h3 { font-size: 1.1rem; }
      .report-bug-container input, .report-bug-container textarea { font-size: 0.85rem; }
      .report-bug-container textarea { height: 90px; }
    }

    @media (prefers-reduced-motion: reduce) {
      * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
    }

    @property --spin {
      syntax: "<angle>";
      inherits: false;
      initial-value: 82deg;
    }

    .title { font-size: clamp(2.6rem, 7vw, 4rem); }
    @media (max-width: 768px) { .title { font-size: clamp(2.1rem, 10vw, 3rem); } }

    .tool-grid {
      grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
      gap: 24px;
      max-width: 640px;
      margin-left: auto;
      margin-right: auto;
    }

    .tool-card { width: 100%; max-width: 160px; min-height: 170px; padding: 14px 10px 12px; }
    .tool-icon { width: 92px; height: 92px; }

    @media (max-width: 768px) {
      .tool-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; max-width: 100%; }
      .tool-card { width: 100%; max-width: none; min-height: 150px; padding: 10px 6px 8px; }
      .tool-icon { width: 78px; height: 78px; }
    }

    @media (max-width: 400px) {
      .tool-grid { gap: 10px; }
      .tool-card { min-height: 130px; padding: 8px 4px 6px; border-radius: 18px; }
      .tool-icon { width: 62px; height: 62px; }
      .tool-name { font-size: 0.66rem; }
    }

    @media (max-width: 340px) {
      .tool-grid { gap: 8px; }
      .tool-card { min-height: 118px; }
      .tool-icon { width: 54px; height: 54px; }
      .tool-name { font-size: 0.6rem; }
    }

    .tool-card-border {
      position: absolute;
      inset: 0;
      border-radius: 24px;
      padding: 1.5px;
      background: conic-gradient(
        from var(--spin),
        rgba(0,0,0,0), var(--cat-color) 5%, rgba(0,0,0,0) 14%,
        rgba(0,0,0,0) 50%, color-mix(in srgb, var(--cat-color) 80%, white) 60%, rgba(0,0,0,0) 64%
      );
      -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
      -webkit-mask-composite: xor;
      mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
      mask-composite: exclude;
      animation: none;
      opacity: 0;
      filter: brightness(1.3);
      transition: opacity 0.4s ease, --spin 2s ease;
      pointer-events: none;
      z-index: 4;
    }

    .tool-card:hover .tool-card-border,
    .tool-card:focus-visible .tool-card-border,
    .tool-card:active .tool-card-border {
      opacity: 1;
      --spin: -98deg;
    }

    .watermark {
      font-weight: 700;
      white-space: nowrap;
      font-size: clamp(0.72rem, 3.4vw, 1rem);
      background: linear-gradient(100deg, #FFD9A8 0%, #ffffff 38%, #FF8C42 50%, #ffffff 62%, #FFD9A8 100%);
      background-size: 250% 100%;
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent;
      animation: watermarkShimmer 3.2s linear infinite;
    }
    @keyframes watermarkShimmer {
      0% { background-position: 130% 0; }
      100% { background-position: -30% 0; }
    }

    .footer-button {
      gap: 10px;
      min-width: 260px;
      padding: 13px 28px;
      background: linear-gradient(120deg, rgba(124,92,255,0.35), rgba(255,90,122,0.28), rgba(255, 140, 66,0.22));
      border: 1px solid rgba(255,255,255,0.16);
      color: #eaf6ff;
      letter-spacing: 0.4px;
      box-shadow: 0 6px 24px rgba(255, 140, 66, 0.18);
      backdrop-filter: blur(10px);
    }
    .footer-button:hover {
      transform: translateY(-3px);
      box-shadow: 0 10px 30px rgba(207, 48, 170, 0.35);
      border-color: rgba(255,255,255,0.3);
    }
    .footer-button .more-icon {
      width: 20px;
      height: 20px;
      flex: 0 0 auto;
      transition: transform 0.35s ease;
      filter: drop-shadow(0 0 6px rgba(69, 225, 183, 0.5));
    }
    .footer-button:hover .more-icon { transform: rotate(90deg); }

