/* CSS Custom Properties */
:root {
  /* Colors */
  --primary-blue: #1E90FF;
  --primary-purple: #8A2BE2;
  --white: #FFFFFF;
  --dark: #1a1a1a;
  --gray: #666666;
  --light-gray: #f8f9fa;
  --gradient-primary: linear-gradient(135deg, var(--primary-blue), var(--primary-purple));
  --gradient-secondary: linear-gradient(45deg, rgba(30, 144, 255, 0.1), rgba(138, 43, 226, 0.1));
  
  /* Typography */
  --font-primary: 'Montserrat', sans-serif;
  --font-secondary: 'Roboto', sans-serif;
  
  /* Sizes */
  --header-height: 80px;
  --container-max-width: 1200px;
  --border-radius: 12px;
  --border-radius-large: 20px;
  
  /* Shadows */
  --shadow-light: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-medium: 0 8px 25px rgba(0, 0, 0, 0.15);
  --shadow-heavy: 0 15px 35px rgba(0, 0, 0, 0.2);
  
  /* Transitions */
  --transition-fast: 0.3s ease;
  --transition-medium: 0.5s ease;
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-secondary);
  font-size: 16px;
  line-height: 1.6;
  color: var(--dark);
  background: var(--white);
  overflow-x: hidden;
}

/* Utility Classes */
.container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 1rem;
}

.section {
  padding: 5rem 0;
}

.section__header {
  text-align: center;
  margin-bottom: 3rem;
}

.section__title {
  font-family: var(--font-primary);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 1rem;
}

.section__subtitle {
  font-size: 1.2rem;
  color: var(--gray);
  max-width: 600px;
  margin: 0 auto;
}

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

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  background: var(--gradient-primary);
  color: var(--white);
  text-decoration: none;
  border-radius: var(--border-radius);
  font-weight: 600;
  font-size: 1.1rem;
  box-shadow: var(--shadow-medium);
  transition: all var(--transition-fast);
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-heavy);
}

/* Header Styles */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-light);
  z-index: 1000;
  transition: all var(--transition-fast);
}

.nav {
  height: var(--header-height);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--dark);
}

.brand-logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
  filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.1));
}

.brand-text {
  font-family: var(--font-primary);
  font-size: 1.5rem;
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav__list {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav__link {
  color: var(--dark);
  text-decoration: none;
  font-weight: 500;
  transition: color var(--transition-fast);
  position: relative;
}

.nav__link:hover {
  color: var(--primary-blue);
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: width var(--transition-fast);
}

.nav__link:hover::after {
  width: 100%;
}

.nav__toggle,
.nav__close {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--dark);
}

.header__tagline {
  text-align: center;
  padding: 0.5rem 0;
  background: var(--gradient-primary);
  color: var(--white);
  font-weight: 500;
  font-size: 0.9rem;
}

/* Hero Section */
.hero {
  padding-top: calc(var(--header-height) + 2rem);
  min-height: 100vh;
  background: var(--gradient-secondary);
  position: relative;
  overflow: hidden;
}

.hero__container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 3rem;
  min-height: calc(100vh - var(--header-height) - 2rem);
}

.hero__title {
  font-family: var(--font-primary);
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: var(--dark);
}

.hero__subtitle {
  font-size: 1.3rem;
  color: var(--gray);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.hero__cta {
  font-size: 1.2rem;
  padding: 1.2rem 2.5rem;
}

.hero__visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-logo {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-logo-img {
  width: 300px;
  height: 300px;
  object-fit: contain;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.1));
  animation: float 3s ease-in-out infinite;
}

.floating-elements {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.floating-brain {
  position: absolute;
  font-size: 2rem;
  opacity: 0.3;
  animation: floatAround 10s linear infinite;
}

.brain-1 {
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.brain-2 {
  top: 60%;
  right: 15%;
  animation-delay: -3s;
}

.brain-3 {
  top: 40%;
  left: 80%;
  animation-delay: -6s;
}

/* About Section */
.about {
  background: var(--white);
}

.about__container {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about__text {
  font-size: 1.2rem;
  color: var(--gray);
  margin-bottom: 3rem;
  line-height: 1.8;
}

.about__features {
  display: grid;
  gap: 2rem;
}

.feature {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.feature i {
  font-size: 2rem;
  color: var(--primary-blue);
  margin-top: 0.5rem;
}

.feature h3 {
  font-family: var(--font-primary);
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--dark);
}

.feature p {
  color: var(--gray);
  line-height: 1.6;
}

.mascot-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-logo {
  width: 250px;
  height: 250px;
  object-fit: contain;
  animation: float 4s ease-in-out infinite;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.1));
}

/* Tokenomics Section */
.tokenomics {
  background: var(--light-gray);
}

.tokenomics__container {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  align-items: start;
}

.token__details {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--border-radius-large);
  box-shadow: var(--shadow-light);
  margin-bottom: 2rem;
}

