:root {
      --bg-deep: #1a0a2e;
      --bg-mid: #22103a;
      --purple-vivid: #7c3aed;
      --purple-light: #a855f7;
      --purple-bright: #c084fc;
      --orange: #f59e0b;
      --orange-bright: #fbbf24;
      --text-light: #f5f3ff;
      --text-muted: #c4b5fd;
      --border-bright: rgba(168, 85, 247, 0.55);
      --bg-gradient: linear-gradient(135deg, #7c3aed 0%, #a855f7 45%, #c084fc 100%);
      --error-color: #ff6b6b;
      --success-color: #22c55e;
    }

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    body {
      font-family: 'Cairo', sans-serif;
      background:
        radial-gradient(1200px 700px at 85% -10%, rgba(168, 85, 247, 0.2), transparent 60%),
        radial-gradient(1000px 600px at 0% 100%, rgba(245, 158, 11, 0.12), transparent 65%),
        linear-gradient(135deg, var(--bg-deep) 0%, var(--bg-mid) 45%, #2b0e46 100%);
      margin: 0;
      padding: 20px;
      min-height: 100vh;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      color: var(--text-light);
    }

    #particles-bg {
      position: fixed;
      inset: 0;
      z-index: 0;
      pointer-events: none;
    }

    .home-btn {
      position: fixed;
      top: 18px;
      right: 18px;
      background: linear-gradient(135deg, #7c3aed 0%, #a855f7 55%, #f59e0b 130%);
      color: white;
      border: 1px solid rgba(255, 255, 255, 0.3);
      padding: 12px 20px;
      border-radius: 999px;
      font-size: 1rem;
      font-weight: 800;
      letter-spacing: 0.2px;
      cursor: pointer;
      transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease;
      box-shadow: 0 14px 34px rgba(0,0,0,0.35), 0 0 34px rgba(124, 58, 237, 0.45);
      z-index: 1000;
      display: flex;
      align-items: center;
      gap: 10px;
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
      overflow: hidden;
    }

    .home-btn::before {
      content: "";
      position: absolute;
      top: -30%;
      right: -120%;
      width: 60%;
      height: 170%;
      background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,0.35) 50%, transparent 100%);
      transform: rotate(18deg);
      transition: right 0.5s ease;
      pointer-events: none;
    }

    .home-btn:hover {
      transform: translateY(-3px) scale(1.03);
      filter: saturate(1.1);
      box-shadow: 0 18px 38px rgba(0,0,0,0.38), 0 0 42px rgba(124, 58, 237, 0.55);
    }

    .home-btn:hover::before {
      right: 130%;
    }

    .home-icon {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 31px;
      height: 31px;
      border-radius: 50%;
      background: rgba(255,255,255,0.24);
      border: 1px solid rgba(255,255,255,0.35);
      font-size: 0.95em;
      box-shadow: inset 0 1px 0 rgba(255,255,255,0.28);
      flex-shrink: 0;
    }

    .home-icon i {
      color: #ffffff;
      font-size: 0.95rem;
      text-shadow: 0 1px 6px rgba(0,0,0,0.35);
    }

    .home-btn-label {
      position: relative;
      top: 1px;
    }

    .logo-container {
      text-align: center;
      margin-bottom: 20px;
      position: relative;
      z-index: 2;
    }

    .logo {
      width: 110px;
      height: 110px;
      border-radius: 50%;
      object-fit: cover;
      border: 3px solid var(--purple-bright);
      box-shadow: 0 4px 15px rgba(0,0,0,0.3);
      transition: transform 0.3s;
    }

    .logo:hover {
      transform: scale(1.05);
    }

    .container {
      background: linear-gradient(145deg, rgba(45, 26, 74, 0.88), rgba(34, 16, 58, 0.82));
      border-radius: 20px;
      padding: 35px 28px;
      width: 100%;
      max-width: 480px;
      box-shadow: 0 18px 44px rgba(0,0,0,0.45), 0 0 30px rgba(124,58,237,0.18);
      backdrop-filter: blur(12px);
      border: 1.5px solid var(--border-bright);
      text-align: center;
      margin: 20px auto;
      position: relative;
      z-index: 1;
    }

    h1 {
      color: var(--orange-bright);
      margin-bottom: 15px;
      font-size: 2em;
      text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    }

    p.description {
      color: var(--text-muted);
      font-size: 0.98em;
      margin-bottom: 20px;
      line-height: 1.7;
    }

    .form-group {
      margin-bottom: 20px;
      text-align: right;
      width: 100%;
    }

    label {
      display: block;
      margin-bottom: 8px;
      color: var(--text-light);
      font-size: 1.05em;
      font-weight: 600;
    }

    input[type="email"] {
      width: 100%;
      padding: 12px 15px;
      border-radius: 10px;
      border: 1.5px solid rgba(168, 85, 247, 0.45);
      background: rgba(255,255,255,0.08);
      color: #fff;
      font-size: 1em;
      transition: all 0.3s;
    }

    input[type="email"]::placeholder {
      color: rgba(255,255,255,0.65);
    }

    input[type="email"]:focus {
      outline: none;
      border-color: var(--orange);
      box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.22);
    }

    .submit-btn {
      background: var(--bg-gradient);
      color: white;
      border: none;
      padding: 14px 30px;
      border-radius: 30px;
      font-size: 1.1em;
      font-weight: bold;
      cursor: pointer;
      margin-top: 10px;
      width: 100%;
      transition: all 0.3s;
      position: relative;
      overflow: hidden;
    }

    .submit-btn:hover {
      transform: translateY(-3px);
      box-shadow: 0 6px 15px rgba(0,0,0,0.3);
    }

    .error-message {
      color: var(--error-color);
      font-size: 0.9em;
      margin-top: 5px;
      text-align: right;
      display: none;
    }

    .status-message {
      margin-top: 15px;
      font-size: 0.95em;
      display: none;
    }

    .status-success {
      color: var(--success-color);
    }

    .status-error {
      color: var(--error-color);
    }

    .links {
      margin-top: 25px;
      color: var(--text-light);
      font-size: 0.95em;
    }

    .links a {
      color: var(--orange);
      text-decoration: none;
      font-weight: 600;
      transition: all 0.3s;
    }

    .links a:hover {
      text-decoration: underline;
      color: #ffc107;
    }

    @media (max-width: 768px) {
      .home-btn {
        top: 10px;
        right: 10px;
        padding: 9px 14px;
        font-size: 0.9em;
      }
    }

    @media (max-width: 480px) {
      .home-btn {
        padding: 8px 12px;
        font-size: 0.82em;
      }

      .home-icon {
        width: 26px;
        height: 26px;
      }
    }
