:root {
  --bg-color: #080010;
  --accent-color: #a020f0;
  --text-color: #fff;
  --hover-color: #ff66cc;
  --card-bg: rgba(40, 0, 60, 0.8);
  --btn-gradient: linear-gradient(45deg, #a020f0, #ff00cc);
}

body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background: url("bg.png") no-repeat center center fixed;
  background-size: cover;
  color: var(--text-color);
}

/* Navbar */
.navbar {
  background: rgba(10, 0, 30, 0.9);
  padding: 15px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid var(--accent-color);
}
.logo {
  font-size: 24px;
  color: var(--accent-color);
  font-weight: bold;
}
nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
}
nav ul li {
  list-style: none;
}
.btn {
  background: var(--btn-gradient);
  color: #fff;
  padding: 10px 20px;
  border: none;
  font-weight: bold;
  border-radius: 10px;
  cursor: pointer;
  transition: 0.3s;
}
.btn:hover {
  transform: scale(1.05);
  box-shadow: 0 0 15px var(--hover-color);
}

/* Upload Section */
.uploads-section {
  padding: 40px 20px;
  text-align: center;
}
.upload-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  margin-top: 20px;
}
.upload-card {
  background: var(--card-bg);
  border: 2px solid var(--accent-color);
  border-radius: 12px;
  padding: 15px;
}
.upload-card img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 10px;
}
.upload-card h3 {
  color: var(--accent-color);
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  width: 90%;
  max-width: 400px;
  transform: translate(-50%, -50%);
  background: rgba(20, 0, 40, 0.98);
  padding: 30px;
  border-radius: 16px;
  z-index: 1001;
}
.modal.active {
  display: block;
}
.modal input {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border-radius: 8px;
  border: none;
}
.overlay {
  display: none;
}
.overlay.active {
  display: block;
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
  z-index: 1000;
}
