/* ===== VARIABLES ===== */
:root {
  /* Colors */
  --color-orange: #f5a623;
  --color-gold: #ffd700;
  --color-cream: #fdf6e3;
  --color-dark-gray: #333333;
  --color-blue: #1da1f2;
  --color-light-gray: #f0f0f0;
  --color-white: #ffffff;
  --color-chat-bg: rgba(253, 246, 227, 0.9);
  --color-user-message: #e6f7ff;
  --color-bot-message: #f5f5f5;

  /* Fonts */
  --font-primary: "Arial", sans-serif;
  --font-secondary: "Helvetica", sans-serif;

  /* Sizes */
  --header-height: 4rem;
  --container-width: 1200px;

  /* Transitions */
  --transition-fast: 0.3s ease;
  --transition-medium: 0.5s ease;
  --transition-slow: 0.8s ease;
}

/* ===== RESET & BASE STYLES ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-primary);
  background-color: var(--color-cream);
  color: var(--color-dark-gray);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: var(--color-blue);
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-orange);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

button {
  cursor: pointer;
  border: none;
  outline: none;
  font-family: var(--font-primary);
}

.container {
  width: 90%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1rem;
}

.section-title {
  font-size: 2rem;
  margin-bottom: 2rem;
  text-align: center;
  position: relative;
  color: var(--color-dark-gray);
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -0.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 5rem;
  height: 0.25rem;
  background: linear-gradient(to right, var(--color-orange), var(--color-gold));
  border-radius: 1rem;
}

.highlight {
  color: var(--color-orange);
  font-weight: bold;
}

/* ===== HEADER & NAVIGATION ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background-color: rgba(253, 246, 227, 0.9);
  backdrop-filter: blur(10px);
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: all var(--transition-fast);
}

.nav {
  height: 100%;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  padding: 0 1.5rem;
}

.nav-logo {
  display: flex;
  align-items: center;
}

.logo-text {
  font-size: 1.8rem;
  font-weight: bold;
  background: linear-gradient(to right, var(--color-orange), var(--color-gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.nav-menu {
  position: fixed;
  top: var(--header-height);
  right: -100%;
  width: 70%;
  height: calc(100vh - var(--header-height));
  background-color: var(--color-cream);
  transition: right var(--transition-medium);
  display: flex;
  flex-direction: column;
  padding: 2rem 0;
  box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
}

.nav-menu.active {
  right: 0;
}

.nav-item {
  margin: 1rem 0;
  text-align: center;
}

.nav-link {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--color-dark-gray);
  transition: color var(--transition-fast);
  padding: 0.5rem 1rem;
  display: inline-block;
}

.nav-link:hover {
  color: var(--color-orange);
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 1.8rem;
  height: 1.3rem;
  cursor: pointer;
}

.bar {
  width: 100%;
  height: 3px;
  background-color: var(--color-dark-gray);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

.nav-toggle.active .bar:nth-child(1) {
  transform: translateY(10px) rotate(45deg);
}

.nav-toggle.active .bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active .bar:nth-child(3) {
  transform: translateY(-10px) rotate(-45deg);
}

/* ===== HERO SECTION ===== */
.hero {
  position: relative;
  min-height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: calc(var(--header-height) + 1rem) 1rem 2rem;
  box-sizing: border-box;
}

.hero-parallax-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2; /* Changed from -1 to 2 to be in front of the container */
  pointer-events: none; /* Ensures clicks pass through to elements below */
}

.parallax-element {
  position: absolute;
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 0.7;
}

