/* CSS Variables for theming */
:root {
  --primary: #ff6b35;
  --primary-dark: #e55a2b;
  --secondary: #ffd700;
  --bg-dark: #0a0a0f;
  --bg-card: #1a1a2e;
  --text-primary: #ffffff;
  --text-secondary: #a0a0b0;
  --gradient-fire: linear-gradient(135deg, #ff6b35 0%, #ff8c42 50%, #ffd700 100%);
  --gradient-dark: linear-gradient(180deg, #0a0a0f 0%, #1a1a2e 100%);
  --shadow-glow: 0 0 40px rgba(255, 107, 53, 0.3);
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Fire overlay animation */
.fire-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at bottom, rgba(255, 107, 53, 0.1) 0%, transparent 70%);
  pointer-events: none;
  z-index: -1;
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(10, 10, 15, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 107, 53, 0.2);
}

nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  background: var(--gradient-fire);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s;
}

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

.btn-telegram {
  background: var(--gradient-fire);
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  color: white !important;
  font-weight: 600;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8rem 4rem 4rem;
  max-width: 1400px;
  margin: 0 auto;
  gap: 4rem;
}

.hero-content {
  flex: 1;
  max-width: 600px;
}

.scared-badge {
  display: inline-block;
  background: rgba(255, 107, 53, 0.2);
  border: 1px solid var(--primary);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

.hero h1 {
  font-size: 4rem;
  font-weight: 900;
  background: var(--gradient-fire);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
  line-height: 1.1;
}

.tagline {
  font-size: 1.5rem;
  color: var(--secondary);
  margin-bottom: 1rem;
}

.subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  margin-bottom: 3rem;
}

.btn {
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s;
  cursor: pointer;
  border: none;
  font-size: 1rem;
}

.btn-primary {
  background: var(--gradient-fire);
  color: white;
  box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 60px rgba(255, 107, 53, 0.5);
}

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

.btn-secondary:hover {
  background: var(--primary);
  color: white;
}

.btn-coming-soon {
  background: linear-gradient(135deg, #4a4a5a 0%, #6a6a7a 100%);
  cursor: not-allowed;
  opacity: 0.9;
  position: relative;
  overflow: hidden;
}

.btn-coming-soon::after {
  content: '🔥';
  position: absolute;
  right: -20px;
  animation: pulse-fire 1.5s ease-in-out infinite;
}

@keyframes pulse-fire {
  0%, 100% { opacity: 0.5; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1.2); }
}

.btn-coming-soon:hover {
  transform: none;
  box-shadow: none;
}

