* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Rubik', sans-serif;
  color: #fff;
  background: linear-gradient(to bottom, rgba(0,0,0,0.5), rgba(0,0,0,0.6)), url('../assets/perrocash_background.png') no-repeat center center fixed;
  background-size: cover;
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

.language-toggle {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1000;
  background: rgba(255, 207, 47, 0.9);
  border-radius: 25px;
  padding: 8px 16px;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}
.language-toggle:hover {
  background: rgba(255, 207, 47, 1);
  transform: translateY(-2px);
}
.language-toggle a {
  color: #000;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 5px;
}

header {
  text-align: center;
  padding: 80px 20px 80px; /* Reduced top padding to move title up */
  position: relative;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
header h1 {
  font-size: clamp(2.5rem, 8vw, 4rem);
  margin: 0; /* Added bottom margin to push subtitle down */
  color: #ffcf2f;
  font-weight: 900;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.8), 0 0 20px rgba(255, 207, 47, 0.5);
  animation: glow 2s ease-in-out infinite alternate;
  text-align: center;
  line-height: 48px;
}
@keyframes glow {
  from { text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.8), 0 0 20px rgba(255, 207, 47, 0.5); }
  to { text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.8), 0 0 30px rgba(255, 207, 47, 0.8); }
}
header p {
  font-size: clamp(1.1rem, 3vw, 1.4rem);
  color: #eee;
  max-width: 700px;
  margin: 0 auto 40px; /* Added bottom margin to push buttons down */
  text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.8);
  background: rgba(0, 0, 0, 0.7);
  padding: 20px;
  border-radius: 15px;
  backdrop-filter: blur(10px);
  text-align: center;
}
.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin: 350px 0 0; /* Increased top margin to push buttons down */
  padding: 0;
}
.cta-buttons a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 25px;
  background: linear-gradient(135deg, #ffcf2f, #ffd73b);
  color: #000;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 207, 47, 0.3);
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}
.cta-buttons a::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: left 0.5s;
}
.cta-buttons a:hover::before {
  left: 100%;
}
.cta-buttons a:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 207, 47, 0.5);
  border-color: #fff;
}
.token-address {
  background: rgba(0, 0, 0, 0.7);
  border: 2px solid rgba(255, 207, 47, 0.5);
  border-radius: 15px;
  padding: 15px 20px;
  margin: 40px auto 60px; /* Increased top margin */
  max-width: 700px;
  text-align: center;
  backdrop-filter: blur(10px);
}
.token-address h3 {
  color: #ffcf2f;
  font-size: 1.1rem;
  margin-bottom: 10px;
  font-weight: 700;
}
.token-address-box {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 10px;
  padding: 12px;
  margin-top: 10px;
}
.token-address-text {
  font-family: 'Courier New', monospace;
  font-size: 0.9rem;
  color: #fff;
  word-break: break-all;
  flex: 1;
  text-align: center;
}
.copy-btn {
  background: #ffcf2f;
  color: #000;
  border: none;
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.8rem;
  transition: all 0.3s ease;
}
.copy-btn:hover {
  background: #ffd73b;
  transform: translateY(-2px);
}
.copy-btn.copied {
  background: #4ade80;
  color: #fff;
}
section {
  padding: 80px 20px;
  max-width: 900px;
  margin: 0 auto;
}
section h2 {
  color: #ffcf2f;
  font-size: clamp(1.8rem, 5vw, 2.5rem);
  margin-bottom: 25px;
  text-align: center;
  text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.8);
  font-weight: 700;
}
section p {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  line-height: 1.8;
  text-align: center;
  margin-bottom: 20px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}
.tokenomics {
  background: rgba(0, 0, 0, 0.6);
  border: 2px solid rgba(255, 207, 47, 0.3);
  border-radius: 20px;
  padding: 40px;
  backdrop-filter: blur(15px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
}
.tokenomics::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #ffcf2f, #ffd73b, #ffcf2f);
  animation: shimmer 2s ease-in-out infinite;
}
@keyframes shimmer {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}
.tokenomics h2 {
  margin-bottom: 30px;
}
ul {
  list-style: none;
  padding: 0;
  text-align: left;
}
ul li {
  display: flex;
  align-items: center;
  padding: 12px 0;
  font-size: clamp(1rem, 2.5vw, 1.1rem);
  border-bottom: 1px solid rgba(255, 207, 47, 0.1);
  transition: all 0.3s ease;
}
ul li:last-child {
  border-bottom: none;
}
ul li:hover {
  background: rgba(255, 207, 47, 0.1);
  padding-left: 10px;
  border-radius: 8px;
}
ul li::before {
  content: '🦴';
  margin-right: 15px;
  font-size: 1.2em;
  animation: bounce 2s ease-in-out infinite;
}
@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-5px); }
  60% { transform: translateY(-3px); }
}
footer {
  text-align: center;
  padding: 60px 20px 40px;
  font-size: 0.9em;
  color: #ccc;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(10px);
}
footer p {
  margin-bottom: 20px;
}
.floating-coin {
  position: fixed;
  font-size: 2rem;
  animation: float 6s ease-in-out infinite;
  pointer-events: none;
  z-index: 10;
  opacity: 0.7;
}
@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  25% { transform: translateY(-20px) rotate(90deg); }
  50% { transform: translateY(-10px) rotate(180deg); }
  75% { transform: translateY(-15px) rotate(270deg); }
}

@media (max-width: 1860px) {
    .cta-buttons {
        margin: 460px 0 0;
    }
}
@media (max-width: 768px) {
  header {
    padding: 60px 15px 60px; /* Reduced top padding for mobile */
  }
  
  header h1 {
    margin: 0 0 20px; /* Adjust for mobile */
  }
  
  header p {
    margin: 0 auto 20px;
  }
  
  .cta-buttons {
    margin: 60px 0 0; /* Adjust for mobile */
    flex-direction: column;
    align-items: center;
  }
  
  .cta-buttons a {
    width: 280px;
    justify-content: center;
  }
  
  .token-address {
    margin: 30px 15px 40px;
  }
}
@media (max-width: 480px) {
  .cta-buttons {
    margin: 220px 0 0; /* Slightly less space on very small screens */
  }
  
  .cta-buttons a {
    width: 100%;
    padding: 12px 20px;
    font-size: 14px;
  }
  ul li {
    font-size: 0.95rem;
  }
}