/* Parallax elements for hero section */
.coin-1 {
  width: 120px;
  height: 120px;
  top: 20%;
  left: 10%;
  background-image: url("../images/blue-kid.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  animation: float 6s ease-in-out infinite;
  opacity: 0.9;
  border-radius: 50%;
  border: 3px solid rgba(255, 215, 0, 0.3);
  box-shadow: 0 5px 15px rgba(245, 166, 35, 0.3);
  overflow: hidden;
}

.coin-2 {
  width: 100px;
  height: 100px;
  top: 60%;
  right: 15%;
  background-image: url("../images/fro-kid.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  animation: float 8s ease-in-out infinite;
  transform: rotate(10deg);
  opacity: 0.9;
  border-radius: 50%;
  border: 3px solid rgba(255, 215, 0, 0.3);
  box-shadow: 0 5px 15px rgba(245, 166, 35, 0.3);
  overflow: hidden;
}

.rocket {
  width: 140px;
  height: 140px;
  top: 30%;
  right: 20%;
  background-image: url("../images/heart-kid.webp");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  transform: rotate(5deg);
  animation: float 10s ease-in-out infinite;
  border-radius: 50%;
  border: 3px solid rgba(255, 215, 0, 0.3);
  box-shadow: 0 5px 15px rgba(245, 166, 35, 0.3);
  overflow: hidden;
  z-index: -1; /* Added negative z-index to make it appear behind the video container */
}

.lambo {
  width: 180px;
  height: 180px;
  bottom: 15%;
  left: 15%;
  background-image: url("../images/ruby-kid.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  animation: float 12s ease-in-out infinite;
  border-radius: 50%;
  border: 3px solid rgba(255, 215, 0, 0.3);
  box-shadow: 0 5px 15px rgba(245, 166, 35, 0.3);
  overflow: hidden;
}

.wings {
  width: 110px;
  height: 110px;
  top: 15%;
  right: 30%;
  background-image: url("../images/itcoin.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  animation: float 9s ease-in-out infinite;
  border-radius: 50%;
  border: 3px solid rgba(255, 215, 0, 0.3);
  box-shadow: 0 5px 15px rgba(245, 166, 35, 0.3);
  overflow: hidden;
}

.hero-content {
  text-align: center;
  z-index: 1;
  padding: 1rem;
  width: 95%;
  max-width: 800px;
  background-color: rgba(
    253,
    246,
    227,
    0.7
  ); /* Semi-transparent background to improve readability */
  border-radius: 1rem;
  backdrop-filter: blur(
    5px
  ); /* Slight blur effect for better text readability */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.3rem; /* Reduced spacing between elements */
}

.hero-title {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

.title-line {
  display: block;
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 0.3rem; /* Reduced space between subtitle and video */
  opacity: 0.9;
}

.typewriter {
  border-right: 0.1em solid var(--color-orange);
  white-space: nowrap;
  overflow: hidden;
  display: inline-block;
  animation: typing 2s steps(30, end), blink-caret 0.75s step-end infinite;
}

.easter-egg-text {
  display: inline-block;
  white-space: nowrap;
}

.cta-button {
  background: linear-gradient(to right, var(--color-orange), var(--color-gold));
  color: var(--color-white);
  font-size: 1.1rem;
  font-weight: bold;
  padding: 0.8rem 1.8rem;
  border-radius: 50px;
  transition: transform var(--transition-fast),
    box-shadow var(--transition-fast);
  box-shadow: 0 4px 15px rgba(245, 166, 35, 0.3);
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-top: 1rem;
  width: fit-content;
}

.cta-button:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(245, 166, 35, 0.5);
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: bounce 2s infinite;
}

.scroll-arrow {
  width: 20px;
  height: 20px;
  border-right: 3px solid var(--color-dark-gray);
  border-bottom: 3px solid var(--color-dark-gray);
  transform: rotate(45deg);
}

/* ===== STORY SECTION ===== */
.story {
  position: relative;
  padding: 5rem 0;
  overflow: hidden;
}

.story-parallax-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.coin-stack {
  width: 150px;
  height: 150px;
  top: 30%;
  right: 10%;
  background-image: url("../images/itcoin.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.6;
  animation: float 8s ease-in-out infinite;
  transform: rotate(-15deg);
}

.story-content {
  position: relative;
  z-index: 1;
}

.story-text {
  max-width: 800px;
  margin: 0 auto;
}

.story-paragraph {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

.marketing-label {
  text-align: center;
  color: var(--color-dark-gray);
  font-weight: bold;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.marketing-address {
  text-align: center;
  margin: 0 0 1.5rem;
  padding: 1rem;
  border-radius: 1rem;
  background: linear-gradient(to bottom, #000000, #1a1a1a);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  transition: all var(--transition-fast);
  width: auto;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: inline-block;
  overflow: hidden; /* Prevent text overflow */
}

.marketing-address:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.marketing-address:hover::after {
  content: "Click to copy";
  position: absolute;
  bottom: -25px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.8rem;
  color: var(--color-white);
  background-color: rgba(0, 0, 0, 0.7);
  padding: 0.3rem 0.6rem;
  border-radius: 0.5rem;
  opacity: 0.9;
}

.marketing-address p {
  font-size: 1.1rem;
  font-weight: bold;
  margin: 0;
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap; /* Allow wrapping on very small screens */
}

.marketing-address p::before {
  content: "";
  margin-right: 0.5rem;
  color: var(--color-orange);
  font-weight: bold;
}

.story-icons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 3rem;
}

.story-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.icon-placeholder {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: var(--color-light-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  transition: transform var(--transition-fast);
}

.icon-placeholder:hover {
  transform: scale(1.1);
}

.send-icon::before {
  content: "📤";
  font-size: 2.5rem;
}

.stack-icon::before {
  content: "📚";
  font-size: 2.5rem;
}

.hold-icon::before {
  content: "💎";
  font-size: 2.5rem;
}

/* CTO Showcase Styles */
.cto-showcase {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 3rem;
}

.cto-image-container {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 1.5rem;
  border: 4px solid var(--color-orange);
  box-shadow: 0 5px 15px rgba(245, 166, 35, 0.3);
  transition: transform var(--transition-fast),
    box-shadow var(--transition-fast);
}

.cto-image-container:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 25px rgba(245, 166, 35, 0.5);
}

.cto-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.cto-slogan {
  font-size: 1.8rem;
  font-weight: bold;
  margin-bottom: 1.5rem;
  text-align: center;
  background: linear-gradient(to right, var(--color-orange), var(--color-gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.cto-button {
  background: linear-gradient(to right, var(--color-blue), #0c85d0);
  color: var(--color-white);
  font-size: 1.2rem;
  font-weight: bold;
  padding: 0.8rem 1.8rem;
  border-radius: 50px;
  transition: transform var(--transition-fast),
    box-shadow var(--transition-fast);
  box-shadow: 0 4px 15px rgba(29, 161, 242, 0.3);
  display: inline-block;
}

.cto-button:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(29, 161, 242, 0.5);
  color: var(--color-white);
}

/* ===== COMMUNITY SECTION ===== */
.community {
  position: relative;
  padding: 5rem 0;
  background-color: var(--color-light-gray);
  overflow: hidden;
}

.community-parallax-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.bird-1,
.bird-2,
.bird-3 {
  position: absolute;
  background-image: url("../images/itcoin.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.6;
}

.bird-1 {
  width: 70px;
  height: 70px;
  top: 20%;
  left: 10%;
  animation: float 10s ease-in-out infinite;
}

.bird-2 {
  width: 100px;
  height: 100px;
  top: 40%;
  right: 15%;
  animation: float 12s ease-in-out infinite;
}

.bird-3 {
  width: 60px;
  height: 60px;
  bottom: 20%;
  left: 30%;
  animation: float 9s ease-in-out infinite;
}

.community-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  position: relative;
  z-index: 1;
}

.community-card {
  background-color: var(--color-white);
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform var(--transition-fast),
    box-shadow var(--transition-fast);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.community-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.card-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: var(--color-light-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.forum-icon::before {
  content: "𝕏";
  font-size: 2.5rem;
}

.member-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: transparent;
}

.itcoin-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
  transform: scale(2); /* Make the icon twice as large */
}

.phantom-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: transparent;
}

.phantom-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
}

.community-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--color-dark-gray);
}

.community-card p {
  margin-bottom: 1.5rem;
  color: var(--color-dark-gray);
}

.card-link {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  background-color: var(--color-blue);
  color: var(--color-white);
  border-radius: 50px;
  font-weight: bold;
  transition: background-color var(--transition-fast);
}

.card-link:hover {
  background-color: var(--color-orange);
  color: var(--color-white);
}

.phantom-button {
  background: linear-gradient(to right, #9c6bff, #6b4cd3);
  color: var(--color-white);
  padding: 0.7rem 1.8rem;
  font-weight: bold;
  transition: transform var(--transition-fast),
    box-shadow var(--transition-fast);
  box-shadow: 0 4px 15px rgba(156, 107, 255, 0.3);
}

.phantom-button:hover {
  background: linear-gradient(to right, #6b4cd3, #9c6bff);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(156, 107, 255, 0.5);
}

.member-feed {
  width: 100%;
  max-height: 200px;
  overflow-y: auto;
  border: 1px solid var(--color-light-gray);
  border-radius: 0.5rem;
  padding: 1rem;
  margin-top: 1rem;
}

.feed-post {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--color-light-gray);
  text-align: left;
}

.feed-post:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.post-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--color-light-gray);
  margin-right: 1rem;
  flex-shrink: 0;
}

.post-content {
  flex: 1;
}

.post-content strong {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--color-blue);
}

.post-content p {
  margin-bottom: 0;
  font-size: 0.9rem;
}

.rules-list {
  width: 100%;
  text-align: left;
}

.rules-list li {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.rule-icon {
  display: inline-block;
  width: 30px;
  height: 30px;
  margin-right: 1rem;
  flex-shrink: 0;
}

.heart-icon::before {
  content: "❤️";
  font-size: 1.2rem;
}

.bullseye-icon::before {
  content: "🎯";
  font-size: 1.2rem;
}

.love-icon::before {
  content: "🤝";
  font-size: 1.2rem;
}

/* ===== CRYPTO ESSENTIALS SECTION ===== */
.crypto-essentials {
  position: relative;
  padding: 5rem 0 3rem 0;
  overflow: hidden;
}

.crypto-parallax-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.rising-coin-1,
.rising-coin-2,
.rising-coin-3 {
  position: absolute;
  background-image: url("../images/itcoin.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.6;
}

.rising-coin-1 {
  width: 70px;
  height: 70px;
  bottom: -10%;
  left: 20%;
  animation: rise 15s linear infinite;
  transform: rotate(15deg);
}

.rising-coin-2 {
  width: 100px;
  height: 100px;
  bottom: -10%;
  left: 50%;
  animation: rise 20s linear infinite;
}

.rising-coin-3 {
  width: 60px;
  height: 60px;
  bottom: -10%;
  right: 20%;
  animation: rise 18s linear infinite;
  transform: rotate(-20deg);
}

.crypto-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.crypto-card {
  background-color: var(--color-white);
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.crypto-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  text-align: center;
}

.crypto-card p {
  text-align: center;
  margin-bottom: 1.5rem;
}

.pump-button {
  display: block;
  width: 100%;
  padding: 1rem;
  background: linear-gradient(to right, var(--color-orange), var(--color-gold));
  color: var(--color-white);
  text-align: center;
  border-radius: 50px;
  font-weight: bold;
  font-size: 1.2rem;
  margin-bottom: 2rem;
  transition: transform var(--transition-fast),
    box-shadow var(--transition-fast);
  box-shadow: 0 4px 15px rgba(245, 166, 35, 0.3);
}

.pump-button:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(245, 166, 35, 0.5);
  color: var(--color-white);
}

.chart-container {
  width: 100%;
  height: 400px;
  border-radius: 0.5rem;
  overflow: hidden;
  position: relative;
}

.dexscreener-chart {
  width: 100%;
  height: 100%;
  border: none;
}

.chart-placeholder {
  width: 100%;
  height: 100%;
  background-color: var(--color-light-gray);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

.chart-line {
  position: absolute;
  width: 80%;
  height: 3px;
  background: linear-gradient(to right, var(--color-orange), var(--color-gold));
  top: 50%;
  left: 10%;
  transform: translateY(-50%);
}

.chart-bars {
  display: flex;
  justify-content: space-between;
  width: 80%;
  height: 60%;
  position: absolute;
  bottom: 20%;
  left: 10%;
}

.bar {
  width: 15%;
  background-color: var(--color-orange);
  border-radius: 5px 5px 0 0;
  opacity: 0.7;
}

.bar:nth-child(1) {
  height: 30%;
}

.bar:nth-child(2) {
  height: 50%;
}

.bar:nth-child(3) {
  height: 80%;
}

.bar:nth-child(4) {
  height: 60%;
}

.bar:nth-child(5) {
  height: 90%;
}

.chart-placeholder p {
  position: absolute;
  bottom: 5%;
  margin: 0;
  font-size: 0.9rem;
  color: var(--color-dark-gray);
}

.calculator {
  margin-top: 1.5rem;
}

.calc-input-group {
  margin-bottom: 1rem;
}

.calc-input-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: bold;
}

.calc-input-group input {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--color-light-gray);
  border-radius: 0.5rem;
  font-size: 1rem;
  transition: background-color 0.5s ease, border-color 0.5s ease;
}

/* Live price indicator and animation */
.live-indicator {
  display: flex;
  align-items: center;
  font-size: 0.8rem;
  font-weight: bold;
  color: #28a745;
  margin-top: 0.5rem;
}

.live-indicator.updating {
  color: var(--color-orange);
}

.live-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background-color: #28a745;
  border-radius: 50%;
  margin-right: 5px;
  animation: pulse 1.5s infinite;
}

.live-dot.updating {
  background-color: var(--color-orange);
  animation: pulse-fast 0.8s infinite;
}

.loading {
  background-color: rgba(245, 166, 35, 0.1);
  border-color: var(--color-orange);
}

.price-updated {
  animation: highlight-price 1s ease;
}

.realtime-update {
  animation: realtime-highlight 0.5s ease;
}

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

@keyframes pulse-fast {
  0% {
    opacity: 0.7;
    transform: scale(0.9);
  }
  50% {
    opacity: 1;
    transform: scale(1.3);
  }
  100% {
    opacity: 0.7;
    transform: scale(0.9);
  }
}

@keyframes highlight-price {
  0% {
    background-color: rgba(245, 166, 35, 0.1);
    border-color: var(--color-orange);
  }
  50% {
    background-color: rgba(245, 166, 35, 0.3);
    border-color: var(--color-gold);
  }
  100% {
    background-color: transparent;
    border-color: var(--color-light-gray);
  }
}

@keyframes realtime-highlight {
  0% {
    background-color: rgba(245, 166, 35, 0.2);
    border-color: var(--color-orange);
    box-shadow: 0 0 8px rgba(245, 166, 35, 0.5);
  }
  100% {
    background-color: transparent;
    border-color: var(--color-light-gray);
    box-shadow: none;
  }
}

/* Enhanced calculator result animation */
.calc-result.updating {
  animation: result-update 0.5s ease;
}

@keyframes result-update {
  0% {
    background-color: rgba(245, 166, 35, 0.1);
  }
  50% {
    background-color: rgba(245, 166, 35, 0.3);
  }
  100% {
    background-color: var(--color-light-gray);
  }
}

.calc-result {
  background-color: var(--color-light-gray);
  padding: 1rem;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
  text-align: center;
}

.calc-result p {
  margin: 0;
  font-weight: bold;
}

#tokens-needed {
  color: var(--color-orange);
  font-size: 1.2rem;
}

.hurricane-image-container {
  margin-top: 1.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  overflow: hidden;
}

.hurricane-image {
  max-width: 100%;
  height: auto;
  border-radius: 0.5rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform var(--transition-fast);
}

.hurricane-image:hover {
  transform: scale(1.02);
}

.calc-button {
  width: 100%;
  padding: 0.75rem;
  background-color: var(--color-orange);
  color: var(--color-white);
  border-radius: 0.5rem;
  font-weight: bold;
  transition: background-color var(--transition-fast);
}

.calc-button:hover {
  background-color: var(--color-gold);
}

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

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

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

.social-link {
  display: flex;
  align-items: center;
  color: var(--color-white);
  transition: color var(--transition-fast);
}

.social-link:hover {
  color: var(--color-blue);
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--color-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 0.5rem;
  transition: background-color var(--transition-fast);
}

.social-link:hover .social-icon {
  background-color: var(--color-orange);
}

.x-icon::before {
  content: "𝕏";
  font-size: 1.5rem;
  color: var(--color-white);
}

.telegram-icon::before {
  content: "✈️";
  font-size: 1.2rem;
}

.contract-label {
  text-align: center;
  color: var(--color-dark-gray);
  font-weight: bold;
  margin-bottom: 0.3rem;
  font-size: 1rem;
}

.contract-address {
  text-align: center;
  margin: 0 0 1rem;
  padding: 0.75rem;
  border-radius: 1rem;
  background: linear-gradient(to bottom, #000000, #1a1a1a);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  transition: all var(--transition-fast);
  width: auto;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: inline-block;
  overflow: hidden; /* Prevent text overflow */
}

.contract-address:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.contract-address:hover::after {
  content: "Click to copy";
  position: absolute;
  bottom: -25px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.8rem;
  color: var(--color-white);
  background-color: rgba(0, 0, 0, 0.7);
  padding: 0.3rem 0.6rem;
  border-radius: 0.5rem;
  opacity: 0.9;
}

.contract-address p {
  font-size: 1.1rem;
  font-weight: bold;
  margin: 0;
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap; /* Allow wrapping on very small screens */
}

.contract-address p::before {
  content: "";
  margin-right: 0.5rem;
  color: var(--color-orange);
  font-weight: bold;
}

.address-text {
  background: linear-gradient(to right, var(--color-orange), var(--color-gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 3px rgba(245, 166, 35, 0.5);
  padding: 0.3rem 0;
  border-radius: 0.25rem;
  letter-spacing: 1px;
  user-select: all;
  font-size: 1.1rem;
  font-family: monospace;
  display: inline-block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

/* Hero Video Styling */
.hero-video-container {
  position: relative;
  width: 85%;
  max-width: 600px;
  margin: 0.3rem auto; /* Reduced top margin */
  border-radius: 1rem;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  /* Add aspect ratio to maintain height */
  aspect-ratio: 16 / 9;
}

.hero-video {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 1rem;
  object-fit: cover;
}

.video-play-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.3);
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all var(--transition-fast);
}

.hero-video-container:hover .video-play-overlay {
  background-color: rgba(0, 0, 0, 0.2);
}

.play-icon {
  font-size: 3rem;
  color: var(--color-white);
  background-color: rgba(0, 0, 0, 0.5);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* YouTube Link Styling */
.youtube-link-container {
  position: relative;
  width: 100%;
  text-align: center;
  margin-top: 0.3rem;
  margin-bottom: 0.3rem;
  padding: 0;
  z-index: 10; /* Ensure it's above other elements */
}

.youtube-link {
  display: inline-block;
  font-size: 1rem;
  font-weight: bold;
  color: var(--color-white);
  background: linear-gradient(to right, var(--color-orange), var(--color-gold));
  padding: 0.4rem 1.2rem;
  border-radius: 2rem;
  text-decoration: none;
  transition: all var(--transition-fast);
  box-shadow: 0 2px 8px rgba(245, 166, 35, 0.4);
}

.youtube-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(245, 166, 35, 0.6);
  color: var(--color-white);
}

@keyframes glow {
  from {
    text-shadow: 0 0 5px rgba(245, 166, 35, 0.5),
      0 0 10px rgba(245, 166, 35, 0.3), 0 0 15px rgba(245, 166, 35, 0.2);
  }
  to {
    text-shadow: 0 0 10px rgba(245, 166, 35, 0.7),
      0 0 20px rgba(245, 166, 35, 0.5), 0 0 30px rgba(245, 166, 35, 0.3);
  }
}

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

/* ===== ANIMATIONS ===== */
@keyframes float {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(5deg);
  }
}

@keyframes rise {
  0% {
    transform: translateY(0);
    opacity: 0.2;
  }
  50% {
    opacity: 0.5;
  }
  100% {
    transform: translateY(-1000px);
    opacity: 0;
  }
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0) translateX(-50%);
  }
  40% {
    transform: translateY(-20px) translateX(-50%);
  }
  60% {
    transform: translateY(-10px) translateX(-50%);
  }
}

@keyframes typing {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}

@keyframes blink-caret {
  from,
  to {
    border-color: transparent;
  }
  50% {
    border-color: var(--color-orange);
  }
}

/* ===== ROADMAP SECTION STYLES ===== */
:root {
  --color-accent-primary: var(--color-orange);
  --color-accent-secondary: var(--color-gold);
  --color-accent-tertiary: var(--color-blue);
}

#roadmap {
  position: relative;
  padding: 5rem 0;
  color: var(--color-dark-gray);
  overflow: hidden;
  background-color: var(--color-cream);
}

