/* ===== GLOBAL ===== */
body {
  background: #0f1329;
  color: white;
  font-family: 'Montserrat', sans-serif;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

/* Smooth fade-in */
body {
  animation: fadeInPage 1s ease-in-out;
}

@keyframes fadeInPage {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ===== NAVBAR ===== */
.navbar {
  backdrop-filter: blur(20px);
  background: rgba(15,19,41,0.5);
  transition: 0.4s;
}

.navbar.scrolled {
  background: rgba(15,19,41,0.9);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  height: 100vh;
  background: radial-gradient(circle at center, #0d0d2b 0%, #000 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Particles layer */
#particles-js {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 0;   /* behind everything */
}

/* Content layer */
.hero-content {
  position: relative;
  z-index: 5;   /* above particles */
}

/* Title */
.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  color: #ffffff;
  opacity: 1;
  z-index: 10;
  position: relative;
}

/* ===== BUTTONS ===== */
.btn-glow {
  background: linear-gradient(45deg,#6f00ff,#b400ff);
  border: none;
  padding: 10px 25px;
  transition: 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn-glow:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 25px rgba(180,0,255,0.8);
}

/* ===== GLASS CARDS ===== */
.glass-card {
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(12px);
  border-radius: 20px;
  padding: 30px;
  transition: 0.4s ease;
}

.glass-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

/* ===== SECTION SPACING ===== */
.section {
  padding: 120px 0;
}

.section-dark {
  padding: 120px 0;
  background: #11152f;
}

/* ===== FOOTER ===== */
.footer {
  background: #0b0e22;
  padding: 80px 0;
  text-align: center;
}
#particles-js {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
}
/* ===== PAGE LOADER ===== */
#page-loader {
  position: fixed;
  width: 100%;
  height: 100%;
  background: #000;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.loader-line {
  width: 0;
  height: 3px;
  background: #fff;
  animation: loadAnim 1.5s ease forwards;
}

@keyframes loadAnim {
  to { width: 60%; }
}
.navbar {
  transition: all 0.4s ease;
  padding: 20px 0;
}

.navbar.shrink {
  padding: 8px 0;
  backdrop-filter: blur(25px);
}
.btn-glow {
  position: relative;
  border-radius: 40px;
  overflow: hidden;
  transition: 0.3s ease;
}

.btn-glow::before {
  content: "";
  position: absolute;
  width: 200%;
  height: 200%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.4), transparent);
  top: -50%;
  left: -100%;
  transition: 0.6s;
}

.btn-glow:hover::before {
  left: 100%;
}

.btn-glow:hover {
  transform: translateY(-3px);
}
section {
  padding: 120px 0;
}

h2 {
  font-weight: 600;
  letter-spacing: -1px;
}

p {
  opacity: 0.8;
}
.swiper-slide img {
  border-radius: 20px;
  transition: 0.4s ease;
}

.swiper-slide img:hover {
  transform: scale(1.05);
}
.swiper {
  width: 100%;
  height: 500px;
}

.swiper {
  width: 100%;
  height: auto;
}

.swiper-slide img {
  width: 100%;
  height: auto;
  object-fit: contain;
}
/* ===== Instagram Premium Section ===== */

#instagram {
  background: radial-gradient(circle at center, #0d0d1f 0%, #000 100%);
  position: relative;
  overflow: hidden;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 40px;
  background: linear-gradient(90deg, #ffffff, #c084fc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.instagram-wrapper {
  max-width: 700px;
  margin: auto;
  border-radius: 25px;
  overflow: hidden;
  backdrop-filter: blur(20px);
  background: rgba(255,255,255,0.05);
  padding: 20px;
  transition: 0.4s ease;
}

.instagram-wrapper:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 30px 60px rgba(0,0,0,0.6);
}

.instagram-wrapper iframe {
  width: 100%;
  height: 600px;
  border-radius: 20px;
}

/* Floating Glow Background */
#instagram::before {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(180,0,255,0.4) 0%, transparent 70%);
  top: -100px;
  right: -100px;
  filter: blur(120px);
  animation: floatGlow 8s infinite alternate ease-in-out;
}

@keyframes floatGlow {
  from { transform: translateY(-20px); }
  to { transform: translateY(20px); }
}

/* ===== GALLERY LOADER ===== */

.custom-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #0f1329;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.loader-spinner {
  width: 60px;
  height: 60px;
  border: 4px solid rgba(255,255,255,0.2);
  border-top: 4px solid #b400ff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}