/* =========================
   RESET / BASE
========================= */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #000;
  color: white;
  font-family: Arial, sans-serif;
  overflow-x: hidden;
}

/* =========================
   NAVIGATION
========================= */
.nav {
  position: fixed;
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 20px 40px;
  backdrop-filter: blur(10px);
  background: rgba(0,0,0,0.4);
  z-index: 10;
}

.logo {
  color: #D4AF37;
  font-weight: bold;
}

.nav-links a {
  margin-left: 20px;
  color: #D4AF37;
  text-decoration: none;
  transition: 0.3s;
}

.nav-links a:hover {
  text-shadow: 0 0 10px #D4AF37;
}

/* =========================
   HERO SECTION
========================= */
.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
  background: radial-gradient(circle at center, #1a2a3a, #000);
}

/* CANVAS LAYER */
#three-canvas,
#particles {
  position: absolute;
  width: 100%;
  height: 100%;
  display: block;
}

#three-canvas { z-index: 0; }
#particles { z-index: 1; }

/* LIGHT CORE */
.light-core {
  position: absolute;
  width: 600px;
  height: 600px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, #F6E7B2, #D4AF37, transparent);
  filter: blur(140px);
  opacity: 0.7;
  animation: pulse 6s infinite;
  z-index: 2;
}

/* MOUSE LIGHT */
.mouse-light {
  position: absolute;
  width: 250px;
  height: 250px;
  pointer-events: none;
  background: radial-gradient(circle, rgba(212,175,55,0.5), transparent);
  filter: blur(80px);
  z-index: 3;
}

/* SACRED GEOMETRY */
.geometry {
  position: absolute;
  width: 300px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.2;
  z-index: 3;
  animation: rotate 40s linear infinite;
}

.geometry polygon {
  stroke: #D4AF37;
  fill: none;
  stroke-width: 1;
}

/* HERO CONTENT */
.hero-content {
  position: relative;
  z-index: 4;
  text-align: center;
  top: 40%;
  transform: translateY(-50%);
  padding: 0 20px;
}

.hero h1 {
  font-size: 4rem;
  background: linear-gradient(90deg,#D4AF37,#F6E7B2,#D4AF37);
  background-size: 200%;
  -webkit-background-clip: text;
  color: transparent;
  animation: shimmer 5s infinite linear;
}

.hero p {
  opacity: 0.8;
  margin-top: 10px;
}

.hero button {
  margin-top: 20px;
  padding: 12px 25px;
  border: 1px solid #D4AF37;
  background: transparent;
  color: #D4AF37;
  cursor: pointer;
  transition: 0.3s;
}

.hero button:hover {
  background: #D4AF37;
  color: black;
  box-shadow: 0 0 20px rgba(212,175,55,0.8);
}

/* =========================
   CONTENT SECTIONS
========================= */
.section {
  padding: 120px 40px;
  max-width: 900px;
  margin: auto;
  line-height: 1.6;
}

.section h2 {
  color: #D4AF37;
  margin-bottom: 20px;
}

.section.dark {
  background: #0b1a2a;
}

/* =========================
   VALUES / CARDS
========================= */
.values {
  display: flex;
  gap: 30px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.card {
  flex: 1;
  min-width: 200px;
  border: 1px solid rgba(212,175,55,0.3);
  padding: 20px;
  transition: 0.3s;
}

.card:hover {
  box-shadow: 0 0 20px rgba(212,175,55,0.5);
  transform: translateY(-5px);
}

/* =========================
   ANIMATIONS
========================= */
@keyframes shimmer {
  0% { background-position: -200%; }
  100% { background-position: 200%; }
}

@keyframes pulse {
  0% { transform: translate(-50%, -50%) scale(1); opacity: 0.6; }
  50% { transform: translate(-50%, -50%) scale(1.3); opacity: 1; }
  100% { transform: translate(-50%, -50%) scale(1); opacity: 0.6; }
}

@keyframes rotate {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 768px) {

  .nav {
    flex-direction: column;
    align-items: center;
  }

  .nav-links {
    margin-top: 10px;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .values {
    flex-direction: column;
  }

  .section {
    padding: 80px 20px;
  }
}