/* Flipdot Animation Styles */
.flipdot-container {
  background-color: #000;
  padding: 40px 20px;
  text-align: center;
  font-family: 'Courier New', monospace;
  overflow: hidden;
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Navigation bar integration - increased spacing */
.nav-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 20px;
  margin-bottom: 20px;
  padding-top: 10px;
  padding-bottom: 10px;
}

.nav-left {
  display: flex;
  align-items: center;
}

.nav-right {
  display: flex;
  align-items: center;
}

.flipdot-nav-container {
  font-family: 'Courier New', monospace;
  max-width: 160px;
  flex-shrink: 0;
  margin-right: 20px;
  overflow: visible;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.nav-content ul {
  margin: 0;
  padding-left: 0;
  list-style-type: none;
  text-align: right;
  display: flex;
  gap: 15px;
}

.nav-content ul li {
  display: inline;
}

.nav-content ul li a {
  text-decoration: none;
  color: var(--text-color);
  margin-left: 10px;
  transition: all 0.2s ease;
}

.nav-content ul li a:hover {
  text-decoration: none;
  color: var(--background-color);
  background-color: var(--base-color);
}

/* Individual dot styling */
.flipdot-dot {
  background-color: transparent;
  border-radius: 50%;
  transition: all 0.2s ease;
  border: none;
}

.flipdot-dot.flipped {
  background-color: #fff;
  box-shadow: 0 0 3px rgba(255, 255, 255, 0.6);
}

/* Dot flip animation */
@keyframes dotFlip {
  0% {
    transform: scale(0);
    background-color: transparent;
  }
  50% {
    transform: scale(1.2);
    background-color: rgba(255, 255, 255, 0.8);
  }
  100% {
    transform: scale(1);
    background-color: #fff;
  }
}

.flipdot-dot.flipped {
  animation: dotFlip 0.3s ease-out;
}

/* Responsive design */
@media (max-width: 768px) {
  .nav-content {
    margin-top: 15px;
    margin-bottom: 15px;
    padding-top: 8px;
    padding-bottom: 8px;
    flex-wrap: nowrap;
    overflow-x: hidden;
  }
  
  .flipdot-nav-container {
    max-width: 120px;
    margin-right: 12px;
    flex-shrink: 1;
  }
  
  .nav-content ul {
    gap: 8px;
    flex-wrap: wrap;
  }
  
  .nav-content ul li a {
    font-size: 0.9em;
    padding: 2px 4px;
  }
}

@media (max-width: 480px) {
  .nav-content {
    margin-top: 10px;
    margin-bottom: 10px;
    padding-top: 5px;
    padding-bottom: 5px;
    flex-direction: row;
    justify-content: space-between;
  }
  
  .flipdot-nav-container {
    max-width: 90px;
    margin-right: 8px;
    min-width: 70px;
  }
  
  .nav-content ul {
    gap: 6px;
    font-size: 0.85em;
  }
  
  .nav-content ul li a {
    font-size: 0.8em;
    padding: 1px 3px;
    white-space: nowrap;
  }
}

@media (max-width: 360px) {
  .nav-content {
    margin-top: 8px;
    margin-bottom: 8px;
    padding-top: 4px;
    padding-bottom: 4px;
  }
  
  .flipdot-nav-container {
    max-width: 75px;
    margin-right: 6px;
    min-width: 60px;
  }
  
  .nav-content ul {
    gap: 4px;
    font-size: 0.75em;
  }
  
  .nav-content ul li a {
    font-size: 0.7em;
    padding: 1px 2px;
  }
}