/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  background: #fffff0;
  color: #2f4f4f;
  font-family: "Courier New", monospace;
  overflow-x: hidden;
  cursor: auto;
}

/* Blockchain Background Elements */
.blockchain-bg {
  position: fixed;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  background: linear-gradient(
    45deg,
    rgba(255, 215, 0, 0.1) 0%,
    rgba(47, 79, 79, 0.1) 100%
  );
}

.hexagon {
  position: absolute;
  width: 80px;
  height: 80px;
  background: rgba(255, 215, 0, 0.1);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  animation: float 6s infinite;
}

/* Cursor Effects */
.cursor-trail {
  position: fixed;
  width: 8px;
  height: 8px;
  background: rgba(242, 206, 2, 0.571);
  border-radius: 100%;
  pointer-events: none;
  transition: transform 0.3s;
}

/* Main Content */
.container {
  position: relative;
  z-index: 1;
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 0;
  border-bottom: 2px solid rgba(255, 215, 0, 0.3);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 240, 0.1);
  backdrop-filter: blur(5px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.scrolled {
  padding: 1rem 0;
  background: rgba(255, 255, 240, 0.98);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  border-bottom: 2px solid rgba(255, 215, 0, 0.5);
  transform: translateY(-5px);
}

.navbar.scrolled .container {
  transform: translateY(5px);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 0 2rem;
  transition: transform 0.3s ease;
}

.logo {
  font-size: 1.8rem;
  font-weight: bold;
  color: #ffd700;
  text-decoration: none;
  text-shadow: 2px 2px 4px rgba(202, 20, 20, 0.4);
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
}

.navbar.scrolled .logo {
  font-size: 1.5rem;
}

.nav-menu {
  display: flex;
  gap: 2rem;
  margin-left: auto;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
}

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

.nav-item {
  padding: 0.5rem 1.5rem;
  background: linear-gradient(45deg, #ffd700, #fdb931);
  color: #2f4f4f;
  border-radius: 25px;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 215, 0, 0.3);
  transform: translateZ(0);
}

.nav-item:hover {
  background: linear-gradient(45deg, #2f4f4f, #1a2f2f);
  color: #ffd700;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 215, 0, 0.2);
}

.nav-item::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: 0.5s;
}

.nav-item:hover::before {
  left: 100%;
}

.nav-item::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(255, 215, 0, 0.1), transparent);
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.nav-item:hover::after {
  transform: translateY(0);
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 5px;
  z-index: 1001;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: #ffd700;
  margin: 2px 0;
  transition: all 0.3s ease;
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 250px;
    background: rgba(255, 255, 240, 0.98);
    flex-direction: column;
    padding: 80px 20px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
    backdrop-filter: blur(10px);
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
  }

  .nav-menu.slide-in {
    animation: slideIn 0.3s forwards;
  }

  .nav-menu.slide-out {
    animation: slideOut 0.3s forwards;
  }

  .nav-item {
    width: 100%;
    text-align: left;
    margin: 10px 0;
  }

  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  cursor: none;
  padding-top: 100px;
}

h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  color: #2f4f4f;
  position: relative;
}

h1::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 3px;
  background: #ffd700;
}

.description {
  font-size: 1.2rem;
  color: #708090;
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Launch Button */
.launch-button {
  background: #ffd700;
  color: #2f4f4f;
  padding: 1rem 2.5rem;
  border: 2px solid #2f4f4f;
  border-radius: 8px;
  font-size: 1.2rem;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.launch-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(255, 215, 0, 0.3);
}

.launch-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.9),
    transparent
  );
  transition: 0.5s;
}

.launch-button:hover::before {
  left: 100%;
}

/* Footer Styles */
.footer {
  position: relative;
  background: rgba(255, 255, 240, 0.95);
  border-top: 1px solid rgba(255, 215, 0, 0.2);
  padding: 4rem 0 2rem;
}

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

.footer-section h3 {
  color: #2f4f4f;
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
}

