body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #0f172a;
  color: white;
}

h1 {
  font-size: 48px;
  margin-bottom: 10px;
}

p {
  opacity: 0.7;
}

.games {
  margin-top: 60px;
}

button {
  background: #22c55e;
  border: none;
  padding: 15px 25px;
  margin: 10px;
  border-radius: 12px;
  font-size: 16px;
  cursor: pointer;
  transition: 0.2s;
}

button:hover {
  background: #16a34a;
  transform: scale(1.05);
}

/* centrowanie całej ramki */
.login-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

/* ramka */
.login-box {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 280px;
  padding: 30px;
  background: #1e293b;
  border-radius: 16px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.4);
  text-align: center;
}

/* inputy */
.login-box input {
  padding: 12px;
  border-radius: 8px;
  border: none;
  outline: none;
  background: #0f172a;
  color: white;
}

/* separator */
.divider {
  opacity: 0.5;
  font-size: 14px;
}

/* Google */
.google-btn {
  background: #3b82f6;
}

.google-btn:hover {
  background: #2563eb;
}

/* powrót */
.back-btn {
  background: #334155;
}

.back-btn:hover {
  background: #1e293b;
}

/* kontener musi mieć odniesienie */
.container {
  position: relative;
}


.header {
  display: flex;
  justify-content: space-between;
  align-items: center;

 padding: 20px 450px;
}

/* prawa strona */
.header-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.user-pill {
  display: flex;
  align-items: center;
  gap: 8px;

  background: rgba(30, 41, 59, 0.8);
  padding: 8px 12px;   /* 🔥 wysokość i szerokość */

  border-radius: 999px;
  backdrop-filter: blur(8px);
}

.user-pill:hover {
  transform: scale(1.05);
  cursor: pointer;
}

.user-pill img {
  width: 30px;
  height: 30px;
  border-radius: 50%;
}

.user-pill span {
  font-size: 14px;
  font-weight: 500;
}

.login-btn {
  background: rgba(30, 41, 59, 0.8);
  padding: 8px 14px;
  border-radius: 999px;
}

.user-menu {
  position: relative;
}

.dropdown {
  position: absolute;
  top: 120%;
  right: 0;

  background: #1e293b;
  border-radius: 12px;
  padding: 6px;

  box-shadow: 0 10px 25px rgba(0,0,0,0.4);

   display: none;
  flex-direction: column;
  gap: 6px; /* 🔥 odstęp między przyciskami */
  width: 100%; /* 🔥 KLUCZ */
}

.dropdown.show {
  display: flex; /* zamiast block */
}

.dropdown button {
  width: 100%;
  padding: 8px 10px;
  font-size: 14px;

  margin: 0;
  border-radius: 8px;

  transition: 0.2s;
}
.dropdown button:hover {
  background: #dc2626;
  transform: scale(1.03);
}

.profile-box {
  text-align: center;
  margin-top: 40px;
}

.profile-box img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
}

.profile-box h2 {
  margin-top: 10px;
}

/* PROFIL */
.dropdown .profile-btn {
  background: #3b82f6;
}

.dropdown .profile-btn:hover {
  background: #2563eb;
}

/* WYLOGUJ */
.dropdown .logout-btn {
  background: #ef4444;
}

.dropdown .logout-btn:hover {
  background: #dc2626;
}