.detail {
  display: flex;
  justify-content: space-between;
  padding: 1rem 0;
  border-bottom: 1px solid #eee;
}

.detail:last-child {
  border-bottom: none;
}

.detail__label {
  font-weight: 600;
  color: var(--dark);
}

.detail__value {
  color: var(--primary-blue);
  font-weight: 500;
}

.security__note {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: linear-gradient(135deg, rgba(30, 144, 255, 0.1), rgba(138, 43, 226, 0.1));
  padding: 1.5rem;
  border-radius: var(--border-radius);
  border: 2px solid rgba(30, 144, 255, 0.2);
}

.security__note i {
  font-size: 1.5rem;
  color: var(--primary-blue);
}

.allocation__chart {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--border-radius-large);
  box-shadow: var(--shadow-light);
}

.allocation__item {
  margin-bottom: 1.5rem;
}

.allocation__bar {
  height: 40px;
  border-radius: var(--border-radius);
  position: relative;
  overflow: hidden;
  background: #f0f0f0;
  margin-bottom: 0.5rem;
}

.allocation__bar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  border-radius: var(--border-radius);
  animation: fillBar 2s ease-out forwards;
  animation-delay: 0.5s;
  width: 0;
}

.community::before {
  background: var(--primary-blue);
  width: 50%;
}

.liquidity::before {
  background: var(--primary-purple);
  width: 20%;
}

.development::before {
  background: linear-gradient(45deg, var(--primary-blue), var(--primary-purple));
  width: 15%;
}

.team::before {
  background: #ff6b6b;
  width: 10%;
}

.marketing::before {
  background: #4ecdc4;
  width: 5%;
}

.allocation__label {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.percentage {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--dark);
}

.category {
  color: var(--gray);
}

/* Roadmap Section */
.roadmap {
  background: var(--white);
}

.timeline {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--gradient-primary);
  transform: translateX(-50%);
}

.timeline__item {
  display: flex;
  align-items: center;
  margin-bottom: 4rem;
  position: relative;
}

.timeline__item:nth-child(odd) {
  flex-direction: row-reverse;
}

.timeline__item:nth-child(odd) .timeline__content {
  text-align: right;
  padding-right: 3rem;
}

.timeline__item:nth-child(even) .timeline__content {
  text-align: left;
  padding-left: 3rem;
}

.timeline__icon {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 80px;
  background: var(--white);
  border: 4px solid var(--primary-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  z-index: 2;
  box-shadow: var(--shadow-medium);
}

.timeline__content {
  flex: 1;
  background: var(--white);
  padding: 2rem;
  border-radius: var(--border-radius-large);
  box-shadow: var(--shadow-light);
  border: 2px solid transparent;
  transition: all var(--transition-fast);
}

.timeline__content:hover {
  border-color: var(--primary-blue);
  transform: translateY(-5px);
  box-shadow: var(--shadow-medium);
}

.timeline__date {
  font-weight: 700;
  color: var(--primary-purple);
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.timeline__title {
  font-family: var(--font-primary);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 1rem;
}

.timeline__description {
  color: var(--gray);
  line-height: 1.6;
}

/* Meme Gallery Section */
.meme-gallery {
  background: var(--light-gray);
}

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

.meme__card {
  background: var(--white);
  border-radius: var(--border-radius-large);
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow-light);
  transition: all var(--transition-fast);
}

.meme__card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-medium);
}

.meme__brain {
  font-size: 3rem;
  margin-bottom: 1rem;
  animation: bounce 2s infinite;
}

.meme__text {
  font-weight: 600;
  color: var(--dark);
  font-size: 1.1rem;
}

.gallery__cta {
  text-align: center;
  font-size: 1.2rem;
  color: var(--gray);
  font-style: italic;
}

/* Community Section */
.community {
  background: var(--white);
}

.community__container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.social__links {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.social__link {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-light);
  text-decoration: none;
  color: var(--dark);
  transition: all var(--transition-fast);
  border: 2px solid transparent;
}

.social__link:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-medium);
  border-color: var(--primary-blue);
}

