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

:root {
  --primary: #ff4444;
  --primary-dark: #cc0000;
  --secondary: #4CAF50;
  --accent: #FFD700;
  --bg-dark: #1a1a2e;
  --bg-darker: #16213e;
  --text: #ffffff;
  --text-muted: #b0b0b0;
}

body {
  font-family: 'Poppins', sans-serif;
  background: var(--bg-dark);
  color: var(--text);
  overflow-x: hidden;
}

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

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(26, 26, 46, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Fredoka One', cursive;
  font-size: 24px;
}

.logo-icon {
  font-size: 32px;
  animation: bounce 2s infinite;
}

.logo-img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 30px;
}

.nav-menu a {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s;
}

.nav-menu a:hover {
  color: var(--primary);
}

.nav-socials {
  display: flex;
  gap: 15px;
}

.social-link {
  color: var(--text);
  transition: color 0.3s, transform 0.3s;
}

.social-link:hover {
  color: var(--primary);
  transform: scale(1.1);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 100px 20px;
  background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-darker) 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 50%, rgba(255, 68, 68, 0.1) 0%, transparent 50%),
              radial-gradient(circle at 70% 80%, rgba(76, 175, 80, 0.1) 0%, transparent 50%);
}

.hero-content {
  text-align: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-block;
  background: rgba(255, 68, 68, 0.2);
  border: 1px solid var(--primary);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 14px;
  margin-bottom: 20px;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 68, 68, 0.4); }
  50% { box-shadow: 0 0 0 10px rgba(255, 68, 68, 0); }
}

.hero-title {
  font-family: 'Fredoka One', cursive;
  font-size: 80px;
  margin-bottom: 20px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.apple-emoji {
  -webkit-text-fill-color: initial;
  animation: spin 4s linear infinite;
  display: inline-block;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  25% { transform: rotate(10deg); }
  75% { transform: rotate(-10deg); }
  100% { transform: rotate(0deg); }
}

.hero-tagline {
  font-size: 16px;
  color: var(--accent);
  margin-bottom: 15px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.hero-subtitle {
  font-size: 20px;
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto 40px;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-bottom: 50px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 35px;
  border-radius: 50px;
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--text);
  box-shadow: 0 10px 30px rgba(255, 68, 68, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(255, 68, 68, 0.4);
}

.btn-secondary {
  background: transparent;
  border: 2px solid var(--text);
  color: var(--text);
}

.btn-secondary:hover {
  background: var(--text);
  color: var(--bg-dark);
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 60px;
}

.stat {
  text-align: center;
}

.stat-value {
  display: block;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 5px;
}

.stat-label {
  color: var(--text-muted);
  font-size: 14px;
}

/* Floating Apples */
.hero-visual {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
}

.floating-apple {
  position: absolute;
  font-size: 60px;
  animation: float 6s ease-in-out infinite;
}

.apple-1 { top: 20%; left: 10%; animation-delay: 0s; }
.apple-2 { top: 30%; right: 15%; animation-delay: 1s; }
.apple-3 { bottom: 25%; left: 20%; animation-delay: 2s; }
.apple-4 { bottom: 20%; right: 10%; animation-delay: 3s; }

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-30px) rotate(10deg); }
}

/* Play Section */
.play-section {
  padding: 100px 20px;
  background: var(--bg-darker);
}

.section-title {
  font-family: 'Fredoka One', cursive;
  font-size: 48px;
  text-align: center;
  margin-bottom: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.title-icon {
  font-size: 50px;
}

.play-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.game-preview {
  text-align: center;
}

.game-frame {
  background: rgba(0, 0, 0, 0.5);
  border-radius: 20px;
  padding: 20px;
  margin-bottom: 30px;
  border: 2px solid rgba(255, 255, 255, 0.1);
}

.game-placeholder {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--bg-dark) 0%, #2a2a4a 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.big-emoji {
  font-size: 80px;
  display: block;
  margin-bottom: 20px;
  animation: bounce 2s infinite;
}

.placeholder-content h3 {
  font-size: 28px;
  margin-bottom: 10px;
}

.placeholder-content p {
  color: var(--text-muted);
}

.btn-play {
  background: linear-gradient(135deg, var(--secondary) 0%, #388E3C 100%);
  color: var(--text);
  font-size: 22px;
  padding: 18px 50px;
  box-shadow: 0 10px 30px rgba(76, 175, 80, 0.3);
}

.btn-play:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(76, 175, 80, 0.4);
}

.controls-info {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 40px;
}

.controls-info h3 {
  font-size: 28px;
  margin-bottom: 30px;
  color: var(--accent);
}

.control-item {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}

