* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #6c63ff;
  --secondary: #ff6584;
  --dark: #1a1a2e;
  --light: #f5f5f7;
  --gray: #8a8aa3;
}

#loader {
  position: fixed;
  width: 100%;
  height: 100vh;
  background: #1a1a2e;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  transition:
    opacity 0.6s ease,
    visibility 0.6s;
}

#loader-logo {
  width: 256px;
  height: auto;
  opacity: 0;
  transform: scale(1.1);
  animation: logoFade 1s ease forwards;
}

@keyframes logoFade {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

#progress-bar {
  width: 0%;
  height: 3px;
  background: #6c63ff;
  position: absolute;
  bottom: 40px;
  left: 0;
  transition: width 0.2s ease;
  box-shadow: 0 0 10px #6c63ff;
}

#loader h1 {
  font-family: "Montserrat", sans-serif;
  font-size: 3rem;
  color: white;
  letter-spacing: 2px;
}

#loader span {
  color: #6c63ff;
}

body {
  font-family: "Poppins", sans-serif;
  line-height: 1.6;
  color: var(--dark);
  background-color: var(--light);
  overflow-x: hidden;
  cursor: default;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.sound-indicator {
  position: fixed;
  top: 80px;
  right: 20px;
  background: rgba(255, 255, 255, 0.9);
  padding: 10px 15px;
  border-radius: 20px;
  display: none;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  z-index: 9999;
  font-size: 14px;
  cursor: pointer;
}

.sound-indicator.active {
  display: flex;
}

#musicIcon {
  font-size: 18px;
  margin-right: 0px;
}

.sound-wave {
  display: flex;
  align-items: center;
  gap: 3px;
}

.sound-wave span {
  display: inline-block;
  width: 4px;
  background: var(--primary);
  border-radius: 2px;
  animation: soundWave 1.2s ease-in-out infinite;
}

.sound-wave span:nth-child(2) {
  animation-delay: 0.1s;
}
.sound-wave span:nth-child(3) {
  animation-delay: 0.2s;
}
.sound-wave span:nth-child(4) {
  animation-delay: 0.3s;
}

@keyframes soundWave {
  0%,
  100% {
    height: 8px;
  }
  50% {
    height: 16px;
  }
}

.sound-wave.paused span {
  animation-play-state: paused;
}

.hero-image-pop {
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.hero-image-pop.btn {
  cursor: pointer;
}

.fade-in {
  opacity: 0;
  transform: translateY(30px);
}

.fade-in-delay-1 {
  animation-delay: 0.2s;
}

.fade-in-delay-2 {
  animation-delay: 0.4s;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

header {
  background-color: rgba(26, 26, 46, 0.75);
  backdrop-filter: blur(12px);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  padding: 15px 0;
  transition: all 0.3s ease;
}

header.scrolled {
  background: rgba(26, 26, 46, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 10px 0;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: "Montserrat", sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: white;
  text-decoration: none;
}

.logo span {
  color: var(--primary);
}

.nav-links {
  display: flex;
  list-style: none;
}

.nav-links li {
  margin-left: 30px;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: var(--primary);
}

.hamburger {
  display: none;
  cursor: pointer;
  font-size: 24px;
  color: white;
}

.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  background:
    linear-gradient(rgba(26, 26, 46, 0.8), rgba(26, 26, 46, 0.9)),
    url("/assets/bg.jpg");
  background-size: cover;
  background-position: center;
  color: white;
  text-align: center;
  position: relative;
}

.hero-content h1 {
  font-family: "Montserrat", sans-serif;
  font-size: 3.5rem;
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto 30px;
  color: #ddd;
}

#protectedImg {
  pointer-events: none;
  user-select: none;
}

.highlight {
  color: var(--primary);
}

.btn {
  position: relative;
  overflow: hidden;
  display: inline-block;
  background-color: var(--primary);
  color: white;
  padding: 12px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
}

.btn:hover {
  background-color: #5a52e0;
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(108, 99, 255, 0.5);
}

.btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: 0.5s;
}

