/* about.css */

/* --- Design Tokens / Color Palette --- */
:root {
  --bg-dark: #28104E;       /* Deep plum/purple */
  --primary: #6237A0;       /* Royal purple */
  --accent: #9745CB;        /* Bright purple */
  --light-purple: #DEACF5;  /* Soft lavender */
  --text-light: #FFFFFF;
  --text-muted: #E2D9F3;
}

/* --- Base & Reset Elements --- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-light);
  line-height: 1.5;
  padding: 2rem 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

/* --- Top Header / Wallet Section --- */
header, 
body > div:first-of-type {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--primary);
}

#connect {
  background-color: var(--primary);
  color: var(--text-light);
  border: none;
  padding: 0.6rem 1.2rem;
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

#connect:hover {
  background-color: var(--accent);
}

#walletAddress {
  font-size: 0.85rem;
  color: var(--light-purple);
  font-family: monospace;
}

/* --- Search & Secondary Header --- */
#display-teams h2 {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

#search {
  width: 100%;
  max-width: 400px;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--primary);
  color: var(--text-light);
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  border-radius: 6px;
  margin-bottom: 2.5rem;
  outline: none;
  transition: border-color 0.2s ease;
}

#search:focus {
  border-color: var(--light-purple);
}

#search::placeholder {
  color: rgba(222, 172, 245, 0.4);
}

/* --- NFT Cards Layout Grid --- */
#nft-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.5rem;
}

/* --- Individual NFT Cards --- */
.card {
  background-color: rgba(98, 55, 160, 0.15); /* Tinted transparent block */
  border: 2px solid rgba(151, 69, 203, 0.2);
  border-radius: 8px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  /* Target the transform property instead of using a standalone scale() value */
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.card:hover {
  /* Actually apply the scale transformation on hover */
  transform: scale(1.05);
  border-color: var(--accent);
}

.card h2 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-light);
}

.flag   {
    width: 80px;
}

.card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

/* Specific pricing line highlight */
.card p:last-of-type {
  font-weight: 600;
  color: var(--light-purple);
  margin-top: auto; /* Pushes price and CTA to the bottom uniformly */
  margin-bottom: 1rem;
}

/* --- Mint Action Button --- */
.mint-button {
  width: 100%;
  background-color: var(--light-purple);
  color: var(--bg-dark);
  border: none;
  padding: 0.6rem;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  margin-bottom: 0.5rem;
  transition: opacity 0.2s ease, transform 0.1s ease;
}

.mint-button:hover {
  opacity: 0.9;
}

.mint-button:active {
  transform: scale(0.98);
}

#simulate {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  color:white;

  padding: 1rem;
  margin-top: 2rem;

  background-color: rgba(98, 55, 160, 0.15);
  border: 2px solid rgba(151, 69, 203, 0.2);
  border-radius: 8px;

  backdrop-filter: blur(8px);
}

/* Inputs + Selects */
#simulate select,
#simulate input {
  background-color: var(--light-purple);
  border: 1px solid var(--primary);
  color: black;

  padding: 0.5rem 0.75rem;
  border-radius: 6px;

  font-size: 0.9rem;
  outline: none;
}


#simulate select:focus,
#simulate input:focus {
  border-color: var(--light-purple);
}

/* Apply button */
#applyBtn {
  background-color: var(--accent);
  color: var(--text-light);

  border: none;
  padding: 0.6rem 1rem;

  font-weight: 600;
  border-radius: 6px;

  cursor: pointer;

  transition: transform 0.1s ease, opacity 0.2s ease;
}

#applyBtn:hover {
  opacity: 0.9;
}

#applyBtn:active {
  transform: scale(0.97);
}