.keys {
  display: flex;
  gap: 5px;
}

.key {
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  padding: 10px 15px;
  font-family: monospace;
  font-size: 16px;
  min-width: 45px;
  text-align: center;
}

.key.wide {
  min-width: 80px;
}

.control-desc {
  color: var(--text-muted);
  font-size: 16px;
}

/* About Section */
.about-section {
  padding: 100px 20px;
  background: var(--bg-dark);
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-bottom: 60px;
}

.about-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 40px 30px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.about-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.card-icon {
  font-size: 60px;
  margin-bottom: 20px;
}

.about-card h3 {
  font-size: 22px;
  margin-bottom: 15px;
  color: var(--accent);
}

.about-card p {
  color: var(--text-muted);
  line-height: 1.6;
}

.about-story {
  background: linear-gradient(135deg, rgba(255, 68, 68, 0.1) 0%, rgba(76, 175, 80, 0.1) 100%);
  border-radius: 20px;
  padding: 50px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.about-story h3 {
  font-size: 32px;
  margin-bottom: 20px;
}

.about-story p {
  font-size: 18px;
  line-height: 1.8;
  color: var(--text-muted);
  max-width: 800px;
  margin: 0 auto;
}

/* Buy Section */
.buy-section {
  padding: 100px 20px;
  background: var(--bg-darker);
}

.buy-content {
  max-width: 800px;
  margin: 0 auto;
}

.token-info {
  text-align: center;
  margin-bottom: 40px;
}

.token-logo {
  font-size: 100px;
  margin-bottom: 20px;
  animation: bounce 2s infinite;
}

.token-info h3 {
  font-size: 36px;
  color: var(--accent);
  margin-bottom: 10px;
}

.token-info p {
  color: var(--text-muted);
  font-size: 18px;
}

.ca-box {
  background: rgba(0, 0, 0, 0.5);
  border-radius: 15px;
  padding: 30px;
  margin-bottom: 50px;
  border: 2px solid var(--primary);
}

.ca-label {
  display: block;
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.ca-value {
  display: flex;
  align-items: center;
  gap: 15px;
  background: rgba(255, 255, 255, 0.05);
  padding: 15px 20px;
  border-radius: 10px;
  margin-bottom: 15px;
}

.ca-value code {
  flex: 1;
  font-family: monospace;
  font-size: 14px;
  word-break: break-all;
  color: var(--accent);
}

.copy-btn {
  background: var(--primary);
  border: none;
  padding: 10px;
  border-radius: 8px;
  cursor: pointer;
  color: var(--text);
  transition: background 0.3s;
}

.copy-btn:hover {
  background: var(--primary-dark);
}

.ca-note {
  display: block;
  color: var(--primary);
  font-size: 13px;
}

.btn-pumpfun {
  display: inline-flex;
  background: linear-gradient(135deg, #00D18C 0%, #00A86B 100%);
  color: var(--text);
  font-size: 20px;
  padding: 18px 50px;
  margin: 30px 0;
  box-shadow: 0 10px 30px rgba(0, 209, 140, 0.3);
}

.btn-pumpfun:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(0, 209, 140, 0.4);
}

.buy-steps h3 {
  font-size: 28px;
  margin-bottom: 30px;
  text-align: center;
  color: var(--accent);
}

.step {
  display: flex;
  gap: 20px;
  margin-bottom: 25px;
  align-items: flex-start;
}

.step-number {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  flex-shrink: 0;
}

.step-content h4 {
  font-size: 20px;
  margin-bottom: 5px;
}

.step-content p {
  color: var(--text-muted);
}

/* Footer */
.footer {
  background: var(--bg-dark);
  padding: 50px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Fredoka One', cursive;
  font-size: 28px;
  margin-bottom: 30px;
}

.footer-socials {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 30px;
}

.footer-socials .social-link {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  padding: 12px 25px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50px;
  transition: all 0.3s;
}

.footer-socials .social-link:hover {
  background: var(--primary);
  transform: translateY(-3px);
}

.footer-tagline {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 20px;
}

.footer-copy {
  color: var(--text-muted);
  font-size: 14px;
}

/* About Subsections */
.about-subsection {
  margin-bottom: 60px;
}

.subsection-title {
  font-size: 28px;
  margin-bottom: 15px;
  color: var(--accent);
  text-align: center;
}

.subsection-desc {
  text-align: center;
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto 30px;
  font-size: 16px;
}

.about-card.ai-card {
  border-color: rgba(138, 43, 226, 0.3);
  background: linear-gradient(135deg, rgba(138, 43, 226, 0.1), rgba(75, 0, 130, 0.05));
}

.about-card.ai-card:hover {
  border-color: rgba(138, 43, 226, 0.6);
  box-shadow: 0 20px 40px rgba(138, 43, 226, 0.2);
}

/* Mode Info Cards */
.modes-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.mode-info-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 30px;
  border: 2px solid rgba(255, 255, 255, 0.1);
}

.mode-info-card.timelimit {
  border-color: rgba(33, 150, 243, 0.3);
  background: linear-gradient(135deg, rgba(33, 150, 243, 0.1), rgba(21, 101, 192, 0.05));
}

.mode-info-card.survival {
  border-color: rgba(244, 67, 54, 0.3);
  background: linear-gradient(135deg, rgba(244, 67, 54, 0.1), rgba(198, 40, 40, 0.05));
}

.mode-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.mode-header .mode-icon {
  font-size: 40px;
}

.mode-header h4 {
  font-size: 24px;
  color: var(--text);
}

.mode-info-card ul {
  list-style: none;
  padding: 0;
}

.mode-info-card li {
  padding: 10px 0;
  color: var(--text-muted);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Leaderboard Info */
.leaderboard-info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.leaderboard-feature {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.05);
  padding: 25px;
  border-radius: 15px;
}

.lb-icon {
  font-size: 40px;
}

.leaderboard-feature h4 {
  font-size: 18px;
  color: var(--accent);
  margin-bottom: 8px;
}

.leaderboard-feature p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.5;
}