.btn:hover::after {
  left: 100%;
}

.section {
  padding: 100px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2 {
  font-family: "Montserrat", sans-serif;
  font-size: 2.5rem;
  color: var(--dark);
  margin-bottom: 15px;
}

.section-title p {
  color: var(--gray);
  max-width: 600px;
  margin: 0 auto;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-text h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: var(--dark);
}

.about-text p {
  margin-bottom: 20px;
  color: #555;
}

.skills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.skill {
  background-color: white;
  padding: 8px 20px;
  border-radius: 30px;
  font-weight: 500;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

.about-image img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.edits {
  background-color: #f9f9fb;
}

.edits-filter {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.filter-btn {
  background: none;
  border: none;
  padding: 10px 20px;
  margin: 0 5px 10px;
  font-weight: 600;
  color: var(--gray);
  cursor: pointer;
  transition: all 0.3s;
  border-radius: 30px;
}

.filter-btn.active,
.filter-btn:hover {
  color: white;
  background-color: var(--primary);
}

.instagram-feed {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 25px;
}

.instagram-post {
  background-color: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s;
}

.instagram-post:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.post-image {
  height: 250px;
  overflow: hidden;
}

.post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.instagram-post:hover .post-image img {
  transform: scale(1.05);
}

.post-info {
  padding: 20px;
}

.post-info h4 {
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.post-info p {
  color: var(--gray);
  font-size: 0.9rem;
  margin-bottom: 15px;
}

.post-meta {
  display: flex;
  justify-content: space-between;
  color: var(--gray);
  font-size: 0.8rem;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.contact-info h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: var(--dark);
}

.contact-info p {
  margin-bottom: 30px;
  color: #555;
}

.contact-details {
  margin-bottom: 30px;
}

.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.contact-item i {
  background-color: var(--primary);
  color: white;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin-right: 15px;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: var(--dark);
  color: white;
  border-radius: 50%;
  text-decoration: none;
  transition: all 0.3s;
}

.social-links a:hover {
  background-color: var(--primary);
  transform: translateY(-3px);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 15px;
  margin-bottom: 20px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-family: "Poppins", sans-serif;
}

.contact-form textarea {
  height: 150px;
  resize: vertical;
}

footer {
  background-color: var(--dark);
  color: white;
  padding: 60px 0 30px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo {
  font-family: "Montserrat", sans-serif;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 20px;
}

.footer-logo span {
  color: var(--primary);
}

.copyright {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--gray);
  font-size: 0.9rem;
}

a {
  color: white;
  text-decoration: none;
}

@media (max-width: 992px) {
  .about-content,
  .contact-content {
    grid-template-columns: 1fr;
  }

  .hero-content h1 {
    font-size: 2.8rem;
  }

  .hero-image-pop.popped {
    transform: scale(1.5) translateY(-30px);
  }
}

@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 70px;
    right: -100%;
    flex-direction: column;
    background-color: var(--dark);
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
    padding: 20px 0;
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links li {
    margin: 15px 0;
  }

  .hero-content h1 {
    font-size: 2.2rem;
  }

  .section-title h2 {
    font-size: 2rem;
  }

  .hero-image-pop.popped {
    transform: scale(1.3) translateY(-20px);
  }

  .sound-indicator {
    top: 80px;
    right: 20px;
    font-size: 12px;
    padding: 8px 12px;
    cursor: pointer;
  }
}

@media (max-width: 576px) {
  .hero-content h1 {
    font-size: 1.8rem;
  }

  .instagram-feed {
    grid-template-columns: 1fr;
  }

  .hero-image-pop.popped {
    transform: scale(1.2) translateY(-10px);
  }
}

#cursorGlow {
  position: fixed;
  width: 20px;
  height: 20px;
  background: rgba(108, 99, 255, 0.4);
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 9999;
  transition: transform 0.1s ease;
  backdrop-filter: blur(5px);
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
