* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  background: #0f172a;
  color: white;
}

/* NAVBAR */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 15px 40px;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(10px);
}

.navbar input {
  padding: 8px;
  border-radius: 8px;
  border: none;
}

/* SECTION */
.section {
  padding: 120px 40px;
  min-height: 100vh;
}

.section:nth-child(odd) {
  background: #0f172a;
}

.section:nth-child(even) {
  background: #020617;
}

/* PROFILE */
.profile {
  text-align: center;
}

.avatar {
  width: 120px;
  border-radius: 50%;
  margin-bottom: 20px;
}

/* TOP 4 */
.top4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px,1fr));
  gap: 20px;
  margin-top: 20px;
}

.top4 img {
  width: 100%;
  border-radius: 12px;
  transition: 0.3s;
}

.top4 img:hover {
  transform: scale(1.05);
}

/* WATCHLIST GRID */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px,1fr));
  gap: 20px;
  margin-top: 20px;
}

.card img {
  width: 100%;
  border-radius: 10px;
  transition: 0.3s;
}

.card img:hover {
  transform: scale(1.1);
}

/* BUTTON */
button {
  margin-top: 30px;
  padding: 10px 20px;
  border: none;
  border-radius: 10px;
  background: #22c55e;
  cursor: pointer;
}

/* ANIMATION */
.fade {
  opacity: 0;
  transform: translateY(30px);
  transition: 0.5s;
}

.fade.show {
  opacity: 1;
  transform: translateY(0);
}
.modal {
  display: none;
  position: fixed;
  top:0; left:0;
  width:100%; height:100%;
  background: rgba(0,0,0,0.8);
  justify-content: center;
  align-items: center;
}

.modal-content {
  background:#111;
  padding:20px;
  border-radius:10px;
  max-width:400px;
  text-align:center;
}

.modal-content img {
  width:100%;
  border-radius:10px;
  margin-bottom:10px;
}

#closeModal {
  cursor:pointer;
  float:right;
  font-size:20px;
}