/* ===== DOWNLOAD PAGE CUSTOM STYLES ===== */

/* Center-align intro text */
.section-title,
.content-text {
  text-align: center;
}

/* Make paragraph narrower for better focus */
.content-text {
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #000000;
}

/* Download sections layout */
.download-options {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 2px;
  margin: 60px auto;
  width: 90%;
  max-width: 900px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.03), rgba(255,255,255,0.02));
  overflow: hidden;
}

/* Each block */
.download-box {
  flex: 1;
  padding: 40px;
  text-align: center;
  transition: 0.3s ease;
  display: flex;
  flex-direction: column;
  border-radius: 10px;
  justify-content: center;
  background: rgba(0,0,0,0.25);
}

/* Divider line between boxes */
.download-divider {
  width: 1px;
  padding: 10px;
  background: linear-gradient(90deg, #00ffff26,#FFFFFF, #00ffff26);
}

/* Specific color themes */
.download-windows {
  background: linear-gradient(135deg, #003b80, #0078d7);
}

.download-linux {
  background: linear-gradient(135deg, #111, #d81a00);
}

/* Headings */
.download-box h3 {
  font-size: 1.6rem;
  margin-bottom: 15px;
  color: #fff;
}

/* Description text */
.download-box p {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #e0e0e0;
  margin-bottom: 25px;
}

/* === BUTTON WITH STRONG VERTICAL SHINE AND RGB BORDER TRAIL === */
.download-btn {
  position: relative;
  overflow: hidden;
  padding: 12px 26px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-radius: 10px;
  font-weight: 600;
  border: 2px solid transparent;
  text-decoration: none;
  display: inline-block;
  margin: 0 auto;
  transition: all 0.3s ease;
  z-index: 1;
  backdrop-filter: blur(6px);
  box-shadow: 0 0 12px rgba(255,255,255,0.15);
}

/* Bright vertical shine animation */
/* Base button setup */
.download-btn-dly1,
.download-btn-dly2,
.download-btn-dly3 {
  position: relative;
  overflow: hidden;
  display: inline-block;
  padding: 12px 26px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-radius: 10px;
  font-weight: 600;
  border: 2px solid transparent;
  text-decoration: none;
  margin: 10px;
  transition: all 0.3s ease;
  z-index: 1;
  backdrop-filter: blur(6px);
  box-shadow: 0 0 12px rgba(255,255,255,0.15);
  text-align: center;
}

/* Shine overlay */
.download-btn-dly1::before,
.download-btn-dly2::before,
.download-btn-dly3::before {
  content: "";
  position: absolute;
  top: 0;
  left: -40%;
  width: 20%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,0.05) 10%,
    rgba(255,255,255,0.15) 20%,
    rgba(255,255,255,0.4) 40%,
    rgba(255,255,255,0.75) 50%,
    rgba(255,255,255,0.4) 60%,
    rgba(255,255,255,0.15) 80%,
    rgba(255,255,255,0.05) 90%,
    rgba(255,255,255,0) 100%
  );
  animation: verticalShine 2.5s linear infinite;
  animation-delay: var(--shine-delay, 0s); /* ← use the random delay */
  pointer-events: none;
  mix-blend-mode: screen;
  filter: blur(1px);
  z-index: 0;
}


/* Shine motion */
@keyframes verticalShine {
  0% { left: var(--shine-start, -30%); }
  100% { left: 100%; }
}

/* Delays */
.download-btn-dly1::before { animation-delay: 0s; }
.download-btn-dly2::before { animation-delay: 0.8s; }
.download-btn-dly3::before { animation-delay: 1.6s; }

/* Hover effect */
@keyframes rgbBorderTrail {
  0% { border-color: #ff0040; box-shadow: 0 0 15px #ff0040; }
  25% { border-color: #ff8000; box-shadow: 0 0 18px #ff8000; }
  50% { border-color: #00ffd5; box-shadow: 0 0 18px #00ffd5; }
  75% { border-color: #0070ff; box-shadow: 0 0 18px #0070ff; }
  100% { border-color: #ff0040; box-shadow: 0 0 15px #ff0040; }
}

.download-btn-dly1:hover,
.download-btn-dly2:hover,
.download-btn-dly3:hover {
  transform: scale(1.05);
  animation: rgbBorderTrail 3.5s linear infinite;
  background: rgba(255,255,255,0.18);
}

/* Note box adjustment */
.note-box {
  text-align: center;
  margin-top: 50px;
}

/* ===== POPUP NOTIFICATION STYLES ===== */
/* Add these to download.css */

/* Popup container */
.popup-notification {
  position: fixed;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #1a3a3a, #2d5555);
  color: white;
  padding: 20px 40px;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.3);
  z-index: 10000;
  min-width: 300px;
  max-width: 500px;
  text-align: center;
  opacity: 0;
  transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  border: 2px solid rgba(255,255,255,0.2);
  backdrop-filter: blur(10px);
}

/* Active state */
.popup-notification.show {
  top: 100px;
  opacity: 1;
}

/* Popup content */
.popup-notification h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: #fff;
  font-weight: 600;
}

.popup-notification p {
  font-size: 0.95rem;
  color: #e0e0e0;
  margin-bottom: 15px;
  line-height: 1.5;
}

/* Close button */
.popup-close {
  background: rgba(255,255,255,0.2);
  border: none;
  color: white;
  padding: 8px 20px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
  margin-top: 10px;
}

.popup-close:hover {
  background: rgba(255,255,255,0.3);
  transform: scale(1.05);
}

/* Icon styles */
.popup-icon {
  font-size: 2.5rem;
  margin-bottom: 10px;
  display: block;
}

/* Overlay (optional darkened background) */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.4);
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.popup-overlay.show {
  opacity: 1;
  pointer-events: auto;
}

/* Different popup types */
.popup-notification.info {
  background: linear-gradient(135deg, #2196F3, #1976D2);
}

.popup-notification.warning {
  background: linear-gradient(135deg, #ff9800, #f57c00);
}

.popup-notification.success {
  background: linear-gradient(135deg, #4CAF50, #388E3C);
}