#roadmap::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(253, 246, 227, 0.8);
  backdrop-filter: blur(5px);
  z-index: 1;
}

.roadmap-parallax-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 20; /* Increased z-index to be higher than the container */
  pointer-events: none; /* Ensures clicks pass through to elements below */
}

.kid-1,
.kid-2,
.kid-3,
.kid-4,
.kid-5 {
  position: absolute;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.7; /* Increased opacity for better visibility */
  border-radius: 50%;
  box-shadow: 0 5px 15px rgba(245, 166, 35, 0.3);
  border: 3px solid rgba(255, 215, 0, 0.3);
  pointer-events: none; /* Ensures clicks pass through to elements below */
}

.kid-1 {
  width: 150px;
  height: 150px;
  top: 5%;
  left: 2%;
  background-image: url("../images/drip-kid.jpeg");
  animation: float 12s ease-in-out infinite;
}

.kid-2 {
  width: 180px;
  height: 180px;
  top: 25%;
  right: 5%;
  background-image: url("../images/bart-kid.png");
  animation: float 15s ease-in-out infinite;
  transform: rotate(5deg);
}

.kid-3 {
  width: 160px;
  height: 160px;
  bottom: 15%;
  left: 5%;
  background-image: url("../images/kol-kid.jpeg");
  animation: float 14s ease-in-out infinite;
  transform: rotate(-5deg);
}

