
/* Reset styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Arial', sans-serif;
  background-color: #121212;
  color: #e0e0e0;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.container {
  width: 100%;
  max-width: 800px;
  padding: 20px;
  text-align: center;
  background-color: #1e1e1e;
  border-radius: 10px;
}

header h1 {
  font-size: 2.5em;
  margin-bottom: 15px;
}

.vibe-text {
  font-style: italic;
  font-size: 1.2em;
  margin-bottom: 25px;
}

main {
  margin-top: 30px;
}

/* Buttons Container */
.button-container {
  display: flex;
  justify-content: center; /* Space out buttons equally */
  gap: 10px; /* Space between buttons */
  margin-top: 10px;
  margin-bottom: 20px;
  flex-wrap: wrap; /* Allow wrapping on small screens */
}

.crypto-btn {
  width: 200px; /* Set both buttons to have the same width on desktop */
  height: 40px; /* Set consistent height */
  color: black;
  font-size: 1.8em;
  border-radius: 5px;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4); /* Soft shadow for depth */
  text-shadow: 1px 1px 2px #D32F2F, 0 0 25px #D32F2F, 0 0 5px #FF6F00;
  letter-spacing: 5px; /* Increase space between letters */
  transition: letter-spacing 0.3s ease;
  background-image: linear-gradient(45deg, #8B0000, #D32F2F, #FF6F00, #B71C1C);
  background-size: 200% 100%;
  background-position: left bottom;
}

@media (max-width: 768px) {
  .button-container {
    flex-direction: column;  /* Stack the buttons vertically on small screens */
    align-items: center;     /* Center buttons horizontally */
    gap: 10px;               /* Add some space between the buttons */
  }

  .crypto-btn {
    width: 200px;  /* Fixed width for buttons on mobile */
    height: 40px;  /* Same height as on desktop */
    font-size: 1.8em; /* Maintain the font size consistent with desktop */
    border-radius: 5px; /* Keep consistent border radius */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4); /* Soft shadow for depth */
    text-shadow: 1px 1px 2px #D32F2F, 0 0 25px #D32F2F, 0 0 5px #FF6F00;
    letter-spacing: 5px; /* Increase space between letters */
    transition: letter-spacing 0.3s ease;
    background-image: linear-gradient(45deg, #8B0000, #D32F2F, #FF6F00, #B71C1C);
  }
}

.crypto-btn:hover {
  background-color: transparent; /* Remove solid color on hover */
  transform: scale(1.05);
  background-position: right bottom; /* Animate gradient on hover */
  letter-spacing: 7px; /* Stretch text on hover */
  color: black; /* Change color on hover */
  text-shadow: 1px 1px 2px #D32F2F, 0 0 25px #D32F2F, 0 0 5px #FF6F00;
}

/* Divider after the buttons */
.divider {
  width: 100%;
  height: 1px;
  background: #333;
  margin: 10px 0; /* Add spacing around the divider */
}

/* The Modals (hidden by default) */
.crypto-modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.4);
}

.crypto-modal-content {
  background-color: #1e1e1e;
  margin: 15% auto;
  padding: 20px;
  border-radius: 10px;
  width: 60%;
  color: #fff;
  text-align: center;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 auto;
}

th, td {
  padding: 10px;
  text-align: center;
}

@media (max-width: 768px) {
  .crypto-modal-content {
    width: 80%; /* Adjust the width for smaller screens */
    margin: 20% auto; /* Provide some spacing for smaller screens */
  }

  table {
    width: 100%;
    overflow-x: auto; /* Make table scrollable on small screens */
    display: block;
  }

  th, td {
    font-size: 12px; /* Smaller font for smaller screens */
    padding: 8px; /* Adjust padding for better spacing */
  }

  .crypto-btn {
    font-size: 16px; /* Adjust button size on smaller screens */
    padding: 10px;
  }

  .copy-btn {
    font-size: 14px;
    padding: 5px;
  }
}

@media (max-width: 480px) {
  .crypto-modal-content {
    width: 90%; /* Further adjust the modal width on very small screens */
    margin: 25% auto;
  }

  th, td {
    font-size: 10px; /* Even smaller font size for mobile screens */
    padding: 5px; /* Adjust padding for tight screens */
  }

  .crypto-btn {
    font-size: 14px; /* Slightly smaller button size */
  }

  .copy-btn {
    font-size: 12px; /* Adjust copy button size */
  }
}

.info {
  margin-top: 50px;
}

footer {
  margin-top: 50px;
  font-size: 1em;
  color: #888;
  padding-top: 20px;
  border-top: 1px solid #444;
}

footer p {
  margin-top: 10px;
}

/* Copy button style */
.copy-btn {
  background: none;
  border: none;
  color: #FFC107;
  font-size: 1.5em;
  cursor: pointer;
  transition: color 0.3s ease;
  margin-left: 10px;
}

.copy-btn:hover {
  color: #FFB300;
}

/* Ensure text remains in place */
.image-viewer {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  margin-top: 30px;
  position: relative;
  min-height: 300px; /* Set a minimum height for the image viewer */
}

