/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Comic Sans MS", "Arial Black", sans-serif;
  line-height: 1.4;
  color: #333;
  overflow-x: hidden;
  background: #333;
}

/* Fix container alignment throughout */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Loading Screen Styles */
#loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 20% 80%, rgba(255, 165, 0, 0.15) 0%, transparent 50%), /* Orange glow 1 */
    radial-gradient(circle at 80% 20%, rgba(255, 165, 0, 0.15) 0%, transparent 50%), /* Orange glow 2 */
    linear-gradient(135deg, #1a1a2e 0%, #0f0f1a 100%); /* Darker, mysterious background */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease-out;
  overflow: hidden;
  /* Add subtle star-like particles */
  background-image: radial-gradient(2px 2px at 20px 30px, rgba(255, 255, 255, 0.1), transparent),
    radial-gradient(2px 2px at 40px 70px, rgba(255, 255, 255, 0.08), transparent),
    radial-gradient(1px 1px at 90px 40px, rgba(255, 255, 255, 0.15), transparent),
    radial-gradient(1px 1px at 130px 80px, rgba(255, 255, 255, 0.1), transparent),
    radial-gradient(2px 2px at 160px 30px, rgba(255, 255, 255, 0.08), transparent);
  background-repeat: repeat;
  background-size: 200px 100px;
  animation: sparkle 8s linear infinite, background-pulse 10s ease-in-out infinite alternate;
}

/* Remove old loading elements */
.ocean,
.shiba-boat {
  display: none;
}

/* Loading Content Container */
.loading-content {
  
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 1000px; /* Increased max-width for side-by-side layout */
  width: 100%;
  padding: 20px;
  text-align: center;
}

/* New styles for narrative slide container */
.narrative-slide {
  display: flex;
  align-items: center; /* Vertically center items */
  justify-content: center; /* Horizontally center the flex container itself */
  width: 100%;
  min-height: 300px; /* Ensure enough space for content */
  gap: 40px; /* Space between image and text */
  padding: 20px;
  box-sizing: border-box;
  position: relative; /* For animations */
  flex-direction: column; /* Default to stacked layout */
}

.narrative-slide.layout-horizontal {
  flex-direction: row; /* 50/50 layout */
}

.narrative-slide.layout-left .narrative-image-container {
  order: 1;
}

.narrative-slide.layout-left .loading-text {
  order: 2;
  text-align: left;
}

.narrative-slide.layout-right .narrative-image-container {
  order: 2;
}

.narrative-slide.layout-right .loading-text {
  order: 1;
  text-align: right;
}

/* Narrative Image Container adjustments for flex context */
.narrative-image-container {
  flex-shrink: 0; /* Prevent shrinking */
  width: 280px; /* Fixed width to hold image + padding/border */
  height: 280px; /* Fixed height */
  display: flex; /* Use flex to center image within it */
  align-items: center;
  justify-content: center;
  position: relative; /* For absolute positioning of images */
  overflow: hidden; /* Hide overflow during animations */
  margin-bottom: 0; /* Remove old margin */
  min-height: unset; /* Remove old min-height */
  /* Removed border and box-shadow from here as per user request */
}

/* Narrative Image Styles */
.narrative-image {
  width: 100%; /* Make image fill its container */
  height: 100%; /* Make image fill its container */
  
  object-fit: cover;
  opacity: 0; /* Initially hidden */
  transition: none; /* Remove old transition, animations will handle it */
  position: absolute; /* To layer them and only show one at a time */
  /* Removed border-radius, border, and box-shadow as per user request */
  /* Removed transform: translateX(-50%) as parent container handles centering */
}

/* Enhanced Loading Text */
.loading-text {
  text-align: center;
  color: white;
  position: relative;
  z-index: 11;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 150px;
  flex-grow: 1; /* Allow text to take remaining space */
  padding: 0 20px; /* Add some padding */
  transition: none; /* Remove old transition, animations will handle it */
}

.loading-text h2 {
  font-size: 28px;
  margin-bottom: 20px;
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.5);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 2px;
  animation: text-glow 2s ease-in-out infinite alternate;
  transition: none; /* Remove old transition, animations will handle it */
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  opacity: 0; /* Start hidden for animation */
}

@keyframes text-glow {
  0% {
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 255, 255, 0.3);
  }
  100% {
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.5), 0 0 30px rgba(255, 255, 255, 0.6);
  }
}

/* Remove loading dots */
.loading-dots {
  display: none;
}

@keyframes sparkle {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-100px);
  }
}

