:root {
  --gold-primary: #f8c95c;
  --gold-secondary: #e6b449;
  --gold-dark: #c49832;
  --white: #ffffff;
  --black: #000000;
  --dark-bg: #111111;
  --gray: #333333;
  --light-gray: #f5f5f5;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Montserrat', sans-serif;
  background-color: var(--dark-bg);
  color: var(--white);
  overflow-x: hidden;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 0;
}

/* Noise overlay */
.noise-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 250 250' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  opacity: 0.03;
  z-index: -1;
  pointer-events: none;
}

/* Header and Navigation */
header {
  padding: 1.5rem 0;
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 100;
  background: rgba(17, 17, 17, 0.8);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(248, 201, 92, 0.2);
  height: auto; /* Allow height to adjust to content */
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.logo img {
  height: 50px;
  border-radius: 50%;
  border: 2px solid var(--gold-primary);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-links a {
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 1px;
  transition: color 0.3s ease;
  position: relative;
}

.nav-links a:hover {
  color: var(--gold-primary);
}

.nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: var(--gold-primary);
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.btn-connect {
  background: linear-gradient(135deg, var(--gold-primary), var(--gold-dark));
  padding: 0.5rem 1.5rem;
  border-radius: 30px;
  color: var(--black) !important;
  font-weight: 700 !important;
}

.btn-connect:hover {
  background: var(--gold-primary);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(248, 201, 92, 0.3);
}

/* Hero Section */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding-top: 120px; /* Increased from 80px to prevent hiding under header */
  overflow: hidden;
  margin-top: 0; /* Ensure no additional margin */
}

.hero-content {
  text-align: center;
  z-index: 2;
  max-width: 800px;
  padding: 0 2rem;
}

.hero h1 {
  font-family: 'Orbitron', sans-serif;
  font-size: 5rem;
  font-weight: 900;
  margin-bottom: 0.5rem;
  color: var(--white);
  text-shadow: 0 0 10px rgba(248, 201, 92, 0.5);
  letter-spacing: 5px;
}

.hero .subtitle {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 2rem;
  color: var(--gold-primary);
  letter-spacing: 3px;
}

.hero-description {
  margin-bottom: 2rem;
  font-size: 1.2rem;
}

/* Contract Address Box */
.contract-address {
  margin: 2rem auto;
  max-width: 600px;
}

.ca-box {
  background: rgba(51, 51, 51, 0.3);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(248, 201, 92, 0.2);
  border-radius: 10px;
  padding: 1rem;
  text-align: left;
}

.ca-label {
  display: block;
  font-size: 0.9rem;
  color: var(--gold-primary);
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.ca-value-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 5px;
  padding: 0.5rem 1rem;
}

.ca-value {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.9rem;
  color: var(--white);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.copy-btn {
  background: transparent;
  border: none;
  color: var(--gold-primary);
  cursor: pointer;
  font-size: 1rem;
  padding: 0.3rem;
  transition: all 0.3s ease;
}

.copy-btn:hover {
  color: var(--white);
  transform: scale(1.1);
}

.copy-btn.copied {
  color: #4CAF50;
}

.hero-image {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 1;
  opacity: 0.3;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.glow-effect {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  height: 80%;
  background: radial-gradient(circle, rgba(248, 201, 92, 0.2) 0%, rgba(17, 17, 17, 0) 70%);
  z-index: -1;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.btn {
  padding: 0.8rem 2rem;
  border-radius: 30px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  font-family: 'Orbitron', sans-serif;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold-primary), var(--gold-dark));
  color: var(--black);
  border: none;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(248, 201, 92, 0.3);
}

.btn-secondary {
  background: transparent;
  color: var(--gold-primary);
  border: 2px solid var(--gold-primary);
}

.btn-secondary:hover {
  background: rgba(248, 201, 92, 0.1);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(248, 201, 92, 0.1);
}

.btn-telegram {
  background: #0088cc;
  color: var(--white);
  border: none;
}

.btn-telegram:hover {
  background: #0099e6;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 136, 204, 0.3);
}

/* Floating coins animation */
.floating-coins {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.coin {
  position: absolute;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--gold-primary), var(--gold-dark));
  box-shadow: 0 0 20px rgba(248, 201, 92, 0.6);
  animation: float 15s infinite linear;
}

.coin-1 {
  top: 20%;
  left: 15%;
  animation-duration: 20s;
  animation-delay: -5s;
}

.coin-2 {
  top: 60%;
  right: 10%;
  width: 40px;
  height: 40px;
  animation-duration: 15s;
  animation-delay: -2s;
}

.coin-3 {
  bottom: 15%;
  left: 30%;
  width: 30px;
  height: 30px;
  animation-duration: 18s;
  animation-delay: -8s;
}

@keyframes float {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }
  25% {
    transform: translate(100px, -50px) rotate(90deg);
  }
  50% {
    transform: translate(200px, 50px) rotate(180deg);
  }
  75% {
    transform: translate(100px, 100px) rotate(270deg);
  }
  100% {
    transform: translate(0, 0) rotate(360deg);
  }
}

/* Section Styling */
section {
  padding: 6rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-family: 'Orbitron', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1rem;
}

.divider {
  width: 80px;
  height: 4px;
  background: linear-gradient(to right, var(--gold-primary), var(--gold-dark));
  margin: 0 auto;
  border-radius: 2px;
}

/* About Section */
.about {
  background-color: rgba(17, 17, 17, 0.9);
}