/* Roadmap Section */
.roadmap-section {
  padding: 100px 20px;
  background: linear-gradient(135deg, var(--bg-dark) 0%, #1e1e3f 100%);
}

.roadmap-intro {
  text-align: center;
  color: var(--text-muted);
  font-size: 18px;
  max-width: 600px;
  margin: -40px auto 60px;
}

.roadmap-timeline {
  max-width: 900px;
  margin: 0 auto;
}

.roadmap-phase {
  display: flex;
  gap: 30px;
  margin-bottom: 40px;
}

.phase-marker {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
}

.phase-icon {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.roadmap-phase.completed .phase-icon {
  background: rgba(76, 175, 80, 0.2);
  border-color: var(--secondary);
}

.roadmap-phase.current .phase-icon {
  background: rgba(255, 193, 7, 0.2);
  border-color: var(--accent);
  animation: pulse 2s infinite;
}

.phase-line {
  width: 2px;
  flex: 1;
  background: rgba(255, 255, 255, 0.1);
  margin-top: 10px;
}

.roadmap-phase.completed .phase-line {
  background: var(--secondary);
}

.phase-content {
  flex: 1;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.roadmap-phase.completed .phase-content {
  border-color: rgba(76, 175, 80, 0.3);
}

.roadmap-phase.current .phase-content {
  border-color: rgba(255, 193, 7, 0.3);
  background: linear-gradient(135deg, rgba(255, 193, 7, 0.05), rgba(255, 152, 0, 0.02));
}

.phase-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.phase-tag {
  background: rgba(255, 255, 255, 0.1);
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.phase-header h3 {
  font-size: 22px;
  flex: 1;
}

.phase-status {
  font-size: 12px;
  padding: 5px 15px;
  border-radius: 20px;
  text-transform: uppercase;
}

.phase-status.completed {
  background: rgba(76, 175, 80, 0.2);
  color: var(--secondary);
}

.phase-status.current {
  background: rgba(255, 193, 7, 0.2);
  color: var(--accent);
}

.phase-status.upcoming {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
}

.phase-items {
  list-style: none;
  padding: 0;
}

.phase-items li {
  padding: 8px 0;
  color: var(--text-muted);
  font-size: 15px;
}

.roadmap-cta {
  text-align: center;
  margin-top: 60px;
  padding: 50px;
  background: linear-gradient(135deg, rgba(255, 68, 68, 0.1), rgba(138, 43, 226, 0.1));
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.roadmap-cta h3 {
  font-size: 32px;
  margin-bottom: 15px;
  color: var(--accent);
}

.roadmap-cta p {
  color: var(--text-muted);
  max-width: 500px;
  margin: 0 auto 30px;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.btn-twitter {
  background: #1DA1F2;
  color: white;
}

.btn-twitter:hover {
  background: #0d8bd9;
}

/* Responsive */
@media (max-width: 992px) {
  .about-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .play-content {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 48px;
  }
  
  .nav-menu {
    display: none;
  }
  
  .hero-stats {
    flex-direction: column;
    gap: 20px;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .about-grid {
    grid-template-columns: 1fr;
  }
  
  .section-title {
    font-size: 36px;
  }
  
  .footer-socials {
    flex-direction: column;
    align-items: center;
  }
}
