* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background: #0a0a0a;
  color: #ffffff;
  overflow-x: hidden;
}

.app-container {
  position: relative;
  min-height: 100vh;
}

/* Floating Materia Orbs */
.materia-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.materia-orb {
  position: absolute;
  border-radius: 50%;
  animation: float 6s ease-in-out infinite;
  cursor: pointer;
  pointer-events: auto;
  transition: transform 0.3s ease;
}

.materia-orb:hover {
  transform: scale(1.2);
}

@keyframes float {
  0%, 100% {
    transform: translateY(0) translateX(0);
  }
  25% {
    transform: translateY(-20px) translateX(10px);
  }
  50% {
    transform: translateY(0) translateX(-10px);
  }
  75% {
    transform: translateY(-15px) translateX(5px);
  }
}

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: 
    linear-gradient(180deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.9) 100%),
    radial-gradient(circle at 50% 50%, #001a0d 0%, #000000 100%);
  z-index: 2;
}

.hero-content {
  text-align: center;
  z-index: 3;
  padding: 2rem;
}

.logo-container {
  margin-bottom: 3rem;
}

.ff7-logo {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(2.5rem, 8vw, 6rem);
  font-weight: 900;
  letter-spacing: 0.1em;
  background: linear-gradient(135deg, #00ff88 0%, #00cc66 50%, #009944 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 40px #00ff8866, 0 0 80px #00ff8844;
  animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    filter: brightness(1);
  }
  50% {
    filter: brightness(1.3);
  }
}

.hero-tagline {
  font-size: clamp(1rem, 2.5vw, 1.5rem);
  color: #aaaaaa;
  margin-bottom: 3rem;
  letter-spacing: 0.05em;
  text-shadow: 0 0 10px #00ff8844;
}

.cta-button {
  position: relative;
  padding: 1.25rem 3rem;
  font-size: 1.25rem;
  font-weight: 600;
  color: #ffffff;
  background: linear-gradient(135deg, #00ff88 0%, #00cc66 100%);
  border: none;
  border-radius: 50px;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 0 30px #00ff8866, 0 4px 15px rgba(0,0,0,0.3);
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 50px #00ff88, 0 8px 25px rgba(0,0,0,0.4);
}

.button-glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 70%);
  animation: rotate 4s linear infinite;
  pointer-events: none;
}

@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

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

