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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  color: #fff;
  min-height: 100vh;
}

.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 25px;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 56px;
  z-index: 1000;
}

.left-section {
  display: flex;
  align-items: center;
  gap: 15px;
}

.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 25px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
  border-radius: 6px;
  transition: background 0.2s ease;
}

.hamburger:hover {
  background: rgba(255, 255, 255, 0.1);
}

.hamburger span {
  width: 100%;
  height: 3px;
  background: #fff;
  border-radius: 3px;
  transition: all 0.3s ease;
}

.hamburger:hover span {
  background: #00d4ff;
}

.logo-text {
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
}

.login-btn {
  padding: 10px 20px;
  background: #5865F2;
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 500;
  transition: background 0.3s ease;
}

.login-btn:hover {
  background: #4752c4;
}

.user-profile {
  display: flex;
  align-items: center;
  gap: 10px;
}

.avatar-wrapper {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
}

.user-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dropdown-menu {
  position: fixed;
  top: 56px;
  left: 25px;
  background: rgba(26, 26, 46, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  padding: 10px 0;
  min-width: 200px;
  display: none;
  flex-direction: column;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 999;
}

.dropdown-menu.active {
  display: flex;
}

.dropdown-item {
  padding: 12px 20px;
  color: #fff;
  text-decoration: none;
  transition: background 0.2s ease;
}

.dropdown-item:hover {
  background: rgba(0, 212, 255, 0.1);
  color: #00d4ff;
}

.hero {
  padding-top: 100px;
  padding-bottom: 50px;
  text-align: center;
}

.hero-title {
  font-size: 72px;
  font-weight: 700;
  margin-bottom: 50px;
  color: #fff;
}

.box-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 15px;
  text-align: left;
  color: #fff;
}

.box-description {
  font-size: 14px;
  text-align: left;
  line-height: 1.5;
  color: #fff;
}

.boxes-container {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  padding: 0 25px;
  margin-bottom: 200px;
}

.box {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 25px;
  width: 280px;
  text-decoration: none;
  color: #fff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.box:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 212, 255, 0.2);
}

.footer {
  background: rgba(0, 0, 0, 0.3);
  padding: 40px 10%;
  display: flex;
  justify-content: space-around;
  gap: 30px;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
}

.footer-column {
  flex: 1;
  min-width: 0;
}

.footer-column h4 {
  font-size: 16px;
  margin-bottom: 15px;
  color: #fff;
}

.footer-column p {
  color: #ccc;
  margin-bottom: 15px;
  font-size: 14px;
}

.footer-link {
  display: block;
  color: #ccc;
  text-decoration: none;
  margin-bottom: 8px;
  font-size: 14px;
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: #fff;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-icon {
  width: 32px;
  height: 32px;
  transition: opacity 0.2s ease;
}

.social-icon:hover {
  opacity: 0.7;
}

.social-icon svg {
  width: 100%;
  height: 100%;
}

@media (max-width: 768px) {
  .hero {
    padding-top: 80px;
    padding-bottom: 30px;
  }
  
  .hero-title {
    font-size: 36px;
    margin-bottom: 30px;
  }
  
  .boxes-container {
    flex-direction: column;
    align-items: center;
    margin-bottom: 250px;
  }
  
  .box {
    width: 100%;
    max-width: 320px;
  }
  
  .footer {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 30px 25px;
  }
  
  .footer-column {
    width: 100%;
    max-width: 300px;
    margin-bottom: 20px;
  }
  
  .logo-text {
    font-size: 16px;
  }
}