    /* --- Base and Reset Styles --- */
    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      font-family: 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', sans-serif;
      background-color: #000000;
      color: #e0e0e0;
      min-height: 100vh;
      overflow: hidden;
      position: relative;
      display: flex;
      justify-content: center;
      align-items: center;
      text-align: center;
    }

    /* --- Cosmic Background Canvas --- */
    #space-canvas {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      z-index: 0;
    }

    /* --- Main Content Container --- */
    .container {
      position: relative;
      z-index: 2;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      padding: 20px;
      width: 100%;
      max-width: 500px;
    }

    /* --- Glassmorphism Profile Box --- */
    .profile-box {
      background: rgba(10, 5, 20, 0.45);
      border: 1px solid rgba(255, 255, 255, 0.15);
      border-radius: 20px;
      padding: 30px;
      margin-bottom: 30px;
      box-shadow: 0 0 50px rgba(160, 60, 255, 0.25);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      width: 100%;
      transition: background 0.3s, border 0.3s;
    }
    
    .profile-box:hover {
        background: rgba(10, 5, 20, 0.55);
        border-color: rgba(255, 255, 255, 0.25);
    }

    /* --- Logo --- */
    .logo-container {
      position: relative;
      margin-bottom: 30px;
      animation: float 4s ease-in-out infinite;
    }

    .logo {
      max-width: 160px;
      border-radius: 50%;
      border: 2px solid rgba(255, 255, 255, 0.5);
      box-shadow: 0 0 25px rgba(255, 255, 255, 0.3);
    }

    /* --- Social Status --- */
    .social-status { margin-top: 20px; color: #c0c0c0; }
    .status-item { display: flex; align-items: center; justify-content: center; margin: 12px 0; gap: 12px; }
    .status-icon { width: 20px; height: 20px; fill: #c0c0c0; }
    .status-text { font-size: 16px; }
    .online { color: #55ffaa; text-shadow: 0 0 8px #55ffaa; }
    .offline { color: #ff5566; text-shadow: 0 0 8px #ff5566; }
    .idle { color: #ffcc66; text-shadow: 0 0 8px #ffcc66; }
    .dnd { color: #ff4455; text-shadow: 0 0 8px #ff4455; }
    .checking { color: #999; font-style: italic; }

    /* --- Buttons --- */
    .buttons { display: flex; flex-wrap: wrap; gap: 15px; margin-bottom: 30px; width: 100%; justify-content: center; }
    .btn { padding: 12px 25px; border-radius: 30px; text-decoration: none; font-weight: bold; font-size: 16px; transition: all 0.3s ease; display: flex; align-items: center; gap: 10px; background: rgba(30, 30, 40, 0.7); color: #f0f0f0; border: 1px solid rgba(255, 255, 255, 0.2); backdrop-filter: blur(5px); }
    .btn .svg-icon { width: 20px; height: 20px; fill: currentColor; }
    .btn:hover { transform: translateY(-3px) scale(1.05); background: rgba(50, 50, 60, 0.9); border-color: rgba(255, 255, 255, 0.5); box-shadow: 0 0 20px rgba(255, 255, 255, 0.15); color: #fff; }
    .btn.discord:hover { border-color: #5865F2; box-shadow: 0 0 20px rgba(88, 101, 242, 0.5); }
    .btn.x:hover { border-color: #ccc; box-shadow: 0 0 20px rgba(204, 204, 204, 0.5); }
    .btn.donutmsv:hover { border-color: #ff69b4; box-shadow: 0 0 20px rgba(255, 105, 180, 0.5); }

    /* --- Floating Action Button (FAB) Menu --- */
    .fab-container {
        position: fixed;
        bottom: 30px;
        left: 30px;
        z-index: 100;
        display: flex;
        flex-direction: column-reverse;
        align-items: center;
    }

    .fab-button {
        width: 60px;
        height: 60px;
        border-radius: 50%;
        background: rgba(40, 30, 60, 0.6);
        border: 1px solid rgba(255, 255, 255, 0.2);
        box-shadow: 0 0 25px rgba(160, 60, 255, 0.3);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        cursor: pointer;
        display: flex;
        justify-content: center;
        align-items: center;
        transition: all 0.3s ease;
        z-index: 101;
    }
    
    .fab-button:hover {
        transform: scale(1.1);
        box-shadow: 0 0 35px rgba(180, 80, 255, 0.5);
    }

    .fab-button .icon {
        font-size: 32px;
        color: rgba(255, 255, 255, 0.8);
        transition: transform 0.3s ease;
    }
    
    .fab-container.active .fab-button .icon {
        transform: rotate(45deg);
    }

    .fab-menu {
        position: absolute;
        bottom: 60px; /* فاصله از پایین برای اینکه منو بره بالا */
        left: 0;
        display: flex;
        flex-direction: column;
        gap: 15px;
        margin-top: 20px;
        list-style: none;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-20px);
        transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
        
    }
    
    .fab-container.active .fab-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    


    .fab-menu a {
        padding: 10px 25px;
        text-decoration: none;
        color: #f0f0f0;
        font-weight: bold;
        background: rgba(30, 30, 40, 0.7);
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: 20px;
        backdrop-filter: blur(8px);
        transition: all 0.3s ease;
        white-space: nowrap;
    }
    
    .fab-menu a:hover {
        background: rgba(50, 50, 60, 0.9);
        border-color: rgba(255, 255, 255, 0.5);
        color: #fff;
        transform: translateX(10px);
    }

    /* --- Mysterious Text --- */
    .mysterious-text { margin-top: 20px; font-size: 18px; text-align: center; opacity: 0.7; animation: text-flicker 8s infinite alternate; }
    @keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-15px); } }
    @keyframes text-flicker { 0%, 100% { opacity: 0.7; } 50% { opacity: 0.4; } }
    @media (max-width: 768px) { .buttons { flex-direction: column; gap: 15px; width: 90%; } .profile-box { padding: 20px; } .logo { max-width: 120px; }  .fab-container {
        right: auto;
        left: 0px; /* فاصله از چپ در موبایل */
        bottom: 0px;
    }}

/* --- Auth Forms --- */
.auth-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  text-align: right;
}

.auth-form h2 {
  color: #fff;
  margin-bottom: 10px;
  font-weight: 600;
  text-shadow: 0 0 10px rgba(160, 60, 255, 0.5);
  text-align: center;
}

.input-group {
  width: 100%;
  position: relative;
}

.auth-form input {
  width: 100%;
  padding: 15px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  color: #e0e0e0;
  font-size: 16px;
  transition: border-color 0.3s, box-shadow 0.3s;
  text-align: right;
}

.auth-form input::placeholder {
    color: #888;
}

.auth-form input:focus {
  outline: none;
  border-color: rgba(160, 60, 255, 0.7);
  box-shadow: 0 0 15px rgba(160, 60, 255, 0.4);
}

.auth-form .btn {
  width: 100%;
  padding: 15px;
  font-size: 18px;
  justify-content: center;
  cursor: pointer;
}

.form-link {
  color: #c0c0c0;
  text-decoration: none;
  margin-top: 15px;
  transition: color 0.3s;
  display: block;
  text-align: center;
}

.form-link:hover {
  color: #ff69b4;
  text-decoration: underline;
}

#auth-message {
  margin-top: 15px;
  color: #ff5566;
  font-weight: bold;
  min-height: 20px;
  text-align: center;
}

/* --- Auth UI on Main Page --- */
.auth-actions {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    justify-content: center;
}

#user-info {
    display: none; /* Hidden by default */
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
}

#user-email {
    font-size: 18px;
    color: #fff;
    background: rgba(0,0,0,0.2);
    padding: 5px 15px;
    border-radius: 15px;
    direction: ltr; /* Keep email display LTR */
}

#user-info p {
    font-size: 20px;
}
