:root {
  /*
  --accent: #FFFFFF;
  --primary-bg: #240046;
  --secondary-bg: #7B2CBF;
  --highlight-color: #F4A261;
  --button-hover: #E76F51; */
  --ui-bg: transparent;
}

/* Body Background Styling */

html,
body {
  color: var(--accent);
  font-family: var(--font-primary);
  margin: 0;
  padding: 0;
  height: 100%;
  width: 100%;
}

body {
  display: flex;
  flex-direction: column;
  align-items: center;
}

#loyalty-page__container div.absolute.aspect-\[75\/32\].md\:aspect-\[36\/7\].object-cover.object-center {
  display: none !important;
}

#title-bar {
  background: linear-gradient(90deg, #5601C8 0%, #3A0055 100%);
}

.titlebar-right-buttons a {
  color: var(--accent);
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
  /* Larger for readability */
  transition: color 0.3s ease;
}

.titlebar-right-buttons a:hover {
  color: var(--highlight-color);
}

/* Quests Styling */

.loyalty-quest {
  background: url(https://i.ibb.co/r4PYZky/Referrals.png);
  border: 2px solid var(--highlight-color);
  border-radius: 12px;
  padding: 15px;
  /* Better readability for quest text */
  font-size: 16px;
  /* Increased font size */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.loyalty-quest:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}

#loyalty-referral .pill-button {
  background: #58C300 !important;
}

.loyalty-quest .pill-button {
  background: linear-gradient(90deg, #5601C8 0%, #3A0055 100%) !important;
}

/* Referral Section */

#loyalty-referral h1 {
  color: var(--accent);
  font-size: 24px;
  font-weight: bold;
  /* Emphasize section headings */
  margin-bottom: 15px;
}

#loyalty-referral .pill-button {
  font-size: 20px;
  /* Slightly larger text for emphasis */
  padding: 16px 35px;
  /* Soft Coral to Tomato gradient */
  color: #FFFFFF;
  /* High contrast text */
  border: 2px solid rgba(255, 255, 255, 0.1);
  /* Subtle border */
  border-radius: 40px;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

#loyalty-referral .pill-button:hover {
  background: linear-gradient(90deg, #FF6347, #F08080);
  /* Reverse gradient for hover */
  transform: translateY(-3px);
  box-shadow: 0px 6px 20px rgba(0, 0, 0, 0.4);
}

/* Leaderboard and History Styling */

#loyalty-leaderboard,
#loyalty-history-table {
  /* Slight transparency for gradient visibility */
  border-radius: 15px;
  padding: 20px;
  color: var(--accent);
}

#loyalty-leaderboard h1,
#loyalty-history-table h1 {
  color: var(--green-accent);
  font-size: 20px;
  font-weight: bold;
}

/* General Button Styles */

.pill-button {
  /* Vibrant Coral to Orange gradient */
  color: #FFFFFF;
  /* White text for better contrast */
  font-size: 18px;
  /* Larger text for readability */
  font-weight: bold;
  padding: 14px 30px;
  /* Balanced padding */
  border: none;
  border-radius: 40px;
  /* Rounded for a pill-like look */
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  /* Slight spacing for a clean look */
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
  /* Soft shadow for depth */
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.3s ease;
}

.connect-wallet-button {
  background: #FFFFFF;
  /* Clean solid white background */
  color: #240046;
  /* Deep violet text for contrast */
  font-size: 18px;
  font-weight: bold;
  padding: 14px 35px;
  /* Balanced padding for proportions */
  border-radius: 50px;
  /* Rounded for a modern look */
  border: 2px solid #240046;
  /* Deep violet border for clarity */
  text-transform: uppercase;
  letter-spacing: 0.6px;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.connect-wallet-button:hover {
  background: #EFEFEF;
  /* Slightly off-white for hover */
  transform: scale(1.05);
  /* Subtle zoom effect */
  box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.2);
  /* Gentle shadow */
}

.connect-wallet-button:active {
  transform: scale(0.98);
  /* Press effect */
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
  /* Subtle pressed shadow */
}

#earn-loyalty-points h1 {
  display: none !important;
}