/* Animation Keyframes */
@keyframes slideInLeft {
  from {
    transform: translateX(-100px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideInRight {
  from {
    transform: translateX(100px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideOutLeft {
  from {
    transform: translateX(0);
    opacity: 1;
  }
  to {
    transform: translateX(-100px);
    opacity: 0;
  }
}

@keyframes slideOutRight {
  from {
    transform: translateX(0);
    opacity: 1;
  }
  to {
    transform: translateX(100px);
    opacity: 0;
  }
}

@keyframes fadeOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

/* Animation Classes */
.animate-in-left {
  animation: slideInLeft 0.6s ease-out forwards;
}
.animate-in-right {
  animation: slideInRight 0.6s ease-out forwards;
}
.animate-in-fade {
  animation: fadeIn 0.6s ease-out forwards;
}

.animate-out-left {
  animation: slideOutLeft 0.6s ease-in forwards;
}
.animate-out-right {
  animation: slideOutRight 0.6s ease-in forwards;
}
.animate-out-fade {
  animation: fadeOut 0.6s ease-in forwards;
}

/* Enter Button Styles */
.enter-button {
  background: linear-gradient(45deg, #ffffff 0%, #f0f0f0 100%);
  border: 4px solid #333;
  border-radius: 25px;
  padding: 20px 40px;
  font-size: 20px;
  font-weight: 900;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 15px;
  transition: all 0.3s ease, opacity 0.5s ease-in-out;
  box-shadow: 6px 6px 0px #333, 0 0 20px rgba(0, 0, 0, 0.3);
  margin-top: 2rem;
  text-transform: uppercase;
  font-family: "Comic Sans MS", sans-serif;
  letter-spacing: 1px;
  position: relative;
  overflow: hidden;
  color: #333; /* Ensure text color is visible */
}

.enter-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 165, 0, 0.3), transparent);
  transition: left 0.5s;
}

.enter-button:hover::before {
  left: 100%;
}

.enter-button:hover {
  transform: translate(-3px, -3px);
  box-shadow: 9px 9px 0px #333, 0 0 30px rgba(255, 165, 0, 0.5);
  background: linear-gradient(45deg, #ffa500 0%, #ff8c00 100%);
  color: #333;
}

.enter-button .arrow {
  font-size: 24px;
  transition: transform 0.3s ease;
}

.enter-button:hover .arrow {
  transform: translateX(5px);
}

/* Main Content Styles */
#main-content {
  transition: opacity 0.5s ease-in;
}

/* Header Styles */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: transparent;
  backdrop-filter: none;
  z-index: 1000;
  transition: all 0.3s ease;
  padding: 0;
}

.header.scrolled {
  background: rgba(42, 42, 42, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
  transition: all 0.3s ease;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 15px;
  z-index: 1001;
}

.logo {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 3px solid #fff;
  transition: all 0.3s ease;
}

.header.scrolled .logo {
  border-color: #ffa500;
}

.brand-text {
  font-size: 24px;
  font-weight: 900;
  color: #ff0000;
  text-shadow: 2px 2px 0px #fff, -2px -2px 0px #fff, 2px -2px 0px #fff, -2px 2px 0px #fff;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.header.scrolled .brand-text {
  color: #ffa500;
  text-shadow: 2px 2px 0px #333, -2px -2px 0px #333, 2px -2px 0px #333, -2px 2px 0px #333;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2.5rem;
  margin: 0;
  padding: 0;
}

.nav-menu li {
  position: relative;
}

.nav-menu a {
  text-decoration: none;
  color: #ffa500;
  font-weight: 900;
  font-size: 18px;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 8px 16px;
  border-radius: 8px;
  position: relative;
  text-shadow: 2px 2px 0px #333, -2px -2px 0px #333, 2px -2px 0px #333, -2px 2px 0px #333;
}

.nav-menu a:hover {
  color: #ff0000;
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.header.scrolled .nav-menu a {
  color: #ffa500;
  text-shadow: none;
}

.header.scrolled .nav-menu a:hover {
  color: #fff;
  background: rgba(255, 165, 0, 0.2);
}

.social-icons {
  display: flex;
  gap: 15px;
  align-items: center;
}

.social-icon {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.9);
  border: 2px solid #333;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 2px 2px 0px #333;
}

.social-icon:hover {
  transform: translate(-2px, -2px);
  box-shadow: 4px 4px 0px #333;
}

.header.scrolled .social-icon {
  background: rgba(255, 165, 0, 0.9);
  border-color: #ffa500;
  box-shadow: 2px 2px 0px #ffa500;
}

.header.scrolled .social-icon:hover {
  box-shadow: 4px 4px 0px #ffa500;
}

.social-logo {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.telegram-icon {
  background: rgba(0, 0, 0, 0.9);
}

.twitter-icon {
  background: rgba(0, 0, 0, 0.9);
}

.header.scrolled .telegram-icon {
  background: rgba(0, 0, 0, 0.9);
}

.header.scrolled .twitter-icon {
  background: rgba(0, 0, 0, 0.9);
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  z-index: 1001;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: #ffa500;
  margin: 3px 0;
  transition: all 0.3s ease;
  border-radius: 2px;
  box-shadow: 1px 1px 0px #333;
}

.header.scrolled .hamburger span {
  background: #ffa500;
  box-shadow: 1px 1px 0px #000;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(45deg) translate(-5px, -6px);
}

/* Responsive Design for Header */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    left: -100%;
    top: 80px;
    flex-direction: column;
    background: rgba(42, 42, 42, 0.95);
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 10px 27px rgba(0, 0, 0, 0.3);
    padding: 2rem 0;
    backdrop-filter: blur(10px);
    gap: 1rem;
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-menu a {
    color: #ffa500;
    text-shadow: none;
    padding: 12px 20px;
    display: block;
    border-radius: 8px;
    margin: 0 20px;
  }

  .nav-menu a:hover {
    background: rgba(255, 165, 0, 0.2);
    color: #fff;
  }

  .social-icons {
    gap: 10px;
  }

  .social-icon {
    width: 35px;
    height: 35px;
  }

  .social-logo {
    width: 20px;
    height: 20px;
  }

  .navbar {
    padding: 1rem;
  }

  .brand-text {
    font-size: 20px;
  }

  /* Loading screen responsive */
  .narrative-slide {
    flex-direction: column !important; /* Force column on small screens */
    gap: 20px;
    min-height: auto;
  }
  .narrative-slide.layout-left .narrative-image-container,
  .narrative-slide.layout-right .narrative-image-container {
    order: unset; /* Reset order */
    justify-content: center; /* Center image */
  }
  .narrative-slide.layout-left .loading-text,
  .narrative-slide.layout-right .loading-text {
    order: unset; /* Reset order */
    text-align: center; /* Center text */
  }
.narrative-image-container {
  width: 400px;
  height: 400px;
}

.narrative-image {
  width: 100%;
  height: 100%;
  object-fit: contain; /* hoặc thử cover nếu muốn hình đầy */
}

  .loading-text h2 {
    font-size: 24px;
  }
}

@media (max-width: 480px) {
  .navbar {
    padding: 0.8rem;
  }

  .brand-text {
    font-size: 18px;
  }

  .logo {
    width: 40px;
    height: 40px;
  }

  .social-icon {
    width: 32px;
    height: 32px;
  }

  .social-logo {
    width: 18px;
    height: 18px;
  }

  /* Loading screen mobile */
  .narrative-image-container {
    width: 150px;
    height: 150px;
  }
  .narrative-image {
    max-width: 130px;
    max-height: 130px;
  }

  .loading-text h2 {
    font-size: 20px;
    min-height: 60px;
  }

  .enter-button {
    padding: 15px 30px;
    font-size: 16px;
  }
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding-top: 80px;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.banner-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Updated hero content - single column, centered */
.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 1;
  gap: 2rem;
}

/* Remove hero character section */
.hero-character {
  display: none;
}

.hero-text {
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  max-width: 100%;
  margin: 0 auto;
}

.hero-title {
  margin-bottom: 2rem;
  position: relative;
}

/* Updated title styling for better visibility on banner */
.title-main {
  display: block;
  font-size: 5rem;
  font-weight: 900;
  color: #ffffff;
  text-shadow:
    4px 4px 0px #ff0000, -4px -4px 0px #ff0000, 4px -4px 0px #ff0000, -4px 4px 0px #ff0000,
    0px 4px 0px #ff0000, 4px 0px 0px #ff0000, 0px -4px 0px #ff0000, -4px 0px 0px #ff0000,
    0 0 20px rgba(255, 0, 0, 0.8), 0 0 40px rgba(255, 0, 0, 0.6);
  letter-spacing: 3px;
  position: relative;
  margin-bottom: 0.5rem;
  animation: title-glow 3s ease-in-out infinite alternate;
}

@keyframes title-glow {
  0% {
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 255, 255, 0.3);
  }
  100% {
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.5), 0 0 30px rgba(255, 255, 255, 0.6);
  }
}

.title-main::before,
.title-main::after {
  content: "🚀";
  position: absolute;
  font-size: 2.5rem;
  color: #ffa500;
  text-shadow: 2px 2px 0px #333, 0 0 15px rgba(255, 165, 0, 0.8);
  animation: rocket-float 4s ease-in-out infinite;
}

.title-main::before {
  top: -20px;
  left: -50px;
  transform: rotate(-15deg);
  animation-delay: 0s;
}

.title-main::after {
  top: -20px;
  right: -50px;
  transform: rotate(15deg);
  animation-delay: -2s;
}

@keyframes rocket-float {
  0%,
  100% {
    transform: translateY(0px) rotate(-15deg);
  }
  50% {
    transform: translateY(-10px) rotate(-15deg);
  }
}

.title-sub {
  display: block;
  font-size: 4rem;
  font-weight: 900;
  color: #ffa500;
  text-shadow:
    4px 4px 0px #333, -4px -4px 0px #333, 4px -4px 0px #333, -4px 4px 0px #333,
    0px 4px 0px #333, 4px 0px 0px #333, 0px -4px 0px #333, -4px 0px 0px #333,
    0 0 20px rgba(255, 165, 0, 0.8), 0 0 40px rgba(255, 165, 0, 0.6);
  position: relative;
  letter-spacing: 2px;
  animation: sub-glow 3s ease-in-out infinite alternate;
  animation-delay: 1s;
}

@keyframes sub-glow {
  0% {
    text-shadow:
      4px 4px 0px #333, -4px -4px 0px #333, 4px -4px 0px #333, -4px 4px 0px #333,
      0px 4px 0px #333, 4px 0px 0px #333, 0px -4px 0px #333, -4px 0px 0px #333,
      0 0 20px rgba(255, 165, 0, 0.8), 0 0 40px rgba(255, 165, 0, 0.6);
  }
  100% {
    text-shadow:
      4px 4px 0px #333, -4px -4px 0px #333, 4px -4px 0px #333, -4px 4px 0px #333,
      0px 4px 0px #333, 4px 0px 0px #333, 0px -4px 0px #333, -4px 0px 0px #333,
      0 0 30px rgba(255, 165, 0, 1), 0 0 60px rgba(255, 165, 0, 0.8);
  }
}

.title-sub::before,
.title-sub::after {
  content: "🌙";
  position: absolute;
  font-size: 2rem;
  color: #fff;
  text-shadow: 2px 2px 0px #333, 0 0 15px rgba(255, 255, 255, 0.8);
  animation: moon-float 5s ease-in-out infinite;
}

.title-sub::before {
  top: 50%;
  left: -40px;
  transform: translateY(-50%) rotate(-20deg);
  animation-delay: 0s;
}

.title-sub::after {
  top: 50%;
  right: -40px;
  transform: translateY(-50%) rotate(20deg);
  animation-delay: -2.5s;
}

@keyframes moon-float {
  0%,
  100% {
    transform: translateY(-50%) rotate(-20deg) translateX(0px);
  }
  50% {
    transform: translateY(-60%) rotate(-20deg) translateX(5px);
  }
}

/* Enhanced CTA button */
.cta-button {
  background: linear-gradient(45deg, #ffffff 0%, #f0f0f0 100%);
  border: 4px solid #333;
  border-radius: 25px;
  padding: 20px 40px;
  font-size: 20px;
  font-weight: 900;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 15px;
  transition: all 0.3s ease;
  box-shadow: 6px 6px 0px #333, 0 0 20px rgba(0, 0, 0, 0.3);
  margin-top: 2rem;
  text-transform: uppercase;
  font-family: "Comic Sans MS", sans-serif;
  letter-spacing: 1px;
  position: relative;
  overflow: hidden;
  color: #333; /* Ensure text color is visible */
}

.cta-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 165, 0, 0.3), transparent);
  transition: left 0.5s;
}

