/* Modern, bright, colorful styles with full responsive animations */
:root {
  --primary: #FF6B6B;
  --secondary: #FFD166;
  --accent: #06D6A0;
  --dark: #1D3557;
  --light: #F8F9FA;
  --text: #212529;
  --gradient: linear-gradient(135deg, #FF6B6B, #FFD166, #06D6A0);
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  --transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', 'Segoe UI', sans-serif;
  background: var(--light);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
  min-height: 100vh;
  position: relative;
}

/* Full-Screen Animated Background */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: repeating-conic-gradient(
    from 0deg,
    var(--primary) 0% 7%,
    var(--secondary) 7% 14%,
    var(--accent) 14% 21%
  );
  opacity: 0.08;
  z-index: -2;
  pointer-events: none;
  animation: rotate-bg 45s linear infinite;
  transform-origin: center;
  background-size: 300% 300%;
}

@keyframes rotate-bg {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Typography */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.8rem; }
h3 { font-size: 2rem; }
p { font-size: 1.1rem; }

/* Fixed Navbar */
header {
  background: white;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  animation: slideDown 0.6s ease-out;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 5%;
  max-width: 1400px;
  margin: 0 auto;
}

.logo {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  animation: bounce 2s infinite alternate;
}

.logo i {
  color: var(--accent);
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.8rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--dark);
  font-weight: 600;
  position: relative;
  padding: 0.5rem 0;
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--primary);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: var(--transition);
}

.nav-links a:hover::after {
  width: 100%;
}

.mobile-menu {
  display: none;
  font-size: 1.5rem;
  color: var(--dark);
  cursor: pointer;
}

.nav-links.show {
  display: flex !important;
  flex-direction: column;
  background: white;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  padding: 1rem 5%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border-radius: 0 0 12px 12px;
  animation: fadeInDown 0.4s ease;
}

/* Twitch Section */
.twitch-section {
  padding: 6rem 5% 3rem;
  max-width: 1400px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 2;
}

.twitch-embed {
  margin: 2rem 0;
}

.twitch-info {
  margin-top: 1.5rem;
}

.twitch-info p {
  margin-bottom: 1rem;
  font-size: 1.1rem;
  color: var(--light-text);
}

/* Hero Section - Adjusted for fixed header */
.hero {
  padding: 8rem 5% 6rem;
  text-align: center;
  background: var(--gradient);
  color: white;
  position: relative;
  z-index: 2;
}

.hero h1 {
  margin-bottom: 1rem;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 1s ease-out;
}

.hero .subtitle {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  opacity: 0.95;
  animation: fadeInUp 1s ease-out 0.3s both;
}

.cta-button {
  display: inline-block;
  background: white;
  color: var(--primary);
  padding: 1rem 2.2rem;
  border-radius: 50px;
  font-weight: 700;
  text-decoration: none;
  margin: 0.5rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  transition: var(--transition);
  animation: pulse 2s infinite;
  position: relative;
  overflow: hidden;
}

.cta-button:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2);
}

.cta-button.secondary {
  background: transparent;
  border: 2px solid white;
  color: white;
}

.cta-button span {
  position: relative;
  z-index: 2;
}

.cta-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  height: 100%;
  background: var(--secondary);
  transition: width 0.4s ease;
  z-index: 1;
}

.cta-button:hover::before {
  width: 100%;
}

/* Section Styling */
section {
  padding: 5rem 5%;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.section-title {
  text-align: center;
  color: var(--primary);
  margin-bottom: 2.5rem;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: var(--accent);
  margin: 1rem auto;
  border-radius: 2px;
  animation: growLine 1s ease-out;
}

/* About Section */
.about-content {
  display: flex;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.about-text {
  flex: 1;
  min-width: 300px;
}

.about-text p {
  margin-bottom: 1.3rem;
  font-size: 1.15rem;
}

.about-image {
  flex: 1;
  min-width: 280px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transform: rotate(-3deg);
  transition: transform 0.5s ease;
  animation: float 6s ease-in-out infinite;
}

.about-image:hover {
  transform: rotate(0deg);
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

.about-image img:hover {
  transform: scale(1.05);
}

/* Tokenomics */
.token-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.8rem;
  margin-top: 2.5rem;
}

.token-item {
  background: white;
  padding: 2rem 1.5rem;
  border-radius: 12px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border-top: 4px solid var(--primary);
}

.token-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
}

.token-item i {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 0.8rem;
}

.token-item h3 {
  font-size: 2.4rem;
  color: var(--dark);
  margin: 0.8rem 0;
}

/* Countdown */
.countdown-timer {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  margin: 1.8rem 0;
  flex-wrap: wrap;
}

.countdown-item {
  background: white;
  color: var(--primary);
  padding: 1.2rem;
  min-width: 80px;
  border-radius: 10px;
  font-size: 1.3rem;
  font-weight: 800;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  animation: bounceNumber 2s infinite;
}

.countdown-number {
  font-size: 1.8rem;
}

/* Community */
.social-links {
  display: flex;
  justify-content: center;
  list-style: none;
  gap: 1.4rem;
  margin: 2rem 0;
  flex-wrap: wrap;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  font-size: 1.6rem;
  color: white;
  text-decoration: none;
  transition: var(--transition);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.social-links .twitter { background: #1DA1F2; }
.social-links .telegram { background: #0088cc; }
.social-links .reddit { background: #FF4500; }

.social-links a:hover {
  transform: scale(1.15) translateY(-5px);
}

/* Footer */
footer {
  background: var(--dark);
  color: white;
  padding: 3rem 5% 2rem;
  text-align: center;
  position: relative;
  z-index: 2;
}

.footer-content {
  max-width: 800px;
  margin: 0 auto;
}

.footer-logo {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 1rem;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 1.8rem;
  list-style: none;
  margin: 1.8rem 0;
  flex-wrap: wrap;
}

.footer-links a {
  color: white;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--accent);
}

.disclaimer {
  font-size: 0.85rem;
  opacity: 0.7;
  margin-top: 1.8rem;
  line-height: 1.5;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
  }
  to {
    transform: translateY(0);
  }
}

@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 107, 107, 0.6);
  }
  70% {
    box-shadow: 0 0 0 12px rgba(255, 107, 107, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 107, 107, 0);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0) rotate(-3deg);
  }
  50% {
    transform: translateY(-10px) rotate(-2deg);
  }
}

@keyframes growLine {
  from {
    width: 0;
  }
  to {
    width: 80px;
  }
}

@keyframes bounceNumber {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

/* Responsive */
@media (max-width: 768px) {
  h1 { font-size: 2.8rem; }
  h2 { font-size: 2.2rem; }

  header {
    padding: 1rem 5%;
  }

  .hero, .twitch-section, section {
    padding: 5rem 5% 4rem;
  }

  .nav-links {
    display: none;
  }

  .mobile-menu {
    display: block;
  }

  .about-content, .countdown-timer {
    flex-direction: column;
    gap: 1.5rem;
  }

  .token-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .countdown-item {
    min-width: 70px;
    padding: 1rem;
  }
}