.social__link i {
  font-size: 2rem;
  width: 50px;
  text-align: center;
}

.social__link.twitter i {
  color: #1DA1F2;
}

.social__link.discord i {
  color: #7289DA;
}

.social__link.email i {
  color: var(--primary-purple);
}

.social__name {
  font-weight: 600;
  font-size: 1.1rem;
  display: block;
}

.social__handle {
  color: var(--gray);
  font-size: 0.9rem;
}

.twitter__feed {
  background: var(--white);
  border-radius: var(--border-radius-large);
  padding: 2rem;
  box-shadow: var(--shadow-light);
}

.tweet__card {
  border: 1px solid #e1e8ed;
  border-radius: var(--border-radius);
  padding: 1.5rem;
}

.tweet__header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.tweet__avatar {
  font-size: 2rem;
}

.tweet__name {
  font-weight: 600;
  color: var(--dark);
  display: block;
}

.tweet__handle {
  color: var(--gray);
  font-size: 0.9rem;
}

.tweet__content p {
  line-height: 1.6;
  margin-bottom: 1rem;
  color: var(--dark);
}

.tweet__hashtags {
  color: var(--primary-blue);
  font-weight: 500;
}

/* Footer */
.footer {
  background: var(--dark);
  color: var(--white);
  padding: 3rem 0 1rem;
}

.footer__content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer__brand .nav__brand {
  color: var(--white);
  margin-bottom: 1rem;
}

.footer__tagline {
  color: rgba(255, 255, 255, 0.7);
  font-style: italic;
}

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

.footer__section h4 {
  font-family: var(--font-primary);
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--white);
}

.footer__section p,
.footer__section a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer__section a:hover {
  color: var(--primary-blue);
}

.footer__bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.5);
}

/* Animations */
@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

@keyframes floatAround {
  0% {
    transform: translateY(0) rotate(0deg);
  }
  25% {
    transform: translateY(-20px) rotate(90deg);
  }
  50% {
    transform: translateY(0) rotate(180deg);
  }
  75% {
    transform: translateY(20px) rotate(270deg);
  }
  100% {
    transform: translateY(0) rotate(360deg);
  }
}

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

@keyframes fillBar {
  from {
    width: 0;
  }
  to {
    width: var(--bar-width);
  }
}

.community::before {
  --bar-width: 50%;
}

.liquidity::before {
  --bar-width: 20%;
}

.development::before {
  --bar-width: 15%;
}

.team::before {
  --bar-width: 10%;
}

.marketing::before {
  --bar-width: 5%;
}

/* Fade-in Animation */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Design */
@media screen and (max-width: 1024px) {
  .hero__container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }
  
  .about__container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .tokenomics__container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .community__container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer__content {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

@media screen and (max-width: 768px) {
  .nav__menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background: var(--white);
    box-shadow: var(--shadow-heavy);
    transition: right var(--transition-medium);
    padding: 2rem;
    z-index: 1001;
  }
  
  .nav__menu.active {
    right: 0;
  }
  
  .nav__list {
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 3rem;
  }
  
  .nav__close {
    display: block;
    position: absolute;
    top: 1rem;
    right: 1rem;
  }
  
  .nav__toggle {
    display: block;
  }
  
  .brand-logo {
    width: 35px;
    height: 35px;
  }
  
  .hero-logo-img {
    width: 200px;
    height: 200px;
  }
  
  .about-logo {
    width: 180px;
    height: 180px;
  }
  
  .hero__title {
    font-size: 2.5rem;
  }
  
  .section__title {
    font-size: 2rem;
  }
  
  .brain-mascot {
    font-size: 6rem;
  }
  
  .brain-mascot-large {
    font-size: 8rem;
  }
  
  .timeline::before {
    left: 30px;
  }
  
  .timeline__item {
    flex-direction: row !important;
    padding-left: 70px;
  }
  
  .timeline__content {
    text-align: left !important;
    padding: 1.5rem !important;
  }
  
  .timeline__icon {
    left: 30px !important;
    transform: translateX(-50%);
  }
  
  .gallery__grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
}

@media screen and (max-width: 480px) {
  .container {
    padding: 0 0.5rem;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  .hero__title {
    font-size: 2rem;
  }
  
  .brain-mascot {
    font-size: 4rem;
  }
  
  .brain-mascot-large {
    font-size: 6rem;
  }
  
  .timeline__item {
    padding-left: 50px;
  }
  
  .timeline__icon {
    left: 20px !important;
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }
  
  .timeline::before {
    left: 20px;
  }
}