.cta-button:hover::before {
  left: 100%;
}

.cta-button:hover {
  transform: translate(-3px, -3px);
  box-shadow: 9px 9px 0px #333, 0 0 30px rgba(255, 165, 0, 0.5);
  background: linear-gradient(45deg, #ffa500 0%, #ff8c00 100%);
  color: #333;
}

.cta-button .arrow {
  font-size: 24px;
  transition: transform 0.3s ease;
}

.cta-button:hover .arrow {
  transform: translateX(5px);
}

/* Add floating coins animation */
.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(circle at 10% 20%, rgba(255, 165, 0, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(255, 165, 0, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(255, 165, 0, 0.1) 0%, transparent 50%);
  animation: coins-float 10s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

@keyframes coins-float {
  0%,
  100% {
    transform: translateY(0px);
    opacity: 0.3;
  }
  50% {
    transform: translateY(-20px);
    opacity: 0.6;
  }
}

/* Tokenomics Section */
.tokenomics {
  background: #333;
  padding: 80px 0;
  position: relative;
}

.tokenomics-header {
  text-align: center;
  margin-bottom: 4rem;
}

.tokenomics-title {
  background: linear-gradient(45deg, #ffa500 0%, #ff8c00 50%, #ffa500 100%);
  color: #ff0000;
  font-size: 4rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 3px;
  padding: 20px 40px;
  border: 6px solid #333;
  border-radius: 20px;
  display: inline-block;
  text-shadow: 4px 4px 0px #fff, -4px -4px 0px #fff, 4px -4px 0px #fff, -4px 4px 0px #fff;
  box-shadow: 8px 8px 0px #000;
  position: relative;
  margin: 0 auto;
}

.tokenomics-title::before {
  content: "🚀";
  position: absolute;
  top: -15px;
  left: -20px;
  font-size: 2rem;
  transform: rotate(-15deg);
}

.tokenomics-title::after {
  content: "🚀";
  position: absolute;
  top: -15px;
  right: -20px;
  font-size: 2rem;
  transform: rotate(15deg);
}

.tokenomics-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 2rem;
}

.tokenomics-card {
  background: linear-gradient(45deg, #ffa500 0%, #ff8c00 50%, #ffa500 100%);
  border: 4px solid #333;
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  box-shadow: 6px 6px 0px #000;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.tokenomics-card:hover {
  transform: translate(-3px, -3px);
  box-shadow: 9px 9px 0px #000;
}

.tokenomics-card::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, #ffb733, #ffa500, #ff8c00, #ffa500);
  border-radius: 20px;
  z-index: -1;
  animation: border-glow 3s ease-in-out infinite alternate;
}

@keyframes border-glow {
  0% {
    opacity: 0.8;
  }
  100% {
    opacity: 1;
  }
}

.tokenomics-card .card-image {
  margin-bottom: 1.5rem;
  position: relative;
}

.tokenomics-card .card-image img {
  width: 100%;
  max-width: 250px;
  height: 250px;
  object-fit: cover;
  border-radius: 15px;
  border: 4px solid #333;
  box-shadow: 4px 4px 0px #000;
  transition: all 0.3s ease;
}

.tokenomics-card:hover .card-image img {
  transform: scale(1.05);
  box-shadow: 6px 6px 0px #000;
}

.tokenomics-card h3 {
  font-size: 1.8rem;
  font-weight: 900;
  color: #333;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 0px #fff, -2px -2px 0px #fff, 2px 2px 0px #fff, -2px 2px 0px #fff;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
}

.tokenomics-card h3::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: #333;
  border-radius: 2px;
}

.tokenomics-card p {
  font-size: 14px;
  color: #333;
  font-weight: bold;
  line-height: 1.5;
  text-shadow: 1px 1px 0px rgba(255, 255, 255, 0.5);
}

/* Special styling for contract address card */
.tokenomics-card:nth-child(4) p {
  font-family: monospace;
  font-size: 13px;
  word-break: break-all;
  background: rgba(51, 51, 51, 0.1);
  padding: 10px;
  border-radius: 8px;
  border: 2px solid #333;
  margin-top: 10px;
}

/* Responsive Design for Tokenomics */
@media (max-width: 1024px) {
  .tokenomics-title {
    font-size: 3rem;
    padding: 15px 30px;
  }

  .tokenomics-grid {
    max-width: 800px;
    gap: 1.5rem;
  }

  .tokenomics-card .card-image img {
    max-width: 200px;
    height: 200px;
  }
}

@media (max-width: 768px) {
  .tokenomics-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    gap: 2rem;
  }

  .tokenomics-title {
    font-size: 2.5rem;
    padding: 12px 25px;
  }

  .tokenomics-card {
    padding: 1.5rem;
  }

  .tokenomics-card .card-image img {
    max-width: 250px;
    height: 250px;
  }

  .tokenomics-card h3 {
    font-size: 1.6rem;
  }
}

@media (max-width: 480px) {
  .tokenomics {
    padding: 60px 0;
  }

  .tokenomics-title {
    font-size: 2rem;
    padding: 10px 20px;
    letter-spacing: 1px;
  }

  .tokenomics-title::before,
  .tokenomics-title::after {
    display: none;
  }

  .tokenomics-grid {
    padding: 0 1rem;
    max-width: 100%;
  }

  .tokenomics-card {
    padding: 1.2rem;
  }

  .tokenomics-card .card-image img {
    max-width: 200px;
    height: 200px;
  }

  .tokenomics-card h3 {
    font-size: 1.4rem;
  }

  .tokenomics-card p {
    font-size: 13px;
  }
}

/* Navigation Buttons */
.nav-buttons {
  background: #2a2a2a;
  padding: 40px 0;
  border-top: 3px solid #333;
  border-bottom: 3px solid #333;
}

.nav-container {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  width: 100%;
  margin: 0;
  padding: 0 2rem;
}

.contract-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 165, 0, 0.1);
  border: 2px solid #ffa500;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 4px 15px rgba(255, 165, 0, 0.2);
  width: 100%;
}