/* Section Titles */
.section-title {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 3rem;
  background: linear-gradient(135deg, #00ff88 0%, #0099ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 30px #00ff8866;
}

/* Stats Section */
.stats-section {
  background: linear-gradient(180deg, #0a0a0a 0%, #1a1a1a 100%);
  position: relative;
  z-index: 2;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.stat-item {
  text-align: center;
  padding: 2rem;
  background: rgba(0, 255, 136, 0.05);
  border: 2px solid #00ff8833;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.stat-item:hover {
  background: rgba(0, 255, 136, 0.1);
  border-color: #00ff88;
  box-shadow: 0 0 30px #00ff8844;
}

.stat-value {
  font-size: 3rem;
  font-weight: 900;
  color: #00ff88;
  font-family: 'Orbitron', sans-serif;
}

.stat-label {
  font-size: 0.9rem;
  color: #888;
  margin-top: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Characters Section */
.characters-section {
  background: #0a0a0a;
  position: relative;
  z-index: 2;
}

.characters-scroll {
  display: flex;
  gap: 2rem;
  overflow-x: auto;
  padding: 1rem 0;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

.characters-scroll::-webkit-scrollbar {
  height: 8px;
}

.characters-scroll::-webkit-scrollbar-track {
  background: #1a1a1a;
  border-radius: 10px;
}

.characters-scroll::-webkit-scrollbar-thumb {
  background: #00ff88;
  border-radius: 10px;
}

.character-card {
  min-width: 280px;
  background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
  border: 2px solid #00ff8833;
  border-radius: 15px;
  padding: 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.character-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #00ff8811 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.character-card:hover {
  transform: translateY(-10px);
  border-color: #00ff88;
  box-shadow: 0 10px 40px #00ff8844;
}

.character-card:hover::before {
  opacity: 1;
}

.character-image-wrapper {
  width: 100%;
  height: 250px;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 1rem;
  background: #000;
}

.character-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.character-card:hover .character-image {
  transform: scale(1.1);
}

.character-info {
  text-align: center;
}

.character-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: #00ff88;
  margin-bottom: 0.5rem;
  font-family: 'Orbitron', sans-serif;
}

.character-weapon {
  font-size: 0.9rem;
  color: #0099ff;
  margin-bottom: 0.75rem;
}

.character-quote {
  font-size: 0.85rem;
  color: #888;
  font-style: italic;
  line-height: 1.4;
}

/* Features Section */
.features-section {
  background: linear-gradient(180deg, #0a0a0a 0%, #1a1a1a 100%);
  position: relative;
  z-index: 2;
}

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

.feature-card {
  background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
  border: 2px solid #00ff8833;
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
}

.feature-card:hover {
  border-color: #00ff88;
  box-shadow: 0 10px 40px #00ff8844;
  transform: translateY(-5px);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  filter: drop-shadow(0 0 10px #00ff88);
}

.feature-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #00ff88;
  margin-bottom: 0.75rem;
  font-family: 'Orbitron', sans-serif;
}

.feature-description {
  color: #aaa;
  line-height: 1.6;
}

/* Soundtrack Section */
.soundtrack-section {
  background: #0a0a0a;
  position: relative;
  z-index: 2;
}

.music-player {
  max-width: 600px;
  margin: 0 auto;
  background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
  border: 2px solid #00ff8833;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 10px 40px #00ff8822;
}

.track-list {
  margin-bottom: 2rem;
}

.track-item {
  padding: 1rem;
  margin-bottom: 0.5rem;
  background: rgba(0, 255, 136, 0.05);
  border: 1px solid #00ff8822;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.track-item:hover,
.track-item.active {
  background: rgba(0, 255, 136, 0.1);
  border-color: #00ff88;
  box-shadow: 0 0 20px #00ff8844;
}

.track-icon {
  color: #00ff88;
  font-size: 1.5rem;
}

.track-name {
  color: #fff;
  font-weight: 500;
}

.track-item.active .track-name {
  color: #00ff88;
}

.player-controls {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #00ff8833;
}

.control-button {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #00ff88 0%, #00cc66 100%);
  border: none;
  color: #000;
  font-size: 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 0 20px #00ff8866;
}

.control-button:hover {
  box-shadow: 0 0 30px #00ff88;
  transform: scale(1.1);
}

.track-info {
  flex: 1;
}

.now-playing {
  font-size: 0.75rem;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.25rem;
}

.current-track {
  font-size: 1.1rem;
  color: #00ff88;
  font-weight: 600;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, #001a0d 0%, #000000 100%);
  position: relative;
  z-index: 2;
  padding: 6rem 2rem;
}

.cta-title {
  margin-bottom: 3rem;
}

.platform-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

.platform-card {
  padding: 2rem;
  background: rgba(0, 255, 136, 0.05);
  border: 2px solid #00ff8833;
  border-radius: 15px;
  text-align: center;
  font-size: 1.5rem;
  font-weight: 600;
  color: #00ff88;
  transition: all 0.3s ease;
  cursor: pointer;
}

.platform-card:hover {
  background: rgba(0, 255, 136, 0.1);
  border-color: #00ff88;
  box-shadow: 0 0 30px #00ff8844;
  transform: translateY(-5px);
}

.newsletter {
  max-width: 500px;
  margin: 0 auto;
  display: flex;
  gap: 1rem;
}

.newsletter-input {
  flex: 1;
  padding: 1rem 1.5rem;
  background: rgba(0, 255, 136, 0.05);
  border: 2px solid #00ff8833;
  border-radius: 50px;
  color: #fff;
  font-size: 1rem;
  outline: none;
  transition: all 0.3s ease;
}

.newsletter-input:focus {
  border-color: #00ff88;
  box-shadow: 0 0 20px #00ff8844;
}

.newsletter-input::placeholder {
  color: #666;
}

.newsletter-button {
  padding: 1rem 2rem;
  background: linear-gradient(135deg, #00ff88 0%, #00cc66 100%);
  border: none;
  border-radius: 50px;
  color: #000;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 0 20px #00ff8866;
}

.newsletter-button:hover {
  box-shadow: 0 0 30px #00ff88;
  transform: translateY(-2px);
}

/* Footer */
.footer {
  background: #0a0a0a;
  border-top: 1px solid #00ff8833;
  padding: 3rem 2rem;
  position: relative;
  z-index: 2;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.footer-link {
  color: #888;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: #00ff88;
}

.footer-bottom {
  text-align: center;
  color: #666;
  font-size: 0.9rem;
  padding-top: 2rem;
  border-top: 1px solid #00ff8822;
}

.footer-bottom p {
  margin-bottom: 1rem;
}

.berrry-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #00ff88;
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.berrry-link:hover {
  color: #00cc66;
}

.materia-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: #00ff88;
  border-radius: 50%;
  box-shadow: 0 0 10px #00ff88;
  animation: pulse 2s ease-in-out infinite;
}

/* Modal */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 2rem;
  backdrop-filter: blur(10px);
}

.modal-content {
  background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
  border: 2px solid #00ff88;
  border-radius: 20px;
  padding: 2rem;
  max-width: 500px;
  width: 100%;
  position: relative;
  box-shadow: 0 0 60px #00ff8866;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  background: rgba(0, 255, 136, 0.1);
  border: 1px solid #00ff88;
  border-radius: 50%;
  color: #00ff88;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.modal-close:hover {
  background: rgba(0, 255, 136, 0.2);
  box-shadow: 0 0 20px #00ff88;
}

.modal-image {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 1.5rem;
}

.modal-title {
  font-size: 2rem;
  font-weight: 700;
  color: #00ff88;
  margin-bottom: 1rem;
  font-family: 'Orbitron', sans-serif;
  text-align: center;
}

.modal-weapon {
  color: #0099ff;
  font-size: 1.1rem;
  text-align: center;
  margin-bottom: 1rem;
}

.modal-quote {
  color: #aaa;
  font-style: italic;
  text-align: center;
  line-height: 1.6;
}

.welcome-modal {
  max-width: 600px;
}

.welcome-content {
  text-align: center;
}

.welcome-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #00ff88;
  margin-bottom: 2rem;
  font-family: 'Orbitron', sans-serif;
}

.welcome-text {
  color: #aaa;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.modal-cta {
  margin-top: 2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .container {
    padding: 3rem 1rem;
  }

  .hero-content {
    padding: 1rem;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

  .newsletter {
    flex-direction: column;
  }

  .footer-links {
    flex-direction: column;
    gap: 1rem;
  }

  .characters-scroll {
    padding: 0.5rem 0;
  }

  .character-card {
    min-width: 240px;
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .stat-value {
    font-size: 2rem;
  }
}