.footer-section p {
  color: #708090;
  line-height: 1.6;
  margin-bottom: 0.5rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section ul li a {
  color: #708090;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: #ffd700;
}

.footer-section i {
  margin-right: 10px;
  color: #ffd700;
}

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

.social-icon {
  width: 40px;
  height: 40px;
  border: 2px solid #ffd700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2f4f4f;
  transition: all 0.3s ease;
  text-decoration: none;
  cursor: pointer;
}

.social-icon:hover {
  background: #ffd700;
  color: #fffff0;
  transform: translateY(-3px);
}

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

@keyframes ripple {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  100% {
    transform: scale(3);
    opacity: 0;
  }
}

@keyframes pulse {
  0% {
    transform: scale(1) rotate(360deg);
  }
  50% {
    transform: scale(1.2) rotate(360deg);
  }
  100% {
    transform: scale(1) rotate(360deg);
  }
}

/* About Section */
.about {
  padding: 6rem 0;
  position: relative;
  background: linear-gradient(135deg, #fffff0 0%, #fffff0 100%);
}

.blockchain-elements-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  pointer-events: none;
}

.blockchain-element-bg {
  position: absolute;
  width: 120px;
  height: 120px;
  background: rgba(255, 215, 0, 0.1);
  border: 2px solid rgba(255, 215, 0, 0.2);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: rotate(45deg);
  animation: float 6s infinite;
}

.blockchain-element-bg i {
  color: rgba(255, 215, 0, 0.3);
  font-size: 2rem;
  transform: rotate(-45deg);
}

.blockchain-element-bg:nth-child(1) {
  top: -60px;
  left: 10%;
  animation-delay: 0s;
}

.blockchain-element-bg:nth-child(2) {
  top: -60px;
  right: 15%;
  animation-delay: 1s;
}

.blockchain-element-bg:nth-child(3) {
  bottom: -60px;
  left: 20%;
  animation-delay: 2s;
}

.blockchain-element-bg:nth-child(4) {
  bottom: -60px;
  right: 10%;
  animation-delay: 3s;
}

.blockchain-element-bg:nth-child(5) {
  top: 50%;
  left: -60px;
  animation-delay: 4s;
}

.blockchain-element-bg:nth-child(6) {
  top: 50%;
  right: -60px;
  animation-delay: 5s;
}

@keyframes float {
  0%,
  100% {
    transform: rotate(45deg) translateY(0);
  }
  50% {
    transform: rotate(45deg) translateY(-20px);
  }
}

.about-content {
  position: relative;
  z-index: 2;
  width: 100%;
  margin: 0;
  padding: 0;
}

.about-text {
  background: rgba(255, 255, 240, 0.98);
  padding: 4rem;
  margin: 0 4rem;
  border-radius: 40px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(255, 215, 0, 0.2),
    0 0 0 2px rgba(255, 255, 240, 0.5), 0 0 0 3px rgba(255, 215, 0, 0.1);
  position: relative;
  overflow: hidden;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
  transform-style: preserve-3d;
  transition: transform 0.3s ease;
  cursor: pointer;
}

.about-text:hover {
  transform: perspective(1000px) rotateX(var(--mouse-y)) rotateY(var(--mouse-x));
}

.about-text::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, #ffd700, #fdb931, #ffd700);
}

.about-text p {
  color: #2f4f4f;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  position: relative;
  z-index: 1;
}