.contract-label {
  display: inline-flex;
  flex-direction: row;
  gap: 1rem;
  align-items: center;
}

.contract-address {
  display: inline-block;
  font-family: monospace;
  font-size: 1rem;
  color: #fff;
  background: rgba(68, 68, 68, 0.8);
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid #666;
  max-width: 100%;
  width: auto;
  white-space: nowrap;
  overflow-x: auto;
}

.contract-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #ffa500;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-family: "Comic Sans MS", sans-serif;
}

.contract-address {
  white-space: nowrap;
  overflow-x: auto;
  font-family: monospace;
  font-size: 1rem;
  color: #fff;
  background: rgba(68, 68, 68, 0.8);
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid #666;
  word-break: break-all;
  max-width: none;
  width: 100%;
}

.action-buttons {
  display: flex;
  gap: 1rem;
}

.modern-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border: 2px solid;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: "Comic Sans MS", sans-serif;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
}

.modern-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.modern-btn:hover::before {
  left: 100%;
}

.modern-btn:hover {
  background: #ffa500;
  color: #333;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 165, 0, 0.4);
}

.copy-btn {
  background: #333;
  color: #ffa500;
  border-color: #ffa500;
}

.copy-btn:hover {
  background: #ffa500;
  color: #333;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 165, 0, 0.4);
}

