.scroll-arrow {
  position: fixed;
  width: 32px;
  height: 32px;
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1000;
  transition: transform 0.2s ease;
  opacity: 0;
  visibility: hidden;
}

.scroll-arrow:hover { transform: scale(1.05); }

.scroll-arrow:active {
  transform: scale(0.95);
}

.scroll-arrow.show {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

.scroll-arrow svg {
  width: 36px;
  height: 36px;
  fill: #fff;
}

.scroll-arrow-up {
  top: 20px;
  right: 20px;
}

.scroll-arrow-down {
  bottom: 20px;
  right: 20px;
}

@media (max-width: 768px) {
  .scroll-arrow { width: 28px; height: 28px; }
  .scroll-arrow svg { width: 32px; height: 32px; }
  
  .scroll-arrow-up {
    top: 15px;
    right: 15px;
  }
  
  .scroll-arrow-down {
    bottom: 15px;
    right: 15px;
  }
}

@media (max-width: 480px) {
  .scroll-arrow { width: 24px; height: 24px; }
  .scroll-arrow svg { width: 28px; height: 28px; }
  
  .scroll-arrow-up {
    top: 10px;
    right: 10px;
  }
  
  .scroll-arrow-down {
    bottom: 10px;
    right: 10px;
  }
}

@media (max-width: 360px) {
  .scroll-arrow { width: 22px; height: 22px; }
  .scroll-arrow svg { width: 26px; height: 26px; }
  
  .scroll-arrow-up {
    top: 8px;
    right: 8px;
  }
  
  .scroll-arrow-down {
    bottom: 8px;
    right: 8px;
  }
}

@media (max-width: 768px) and (orientation: landscape) {
  .scroll-arrow { width: 26px; height: 26px; }
  .scroll-arrow svg { width: 30px; height: 30px; }
  
  .scroll-arrow-up {
    top: 12px;
    right: 12px;
  }
  
  .scroll-arrow-down {
    bottom: 12px;
    right: 12px;
  }
}

@media (max-height: 600px) {
  .scroll-arrow {
    width: 35px;
    height: 35px;
  }
  
  .scroll-arrow svg {
    width: 14px;
    height: 14px;
  }
  
  .scroll-arrow-up {
    top: 8px;
    right: 8px;
  }
  
  .scroll-arrow-down {
    bottom: 8px;
    right: 8px;
  }
}

@media (max-width: 1400px) {
  .scroll-arrow { width: 30px; height: 30px; }
  .scroll-arrow svg { width: 34px; height: 34px; }
}

@media (max-width: 1200px) and (min-height: 800px) {
  .scroll-arrow { width: 34px; height: 34px; }
  .scroll-arrow svg { width: 38px; height: 38px; }
  
  .scroll-arrow-up {
    top: 25px;
    right: 25px;
  }
  
  .scroll-arrow-down {
    bottom: 25px;
    right: 25px;
  }
} 