/*
 * Lucid Particles - Interactive Particle Animation
 * Copyright (C) 2024 Lucifer.exe
 * 
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 * 
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 * GNU General Public License for more details.
 * 
 * You should have received a copy of the GNU General Public License
 * along with this program. If not, see <https://www.gnu.org/licenses/>.
 */

:root {
  --scene-background: #ffffff;
  --particle-color: #4aa3ff;
  --primary-color: #4aa3ff;
  --secondary-color: #6eb5ff;
  --dark-bg: #0a0e27;
  --card-bg: #1a1f3a;
  --text-primary: #ffffff;
  --text-secondary: #a0aec0;
  --accent-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

body {
  height: auto;
  display: block;
  align-items: initial;
  justify-content: initial;
  background: var(--dark-bg);
}

html {
  scroll-behavior: smooth;
}

#scene {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1;
  background: transparent;
  transition: opacity 0.6s ease;
  pointer-events: none;
}

.content-wrapper {
  position: relative;
  z-index: 2;
  min-height: 100vh;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  text-align: center;
  position: relative;
  padding-bottom: 3rem;
}

.hero-content {
  z-index: 3;
}

.scroll-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-secondary);
  animation: bounce 2s infinite;
}

.scroll-indicator i {
  font-size: 1.5rem;
}

.scroll-indicator span {
  font-family: 'Whitney', -apple-system, sans-serif;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

.about-section {
  padding: 6rem 0;
  background: linear-gradient(180deg, var(--dark-bg) 0%, #0f1420 100%);
}

.about-section h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  text-align: center;
  margin-bottom: 2rem;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-family: 'Whitney', -apple-system, sans-serif;
  font-weight: 700;
}

.about-section p {
  font-size: 1.125rem;
  color: var(--text-secondary);
  text-align: center;
  max-width: 800px;
  margin: 0 auto 4rem;
  line-height: 1.8;
  font-family: 'Whitney', -apple-system, sans-serif;
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.feature-card {
  background: var(--card-bg);
  padding: 2rem;
  border-radius: 1rem;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary-color);
  box-shadow: 0 10px 30px rgba(74, 163, 255, 0.2);
}

.feature-card i {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  font-family: 'Whitney', -apple-system, sans-serif;
  color: var(--text-primary);
}

.feature-card p {
  color: var(--text-secondary);
  margin: 0;
  font-family: 'Whitney', -apple-system, sans-serif;
}

.discord-section {
  padding: 6rem 0;
  background: #0f1420;
  display: flex;
  justify-content: center;
  align-items: center;
}

.container-discord {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.card {
  margin: 0 auto;
}

.footer {
  padding: 3rem 0;
  background: var(--dark-bg);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  text-align: center;
}

.footer p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
  font-family: 'Whitney', -apple-system, sans-serif;
}

.footer i.fa-heart {
  color: #e25555;
  animation: heartbeat 1.5s infinite;
}

@keyframes heartbeat {
  0%, 100% { transform: scale(1); }
  10%, 30% { transform: scale(1.1); }
  20%, 40% { transform: scale(1); }
}

.footer-links {
  margin-top: 1rem;
}

.footer-links a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
  font-family: 'Whitney', -apple-system, sans-serif;
}

.footer-links a:hover {
  color: var(--secondary-color);
}

@media (max-width: 768px) {
  .container {
    padding: 0 1rem;
  }

  .features {
    grid-template-columns: 1fr;
  }

  .about-section,
  .discord-section {
    padding: 4rem 0;
  }
  
  .card {
    max-width: 100%;
    margin: 0 1rem;
  }
}

@media (max-width: 480px) {
  .scroll-indicator span {
    font-size: 0.9rem;
  }
}

.text-gradient {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}