.about-content {
  display: flex;
  align-items: center;
  gap: 4rem;
  flex-wrap: wrap;
}

.about-image {
  flex: 1;
  min-width: 300px;
  position: relative;
  display: flex;
  justify-content: center;
}

.circular-image {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--gold-primary);
  z-index: 2;
}

.image-glow {
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(248, 201, 92, 0.3) 0%, rgba(17, 17, 17, 0) 70%);
  z-index: 1;
}

.about-text {
  flex: 2;
  min-width: 300px;
}

.about-text p {
  margin-bottom: 1.5rem;
  line-height: 1.7;
  font-size: 1.1rem;
}

.stats {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gold-primary);
  font-family: 'Orbitron', sans-serif;
}

.stat-label {
  font-size: 1rem;
  color: var(--white);
  margin-top: 0.5rem;
}

/* Blockchain Section */
.blockchain {
  background-color: var(--dark-bg);
  position: relative;
  overflow: hidden;
}

.blockchain::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(248, 201, 92, 0.05) 0%, rgba(17, 17, 17, 0) 70%);
  z-index: 0;
}

.blockchain-content {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 4rem;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.feature-card {
  flex: 1;
  min-width: 250px;
  background: rgba(51, 51, 51, 0.3);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(248, 201, 92, 0.2);
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2), 0 0 15px rgba(248, 201, 92, 0.2);
}

.card-icon {
  font-size: 2.5rem;
  color: var(--gold-primary);
  margin-bottom: 1.5rem;
}

.feature-card h3 {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--white);
}

.feature-card p {
  color: var(--light-gray);
  line-height: 1.6;
}

.nft-showcase {
  margin-top: 4rem;
  display: flex;
  justify-content: center;
}

.nft-card {
  width: 100%;
  max-width: 500px;
  background: rgba(51, 51, 51, 0.3);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(248, 201, 92, 0.2);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.nft-image {
  width: 100%;
  height: 300px;
  overflow: hidden;
}

.nft-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.nft-card:hover .nft-image img {
  transform: scale(1.05);
}

.nft-info {
  padding: 1.5rem;
}

.nft-info h3 {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--white);
}

.nft-info p {
  color: var(--light-gray);
  margin-bottom: 1rem;
}

.nft-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nft-meta span {
  color: var(--gold-primary);
  font-weight: 700;
}

.view-link {
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.view-link:hover {
  color: var(--gold-primary);
}

/* Community Section */
.community {
  background-color: rgba(17, 17, 17, 0.9);
  position: relative;
}

.community::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(248, 201, 92, 0.1) 0%, rgba(17, 17, 17, 0) 70%);
  z-index: 0;
}

.community-content {
  text-align: center;
  position: relative;
  z-index: 1;
}

.community-intro {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto 3rem;
  line-height: 1.7;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.social-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: var(--white);
  transition: transform 0.3s ease, color 0.3s ease;
}

.social-link i {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--gold-primary), var(--gold-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.telegram-link i {
  background: linear-gradient(135deg, #0088cc, #0099e6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.social-link span {
  font-weight: 500;
}

.social-link:hover {
  transform: translateY(-5px);
  color: var(--gold-primary);
}

.telegram-link:hover {
  color: #0088cc;
}

/* Connect Section */
.connect {
  background-color: var(--dark-bg);
  position: relative;
}

.connect::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(248, 201, 92, 0.05) 0%, rgba(17, 17, 17, 0) 70%);
  z-index: 0;
}

.connect-content {
  text-align: center;
  position: relative;
  z-index: 1;
}

.connect-content p {
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto 3rem;
}

.wallet-options {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.wallet-btn {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 2rem;
  background: rgba(51, 51, 51, 0.3);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(248, 201, 92, 0.2);
  border-radius: 10px;
  color: var(--white);
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.wallet-btn:hover {
  background: rgba(248, 201, 92, 0.1);
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2), 0 0 10px rgba(248, 201, 92, 0.2);
}

.wallet-icon {
  font-size: 1.5rem;
  color: var(--gold-primary);
}

.wallet-btn img.wallet-icon {
  width: 24px;
  height: 24px;
}

/* Footer */
footer {
  background-color: rgba(17, 17, 17, 0.95);
  border-top: 1px solid rgba(248, 201, 92, 0.2);
  padding: 3rem 0 1rem;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-logo img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--gold-primary);
}

.footer-logo p {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
}

.footer-links ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.footer-links a {
  color: var(--white);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--gold-primary);
}

.footer-social {
  display: flex;
  gap: 1.5rem;
}

.footer-social a {
  color: var(--white);
  font-size: 1.5rem;
  transition: color 0.3s ease;
}

.footer-social a:hover {
  color: var(--gold-primary);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 3.5rem;
  }
  
  .hero .subtitle {
    font-size: 1.2rem;
  }
  
  .about-content {
    flex-direction: column;
    text-align: center;
  }
  
  .stats {
    justify-content: center;
  }
  
  .blockchain-content {
    flex-direction: column;
  }
  
  .footer-content {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-links ul {
    justify-content: center;
    flex-wrap: wrap;
  }
  
  .footer-social {
    justify-content: center;
  }
  
  .nav-links {
    display: none;
  }
  
  .ca-value {
    font-size: 0.7rem;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .hero .subtitle {
    font-size: 1rem;
  }
  
  .section-header h2 {
    font-size: 2rem;
  }
}
