/* ==== GLOBAL STYLE ==== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  background-color: #000;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  overflow: hidden;
}

h1.logo {
  font-size: 3rem;
  color: #e50914;
  text-shadow: 0 0 20px #e50914;
  letter-spacing: 3px;
  animation: glow 2s infinite alternate;
}

/* ==== INDEX PAGE ==== */
.index-body .register-container {
  text-align: center;
}

.input-name {
  width: 80%;
  max-width: 400px;
  padding: 10px;
  margin: 20px 0;
  border: 2px solid #e50914;
  background: transparent;
  color: white;
  border-radius: 10px;
  text-align: center;
  font-size: 1.1rem;
}

.choose-text {
  margin: 10px 0;
  color: #e50914;
}

.image-selection {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 20px;
}

.image-selection img {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  border: 3px solid transparent;
  cursor: pointer;
  transition: transform 0.3s, border-color 0.3s;
}

.image-selection img:hover {
  transform: scale(1.1);
  border-color: #e50914;
}

.image-selection img.selected {
  border-color: #e50914;
  box-shadow: 0 0 15px #e50914;
}

/* ==== PROFILE PAGE ==== */
.profile-body .top-left {
  position: absolute;
  top: 20px;
  left: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.user-img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 2px solid #e50914;
}

.user-name {
  font-size: 1.2rem;
  color: #fff;
}

.profile-center {
  text-align: center;
}

.btn {
  padding: 12px 25px;
  font-size: 1.2rem;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  margin: 10px;
  transition: all 0.3s;
}

.main-btn {
  background-color: #e50914;
  color: white;
}

.secondary-btn {
  background-color: transparent;
  border: 2px solid #e50914;
  color: #e50914;
}

.btn:hover {
  transform: scale(1.1);
  box-shadow: 0 0 15px #e50914;
}

.hidden {
  display: none;
}

/* ==== LOGIN SCREEN ==== */
.login-screen {
  text-align: center;
}

.login-screen input {
  width: 80%;
  max-width: 300px;
  padding: 10px;
  margin: 20px 0;
  border: 2px solid #e50914;
  background: transparent;
  color: white;
  border-radius: 10px;
  text-align: center;
}

.fade-in {
  animation: fadeIn 1s ease forwards;
}

/* ==== ANIMATIONS ==== */
@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes glow {
  from { text-shadow: 0 0 10px #e50914; }
  to { text-shadow: 0 0 30px #ff1b24; }
}

/* ==== RESPONSIVE ==== */
@media (max-width: 768px) {
  h1.logo { font-size: 2.3rem; }
  .input-name { width: 90%; }
  .image-selection img { width: 75px; height: 75px; }
}

@media (max-width: 480px) {
  h1.logo { font-size: 2rem; }
  .btn { font-size: 1rem; padding: 10px 20px; }
  .user-img { width: 50px; height: 50px; }
}
.image-selection {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 20px;
}

.image-selection img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 2px solid transparent;
  transition: all 0.3s ease;
  cursor: pointer;
  object-fit: cover;
  background: #111;
}

.image-selection img:hover {
  border-color: #ff0000;
  transform: scale(1.1);
  box-shadow: 0 0 10px red;
}

.image-selection img.selected {
  border-color: #ff0000;
  box-shadow: 0 0 20px #ff0000;
  transform: scale(1.15);
}
@media (max-width: 768px) {
}
.create-container {
  text-align: center;
  background: rgba(20, 20, 20, 0.8);
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 0 25px #e50914;
}

.create-container select {
  background: transparent;
  color: white;
  border: 2px solid #e50914;
  border-radius: 10px;
  padding: 10px;
  text-align: center;
  font-size: 1rem;
  width: 80%;
  max-width: 300px;
  margin-bottom: 20px;
}