/* Hide the image initially and show only after it's loaded */
.image-slide {
  width: 80%;
  max-width: 600px;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
  opacity: 0; /* Initially set opacity to 0 */
  transition: opacity 0.5s ease-in-out;
  visibility: hidden; /* Ensure image is hidden initially */
}

/* Fade in image after loading */
.image-slide.loaded {
  opacity: 1; /* Fade in when fully loaded */
  visibility: visible; /* Make the image visible once it’s loaded */
}

/* Ensure text stays visible until image loads */
.image-viewer .text-content {
  visibility: visible;
  opacity: 1;
  transition: opacity 0.5s ease;
}

/* Progress Bar Container */
.progress-container {
  width: 80%;
  max-width: 600px;
  height: 25px;
  background-color: #444;
  border-radius: 10px;
  margin-top: 10px;
  margin-bottom: 20px;
  position: relative; /* Needed to position text inside */
}

/* Progress Bar */
.progress-bar {
  height: 100%;
  background-color: #FFC107; /* Mustard Yellow color */
  width: 1.5%; /* Adjust this width manually for the progress */
  border-radius: 12px;
  transition: width 0.3s ease;
  position: relative;
}

/* Progress Text inside the bar */
.progress-text {
  font-size: 1.5em;
  color: #fff;
  text-align: center;
  position: absolute;
  top: 50%; /* Vertically center the text */
  left: 50%; /* Horizontally center the text */
  transform: translate(-50%, -50%); /* Adjust for perfect centering */
  width: 100%; /* Make the text take full width of the progress bar */
  overflow: hidden; /* Hide overflow text */
  white-space: nowrap; /* Prevent text from wrapping */
  text-overflow: ellipsis; /* Add ellipsis if the text overflows */
}

/* Mobile responsiveness */
@media (max-width: 768px) {  
  header h1 {
    font-size: 2em;
  }

  body {
    transform: scale(0.8); /* Zoom to 80% */
    transform-origin: center; /* Keep the zoom origin at center */
  }

  .vibe-text {
    font-size: 1em;
  }

  .container {
    padding: 15px;
  }

  .button-container {
    flex-direction: column;  /* Stack the buttons vertically on small screens */
    align-items: center;     /* Center buttons horizontally */
    gap: 15px;               /* Add some space between the buttons */
  }

  .crypto-btn {
    width: 200px;  /* Fixed width for buttons on mobile */
    height: 50px;  /* Same height as on desktop */
    font-size: 1.4em; /* Maintain the font size consistent with desktop */
    border-radius: 5px; /* Keep consistent border radius */
  }

  .image-slide {
    width: 100%; /* Make the image responsive on small screens */
  }

  .progress-container {
    width: 100%;
  }

  .progress-text {
    font-size: 1.2em;
  }

  .divider {
    margin: 10px 0; /* Adjust space for smaller screens */
  }
}

.gradient-text {
  background: linear-gradient(45deg, #8B0000, #D32F2F, #FF6F00, #B71C1C); /* Intensified fire red (#FF5733) with mustard and dark green */
  background-clip: text;
  color: transparent;  /* Makes text transparent so background gradient shows */
  -webkit-background-clip: text; /* For Safari */
  font-size: 1.5em;  /* Adjust font size to suit your design */
  font-weight: bold; /* Adds weight to the text */
}

.crypto-table {
  width: 100%;
  max-width: 900px;
  border-collapse: collapse;
  background-color: #1c1c1c;
  color: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  margin: 20px auto;
}

.crypto-table thead {
  background-color: #FFC107;
}

.crypto-table th {
  padding: 12px 20px;
  font-weight: bold;
  text-transform: uppercase;
}

.crypto-table tbody tr:hover {
  background-color: #444;
}

.crypto-table td {
  padding: 12px 20px;
  vertical-align: middle;
}

.crypto-table img {
  border-radius: 50%;
}

/* LTC Address handling */
#ltcAddress {
  max-width: 100%; /* Ensure it takes up the full available width */
  word-wrap: break-word;  /* Allow long addresses to wrap */
  overflow-wrap: break-word; /* Prevent text from overflowing */
  text-overflow: ellipsis; /* Add ellipsis to the long text if it's too long */
  white-space: normal;  /* Allow wrapping of long text */
  word-break: break-all; /* Allow breaking words if necessary */
}
/* XMR Address handling */
#xmrAddress {
  max-width: 100%; /* Ensure it takes up the full available width */
  word-wrap: break-word;  /* Allow long addresses to wrap */
  overflow-wrap: break-word; /* Prevent text from overflowing */
  text-overflow: ellipsis; /* Add ellipsis to the long text if it's too long */
  white-space: normal;  /* Allow wrapping of long text */
  word-break: break-all; /* Allow breaking words if necessary */
}
/* BTC Address handling */
#btcAddress {
  max-width: 100%; /* Ensure it takes up the full available width */
  word-wrap: break-word;  /* Allow long addresses to wrap */
  overflow-wrap: break-word; /* Prevent text from overflowing */
  text-overflow: ellipsis; /* Add ellipsis to the long text if it's too long */
  white-space: normal;  /* Allow wrapping of long text */
  word-break: break-all; /* Allow breaking words if necessary */
}
