/* StraatRide Final Stylesheet - Single Line & Mobile Scroll Version */

html, body {
  margin: 0;
  padding: 0;
  min-height: 100%; 
  width: 100%;
}

body {
  display: flex;
  flex-direction: column;
  align-items: center; 
  justify-content: flex-start; 
  background-color: #000; 
  color: #f4d24a; 
  font-family: 'Montserrat', sans-serif; 
  text-align: center;
  overflow-y: auto; 
  overflow-x: hidden;
}

/* BACKGROUND */
body::before {
  content: "";
  position: fixed; 
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('../images/bg.webp') no-repeat center center;
  background-size: cover;
  filter: blur(10px); 
  transform: scale(1.05); 
  z-index: -1;
  opacity: 0.3;
}

.container {
  width: 100%;
  max-width: 350px; 
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10vh 20px 10vh 20px; 
  box-sizing: border-box;
}

/* Tagline */
.column p {
    color: #f4d24a !important;
    font-family: 'Montserrat', sans-serif;
    font-size: 15px !important;
    font-weight: 800 !important;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-top: -15px !important;
    margin-bottom: 50px;
    line-height: 1.2;
}

/* Base Button Styles */
.button, button {
  font-family: 'Montserrat', sans-serif;
  display: flex !important;
  align-items: center;
  justify-content: center;
  padding: 16px;
  box-sizing: border-box;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s ease;
  margin: 20px auto; 
  
  /* SINGLE LINE FIX */
  white-space: nowrap; /* Prevents text from wrapping to 2nd line */
  overflow: hidden;    /* Ensures text doesn't spill out of the box */
  text-overflow: ellipsis; /* Adds "..." if text is way too long for the screen */
}

/* NORMAL BUTTONS (Blue & Narrower) */
.button:not(.button-featured) {
  color: #f4d24a !important;
  background-color: rgba(43, 93, 224, 0.8) !important;
  border: 1px solid rgba(255, 255, 255, 0.1);
  width: 100%;
  max-width: 240px; 
}

/* FEATURED BUTTON (Yellow Stroke & Wider) */
.button-featured {
  color: #f4d24a !important;
  background-color: rgba(255, 255, 255, 0.05) !important;
  border: 2px solid #f4d24a !important;
  width: 100%;
  /* Increased max-width slightly to accommodate longer text on one line */
  max-width: 290px; 
}

.button:hover {
    filter: brightness(115%);
    transform: translateY(-2px);
    border: 1px solid rgba(244, 210, 74, 0.5);
}

.icon {
    width: 20px;
    margin-right: 10px;
    flex-shrink: 0; /* Prevents the icon from squishing when text is long */
}
/* Badge Container to hold the position */
.badge-container {
    position: relative;
    display: inline-block;
    width: 100%;
    max-width: 290px; /* Matches featured button width */
    margin: 0 auto;
}

/* The Badge Style */
.badge {
    position: absolute;
    top: 5px;   /* Adjusted to sit on the top edge */
    right: -5px; /* Peeking off the side */
    background-color: #f4d24a; /* StraatRide Yellow */
    color: #2b5de0;            /* StraatRide Blue */
    font-size: 10px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 4px;
    z-index: 10;
    letter-spacing: 1px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    pointer-events: none; /* Allows clicks to pass through to the button */
}

/* Animation to make it pulse (Optional) */
.badge {
    animation: pulse-yellow 2s infinite;
}

@keyframes pulse-yellow {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* Adjust top margin of the featured button when inside a container */
.badge-container .button-featured {
    margin-top: 10px !important;
}