/* popup.css */

/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1000; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgba(0, 0, 0, 0.75); /* Black w/ opacity */
  animation: fadeIn 0.5s; /* Fade in animation */
}

/* Modal Content/Box - Increased max-width */
.modal-content {
  background-color: #1c1c1c; /* Dark background for the modal box */
  margin: 8% auto; /* Adjusted margin for the new size */
  padding: 35px;
  border: 1px solid #444;
  width: 90%;
  max-width: 650px; /* Increased size from 550px */
  border-radius: 10px;
  text-align: center;
  position: relative;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.6);
  animation: slideIn 0.5s; /* Slide in animation */
}

/* The Close Button */
.close-button {
  color: #aaa;
  position: absolute;
  top: 10px;
  right: 25px;
  font-size: 35px;
  font-weight: bold;
  transition: color 0.3s ease;
}

.close-button:hover,
.close-button:focus {
  color: #fff;
  text-decoration: none;
  cursor: pointer;
}

/* Modal Image */
.modal-img {
  width: 50%;
  max-width: 250px; /* Slightly increased for better proportion */
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  /* Reusing the glow effect from anewlight.css */
  box-shadow: 0 0 15px 4px rgba(255, 215, 100, 0.4),
              0 0 35px 12px rgba(255, 255, 255, 0.15);
}

/* Modal Text Styling */
.modal-content h2 {
  color: #fff;
  font-size: 2.2rem; /* Slightly larger heading */
  margin-bottom: 15px;
}

.modal-content p {
  color: #ddd;
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 30px;
}

/* Modal Buttons Container */
.modal-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap; /* Allows buttons to stack on small screens */
}

/* This is the same style from your anewlight.css for consistency */
.purchase-button {
  display: inline-block;
  background-color: #0070ba;
  color: white;
  padding: 15px 30px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1.2rem;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
}

.purchase-button:hover {
  background-color: #005c99;
  transform: translateY(-3px);
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.5);
}

/* Secondary Button Style */
.modal-button-secondary {
  display: inline-block;
  background-color: transparent;
  color: white;
  padding: 14px 28px; /* Slightly different padding to align with border */
  border: 1px solid #888;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1.2rem;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.modal-button-secondary:hover {
  background-color: #333;
  color: #fff;
}

/* Animation Keyframes */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideIn {
  from { transform: translateY(-50px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}