/* GLOBAL */

.bg-video {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;

  z-index: -2;
}

#musicBtn {
  position: fixed;
  bottom: 20px;
  right: 20px;

  padding: 12px;
  border-radius: 50%;
  border: none;

  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);

  color: white;
  font-size: 18px;
  cursor: pointer;

  border: 1px solid rgba(255,255,255,0.2);
  transition: 0.3s;
}

#musicBtn:hover {
  transform: scale(1.1);
  background: rgba(255,255,255,0.2);
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: white;
  overflow-x: hidden;

  background: radial-gradient(circle at center, rgba(255,255,255,0.1), rgba(0,0,0,0.5)); /* overlay on video */
}

/* NAVBAR */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 25px;
  position: sticky;
  top: 0;
  z-index: 1000;

  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

/* LOGO */
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;

  display: block;

  border: 1.5px solid rgba(255,255,255,0.25);
  box-shadow: 0 0 10px rgba(0,212,255,0.4);

  transition: 0.3s ease;
}

.logo img:hover {
  transform: scale(1.1);
  box-shadow: 0 0 20px rgba(0,212,255,0.7);
}

/* NAV LINKS */
.nav-links {
  display: flex;
  gap: 22px;
}

.nav-links a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  transition: 0.3s;
  font-size: 14px;
}

.nav-links a:hover {
  color: #00d4ff;
}

/* HERO */
.hero {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.hero-content {
  padding: 35px;
  border-radius: 18px;

  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(25px);

  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 0 40px rgba(0,0,0,0.5);
}

/* HERO TITLE */
.hero h1 {
  font-size: 60px;
  font-weight: 700;

  background: linear-gradient(90deg,
    #ffffff,
    #a855f7,
    #6a00ff,
    #000000,
    #6a00ff,
    #a855f7,
    #ffffff
  );

  background-size: 200%;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  animation: shineMove 4s ease-in-out infinite;
  text-shadow: 0 0 15px rgba(168,85,247,0.4);
}

@keyframes shineMove {
  0% { background-position: 0% }
  100% { background-position: 200% }
}

.hero p {
  opacity: 0.75;
}

/* BUTTON */
button {
  margin-top: 20px;
  padding: 12px 24px;
  border-radius: 10px;
  border: none;

  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);

  color: white;
  cursor: pointer;

  border: 1px solid rgba(255,255,255,0.2);
  transition: 0.3s;
}

button:hover {
  background: rgba(255,255,255,0.2);
  transform: translateY(-3px);
}

/* SECTIONS */
section {
  padding: 70px 20px;
  max-width: 1000px;
  margin: auto;
}

/* H2 (metallic shine) */
h2 {
  font-size: 30px;
  font-weight: 700;

  background: linear-gradient(90deg,
    #000,#fff,#000,#fff,#000,#fff,#000
  );

  background-size: 200%;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  animation: gradientMove 4s linear infinite;
}

@keyframes gradientMove {
  0% { background-position: 0% }
  100% { background-position: 200% }
}

/* GRID */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 18px;
}

/* CARDS */
.card {
  background: rgba(255,255,255,0.05);
  padding: 22px;
  border-radius: 18px;

  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.1);

  transition: 0.3s;
}

.card:hover {
  transform: translateY(-8px);
  background: rgba(255,255,255,0.08);
}

/* CONTACT CARDS */
.contact-card {
  text-decoration: none;
  color: white;
  display: block;
}

.music-controls {
  position: fixed;
  bottom: 20px;
  right: 20px;

  display: flex;
  align-items: center;
  gap: 10px;

  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(12px);
  padding: 8px 12px;
  border-radius: 20px;

  border: 1px solid rgba(255,255,255,0.1);
}

#volumeSlider {
  width: 100px;
  height: 5px;

  appearance: none;
  background: rgba(255,255,255,0.2);
  border-radius: 10px;
  outline: none;
}

/* thumb */
#volumeSlider::-webkit-slider-thumb {
  appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;

  background: #00d4ff;
  cursor: pointer;

  box-shadow: 0 0 8px rgba(0,212,255,0.7);
}

#musicBtn {
  padding: 8px;
  border-radius: 50%;
  border: none;

  background: rgba(255,255,255,0.1);
  color: white;
  cursor: pointer;

  border: 1px solid rgba(255,255,255,0.2);
}

#volumeSlider {
  width: 0;
  opacity: 0;
  transition: 0.3s;
}

.music-controls:hover #volumeSlider {
  width: 100px;
  opacity: 1;
}

.contact-card h3 {
  margin-bottom: 8px;
  font-size: 18px;
}

.contact-card p {
  opacity: 0.6;
  font-size: 13px;
}

.contact-card:hover {
  transform: translateY(-10px) scale(1.03);
  border-color: rgba(0,212,255,0.4);
  box-shadow: 0 0 20px rgba(0,212,255,0.2);
}

/* WORK SECTION */
.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 16px;
  max-width: 800px;
  margin: auto;
}

.work-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;

  transform: scale(0.95);
  transition: all 0.4s ease;

  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.08);
}

.work-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.5s ease;
}

.work-card:hover {
  transform: scale(1.03) translateY(-6px);
  box-shadow: 0 0 25px rgba(0,212,255,0.25);
  border-color: rgba(0,212,255,0.4);
}

.work-card:hover img {
  transform: scale(1.1);
}

/* PLAY OVERLAY */
.play {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;

  font-size: 30px;
  background: radial-gradient(circle, rgba(0,0,0,0.2), rgba(0,0,0,0.6));
  opacity: 0;
  transition: 0.4s ease;
}

.work-card:hover .play {
  opacity: 1;
}

/* MOBILE */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 55px;
    right: 15px;
    background: rgba(0,0,0,0.85);
    padding: 12px;
    border-radius: 8px;
  }

  .menu {
    display: block;
  }

  .nav-links.show {
    display: flex;
  }
}