:root {
  --accent: #00f2ff;
  --purple: #7000ff;
  --bg-dark: #050505;
  --card-bg: rgba(255, 255, 255, 0.03);
  --card-border: rgba(255, 255, 255, 0.1);
}

body {
  margin: 0;
  background: var(--bg-dark);
  color: white;
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
}

.accent-text {
  color: var(--accent);
}

/* BACKGROUND ANIMATION */
#global-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.blob {
  position: absolute;
  width: 80vw;
  height: 80vh;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.3;
}

.blob-1 {
  top: -10%;
  left: -10%;
  background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
}
.blob-2 {
  bottom: -10%;
  right: -10%;
  background: radial-gradient(circle, var(--purple) 0%, transparent 70%);
}

/* SECTIONS */
.content-layer {
  position: relative;
  z-index: 10;
}

.hero {
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero h1 {
  font-size: clamp(3rem, 15vw, 7rem);
  font-weight: 900;
  margin: 0;
}

.scroll-container {
  position: relative;
  height: 500vh;
}

.sticky-wrapper {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* CARDS GRID & PILE */
.cards-pile {
  position: relative;
  width: 100%;
  max-width: 1000px;
  padding: 40px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 32px;
  backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  aspect-ratio: 16/10;
  transition: all 0.4s ease;
  cursor: pointer;
}

.card:hover {
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-10px);
}

.card h2 {
  font-size: 3rem;
  margin: 0;
}
.card h3 {
  font-size: 1.2rem;
  letter-spacing: 2px;
}

/* FINAL SECTION */
.final-section {
  position: relative;
  z-index: 20;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.final-title {
  font-size: clamp(2.5rem, 8vw, 5rem);
  text-align: center;
  font-weight: 900;
}

/* MODALS */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(20px);
  opacity: 0;
}

.modal-content {
  text-align: center;
  width: 85%;
  max-width: 600px;
}

.close-btn {
  margin-top: 20px;
  padding: 10px 30px;
  border: 1px solid var(--accent);
  border-radius: 50px;
  cursor: pointer;
  display: inline-block;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .cards-pile {
    display: block;
    width: 300px;
    height: 400px;
    padding: 0;
  }
  .card {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: scale(0.8) translateY(40px);
    pointer-events: none;
    aspect-ratio: 4/5;
  }
}
