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

.header-accent {
  height: 4px;
  width: 100%;
  background: linear-gradient(90deg, #00ffcc 0%, #00ccff 100%);
}

.header {
  background: linear-gradient(135deg, #181c24 0%, #232a36 100%);
  color: #fff;
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.10);
}

.header-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 36px 12px 36px;
}

/* Logo Styling */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(.4,2,.3,1);
  font-family: 'Segoe UI', 'Montserrat', Arial, sans-serif;
}
.logo:hover {
  transform: scale(1.07) rotate(-2deg);
}
.logo-icon {
  width: 32px;
  height: auto;
  display: inline-block;
  animation: bounce 2s infinite;
  filter: drop-shadow(0 2px 4px #00ffcc44);
}
.logo-text {
  font-size: 26px;
  font-weight: 800;
  background: linear-gradient(135deg, #00ffcc, #00ccff 80%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 1.5px;
  text-shadow: 0 2px 8px #00ffcc22;
}

/* Navigation */
.nav {
  display: flex;
  gap: 12px;
  list-style: none;
}
.nav-link {
  color: #e0e0e0;
  text-decoration: none;
  padding: 10px 22px;
  font-size: 15px;
  font-weight: 600;
  transition: all 0.25s cubic-bezier(.4,2,.3,1);
  position: relative;
  border-radius: 6px;
  letter-spacing: 0.5px;
  background: transparent;
}
.nav-link:hover, .nav-link:focus {
  color: #181c24;
  background: linear-gradient(90deg, #00ffcc 0%, #00ccff 100%);
  box-shadow: 0 2px 8px #00ffcc33;
  transform: translateY(-2px) scale(1.04);
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 6px;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #00ffcc, #00ccff);
  transition: all 0.3s cubic-bezier(.4,2,.3,1);
  transform: translateX(-50%);
}
.nav-link:hover::after {
  width: 70%;
}

@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  gap: 5px;
  padding: 5px;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background: #00ffcc;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(10px, 10px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* Animations */
@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .header {
    padding: 10px 0;
  }

  .header-content {
    padding: 10px 10px 8px 10px;
  }

  .logo-text {
    font-size: 20px;
  }

  .menu-toggle {
    display: flex;
  }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(26, 26, 26, 0.98);
    backdrop-filter: blur(10px);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    gap: 0;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 8px 24px #00ffcc22;
  }

  .nav.active {
    max-height: 300px;
  }

  .nav-link {
    padding: 15px 20px;
    border-bottom: 1px solid rgba(0, 255, 204, 0.1);
    border-radius: 0;
    font-size: 17px;
  }

  .nav-link::after {
    display: none;
  }
}