.about-text h2 {
  color: #2f4f4f;
  font-size: 2.8rem;
  margin-bottom: 2rem;
  position: relative;
  background: linear-gradient(45deg, #2f4f4f, #1a2f2f);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.about-text h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #ffd700, #fdb931);
  border-radius: 2px;
}

/* Blockchain Elements */
.blockchain-elements {
  position: relative;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 3rem;
  padding: 0 4rem;
  max-width: 1800px;
  margin-left: auto;
  margin-right: auto;
}

.blockchain-element {
  position: relative;
  width: 100%;
  height: 100px;
  background: rgba(255, 255, 240, 0.95);
  border: 1px solid rgba(255, 215, 0, 0.3);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.blockchain-element:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 240, 1);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.blockchain-element i {
  color: #ffd700;
  font-size: 2.5rem;
  margin-bottom: 1rem;
  background: linear-gradient(45deg, #ffd700, #fdb931);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: transform 0.3s ease;
}

.blockchain-element:hover i {
  transform: scale(1.2);
}

.blockchain-element span {
  color: #2f4f4f;
  font-size: 1.1rem;
  font-weight: 500;
  text-align: center;
}

@media (max-width: 1024px) {
  .blockchain-elements {
    grid-template-columns: repeat(2, 1fr);
    padding: 0 2rem;
  }
}

@media (max-width: 768px) {
  .about-text {
    padding: 3rem 2rem;
    margin: 0 2rem;
    border-radius: 30px;
    transform: none;
  }

  .blockchain-elements {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 0 2rem;
  }

  .about-text h2 {
    font-size: 2.2rem;
  }
}

/* Features Section */
.features {
  padding: 6rem 0;
  background: linear-gradient(
    135deg,
    rgba(47, 79, 79, 0.05) 0%,
    rgba(255, 215, 0, 0.05) 100%
  );
  position: relative;
}

.features h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: #2f4f4f;
}

.feature-cards {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  padding: 2rem 0;
  position: relative;
  z-index: 1;
}

.feature-card {
  flex: 1;
  min-width: 250px;
  max-width: 350px;
  padding: 2rem;
  background: #fffff0;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
  perspective: 1000px;
  cursor: pointer;
  border: 1px solid rgba(255, 215, 0, 0.3);
  margin-top: 0;
}

.feature-card:hover {
  transform: translateY(-30px) scale(1.05) rotateX(10deg);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(255, 215, 0, 0.3),
    0 0 0 2px rgba(255, 255, 240, 0.5), 0 0 0 3px rgba(255, 215, 0, 0.1);
  z-index: 1;
  margin-top: -30px;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, #ffd700, #fdb931, #ffd700);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(255, 215, 0, 0.2), transparent 70%);
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

.feature-card:hover::after {
  transform: translateY(0);
}

.feature-card i {
  font-size: 2.5rem;
  color: #ffd700;
  margin-bottom: 1.5rem;
  background: linear-gradient(45deg, #ffd700, #fdb931);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: all 0.4s ease;
  transform: translateZ(0);
  display: inline-block;
}

.feature-card:hover i {
  transform: scale(1.3) rotate(360deg);
  animation: pulse 2s infinite;
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #2f4f4f;
  position: relative;
  transition: all 0.4s ease;
  background: linear-gradient(45deg, #2f4f4f, #1a2f2f);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.feature-card:hover h3 {
  transform: translateY(-5px);
  background: linear-gradient(45deg, #ffd700, #fdb931);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.feature-card:nth-child(1) {
  order: 3;
}

.feature-card:nth-child(2) {
  order: 2;
}

.feature-card:nth-child(3) {
  order: 1;
}

.feature-card:nth-child(3) h3 {
  color: #2f4f4f;
}

.feature-card:nth-child(3) i {
  color: #ffd700;
  background: linear-gradient(45deg, #ffd700, #fdb931);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: pulse 2s infinite;
}

.feature-card:nth-child(3) p {
  position: relative;
  padding-top: 0;
}

.feature-card:nth-child(3) p::before {
  display: none;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 215, 0, 0.2);
}

.footer-bottom p {
  color: #708090;
}

/* Scroll Animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.about,
.features,
.feature-card {
  opacity: 0;
  animation: fadeInUp 0.6s ease forwards;
}

.about.visible,
.features.visible,
.feature-card.visible {
  opacity: 1;
}

/* Responsive Design */
@media (max-width: 768px) {
  h1 {
    font-size: 2.5rem;
  }
  .description {
    font-size: 1rem;
  }
  .about-content {
    flex-direction: column;
    text-align: center;
  }
  .feature-cards {
    flex-direction: column;
    align-items: center;
  }
  .feature-card {
    width: 100%;
  }
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
}