.buy-btn {
  background: #ffa500;
  color: #333;
  border-color: #333;
}

.buy-btn:hover {
  background: #333;
  color: #ffa500;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(51, 51, 51, 0.4);
}

.utility-buttons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.utility-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: #ffa500;
  border: 2px solid #333;
  border-radius: 15px;
  color: #333;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: "Comic Sans MS", sans-serif;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
}

.utility-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s;
}

.utility-btn:hover::before {
  left: 100%;
}

.utility-btn:hover {
  background: #333;
  color: #ffa500;
  border-color: #ffa500;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 165, 0, 0.3);
}

.utility-btn svg {
  transition: transform 0.3s ease;
}

.utility-btn:hover svg {
  transform: scale(1.1);
}

/* Responsive Design for Navigation Buttons */
@media (max-width: 1024px) {
  .contract-section {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
  }

  .contract-address {
    max-width: 100%;
  }

  .action-buttons {
    justify-content: center;
  }
}
@media (max-width: 768px) {
  .contract-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }

  .contract-label {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
  }

  .contract-address {
    width: 100%;
    overflow-x: auto;
  }

  .action-buttons {
    flex-direction: column;
    width: 100%;
  }

  .action-buttons .modern-btn {
    width: 100%;
    justify-content: center;
  }

  .utility-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .utility-btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .nav-container {
    gap: 2rem;
    padding: 0 1rem;
  }

  .contract-section {
    padding: 1.5rem;
  }

  .action-buttons {
    flex-direction: column;
    width: 100%;
  }

  .modern-btn {
    justify-content: center;
    width: 100%;
    max-width: 250px;
    margin: 0 auto;
  }

  .utility-buttons {
    flex-direction: column;
    align-items: center;
  }

  .utility-btn {
    width: 200px;
    justify-content: center;
  }

  .contract-title {
    font-size: 1rem;
  }

  .contract-address {
    font-size: 0.9rem;
    padding: 6px 10px;
  }
}