.stats {
  display: flex;
  gap: 3rem;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.stat-label {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.hero-image {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.rekt-image {
  max-width: 400px;
  width: 100%;
  border-radius: 20px;
  box-shadow: var(--shadow-glow);
  animation: float 3s ease-in-out infinite;
}

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

.image-caption {
  margin-top: 1rem;
  color: var(--text-secondary);
  font-style: italic;
}

/* About Section */
.about {
  padding: 6rem 4rem;
  max-width: 1200px;
  margin: 0 auto;
}

.about h2, .tokenomics h2, .community h2, .quotes h2 {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 3rem;
  background: var(--gradient-fire);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

.about-card {
  background: var(--bg-card);
  padding: 2rem;
  border-radius: 20px;
  border: 1px solid rgba(255, 107, 53, 0.2);
  transition: all 0.3s;
}

.about-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
  box-shadow: var(--shadow-glow);
}

.about-card h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--primary);
}

.about-card p {
  color: var(--text-secondary);
}

/* Tokenomics */
.tokenomics {
  padding: 6rem 4rem;
  background: var(--bg-card);
}

.tokenomics-content {
  max-width: 600px;
  margin: 0 auto;
}

.token-info {
  background: var(--bg-dark);
  border-radius: 20px;
  padding: 2rem;
  margin-bottom: 2rem;
}

.token-row {
  display: flex;
  justify-content: space-between;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.token-row:last-child {
  border-bottom: none;
}

.token-value {
  color: var(--primary);
  font-weight: 600;
}

.contract-address {
  text-align: center;
  background: var(--bg-dark);
  padding: 2rem;
  border-radius: 20px;
}

.contract-address p {
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.contract-address code {
  display: block;
  background: rgba(255, 107, 53, 0.1);
  padding: 1rem;
  border-radius: 10px;
  word-break: break-all;
  margin-bottom: 1rem;
  color: var(--secondary);
}

.copy-btn {
  background: var(--gradient-fire);
  color: white;
  border: none;
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s;
}

.copy-btn:hover {
  transform: scale(1.05);
}

/* Community */
.community {
  padding: 6rem 4rem;
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
}

.community p {
  color: var(--text-secondary);
  font-size: 1.2rem;
  margin-bottom: 3rem;
}

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

.social-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 2rem 4rem;
  background: var(--bg-card);
  border-radius: 20px;
  text-decoration: none;
  color: var(--text-primary);
  border: 1px solid rgba(255, 107, 53, 0.2);
  transition: all 0.3s;
}

.social-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
  box-shadow: var(--shadow-glow);
}

.social-icon {
  font-size: 2rem;
}

/* Quotes */
.quotes {
  padding: 6rem 4rem;
  background: var(--bg-card);
  text-align: center;
}

.quote-carousel {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  min-height: 100px;
}

.quote {
  font-size: 1.5rem;
  font-style: italic;
  color: var(--secondary);
  opacity: 0;
  position: absolute;
  width: 100%;
  transition: opacity 0.5s;
}

.quote.active {
  opacity: 1;
  position: relative;
}

/* Footer */
footer {
  padding: 3rem 4rem;
  text-align: center;
  border-top: 1px solid rgba(255, 107, 53, 0.2);
}

.footer-content p {
  margin-bottom: 0.5rem;
}

.disclaimer {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* Gallery Section */
.gallery {
  padding: 6rem 4rem;
  background: var(--bg-dark);
  text-align: center;
}

.section-subtitle {
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.gallery-filters {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
}

.filter-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-secondary);
  padding: 0.5rem 1.5rem;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s;
  font-family: inherit;
  font-weight: 600;
}

.filter-btn:hover, .filter-btn.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
  box-shadow: 0 0 15px rgba(255, 107, 53, 0.3);
}

.gallery-grid {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  padding: 1rem 4rem 2rem;
  margin: 0 -4rem;
  scrollbar-width: thin;
  scrollbar-color: var(--primary) transparent;
}

.gallery-grid::-webkit-scrollbar {
  height: 8px;
}

.gallery-grid::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
}

.gallery-grid::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 4px;
}

.gallery-grid::-webkit-scrollbar-thumb:hover {
  background: var(--primary-dark);
}

.gallery-item {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  flex: 0 0 280px;
  height: 280px;
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
}

.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  border-color: var(--primary);
}

.gallery-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
  padding: 2rem 1rem 1rem;
  transform: translateY(100%);
  transition: transform 0.3s;
  text-align: left;
}

.gallery-item:hover .gallery-overlay {
  transform: translateY(0);
}

.gallery-caption {
  color: white;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.gallery-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.media-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(0, 0, 0, 0.7);
  padding: 0.25rem 0.75rem;
  border-radius: 15px;
  font-size: 0.8rem;
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.loading-spinner {
  flex: 0 0 100%;
  padding: 3rem;
  color: var(--text-secondary);
  font-size: 1.2rem;
  text-align: center;
}

/* Responsive */
@media (max-width: 900px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding: 6rem 2rem 3rem;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .tagline {
    font-size: 1.2rem;
  }
  
  .cta-buttons {
    justify-content: center;
  }
  
  .stats {
    justify-content: center;
  }
  
  .nav-links {
    display: none;
  }
  
  .about, .tokenomics, .community, .quotes, .gallery {
    padding: 4rem 2rem;
  }

  /* Gallery mobile adjustments */
  .gallery-grid {
    padding: 1rem 2rem 2rem;
    margin: 0 -2rem;
    gap: 1rem;
  }

  .gallery-item {
    flex: 0 0 240px;
    height: 240px;
  }

  /* Show overlay on mobile (no hover) */
  .gallery-overlay {
    transform: translateY(0);
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.4) 60%, transparent 100%);
    padding: 1.5rem 0.75rem 0.75rem;
  }

  .gallery-caption {
    font-size: 0.8rem;
    -webkit-line-clamp: 1;
  }

  .gallery-meta {
    font-size: 0.7rem;
  }

  .media-badge {
    top: 0.5rem;
    right: 0.5rem;
    font-size: 0.7rem;
    padding: 0.2rem 0.5rem;
  }

  .gallery-filters {
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .filter-btn {
    padding: 0.4rem 1rem;
    font-size: 0.9rem;
  }
}
