* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  color: #fff;
  background: linear-gradient(-45deg, #6e00ff, #000000, #3b007d, #1a001f);
  background-size: 400% 400%;
  animation: gradientBG 15s ease infinite;
}

@keyframes gradientBG {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

video {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.hero {
  position: relative;
  height: 90vh;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 15, 15, 0.5);
  z-index: 2;
}

.hero-content {
  z-index: 3;
  text-align: center;
}

.hero h1 {
  font-size: 4rem;
  margin-bottom: 0.5rem;
}

.hero p {
  font-size: 1.5rem;
  margin-bottom: 2rem;
}

.cta {
  background: #ff0077;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  color: #fff;
  text-decoration: none;
  transition: background 0.3s ease;
}

.cta:hover {
  background: #e6006d;
}

.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(15, 15, 15, 0.9);
  display: flex;
  justify-content: center;
  padding: 1rem 0;
  z-index: 999;
}

.navbar ul {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.navbar a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.navbar a:hover {
  color: #ff0077;
}

section {
  padding: 5rem 2rem;
  text-align: center;
}

section h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

section p, section ul {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
}

section ul li {
  margin: 1rem 0;
}

section a {
  color: #ff0077;
  text-decoration: none;
}

section a:hover {
  text-decoration: underline;
}

/* Resume Section Styling */
.resume {
  background: rgba(255, 255, 255, 0.05);
  padding: 5rem 2rem;
  color: #fff;
}

.resume-btn {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  background: #ff0077;
  color: #fff;
  border-radius: 50px;
  text-decoration: none;
  transition: background 0.3s ease;
}

.resume-btn:hover {
  background: #e6006d;
}

/* Contact Section Styling */
.contact {
  background: rgba(98, 0, 250, 0.03);
  padding: 5rem 2rem;
  color: #fff;
}

.contact form {
  max-width: 600px;
  margin: 2rem auto 0;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.contact input,
.contact textarea {
  padding: 0.9rem 1.2rem;
  border: none;
  border-radius: 10px;
  background: rgba(255, 0, 0, 0.08);
  color: #fff;
  font-size: 1rem;
  resize: vertical;
}

.contact textarea {
  min-height: 120px;
}

.contact input::placeholder,
.contact textarea::placeholder {
  color: #ccc;
}

.contact button {
  padding: 0.9rem 1.5rem;
  background: #ff0077;
  color: #fff;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: background 0.3s ease;
  font-size: 1rem;
}

.contact button:hover {
  background: #e6006d;
}

/* Gallery & Modal */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  padding: 2rem;
}

.gallery-card {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  box-shadow: 0 0 15px rgba(0,0,0,0.2);
  cursor: pointer;
  transition: transform 0.3s ease;
}

.gallery-card:hover {
  transform: scale(1.02);
}

.gallery-card img,
.gallery-card video {
  width: 100%;
  height: auto;
  display: block;
}

.gradient-banner {
  position: absolute;
  bottom: 0;
  width: 100%;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
  color: #fff;
  padding: 1rem;
  text-align: center;
  font-weight: bold;
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 999;
  padding: 2rem;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.9);
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.modal-content img,
.modal-content video {
  max-width: 90%;
  max-height: 80vh;
  border-radius: 1rem;
}

.modal-caption {
  color: #fff;
  margin-top: 1rem;
  text-align: center;
}

.modal .close {
  position: absolute;
  top: 1rem;
  right: 2rem;
  font-size: 3rem;
  color: #fff;
  cursor: pointer;
}

#target {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 60px;
  cursor: pointer;
  animation: move 5s infinite alternate;
  animation-play-state: paused;
  opacity: 0.7;
}
#board {
  width: 100%;
  height: 100vh;
  background-color: #f0f0f0;
  position: relative;
  overflow: hidden;
  opacity: 0.9; 
}