@media (max-width: 480px) {
  .nav-buttons {
    padding: 30px 0;
  }

  .contract-section {
    padding: 1rem;
  }

  .modern-btn {
    padding: 10px 20px;
    font-size: 12px;
  }

  .utility-btn {
    padding: 10px 16px;
    font-size: 12px;
    width: 180px;
  }

  .contract-address {
    font-size: 0.8rem;
  }
}

/* Gallery Section */
.gallery {
  background: #2a2a2a;
  padding: 20px 0;
  overflow: hidden;
  border-bottom: 3px solid #333;
  user-select: none;
}

.gallery-strip {
  display: flex;
  gap: 15px;
  animation: scroll-gallery 60s linear infinite;
  height: 200px;
  padding: 0 15px;
  cursor: grab;
  will-change: transform;
}

.gallery-strip:active {
  cursor: grabbing;
}

.gallery-strip img {
  height: 180px;
  width: 180px;
  object-fit: cover;
  flex-shrink: 0;
  border-radius: 15px;
  display: block;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
  pointer-events: none;
}

.gallery-strip img:hover {
  transform: scale(1.05);
}

@keyframes scroll-gallery {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Gallery Section Reverse */
.gallery-reverse {
  background: #2a2a2a;
  padding: 20px 0;
  overflow: hidden;
  border-top: 3px solid #333;
  border-bottom: 3px solid #333;
  user-select: none;
}

.gallery-strip-reverse {
  display: flex;
  gap: 15px;
  animation: scroll-gallery-reverse 60s linear infinite;
  height: 200px;
  padding: 0 15px;
  cursor: grab;
  will-change: transform;
}

.gallery-strip-reverse:active {
  cursor: grabbing;
}

.gallery-strip-reverse img {
  height: 180px;
  width: 180px;
  object-fit: cover;
  flex-shrink: 0;
  border-radius: 15px;
  display: block;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
  pointer-events: none;
}

.gallery-strip-reverse img:hover {
  transform: scale(1.05);
}

@keyframes scroll-gallery-reverse {
  0% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(0);
  }
}

/* Update responsive styles for galleries */
@media (max-width: 768px) {
  .gallery-strip img,
  .gallery-strip-reverse img {
    height: 150px;
    width: 150px;
    border-radius: 12px;
  }

  .gallery-strip,
  .gallery-strip-reverse {
    height: 170px;
    gap: 12px;
  }
}

@media (max-width: 480px) {
  .gallery-strip img,
  .gallery-strip-reverse img {
    height: 120px;
    width: 120px;
    border-radius: 10px;
  }

  .gallery-strip,
  .gallery-strip-reverse {
    height: 140px;
    gap: 10px;
  }
}

/* About Section */
.about {
  background: #ffa500;
  padding: 80px 0;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 2rem;
}

.about-image img {
  width: 100%;
  border-radius: 15px;
  display: block;
}

.about-text h2 {
  font-size: 3rem;
  font-weight: 900;
  color: #ff0000;
  text-shadow: 4px 4px 0px #fff, -4px -4px 0px #fff, 4px -4px 0px #fff, -4px 4px 0px #fff;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.about-text p {
  font-size: 16px;
  color: #333;
  font-weight: bold;
  line-height: 1.6;
}

