body {
  background-color: #0a0a1f;
  color: #f9f9f9;
  font-family: 'Inter', sans-serif;
  margin: 0;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(30,0,56,0.8) 0%, rgba(0,8,20,0.9) 100%), url('https://www.transparenttextures.com/patterns/stardust.png');
  background-size: cover;
  animation: starsMove 60s linear infinite;
  z-index: -1;
}

@keyframes starsMove {
  0% { background-position: 0 0; }
  100% { background-position: 1000px 1000px; }
}

.top-contact-bar ul {
  display: flex;
  gap: 15px;
  list-style: none;
  padding: 10px;
  margin: 0;
  background-color: #2e2e3a;
  justify-content: center;
  flex-wrap: wrap;
}

.top-contact-bar a {
  color: #fdd835;
  text-decoration: none;
}

.hero {
  text-align: center;
  padding: 30px 20px;
  animation: fadeInUp 1s ease both;
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.profile-pic {
  width: 200px;
  height: 270px;
  object-fit: cover;
  border-radius: 12px; 
  border: 4px solid #fdd835;
  box-shadow: 0 0 20px rgba(253, 216, 53, 0.5);
  transition: transform 0.3s, box-shadow 0.3s;
}

.hero-text,
.hero-text2 {
  max-width: 600px;
  margin: 0 auto;
  text-align: justify;
}

h1, h2, h3 {
  color: #fdd835;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  padding: 20px;
}

.project-box {
  background-color: #2a2a40;
  padding: 35px;
  border-radius: 15px;
  transition: transform 0.3s, box-shadow 0.3s;
  text-decoration: none;
  color: inherit;
  position: relative;
}

.project-box:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px #fdd83544;
}

.project-box:hover h3,
.project-box:hover p {
  text-shadow: 0 0 5px #fdd83588;
}

.project-box:hover img {
  outline: 2px solid #fdd83555;
}

.project-box img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  cursor: pointer;
}

.project-box video {
  width: 100%;
  border-radius: 10px;
  margin-top: 10px;
}

.info-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding: 20px;
}

.info-box {
  background-color: #2a2a40;
  padding: 15px;
  border-radius: 15px;
  flex: 1;
  min-width: 250px;
}

footer {
  text-align: center;
  padding: 10px;
  background-color: #2e2e3a;
  color: #fdd835;
}

#audioToggle {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 200;
  background-color: #fdd835;
  color: #0d0d1a;
  font-weight: bold;
  border: none;
  border-radius: 8px;
  padding: 10px 15px;
  cursor: pointer;
  box-shadow: 0 0 10px #fdd83599;
  transition: background-color 0.3s;
}

#audioToggle:hover {
  background-color: #ffe95e;
}

.more-projects-button {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 24px;
  background-color: #fdd835;
  color: #0d0d1a;
  font-weight: bold;
  text-decoration: none;
  border-radius: 8px;
  transition: background-color 0.3s, transform 0.3s;
}

.more-projects-button:hover {
  background-color: #ffe95c;
  transform: scale(1.05);
}

.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  padding-top: 5%;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.85);
  justify-content: center;
  align-items: center;
  padding: 2rem;
}

.modal-content {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 80vh;
  border-radius: 8px;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.6);
}

.close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 2rem;
  color: #fff;
  cursor: pointer;
  font-weight: bold;
  transition: color 0.3s ease;
}

.close:hover {
  color: #ccc;
}

.button-group {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
}

.more-projects-button.secondary {
  background-color: transparent;
  color: #fdd835;
  border: 2px solid #fdd835;
}

.more-projects-button.secondary:hover {
  background-color: #fdd83522;
}

.image-gallery {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.project-box img {
  border-radius: 8px;
  max-width: 100%;
}

/* 💡 Technologies with Images */
.tech-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.tech-box {
  width: 150px;
  text-align: center;
  background-color: #2a2a40;
  color: #f9f9f9;
  padding: 1rem;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(253, 216, 53, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tech-box:hover {
  transform: scale(1.05);
  box-shadow: 0 0 12px rgba(253, 216, 53, 0.3);
}

.tech-box img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  margin-bottom: 0.5rem;
  filter: brightness(1.2);
}

.tech-box p {
  margin-top: 0.25rem;
  font-weight: 500;
}

/* 🧑‍💼 Role Section */
.role-section {
  background-color: #1a1a2e;
  padding: 2rem 1rem;
  border-radius: 15px;
  margin: 30px 0;
  box-shadow: 0 0 10px rgba(253, 216, 53, 0.1);
}

.role-section h2 {
  color: #fdd835;
  text-align: center;
  margin-bottom: 1rem;
}

.role-description {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.1rem;
  line-height: 1.6;
  text-align: center;
}

.skills-section {
  padding: 40px 20px;
  text-align: center;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 30px;
}

.skill-card {
  background-color: #1a1a2e;
  border: 2px solid #fdd83544;
  border-radius: 16px;
  padding: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 0 12px rgba(253, 216, 53, 0.1);
}

.skill-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 20px rgba(253, 216, 53, 0.4);
}

.skill-card h3 {
  margin-bottom: 12px;
  font-size: 1.3rem;
  color: #fdd835;
}

.skill-card ul {
  list-style: none;
  padding: 0;
}

.skill-card li {
  padding: 6px 0;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.skill-card li::before {
  content: "✔️";
  color: #fdd835;
}
.section h2 {
  font-size: 1.8rem;
  margin-top: 60px;
  color: #fdd835;
  border-left: 4px solid #fdd835;
  padding-left: 10px;
}

.section p,
.section ul {
  font-size: 1.1rem;
  line-height: 1.7;
  text-align: justify;
}

ul li::before {
  content: "🎯 ";
}

/* Video Presentation Section */
.video-presentation {
  text-align: center;
  margin: 60px 0;
}

.video-presentation h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  font-weight: 700;
}

.video-container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
}

.video-container video {
  width: 80%;
  max-width: 900px;
  border-radius: 20px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}

.gamejam-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

.gamejam-card {
  width: 100%;
  max-width: 700px;
  background: #111222;
  padding: 20px;
  border-radius: 12px;
  border: 2px solid #fdd83544;
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.05);
  text-align: justify;
}

.gamejam-card video {
  width: 100%;
  border-radius: 10px;
  border: 3px solid #fdd83555;
}

/* Carousel */
.carousel-container {
  position: relative;
  overflow: hidden;
  width: 100%;
  border-radius: 10px;
  margin-bottom: 15px;
}

.carousel-track {
  display: flex;
  transition: transform 0.4s ease-in-out;
}

.carousel-track img {
  width: 100%;
  flex-shrink: 0;
  border-radius: 10px;
  border: 3px solid #fdd83555;
  cursor: pointer;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(253, 216, 53, 0.8);
  border: none;
  padding: 8px 12px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
  z-index: 10;
}

.carousel-btn.left { left: 10px; }
.carousel-btn.right { right: 10px; }

.carousel-btn:hover { background: #fff176; }

/* Fullscreen Viewer */
.fullscreen-viewer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.95);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.fullscreen-viewer img {
  max-width: 90%;
  max-height: 90%;
  border: 5px solid #fdd835;
  border-radius: 10px;
}

.fullscreen-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(253,216,53,0.8);
  border: none;
  padding: 12px;
  font-size: 1.5rem;
  border-radius: 50%;
  cursor: pointer;
}

.fullscreen-btn.left { left: 20px; }
.fullscreen-btn.right { right: 20px; }

.fullscreen-close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 2rem;
  color: #fdd835;
  cursor: pointer;
  background: transparent;
  border: none;
}