 * { margin: 0; padding: 0; box-sizing: border-box; }

  body {
    font-family: 'Cairo', sans-serif;
    background: #000;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
  }

  /* Full-screen blurred background */
  .bg {
    position: fixed;
    inset: 0;
    background-image: url('/images/bg.png');
    background-size: cover;
    background-position: center;
    opacity: 0.2;
    z-index: 0;
  }

  /* Modal wrapper */
  .modal {
    position: relative;
    z-index: 10;
    display: flex;
    width: 460px;
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid #272727;
  }

  /* ── LEFT PANEL ── */
  .left {
    width: 100%;
    background: rgba(16,16,16,0.95);
    padding: 36px 36px 32px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    border-radius: 15px;
  }

  /* green corner glow top-left */
  .left::before {
    content: '';
    position: absolute;
    top: -7px; left: 8px;
    width: 244px; height: 135px;
    background: rgba(70,234,139,0.18);
    mask-image: url('https://www.figma.com/api/mcp/asset/42419639-1357-4bb5-b10d-7bf4c0251777');
    mask-size: 244px 128px;
    mask-repeat: no-repeat;
    pointer-events: none;
  }
  /* green corner glow bottom-right */
  .left::after {
    content: '';
    position: absolute;
    bottom: 0; right: 0;
    width: 193px; height: 95px;
    background: rgba(70,234,139,0.18);
    mask-image: url('https://www.figma.com/api/mcp/asset/76c389c2-e3ab-46d0-aec5-f11b68c28ddb');
    mask-size: 172px 90px;
    mask-repeat: no-repeat;
    mask-position: 26px 0;
    transform: rotate(180deg);
    pointer-events: none;
  }

  a{
    text-decoration: none;
  }
 .logo-wrap {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 10px;
    text-decoration: none;
    width: fit-content;
    border-radius: 8px;
    padding: 6px 8px;
    margin-left: -8px;
    transition: background 0.2s, transform 0.2s;
    cursor: pointer;
  }
 
  .logo-wrap:hover {
    transform: translateX(3px);
  }
 
  .logo-wrap img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    filter: brightness(0) invert(1) sepia(1) saturate(3) hue-rotate(90deg);
    opacity: 0.9;
  }
 
  .brand-title {
    font-size: 20px;
    font-weight: 700;
    color: #2ecc71;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.2;
    margin-bottom: 0;
  }
 
  .brand-sub {
    font-size: 10px;
    color: #3a5c3a;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-top: 3px;
  }
 
  .brand-desc {
    font-size: 11px;
    font-weight: 400;
    color: #a8a8a8;
    text-transform: uppercase;
    line-height: 1.7;
    letter-spacing: 0.2px;
    margin-bottom: 28px;
  }

  /* Fields */
  .field { margin-bottom: 16px; }

  .field-label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: #cbd5e1;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-bottom: 8px;
  }

  .input-wrap {
    position: relative;
    height: 54px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 6px;
    display: flex;
    align-items: center;
  }

  .input-icon {
    position: absolute;
    left: 17px;
    width: 14px;
    height: 14px;
    opacity: 0.6;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #aaa;
    font-size: 14px;
  }

  .input-wrap input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    font-family: 'Cairo', sans-serif;
    font-size: 16px;
    color: #ededed;
    padding: 0 40px 0 44px;
    width: 100%;
  }

  .input-wrap input::placeholder { color: #777; }

  .eye-btn {
    position: absolute;
    right: 14px;
    background: none;
    border: none;
    cursor: pointer;
    color: #777;
    font-size: 14px;
    padding: 4px;
  }

  /* Login button */
  .btn-login {
    width: 100%;
    height: 56px;
    background: rgba(46,204,113,0.3);
    border: 1px solid #2ecc71;
    border-radius: 10px;
    color: #46ea8b;
    font-family: 'Cairo', sans-serif;
    font-size: 15px;
    font-weight: 800;
    text-transform: uppercase;
    cursor: pointer;
    letter-spacing: 0.5px;
    margin-top: 4px;
    transition: background 0.2s;
  }
  .btn-login:hover { background: rgba(46,204,113,0.45); }

  /* Divider */
  .divider-line {
    width: 100%;
    height: 1px;
    background: #353535;
    margin: 20px 0 16px;
  }

  .already {
    text-align: center;
    font-size: 14px;
    color: #94a3b8;
  }
  .already a { color: #2ecc71; text-decoration: none; }

  .discord-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 12px;
    font-size: 13px;
    color: #5865f2;
    text-decoration: none;
    transition: color 0.2s;
  }
  .discord-link:hover { color: #7983f5; }
  .discord-link i { font-size: 16px; }