/* Swipe indicator styles for mobile navigation */

/* Swipe indicator enhanced visibility */
.swipe-indicator-btn {
  position: relative;
}

.swipe-indicator-btn:hover {
  transform: scale(1.1);
}

.swipe-indicator-btn:active {
  transform: scale(0.95);
}

/* Make the swipe indicator more visible */
@media (max-width: 768px) {
  .swipe-indicator-btn {
    background-color: rgba(0, 0, 0, 0.3) !important;
    border-radius: 50% !important;
    padding: 8px !important;
    width: 32px !important;
    height: 32px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 0 5px rgba(76, 217, 100, 0.3) !important;
  }
  
  /* Pulse effect for the swipe indicator */
  @keyframes swipeIndicatorPulse {
    0% { box-shadow: 0 0 0 0 rgba(76, 217, 100, 0.5); }
    70% { box-shadow: 0 0 0 5px rgba(76, 217, 100, 0); }
    100% { box-shadow: 0 0 0 0 rgba(76, 217, 100, 0); }
  }
  
  .initial-show.swipe-indicator-btn {
    animation: swipeIndicatorPulse 2s infinite;
  }
  
  /* Page transition overlay enhancements */
  .page-transition-overlay {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
  }
  
  .transition-direction-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: rgba(76, 217, 100, 0.2);
  }
  
  .transition-page-name {
    margin-top: 15px;
    font-family: 'Courier New', monospace;
    letter-spacing: 1px;
  }
    /* First-time user guidance */
  .swipe-tutorial-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.85);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
  }
  
  .swipe-tutorial-overlay.visible {
    opacity: 1;
    pointer-events: auto;
  }
  
  .swipe-tutorial-content {
    background-color: rgba(28, 27, 31, 0.95);
    border: 2px solid var(--terminal-text, #4cd964);
    border-radius: 8px;
    padding: 25px;
    max-width: 300px;
    text-align: center;
    box-shadow: 0 0 20px rgba(76, 217, 100, 0.3);
    animation: pulseGlow 2s infinite;
  }
  
  @keyframes pulseGlow {
    0%, 100% { box-shadow: 0 0 20px rgba(76, 217, 100, 0.3); }
    50% { box-shadow: 0 0 30px rgba(76, 217, 100, 0.5); }
  }
  
  .swipe-tutorial-title {
    color: var(--terminal-text, #4cd964);
    font-size: 22px;
    margin: 0 0 15px 0;
    font-family: 'Fira Code', 'JetBrains Mono', monospace;
  }
  
  .swipe-tutorial-text {
    color: #fff;
    font-size: 16px;
    margin-bottom: 20px;
    text-align: center;
    font-family: 'Fira Code', 'JetBrains Mono', monospace;
    line-height: 1.5;
  }
  
  .swipe-tutorial-animation {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin: 20px 0;
  }
  
  .swipe-tutorial-arrow {
    font-size: 28px;
    color: var(--terminal-text, #4cd964);
  }
  
  .swipe-tutorial-arrow:first-child {
    animation: moveLeftRight 1.5s infinite;
  }
  
  .swipe-tutorial-arrow:last-child {
    animation: moveRightLeft 1.5s infinite;
  }
  
  .swipe-tutorial-button {
    background-color: var(--terminal-text, #4cd964);
    color: var(--terminal-bg, #0d1117);
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    font-family: 'Fira Code', 'JetBrains Mono', monospace;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s, background-color 0.2s;
    margin-top: 15px;
  }
  
  .swipe-tutorial-button:hover,
  .swipe-tutorial-button:focus {
    background-color: #5bef75;
    transform: scale(1.05);
  }
  
  .swipe-tutorial-button:active {
    transform: scale(0.95);
  }
  
  @keyframes moveLeftRight {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(-10px); }
  }
  
  @keyframes moveRightLeft {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(10px); }
  }
}

/* Current page highlight in mobile view */
.current-page-highlight {
  position: relative;
}

.current-page-highlight::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--terminal-text, #4cd964);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.current-page-highlight:hover::after {
  transform: scaleX(1);
}
