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

body {
  font-family: 'Poppins', sans-serif;
  color: #e0e0e0;
  background: rgba(31,25,25,255);
  overflow-x: hidden;
}

/* Keyframes for animations */
@keyframes fadeIn {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes slideIn {
  0% { opacity: 0; transform: translateX(-30px); }
  100% { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInText {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

@keyframes hoverBounce {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

header {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: rgba(31,25,25,255);
}

.header-overlay {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  
  opacity: 0.95;
}

.header-content {
  position: relative;
  z-index: 1;
  background: rgba(255, 255, 255, 0.05);
  padding: 40px;
  margin: 30px auto;
  max-width: 800px;
  border-radius: 20px;
  backdrop-filter: blur(10px);
  animation: fadeIn 2s ease-in-out;
}

.header-content h1 {
  font-family: 'Poppins', sans-serif;
  font-size: 2rem;
  color: #ff8800ff;
  text-transform: uppercase;
  animation: fadeInText 2s ease forwards;
}

.header-content h1:hover {
  animation: hoverBounce 0.5s forwards;
  cursor: pointer;
}

.header-content p {
  font-size: 1.2rem;
  margin: 15px 0 25px;
  color: #ff5252;
  animation: fadeInText 2.5s ease forwards;
}

.cta-button {
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(135deg, #ffaf00, #ff8c00, #ff6100);
  color: #fff;
  padding: 12px 30px;
  border-radius: 30px;
  text-decoration: none;
  transition: transform 0.3s, background 0.3s;
  animation: fadeInText 3s ease forwards;
}

.cta-button:hover {
  transform: scale(1.1);
  background: linear-gradient(135deg, #ff7d12, #ffff00);
}

/* Section Animations */
section {
  padding: 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
  opacity: 0;
  animation: slideIn 1.5s forwards;
  animation-delay: 0.5s;
}

section h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #ff8800ff;
  background: linear-gradient(135deg, #ffff00, #ff7700);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: fadeInText 2s ease forwards;
}

section h2:hover {
  animation: hoverBounce 0.5s forwards;
  cursor: pointer;
}

section p {
  font-size: 1.1rem;
  color: #ff5252;
  animation: fadeInText 2.5s ease forwards;
}

#about, #join {
  background: rgba(255, 255, 255, 0.05);
  padding: 40px;
  margin: 30px auto;
  max-width: 800px;
  border-radius: 20px;
  backdrop-filter: blur(10px);
  animation-delay: 0.8s;
}

/* Features */
.features-container {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.feature-box {
  background: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 12px;
  width: 30%;
  min-width: 280px;
  margin: 15px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
  backdrop-filter: blur(8px);
  opacity: 0;
  animation: fadeIn 1s forwards;
}

.feature-box:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.feature-box h3 {
  font-size: 1.4rem;
  color: #ff8800ff;
  margin: 10px 0;
  animation: fadeInText 1.5s ease forwards;
}

.feature-box h3:hover {
  animation: hoverBounce 0.5s forwards;
}

.feature-box p {
  color: #ff5252;
  animation: fadeInText 2s ease forwards;
}

.feature-box i {
  font-size: 2.5rem;
  color: #ff8800ff;
  margin-bottom: 10px;
  transition: transform 0.3s ease;
}

.feature-box:hover i {
  transform: rotate(15deg);
  color: #ff5252;
}

/* Our Goal Section */
#goal {
  background: rgb(48, 48, 48, 0.1);
  padding: 60px 20px;
  margin: 30px auto;
  max-width: 1000px;
  border-radius: 20px;
  text-align: center;
  backdrop-filter: blur(8px);
  animation-delay: 1s;
}

#goal h2, #goal p {
  animation: fadeInText 2s ease forwards;
}

.goal-icons {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.goal-icon {
  background: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 12px;
  width: 30%;
  min-width: 280px;
  margin: 15px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
  backdrop-filter: blur(8px);
  opacity: 0;
  animation: fadeIn 1.2s forwards;
}

.goal-icon:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.goal-icon h3, .goal-icon p {
  animation: fadeInText 2s ease forwards;
}

.goal-icon i {
  font-size: 2.5rem;
  color: #ff8800ff;
  margin-bottom: 10px;
  transition: color 0.3s, transform 0.3s;
}

.goal-icon:hover i {
  color: #ff5252;
  transform: rotate(15deg);
}

/* Call to Action Section */
#join {
  background: rgba(255, 255, 255, 0.05);
  padding: 40px 20px;
  margin: 30px auto;
  max-width: 800px;
  border-radius: 20px;
  text-align: center;
  backdrop-filter: blur(10px);
}

#join h2 {
  font-size: 2.5rem;
  color: #ff8800ff;
}

#goal h3 {
  color: #ff8800ff;
}

#join p {
  font-size: 1.2rem;
  color: #ff5252;
  margin-bottom: 20px;
}

/* Footer */
footer {
  padding: 20px;
  text-align: center;
  color: #b0bec5;
}

footer p {
  margin: 0;
  color: #ff5252;
}
/* Initial hidden state for fade-on-scroll elements */
.fade-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1.5s cubic-bezier(0.4, 0, 0.2, 1), transform 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Fade-in effect when elements are in view */
.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Additional styling for smooth animations */
.header-content, .feature-box, .cta-button, h1, h2, h3, p, i, img {
  transition: opacity 1s ease-out, transform 0.5s ease-out;
}

/* Base style for cards */
.card {
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  border-radius: 8px;
  overflow: hidden;
}

/* More pronounced zoom and light blue shadow effect on hover */
.card:hover {
  transform: scale(1.1); /* Slightly larger zoom effect */
  box-shadow: 0px 12px 24px rgb(255, 149, 0, 0.3); /* Light blue shadow */
}


/* Social buttons container */
.social-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Social buttons */
.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px; /* Space between icon and text */
  padding: 12px 20px;
  border-radius: 30px;
  font-size: 16px;
  color: #fff;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Specific colors for each social button */
.youtube { background-color: #FF0000; }
.instagram { background-color: #E1306C; }
.twitter { background-color: #1DA1F2; }
.discord { background-color: #5865F2; }
.telegram { background-color: #0088cc; }

/* Hover effect for social buttons */
.social-btn:hover {
  transform: scale(1.05);
  box-shadow: 0px 8px 16px rgba(0, 162, 255, 0.3); /* Light blue shadow effect */
}

/* Icon styling */
.social-btn i {
  font-size: 18px;
}