/* Google Font import */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Montserrat&display=swap');

/* ========== KEY ANIMATIONS ========== */
@keyframes slide-in-left {
  from {
    opacity: 0;
    transform: translateX(-60%);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/*
@keyframes flicker {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.94; }
  75% { opacity: 0.97; }
}
*/
/* ========== BASE STYLING ========== */
html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  font-family: 'Bebas Neue', 'Montserrat', sans-serif;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
  /*animation: flicker 3s infinite; */
  background-color: black;
}

.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px;
  box-sizing: border-box;
  background-color: rgba(0, 0, 0, 0.7);
  border-radius: 12px;
}

h2 {
  text-align: center;
  font-size: 36px;
  margin-bottom: 30px;
  color: #f00;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-shadow: 2px 2px #000;
}
.quote-card {
  background: rgba(0, 0, 0, 0.75);
  border-left: 5px solid red;
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(255, 0, 0, 0.2);
  transition: 0.3s ease;
  animation: slide-in-left 0.7s ease-out forwards;
  opacity: 0;
}

.quote-card:hover {
  transform: scale(1.02);
  box-shadow: 0 0 15px red;
}

.quote-card p {
  font-size: 20px;
  line-height: 1.6;
  margin: 0 0 10px;
}

.quote-card small {
  display: block;
  text-align: right;
  color: #aaa;
}

.quote-link-disabled {
  pointer-events: none;
  opacity: 0.5;
}

/* ========== REFRESH BUTTON ========== */
.refresh-btn {
  background-color: red;
  color: white;
  font-size: 18px;
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(255, 0, 0, 0.4);
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 1px;
}

.refresh-btn:hover {
  background-color: darkred;
  box-shadow: 0 0 12px red;
  transform: scale(1.05);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
  h2 {
    font-size: 28px;
  }

  .quote-card {
    padding: 16px;
    margin-bottom: 16px;
  }

  .quote-card p {
    font-size: 18px;
  }

  .quote-card small {
    font-size: 14px;
  }

  .container {
    padding: 30px 15px;
  }

  .refresh-btn {
    width: 100%;
    font-size: 16px;
  }

}

/* solo filters */
/* -------- SOLO FILTER STYLES (Isolated, No Conflict) -------- */

.solo-filter-tabs{
  display:flex;                 /* desktop / large-tablet: 1 row, 4 boxes  */
  justify-content:center;
  flex-wrap:wrap;
  gap:10px;
  margin-bottom:1.5rem;
  padding:0 10px;               /* keeps edges from being cut */
}

.solo-filter-tab {
  padding: 10px 16px;
  background: #111;
  border: 2px solid red;
  color: #fff;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.9rem;
  min-width: 110px;
  max-width: 180px;
  flex: 1 1 22%;
  text-align: center;
  transition: background 0.3s ease, color 0.3s ease;
}

.solo-filter-tab.active {
  background: red;
  color: black;
}

.solo-filter-dropdown {
  padding: 10px;
  border-radius: 6px;
  font-size: 1rem;
  background: #111;
  color: #fff;
  border: 2px solid red;
  margin-bottom: 2rem;
  width: 90%;
  max-width: 300px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 768px) {
  .solo-filter-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding: 0 10px;
    margin: 0 auto 1.5rem;
    max-width: 100%;
    box-sizing: border-box;
  }

  .solo-filter-tab {
    flex: none !important;
    width: 100%;
    min-width: unset;
    max-width: unset;
    box-sizing: border-box;
  }

}


/*back button*/


.home-button {
  position: sticky;
  top: -10px;
  left: -10px;
  z-index: 1000;
  margin: 10px;
}

.home-button a {
  display: inline-block;
  padding: 8px 16px;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  font-size: 10px;
  font-weight: 600;
  border-radius: 10px;
  font-family: 'Montserrat', sans-serif;
  text-decoration: none;
  border: 1px solid rgba(255, 0, 0, 0.6);
  box-shadow: 0 0 8px rgba(255, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.home-button a:hover {
  background-color: rgba(255, 0, 0, 0.1);
  box-shadow: 0 0 12px rgba(255, 0, 0, 0.6);
  transform: scale(1.05);
}


html, body {
  overflow-y: auto;
  scrollbar-width: none;              /* Firefox */
  -ms-overflow-style: none;           /* IE/Edge */
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
  display: none;                      /* Chrome/Safari */
  width: 0;
  height: 0;
}


.history-btn {
  background-color: red;
  color: white;
  font-size: 18px;
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(255, 0, 0, 0.4);
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 1px;
  margin-top: 10px;
}

.history-btn:hover {
  background-color: darkred;
  box-shadow: 0 0 12px red;
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .history-btn {
    width: 100%;
    font-size: 16px;
  }
}