/* Footer */
.footer {
  background: #333;
  color: white;
  padding: 2rem 0;
  text-align: center;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-logo {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

.footer-brand span {
  font-size: 20px;
  font-weight: bold;
  color: #ffa500;
}

/* Final CTA Section */
.final-cta {
  background: linear-gradient(45deg, #ffa500 0%, #ff8c00 50%, #ffa500 100%);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-character {
  margin-bottom: 2rem;
  display: flex;
  justify-content: center;
}

.cta-shiba {
  width: 250px;
  height: 300px;
  object-fit: contain;
  animation: float-gentle 6s ease-in-out infinite;
  filter: drop-shadow(4px 4px 8px rgba(0, 0, 0, 0.3));
}

.cta-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 2rem;
}

.cta-title {
  margin-bottom: 3rem;
  position: relative;
}

.cta-main {
  display: block;
  font-size: 5rem;
  font-weight: 900;
  color: #ff0000;
  text-shadow: 4px 4px 0px #fff, -4px -4px 0px #fff, 4px -4px 0px #fff, -4px 4px 0px #fff, 0px 4px 0px #fff, 4px 0px 0px
    #fff, 0px -4px 0px #fff, -4px 0px 0px #fff;
  letter-spacing: 3px;
  position: relative;
  margin-bottom: 0.5rem;
}

.cta-main::before,
.cta-main::after {
  content: "🦴";
  position: absolute;
  font-size: 2.5rem;
  color: #fff;
  text-shadow: 2px 2px 0px #333;
}

.cta-main::before {
  top: -15px;
  left: -40px;
  transform: rotate(-15deg);
}

.cta-main::after {
  top: -15px;
  right: -40px;
  transform: rotate(15deg);
}

.cta-sub {
  display: block;
  font-size: 4rem;
  font-weight: 900;
  color: #ffaa00;
  text-shadow: 4px 4px 0px #fff, -4px -4px 0px #fff, 4px -4px 0px #fff, -4px 4px 0px #fff, 0px 4px 0px #fff, 4px 0px 0px
    #fff, 0px -4px 0px #fff, -4px 0px 0px #fff;
  position: relative;
  letter-spacing: 2px;
}

.cta-sub::before,
.cta-sub::after {
  content: "🦴";
  position: absolute;
  font-size: 2rem;
  color: #fff;
  text-shadow: 2px 2px 0px #333;
}

.cta-sub::before {
  top: 50%;
  left: -35px;
  transform: translateY(-50%) rotate(-30deg);
}

.cta-sub::after {
  top: 50%;
  right: -35px;
  transform: translateY(-50%) rotate(30deg);
}

.final-cta-button {
  background: white;
  border: 4px solid #333;
  border-radius: 15px;
  padding: 20px 40px;
  font-size: 20px;
  font-weight: 900;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 15px;
  transition: all 0.3s ease;
  box-shadow: 6px 6px 0px #333;
  text-transform: uppercase;
  font-family: "Comic Sans MS", sans-serif;
}

.final-cta-button:hover {
  transform: translate(-3px, -3px);
  box-shadow: 9px 9px 0px #333;
  background: #f0f0f0;
}

.cta-arrow {
  font-size: 24px;
  transition: transform 0.3s ease;
}

.final-cta-button:hover .cta-arrow {
  transform: translateX(5px);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .nav-container {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
    max-width: 800px;
  }

  .contract-info {
    text-align: center;
  }

  .contract-info p {
    max-width: 100%;
    margin: 0 auto;
  }

  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
    max-width: 800px;
  }

  .title-main {
    font-size: 3.5rem;
  }

  .title-sub {
    font-size: 2.5rem;
  }

  .tokenomics-grid {
    max-width: 600px;
  }

  .about-content {
    max-width: 800px;
  }

  .cta-main {
    font-size: 4rem;
  }

  .cta-sub {
    font-size: 3rem;
  }
}

@media (max-width: 768px) {
  .button-row {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .nav-btn {
    width: 200px;
    text-align: center;
  }

  .contract-info h4 {
    font-size: 1.4rem;
  }

  .contract-info p {
    font-size: 14px;
    padding: 10px;
  }

  .gallery-strip img {
    height: 150px;
    width: 200px;
  }

  .gallery-strip {
    height: 150px;
  }

  .title-main {
    font-size: 3rem;
  }

  .title-sub {
    font-size: 2rem;
  }

  .tokenomics-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
  }

  .about-content {
    grid-template-columns: 1fr;
    max-width: 600px;
  }

  .about-videos {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .cta-main {
    font-size: 3rem;
  }

  .cta-sub {
    font-size: 2.5rem;
  }

  .final-cta-button {
    padding: 15px 30px;
    font-size: 18px;
  }

  .cta-shiba {
    width: 200px;
    height: 240px;
  }
}

@media (max-width: 480px) {
  .nav-container {
    padding: 0 1rem;
    max-width: 100%;
  }

  .nav-btn {
    width: 180px;
    padding: 10px 20px;
    font-size: 14px;
  }

  .contract-info h4 {
    font-size: 1.2rem;
  }

  .contract-info p {
    font-size: 12px;
    padding: 8px;
  }

  .title-main {
    font-size: 2.5rem;
  }

  .title-sub {
    font-size: 1.8rem;
  }

  .title-main::before,
  .title-main::after,
  .title-sub::before,
  .title-sub::after {
    display: none;
  }

  .hero-content {
    max-width: 100%;
    padding: 0 1rem;
  }

  .tokenomics-grid {
    max-width: 100%;
    padding: 0 1rem;
  }

  .about-content {
    max-width: 100%;
    padding: 0 1rem;
  }

  .cta-content {
    padding: 0 1rem;
  }

  .cta-main {
    font-size: 2.5rem;
  }

  .cta-sub {
    font-size: 2rem;
  }

  .final-cta-button {
    padding: 12px 25px;
    font-size: 16px;
  }

  .cta-shiba {
    width: 180px;
    height: 200px;
  }

  .cta-main::before,
  .cta-main::after,
  .cta-sub::before,
  .cta-sub::after {
    display: none;
  }

  .title-main::before,
  .title-main::after,
  .title-sub::before,
  .title-sub::after {
    display: none;
  }
}

@keyframes background-pulse {
  0% {
    background-position: 0% 0%;
  }
  100% {
    background-position: 100% 100%;
  }
}
/* Family Circle Styles - Container xoay quanh button */
.family-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px; /* Tăng kích thước container để hình lớn hơn */
  height: 500px;
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: none; /* Không cản click button */
  transition: opacity 0.5s ease;
}

/* Mỗi con chó */
.circle-dog {
  position: absolute;
  width: 120px; /* Tăng kích thước hình */
  height: 120px;
  object-fit: cover;
  border-radius: 0; /* Không bo tròn */
  opacity: 0;
  transform: scale(0.5); /* Bắt đầu nhỏ */
  transition: opacity 0.5s ease, transform 0.5s ease;
  box-shadow: none; /* Không glow hoặc viền màu cam */
}

/* Vị trí từng con chó trên vòng tròn chính xác */
.circle-dog {
  transform-origin: center center;
}

#doge-circle {
  transform: rotate(0deg) translate(200px) rotate(0deg);
}