.kid-4 {
  width: 140px;
  height: 140px;
  bottom: 35%;
  right: 15%;
  background-image: url("../images/raid-kid.png");
  animation: float 16s ease-in-out infinite;
}

.kid-5 {
  width: 170px;
  height: 170px;
  bottom: 5%;
  right: 2%;
  background-image: url("../images/vade-kid.png");
  animation: float 13s ease-in-out infinite;
  transform: rotate(8deg);
}

.roadmap-timeline {
  position: relative;
  z-index: 10;
  max-width: 1100px;
  margin: 0 auto;
}

/* Utility classes for the roadmap section */
.py-20 {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.md\:py-32 {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.px-6 {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.relative {
  position: relative;
}

.overflow-hidden {
  overflow: hidden;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.z-10 {
  z-index: 10;
}

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

.mb-16 {
  margin-bottom: 4rem;
}

.text-lg {
  font-size: 1.125rem;
}

.max-w-2xl {
  max-width: 42rem;
}

.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.items-center {
  align-items: center;
}

.mb-20 {
  margin-bottom: 5rem;
}

.mb-10 {
  margin-bottom: 2.5rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

.text-2xl {
  font-size: 1.5rem;
}

.font-bold {
  font-weight: bold;
}

.font-oswald {
  font-family: "Oswald", var(--font-primary);
}

.text-accent-teal {
  color: var(--color-accent-primary);
  text-shadow: 0 0 5px rgba(245, 166, 35, 0.5);
}

.text-accent-purple {
  color: var(--color-accent-secondary);
  text-shadow: 0 0 5px rgba(255, 215, 0, 0.5);
}

.text-accent-orange {
  color: var(--color-accent-tertiary);
  text-shadow: 0 0 5px rgba(29, 161, 242, 0.5);
}

.text-white {
  color: var(--color-white);
}

.space-y-4 > * + * {
  margin-top: 1rem;
}

.space-y-4 li span {
  color: var(--color-white);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

/* Enhanced text shadow for better readability with parallax images */
.roadmap-timeline h3,
.roadmap-timeline li,
.roadmap-timeline p,
.roadmap-timeline span {
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7);
}

/* Roadmap container enhanced for better text readability */
.roadmap-timeline .bg-black {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.bg-black {
  background-color: rgba(0, 0, 0, 0.85);
}

.bg-opacity-70 {
  background-color: rgba(0, 0, 0, 0.85);
}

.p-8 {
  padding: 2rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
}

.rounded-lg {
  border-radius: 0.5rem;
}

.border-l-4 {
  border-left-width: 4px;
}

.border-r-4 {
  border-right-width: 4px;
}

.border-accent-teal {
  border-color: var(--color-accent-primary);
  box-shadow: 0 0 10px rgba(245, 166, 35, 0.5);
}

.border-accent-purple {
  border-color: var(--color-accent-secondary);
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.border-accent-orange {
  border-color: var(--color-accent-tertiary);
  box-shadow: 0 0 10px rgba(29, 161, 242, 0.5);
}

.w-6 {
  width: 1.5rem;
}

.h-6 {
  height: 1.5rem;
}

.mr-2 {
  margin-right: 0.5rem;
}

.flex-shrink-0 {
  flex-shrink: 0;
}

.w-24 {
  width: 6rem;
}

.h-24 {
  height: 6rem;
}

.rounded-full {
  border-radius: 9999px;
}

.bg-accent-teal {
  background-color: var(--color-accent-primary);
  box-shadow: 0 0 15px rgba(245, 166, 35, 0.7);
}

.bg-accent-purple {
  background-color: var(--color-accent-secondary);
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.7);
}

.bg-accent-orange {
  background-color: var(--color-accent-tertiary);
  box-shadow: 0 0 15px rgba(29, 161, 242, 0.7);
}

.justify-center {
  justify-content: center;
}

.text-black {
  color: #000;
}

.text-3xl {
  font-size: 1.875rem;
}

.shadow-lg {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Media queries for the roadmap section */
@media (min-width: 768px) {
  .md\:flex-row {
    flex-direction: row;
  }

  .md\:flex-row-reverse {
    flex-direction: row-reverse;
  }

  .md\:w-1\/2 {
    width: 50%;
  }

  .md\:pr-16 {
    padding-right: 4rem;
  }

  .md\:pl-16 {
    padding-left: 4rem;
  }

  .md\:mb-0 {
    margin-bottom: 0;
  }

  .md\:text-right {
    text-align: right;
  }

  .md\:justify-start {
    justify-content: flex-start;
  }

  .md\:justify-end {
    justify-content: flex-end;
  }

  .md\:py-32 {
    padding-top: 8rem;
    padding-bottom: 8rem;
  }

  .md\:text-5xl {
    font-size: 3rem;
  }
}

/* ===== MEDIA QUERIES ===== */
/* Extra Small Mobile (320px to 374px) */
@media screen and (max-width: 374px) {
  html {
    font-size: 13px;
  }

  .hero {
    padding-top: calc(var(--header-height) + 0.5rem);
    padding-bottom: 1rem;
  }

  .hero-content {
    padding: 0.75rem;
    gap: 0.2rem; /* Even tighter spacing for small screens */
  }

  .hero-title {
    font-size: 1.8rem;
    margin-bottom: 0.2rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 0.2rem; /* Minimal space on small screens */
  }

  /* Hero Video Responsive Styles */
  .hero-video-container {
    width: 95%;
    margin: 0.2rem auto; /* Minimal margin on small screens */
  }

  .play-icon {
    font-size: 1.8rem;
    width: 35px;
    height: 35px;
  }

  .youtube-link {
    font-size: 0.85rem;
    padding: 0.3rem 1rem;
  }

  .contract-label {
    font-size: 0.9rem;
  }

  .contract-address {
    padding: 0.6rem;
  }

  .address-text {
    font-size: 0.8rem;
  }

  .cta-button {
    font-size: 0.9rem;
    padding: 0.6rem 1.4rem;
    margin-top: 0.7rem;
  }
}

/* Small Mobile (375px to 480px) */
@media screen and (min-width: 375px) and (max-width: 480px) {
  html {
    font-size: 14px;
  }

  .hero {
    padding-top: calc(var(--header-height) + 0.7rem);
    padding-bottom: 1.5rem;
  }

  .hero-content {
    padding: 0.8rem;
    gap: 0.25rem; /* Tighter spacing for mobile */
  }

  .hero-title {
    font-size: 2rem;
    margin-bottom: 0.3rem;
  }

  .hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 0.25rem; /* Reduced space */
  }

  /* Hero Video Responsive Styles */
  .hero-video-container {
    width: 92%;
    margin: 0.3rem auto; /* Reduced margin */
  }

  .play-icon {
    font-size: 2rem;
    width: 40px;
    height: 40px;
  }

  /* Meme Chat Responsive Styles */
  .meme-chat-container {
    height: 450px;
  }

  .chat-messages {
    height: 250px;
  }

  .chat-controls {
    padding: 0.8rem;
  }

  .chat-input-container {
    flex-direction: column;
    gap: 0.5rem;
  }

  .chat-send {
    width: 100%;
  }

  .message {
    max-width: 90%;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1.2rem;
  }

  .contract-address,
  .marketing-address {
    max-width: 90%;
    padding: 0.7rem;
  }

  .address-text {
    font-size: 0.9rem;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 200px;
  }

  .cta-button {
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .story-icons {
    gap: 1.5rem;
  }

  .icon-placeholder {
    width: 60px;
    height: 60px;
  }

  .community-card,
  .crypto-card {
    padding: 1.2rem;
  }

  /* Adjust parallax elements for small mobile */
  .parallax-element {
    opacity: 0.4; /* Reduce opacity to prevent content obstruction */
  }

  .coin-1,
  .coin-2,
  .rocket,
  .lambo,
  .wings {
    transform: scale(0.7); /* Make elements smaller */
  }

  /* Ensure sections have proper spacing */
  .hero {
    padding-top: var(--header-height);
    padding-bottom: 1rem;
  }

  .story,
  .community,
  .crypto-essentials {
    padding: 3rem 1rem;
  }

  /* Adjust chart container height for better mobile viewing */
  .chart-container {
    height: 300px;
  }

  /* CTO image adjustments for small mobile */
  .cto-image-container {
    width: 150px;
    height: 150px;
  }

  .cto-slogan {
    font-size: 1.5rem;
  }

  /* Hurricane image adjustments for small mobile */
  .hurricane-image-container {
    margin-top: 1rem;
  }

  .hurricane-image {
    max-width: 90%;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  }
}

/* Large Mobile (481px to 767px) */
@media screen and (min-width: 481px) and (max-width: 767px) {
  .hero {
    padding-top: calc(var(--header-height) + 1rem);
    padding-bottom: 2rem;
  }

  .hero-content {
    padding: 1rem;
    gap: 0.3rem; /* Consistent with main gap */
    width: 90%;
  }

  .hero-title {
    font-size: 2.5rem;
    margin-bottom: 0.4rem;
  }

  .hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 0.3rem; /* Reduced space */
  }

  .hero-video-container {
    width: 90%;
    margin: 0.4rem auto; /* Reduced margin */
  }

  .contract-address,
  .marketing-address {
    max-width: 90%;
    padding: 0.8rem;
  }

  .address-text {
    font-size: 1rem;
  }

  /* Adjust parallax elements for large mobile */
  .parallax-element {
    opacity: 0.5;
  }

  .coin-1,
  .coin-2,
  .rocket,
  .lambo,
  .wings {
    transform: scale(0.8);
  }
}

/* Tablet (768px to 1023px) */
@media screen and (min-width: 768px) and (max-width: 1023px) {
  .hero {
    padding-top: calc(var(--header-height) + 1.5rem);
    padding-bottom: 2.5rem;
  }

  .hero-content {
    padding: 1.2rem;
    gap: 0.4rem; /* Reduced gap */
    width: 85%;
  }

  .hero-title {
    font-size: 3.2rem;
    margin-bottom: 0.5rem;
  }

  .hero-subtitle {
    font-size: 1.7rem;
    margin-bottom: 0.4rem; /* Reduced space */
  }

  .hero-video-container {
    width: 85%;
    margin: 0.5rem auto; /* Reduced margin */
    max-width: 700px;
  }

  .youtube-link {
    font-size: 1rem;
    padding: 0.4rem 1.3rem;
  }

  .community-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .crypto-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .story-icons {
    gap: 4rem;
  }

  .footer-content {
    flex-direction: row;
    justify-content: space-between;
  }

  .footer-social {
    margin-bottom: 0;
  }

  /* Adjust contract and marketing address for better display */
  .contract-address,
  .marketing-address {
    max-width: 80%;
    padding: 1rem;
  }

  .address-text {
    font-size: 1.1rem;
  }

  /* Better spacing for sections */
  .hero {
    padding-top: var(--header-height);
    padding-bottom: 2rem;
  }

  .story,
  .community,
  .crypto-essentials {
    padding: 4rem 1.5rem;
  }

  /* Restore chart container height for tablet */
  .chart-container {
    height: 350px;
  }
}

/* Desktop (1024px and up) */
@media screen and (min-width: 1024px) {
  .nav-menu {
    position: static;
    width: auto;
    height: auto;
    background-color: transparent;
    box-shadow: none;
    display: flex;
    flex-direction: row;
    padding: 0;
  }

  .hero {
    padding-top: calc(var(--header-height) + 2rem);
    padding-bottom: 3rem;
  }

  .hero-content {
    padding: 1.5rem;
    gap: 0.4rem; /* Consistent gap */
    width: 80%;
  }

  /* Larger video size for desktop */
  .hero-video-container {
    width: 90%;
    max-width: 800px; /* Increased from 600px */
    margin: 0.5rem auto; /* Reduced margin */
  }

  .youtube-link {
    font-size: 1.1rem;
    padding: 0.5rem 1.5rem;
  }

  .nav-item {
    margin: 0 1rem;
  }

  .nav-toggle {
    display: none;
  }

  .hero-title {
    font-size: 4rem;
  }

  .hero-subtitle {
    font-size: 2rem;
  }

  .community-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .story-paragraph {
    font-size: 1.2rem;
  }

  /* Adjust contract and marketing address for better display */
  .contract-address,
  .marketing-address {
    max-width: 60%;
  }

  /* Better spacing for sections */
  .hero {
    padding-top: var(--header-height);
    padding-bottom: 3rem;
  }

  .story,
  .community,
  .crypto-essentials {
    padding: 5rem 2rem;
  }

  /* Restore chart container height for desktop */
  .chart-container {
    height: 400px;
  }
}

/* Large Desktop (1200px and up) */
@media screen and (min-width: 1200px) {
  .hero-title {
    font-size: 4.2rem;
    margin-bottom: 0.6rem;
  }

  .hero-subtitle {
    font-size: 2rem;
    margin-bottom: 0.5rem; /* Reduced space */
  }

  .container {
    width: 80%;
  }

  .hero-content {
    padding: 1.8rem;
    gap: 0.5rem; /* Reduced gap */
    max-width: 1100px;
  }

  /* Even larger video size for large desktop */
  .hero-video-container {
    width: 90%;
    max-width: 1000px; /* Even larger for big screens */
    margin: 0.6rem auto; /* Reduced margin */
  }

  .youtube-link-container {
    margin-top: 0.7rem;
    margin-bottom: 0.7rem;
  }

  .youtube-link {
    font-size: 1.2rem;
    padding: 0.5rem 1.8rem;
  }

  .contract-label {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
  }

  .contract-address {
    padding: 1rem;
    margin-bottom: 1.2rem;
  }

  .cta-button {
    font-size: 1.2rem;
    padding: 1rem 2.2rem;
    margin-top: 1.2rem;
  }

  /* Adjust contract and marketing address for better display */
  .contract-address,
  .marketing-address {
    max-width: 50%;
  }
}
