 * {
   margin: 0;
   padding: 0;
   box-sizing: border-box;
 }

 :root {
   --primary-color: #6366f1;
   --secondary-color: #8b5cf6;
   --accent-color: #00f2fe;
   --dark-bg: #0f0f23;
   --darker-bg: #0a0a1a;
   --text-light: #e2e8f0;
   --text-gray: #94a3b8;
   --gradient-1: linear-gradient(135deg, #6366f1, #8b5cf6);
   --gradient-2: linear-gradient(135deg, #f59e0b, #ef4444);
   --gradient-3: linear-gradient(135deg, #10b981, #06b6d4);
 }

 body {
   font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
   background: var(--dark-bg);
   color: var(--text-light);
   line-height: 1.6;
   overflow-x: hidden;
 }

 /* Navigation */
 .navbar {
   position: fixed;
   top: 0;
   width: 100%;
   background: rgba(15, 15, 35, 0.95);
   backdrop-filter: blur(10px);
   z-index: 1000;
   padding: 1rem 0;
   transition: all 0.3s ease;
 }

 .navbar.scrolled {
   background: rgba(10, 10, 26, 0.98);
   box-shadow: 0 4px 20px rgba(99, 102, 241, 0.1);
 }

 .nav-container {
   max-width: 1200px;
   margin: 0 auto;
   display: flex;
   justify-content: space-between;
   align-items: center;
   padding: 0 2rem;
 }

 .logo {
   font-size: 2rem;
   font-weight: bold;
   background: var(--gradient-1);
   -webkit-background-clip: text;
   -webkit-text-fill-color: transparent;
   background-clip: text;
 }

 .nav-menu {
   display: flex;
   list-style: none;
   gap: 2rem;
 }

 .nav-menu a {
   color: var(--text-light);
   text-decoration: none;
   transition: all 0.3s ease;
   position: relative;
 }

 .nav-menu a:hover {
   color: var(--accent-color);
 }

 .nav-menu a::after {
   content: "";
   position: absolute;
   bottom: -5px;
   left: 0;
   width: 0;
   height: 2px;
   background: var(--accent-color);
   transition: width 0.3s ease;
 }

 .nav-menu a:hover::after {
   width: 100%;
 }

 .burger {
   display: none;
   flex-direction: column;
   cursor: pointer;
   gap: 4px;
 }

 .burger span {
   width: 25px;
   height: 3px;
   background: var(--text-light);
   transition: all 0.3s ease;
 }

 .burger.active span:nth-child(1) {
   transform: rotate(45deg) translate(5px, 5px);
 }

 .burger.active span:nth-child(2) {
   opacity: 0;
 }

 .burger.active span:nth-child(3) {
   transform: rotate(-45deg) translate(7px, -6px);
 }

 /* Hero Section */
 .hero {
   height: 80vh;
   display: flex;
   align-items: center;
   justify-content: center;
   background: radial-gradient(ellipse at center,
       rgba(99, 102, 241, 0.1) 0%,
       transparent 70%);
   position: relative;
   overflow: hidden;
 }

 .hero::before {
   content: "";
   position: absolute;
   top: 0;
   left: 0;
   right: 0;
   bottom: 0;
   background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%236366f1" stroke-width="0.5" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
   animation: float 20s ease-in-out infinite;
 }

 .hero-content {
   text-align: center;
   z-index: 2;
   max-width: 800px;
   padding: 0 2rem;
 }

 .hero h1 {
   font-size: 3.5rem;
   margin-bottom: 1rem;
   background: var(--gradient-1);
   -webkit-background-clip: text;
   -webkit-text-fill-color: transparent;
   background-clip: text;
   animation: slideInUp 1s ease-out;
 }

 .hero p {
   font-size: 1.4rem;
   margin-bottom: 2rem;
   color: var(--text-gray);
   animation: slideInUp 1s ease-out 0.2s both;
 }

 .cta-button {
   display: inline-block;
   padding: 1rem 2rem;
   background: var(--gradient-1);
   color: white;
   text-decoration: none;
   border-radius: 50px;
   font-weight: bold;
   transition: all 0.3s ease;
   animation: slideInUp 1s ease-out 0.4s both;
   position: relative;
   overflow: hidden;
 }

 .cta-button::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: left 0.5s;
 }

 .cta-button:hover::before {
   left: 100%;
 }

 .cta-button:hover {
   transform: translateY(-3px);
   box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
 }

 /* Section Styles */
 .section {
   padding: 5rem 0;
   position: relative;
 }

 .container {
   max-width: 1200px;
   margin: 0 auto;
   padding: 0 2rem;
 }

 .section-title {
   text-align: center;
   font-size: 3rem;
   margin-bottom: 3rem;
   background: var(--gradient-1);
   -webkit-background-clip: text;
   -webkit-text-fill-color: transparent;
   background-clip: text;
 }

 /* Community Features */
 .community-features {
   display: grid;
   grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
   gap: 2rem;
 }

 .feature-item {
   display: flex;
   align-items: center;
   gap: 1rem;
   padding: 1rem;
   background: rgba(255, 255, 255, 0.05);
   border-radius: 10px;
   transition: all 0.3s ease;
 }

 .feature-item:hover {
   background: rgba(255, 255, 255, 0.1);
   transform: translateX(10px);
 }

 .feature-icon {
   font-size: 1.5rem;
   color: var(--primary-color);
 }

 /* Stats Section */
 .stats-grid {
   display: grid;
   grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
   gap: 2rem;
 }

 .stat-card {
   text-align: center;
   padding: 2rem;
   background: rgba(255, 255, 255, 0.05);
   border-radius: 15px;
   border: 1px solid rgba(255, 255, 255, 0.1);
   transition: all 0.3s ease;
 }

 .stat-card:hover {
   background: rgba(255, 255, 255, 0.1);
   transform: translateY(-5px);
 }

 .stat-number {
   font-size: 2.5rem;
   font-weight: bold;
   background: var(--gradient-1);
   -webkit-background-clip: text;
   -webkit-text-fill-color: transparent;
   background-clip: text;
   display: block;
 }

 /* Events Section */
 .events-grid {
   display: grid;
   grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
   gap: 2rem;
 }

 .event-card {
   background: rgba(255, 255, 255, 0.05);
   border-radius: 15px;
   padding: 2rem;
   border: 1px solid rgba(255, 255, 255, 0.1);
   transition: all 0.3s ease;
 }

 .event-card:hover {
   transform: translateY(-10px);
   box-shadow: 0 15px 30px rgba(99, 102, 241, 0.2);
 }

 .event-card h3 {
   font-size: 1.5rem;
   margin-bottom: 1rem;
 }

 .event-meta {
   display: flex;
   gap: 1rem;
   color: var(--text-gray);
   margin-bottom: 1rem;
 }

 /* Forum Section */
 .forum-grid {
   display: grid;
   grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
   gap: 2rem;
 }

 .forum-card {
   background: rgba(255, 255, 255, 0.05);
   border-radius: 15px;
   padding: 1.5rem;
   border: 1px solid rgba(255, 255, 255, 0.1);
   transition: all 0.3s ease;
 }

 .forum-card:hover {
   transform: translateY(-5px);
   box-shadow: 0 10px 20px rgba(99, 102, 241, 0.2);
 }

 .forum-card h3 {
   font-size: 1.4rem;
   margin-bottom: 0.5rem;
 }

 .forum-meta {
   display: flex;
   gap: 1rem;
   color: var(--text-gray);
   font-size: 0.9rem;
 }

 /* Leaderboard Section */
 .leaderboard-table {
   width: 100%;
   border-collapse: collapse;
   background: rgba(255, 255, 255, 0.05);
   border-radius: 15px;
   overflow: hidden;
 }

 .leaderboard-table th,
 .leaderboard-table td {
   padding: 1rem;
   text-align: left;
   border-bottom: 1px solid rgba(255, 255, 255, 0.1);
 }

 .leaderboard-table th {
   background: var(--gradient-1);
   color: white;
 }

 .leaderboard-table tr:hover {
   background: rgba(255, 255, 255, 0.1);
 }

 /* Ambassadors Section */
 .ambassadors-grid {
   display: grid;
   grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
   gap: 2rem;
 }

 .ambassador-card {
   background: rgba(255, 255, 255, 0.05);
   border-radius: 15px;
   padding: 2rem;
   text-align: center;
   border: 1px solid rgba(255, 255, 255, 0.1);
   transition: all 0.3s ease;
 }

 .ambassador-card:hover {
   transform: translateY(-10px);
   box-shadow: 0 15px 30px rgba(99, 102, 241, 0.2);
 }

 .ambassador-avatar {
   width: 100px;
   height: 100px;
   border-radius: 50%;
  
   margin: 0 auto 1rem;
   display: flex;
   align-items: center;
   justify-content: center;
   font-size: 1.5rem;
   color: white;
 }

 .ambassador-avatar img {
   width: 100%;
   height: 100%;
   object-fit: cover;
   border-radius: 50%;
 }


 /* Footer */
 .footer {
   background: var(--darker-bg);
   padding: 3rem 0 1rem;
   border-top: 1px solid rgba(255, 255, 255, 0.1);
 }

 .footer-content {
   display: grid;
   grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
   gap: 2rem;
   margin-bottom: 2rem;
 }

 .footer-section h3 {
   margin-bottom: 1rem;
   color: var(--primary-color);
 }

 .footer-section a {
   color: var(--text-gray);
   text-decoration: none;
   transition: color 0.3s ease;
   display: block;
   margin-bottom: 0.5rem;
 }

 .footer-section a:hover {
   color: var(--primary-color);
 }

 .social-links {
   display: flex;
   gap: 1rem;
   margin-top: 1rem;
 }

 .social-links a {
   display: flex;
   align-items: center;
   justify-content: center;
   width: 40px;
   height: 40px;
   background: rgba(255, 255, 255, 0.05);
   border-radius: 50%;
   transition: all 0.3s ease;
 }

 .social-links a:hover {
   background: var(--primary-color);
   transform: translateY(-3px);
 }

 .footer-bottom {
   text-align: center;
   padding-top: 2rem;
   border-top: 1px solid rgba(255, 255, 255, 0.1);
   color: var(--text-gray);
 }

 /* Animations */
 @keyframes slideInUp {
   from {
     opacity: 0;
     transform: translateY(50px);
   }

   to {
     opacity: 1;
     transform: translateY(0);
   }
 }

 @keyframes float {

   0%,
   100% {
     transform: translateY(0px) rotate(0deg);
   }

   50% {
     transform: translateY(-20px) rotate(1deg);
   }
 }

 @keyframes pulse {

   0%,
   100% {
     opacity: 1;
   }

   50% {
     opacity: 0.5;
   }
 }

 /* Responsive Design */
 @media (max-width: 768px) {
   .burger {
     display: flex;
   }

   .nav-menu {
     position: fixed;
     top: 80px;
     left: -100%;
     width: 100%;
     height: calc(100vh - 80px);
     background: rgba(10, 10, 26, 0.98);
     flex-direction: column;
     justify-content: flex-start;
     align-items: center;

     transition: left 0.3s ease;
   }

   .nav-menu.active {
     left: 0;
   }

   .nav-menu li {
     margin: 1rem 0;
   }

   .hero h1 {
     font-size: 2.5rem;
   }

   .hero p {
     font-size: 1.2rem;
   }

   .section-title {
     font-size: 2rem;
   }

   .community-features,
   .events-grid,
   .forum-grid,
   .ambassadors-grid {
     grid-template-columns: 1fr;
   }

   .stats-grid {
     grid-template-columns: 1fr;
   }
   .leaderboard-table {
     display: block;
     overflow-x: auto;
     white-space: nowrap;
   }
 }

 /* Scroll animations */
 .fade-in {
   opacity: 0;
   transform: translateY(30px);
   transition: all 0.6s ease;
 }

 .fade-in.visible {
   opacity: 1;
   transform: translateY(0);
 }