#bonk-circle {
  transform: rotate(72deg) translate(200px) rotate(-72deg);
}

#floki-circle {
  transform: rotate(144deg) translate(200px) rotate(-144deg);
}

#neiro-circle {
  transform: rotate(216deg) translate(200px) rotate(-216deg);
}

#manyu-circle {
  transform: rotate(288deg) translate(200px) rotate(-288deg);
}

/* Animation xoay vòng (quỹ đạo quay quanh button) */
.rotate-dog {
  animation: rotate-circle 5s linear infinite; /* Xoay vô hạn, linear để đều đặn */
}

@keyframes rotate-circle {
  0% {
    transform: rotate(0deg) translate(200px) rotate(0deg) scale(1);
  }
  100% {
    transform: rotate(360deg) translate(200px) rotate(-360deg) scale(1);
  }
}

/* Responsive: Giảm kích thước trên mobile */
@media (max-width: 768px) {
  .family-circle {
    width: 400px;
    height: 400px;
  }
  .circle-dog {
    width: 100px;
    height: 100px;
  }
  #doge-circle {
    transform: rotate(0deg) translate(160px) rotate(0deg);
  }
  #bonk-circle {
    transform: rotate(72deg) translate(160px) rotate(-72deg);
  }
  #floki-circle {
    transform: rotate(144deg) translate(160px) rotate(-144deg);
  }
  #neiro-circle {
    transform: rotate(216deg) translate(160px) rotate(-216deg);
  }
  #manyu-circle {
    transform: rotate(288deg) translate(160px) rotate(-288deg);
  }
  @keyframes rotate-circle {
    0% {
      transform: rotate(0deg) translate(160px) rotate(0deg) scale(1);
    }
    100% {
      transform: rotate(360deg) translate(160px) rotate(-360deg) scale(1);
    }
  }
}

@media (max-width: 480px) {
  .family-circle {
    width: 300px;
    height: 300px;
  }
  .circle-dog {
    width: 80px;
    height: 80px;
  }
  #doge-circle {
    transform: rotate(0deg) translate(120px) rotate(0deg);
  }
  #bonk-circle {
    transform: rotate(72deg) translate(120px) rotate(-72deg);
  }
  #floki-circle {
    transform: rotate(144deg) translate(120px) rotate(-144deg);
  }
  #neiro-circle {
    transform: rotate(216deg) translate(120px) rotate(-216deg);
  }
  #manyu-circle {
    transform: rotate(288deg) translate(120px) rotate(-288deg);
  }
  @keyframes rotate-circle {
    0% {
      transform: rotate(0deg) translate(120px) rotate(0deg) scale(1);
    }
    100% {
      transform: rotate(360deg) translate(120px) rotate(-360deg) scale(1);
    }
  }
}