:root {
      --text-dark: #3f2561;
      --card-bg: linear-gradient(160deg, rgba(255, 247, 252, 0.86) 0%, rgba(249, 251, 255, 0.86) 52%, rgba(236, 246, 255, 0.88) 100%);
      --card-border: rgba(255, 255, 255, 0.72);
      --soft-shadow: 0 30px 72px rgba(72, 33, 105, 0.24);
    }

    * {
      box-sizing: border-box;
    }

    body {
      margin: 0;
      min-height: 100vh;
      font-family: "Trebuchet MS", "Verdana", sans-serif;
      color: var(--text-dark);
      background:
        radial-gradient(circle at 12% 20%, #fff8a8 0%, transparent 34%),
        radial-gradient(circle at 82% 16%, #ffc3ef 0%, transparent 32%),
        radial-gradient(circle at 84% 82%, #a5deff 0%, transparent 36%),
        radial-gradient(circle at 13% 85%, #b8ffd0 0%, transparent 35%),
        linear-gradient(140deg, #ff94cf 0%, #ffd18d 36%, #a6b5ff 70%, #93ffd3 100%);
      display: block;
      padding: 24px;
      position: relative;
      overflow-x: hidden;
      overflow-y: auto;
    }

    .orb {
      position: absolute;
      border-radius: 999px;
      pointer-events: none;
      opacity: 0.5;
      animation: drift 9s ease-in-out infinite;
    }

    .orb-a {
      width: 110px;
      height: 110px;
      top: 8%;
      left: 7%;
      background: rgba(255, 255, 255, 0.45);
      animation-delay: 0.2s;
    }

    .orb-b {
      width: 70px;
      height: 70px;
      top: 23%;
      right: 11%;
      background: rgba(255, 230, 246, 0.7);
      animation-delay: 1.4s;
    }

    .orb-c {
      width: 86px;
      height: 86px;
      bottom: 9%;
      right: 18%;
      background: rgba(213, 229, 255, 0.7);
      animation-delay: 2.4s;
    }

    .wrapper {
      width: min(1500px, 92vw);
      min-height: 66vh;
      background: var(--card-bg);
      border: 2px solid var(--card-border);
      border-radius: 30px;
      box-shadow: var(--soft-shadow);
      backdrop-filter: blur(8px);
      padding: 42px 38px 30px;
      animation: pop-in 480ms ease;
      position: relative;
      z-index: 1;
      overflow: hidden;
      margin: 0 auto;
    }

    .wrapper::before {
      content: "";
      position: absolute;
      inset: 0;
      background:
        radial-gradient(circle at 18% 14%, rgba(255, 164, 210, 0.2), transparent 35%),
        radial-gradient(circle at 84% 18%, rgba(140, 178, 255, 0.2), transparent 34%),
        radial-gradient(circle at 52% 100%, rgba(117, 224, 209, 0.24), transparent 42%);
      pointer-events: none;
      z-index: 0;
    }

    .wrapper > * {
      position: relative;
      z-index: 1;
    }

    .top {
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 10px;
      margin-bottom: 8px;
    }

    .brand {
      margin: 0;
      width: max-content;
      background: #ffffff;
      color: #b03784;
      border: 2px solid #ffd0ec;
      font-weight: 800;
      font-size: 0.94rem;
      letter-spacing: 0.2px;
      border-radius: 999px;
      padding: 6px 14px;
    }

    .live {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      font-size: 0.8rem;
      font-weight: 700;
      color: #0d7f5f;
      background: #e6fff3;
      border: 1px solid #bdf5dc;
      border-radius: 999px;
      padding: 5px 10px;
    }

    .dot {
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: #0fcc8c;
      box-shadow: 0 0 0 0 rgba(15, 204, 140, 0.55);
      animation: pulse 1.8s infinite;
    }

    .title {
      margin: 6px 0 0;
      font-size: clamp(2rem, 4vw, 3rem);
      text-align: center;
      color: #9c3390;
      text-shadow: 0 2px 0 rgba(255, 255, 255, 0.72);
      letter-spacing: 0.35px;
    }

    .subtitle {
      margin: 10px auto 22px;
      max-width: 720px;
      text-align: center;
      font-size: 1.08rem;
      color: #5a3c7d;
      line-height: 1.58;
    }

    .chips {
      display: flex;
      justify-content: center;
      flex-wrap: wrap;
      gap: 10px;
      margin-bottom: 20px;
    }

    .chip {
      border: 1px solid rgba(255, 255, 255, 0.7);
      background: rgba(255, 255, 255, 0.68);
      color: #63457f;
      border-radius: 999px;
      padding: 6px 12px;
      font-size: 0.85rem;
      font-weight: 700;
    }

    .grid {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 20px;
      margin-top: 6px;
      background: linear-gradient(180deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.14));
      border: 1px solid rgba(255, 255, 255, 0.4);
      border-radius: 26px;
      padding: 16px;
    }

    .applet-btn {
      --applet-image: none;
      --applet-image-size: auto 78%;
      --applet-image-position: center top;
      text-decoration: none;
      color: #ffffff;
      min-height: 430px;
      border-radius: 22px;
      display: flex;
      align-items: center;
      justify-content: flex-end;
      flex-direction: column;
      gap: 8px;
      padding: 22px 16px 24px;
      border: 0;
      cursor: pointer;
      box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
      transition: transform 170ms ease, box-shadow 170ms ease, filter 170ms ease;
      position: relative;
      overflow: hidden;
      isolation: isolate;
    }

    .applet-btn::before {
      content: "";
      position: absolute;
      inset: 0;
      border-radius: 22px;
      background-image: var(--applet-image);
      background-size: var(--applet-image-size);
      background-position: var(--applet-image-position);
      background-repeat: no-repeat;
      opacity: 0.76;
      -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.96) 18%, rgba(0, 0, 0, 0.72) 34%, rgba(0, 0, 0, 0.22) 50%, rgba(0, 0, 0, 0.08) 58%, transparent 100%);
      mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.96) 18%, rgba(0, 0, 0, 0.72) 34%, rgba(0, 0, 0, 0.22) 50%, rgba(0, 0, 0, 0.08) 58%, transparent 100%);
      z-index: 0;
    }

    .applet-btn::after {
      content: "";
      position: absolute;
      width: 120px;
      height: 120px;
      border-radius: 50%;
      right: -36px;
      top: -42px;
      background: rgba(255, 255, 255, 0.2);
      z-index: 0;
    }

    .applet-btn:hover {
      transform: translateY(-4px) scale(1.015);
      filter: saturate(1.1);
      box-shadow: 0 16px 30px rgba(0, 0, 0, 0.24);
    }

    .applet-btn:active {
      transform: translateY(0) scale(1);
    }

    .name {
      font-size: 2.2rem;
      line-height: 1;
      z-index: 2;
      text-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
    }

    .app-title {
      font-size: 2rem;
      font-weight: 800;
      z-index: 2;
      line-height: 1.05;
      text-align: center;
      text-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
    }

    .desc {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      font-size: 1.03rem;
      font-weight: 800;
      letter-spacing: 0.1px;
      opacity: 1;
      z-index: 2;
      text-align: center;
      text-shadow: 0 2px 10px rgba(0, 0, 0, 0.16);
      background: rgba(255, 255, 255, 0.22);
      border: 1px solid rgba(255, 255, 255, 0.55);
      border-radius: 999px;
      padding: 7px 13px;
      backdrop-filter: blur(2px);
      transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
    }

    .desc::after {
      content: "→";
      font-size: 0.98em;
      line-height: 1;
      transform: translateX(0);
      transition: transform 160ms ease;
    }

    .applet-btn:hover .desc {
      background: rgba(255, 255, 255, 0.3);
      border-color: rgba(255, 255, 255, 0.72);
      transform: translateY(-1px);
    }

    .applet-btn:hover .desc::after {
      transform: translateX(2px);
    }

    .ofs-v1 {
      --applet-image: url("/sohbet-girisi/assets/applet/ofs-v2.1.jpg");
      --applet-image-size: auto 80%;
      --applet-image-position: left top;
      background: linear-gradient(135deg, #ff4c98, #ff7f52);
    }

    .ofs-v2 {
      --applet-image: url("/sohbet-girisi/assets/applet/ofs-v2.2.jpg");
      --applet-image-size: auto 78%;
      --applet-image-position: left top;
      background: linear-gradient(135deg, #379aff, #5b71ff);
    }

    .zsohbet-v2 {
      --applet-image: url("/sohbet-girisi/assets/applet/zsohbet-v2.jpg");
      --applet-image-size: auto 78%;
      --applet-image-position: left top;
      background: linear-gradient(135deg, #1cc884, #04a9b5);
    }

    .nox-v2 {
      --applet-image: url("/sohbet-girisi/assets/applet/nox-v2.jpg");
      --applet-image-size: auto 76%;
      --applet-image-position: left top;
      background: linear-gradient(135deg, #978ea9, #7d738f);
      cursor: not-allowed;
      opacity: 0.8;
    }

    .nox-v2 .tag {
      margin-top: 3px;
      font-size: 0.76rem;
      font-weight: 800;
      background: rgba(255, 255, 255, 0.23);
      border: 1px solid rgba(255, 255, 255, 0.4);
      border-radius: 999px;
      padding: 3px 8px;
      z-index: 1;
    }

    .note {
      text-align: center;
      margin: 24px 0 0;
      color: #6b4f81;
      font-size: 1.18rem;
      font-weight: 700;
    }

    @keyframes pop-in {
      from {
        opacity: 0;
        transform: translateY(15px) scale(0.986);
      }
      to {
        opacity: 1;
        transform: translateY(0) scale(1);
      }
    }

    @keyframes drift {
      0% {
        transform: translateY(0);
      }
      50% {
        transform: translateY(-12px);
      }
      100% {
        transform: translateY(0);
      }
    }

    @keyframes pulse {
      0% {
        box-shadow: 0 0 0 0 rgba(15, 204, 140, 0.55);
      }
      70% {
        box-shadow: 0 0 0 10px rgba(15, 204, 140, 0);
      }
      100% {
        box-shadow: 0 0 0 0 rgba(15, 204, 140, 0);
      }
    }

    @media (max-width: 1100px) {
      .wrapper {
        width: min(1040px, 94vw);
        min-height: auto;
        padding: 30px 24px 24px;
      }

      .grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        padding: 12px;
      }

      .applet-btn {
        min-height: 280px;
      }

      .app-title {
        font-size: 1.5rem;
      }

      .desc {
        font-size: 0.92rem;
        padding: 6px 11px;
      }
    }

    @media (max-width: 760px) {
      body {
        padding: 10px;
      }

      .wrapper {
        width: 100%;
        min-height: auto;
        padding: 22px;
        border-radius: 22px;
      }

      .grid {
        grid-template-columns: 1fr;
        padding: 10px;
      }

      .applet-btn {
        min-height: 128px;
        padding: 10px 12px;
        gap: 5px;
        justify-content: center;
        --applet-image-size: auto 100%;
        --applet-image-position: right center;
      }

      .applet-btn::before {
        opacity: 0.32;
        -webkit-mask-image: linear-gradient(to left, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.9) 18%, rgba(0, 0, 0, 0.62) 42%, rgba(0, 0, 0, 0.3) 64%, rgba(0, 0, 0, 0.12) 82%, transparent 100%);
        mask-image: linear-gradient(to left, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.9) 18%, rgba(0, 0, 0, 0.62) 42%, rgba(0, 0, 0, 0.3) 64%, rgba(0, 0, 0, 0.12) 82%, transparent 100%);
      }

      .app-title {
        font-size: 1.7rem;
      }

      .name {
        display: none;
      }

      .desc {
        font-size: 0.9rem;
        padding: 5px 10px;
      }
    }
