/* ============================================================
   VIVISCENT COMPONENT SYSTEM
   Sections · Cards · Grids · Buttons · Tiles
============================================================ */

/* ========== SECTION WRAPPER COMPONENTS ========== */

.vwfCardBlock {
  background: #0d1f33;
  border: 1px solid #1d3550;
  border-radius: 18px;
  padding: 40px 36px;
  margin: 44px 0 64px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.vwfCardBlock:nth-of-type(even) {
  background: #112840;
}

.vwfH2 {
  margin-bottom: 32px;
  text-align: center;
  font-size: 28px;
  font-family: "Playfair Display", serif;
}

.vwfH3 {
  margin-top: 18px;
  margin-bottom: 10px;
  font-size: 20px;
  font-weight: 600;
}

.vwfText {
  font-size: 15px;
  color: #d7dfed;
  line-height: 1.65;
}

/* Quick nav links row */
.vwfQuickNav {
  display: flex;
  gap: 18px;
  justify-content: center;
  margin: 28px 0 36px;
}

.vwfQuickNav a {
  font-weight: 600;
  color: #82b6ff;
}

/* Reveal animation (optional) */
.vwfReveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.vwfReveal.vwfVisible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   GRID COMPONENTS
============================================================ */

.vwfHeroGrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
  align-items: stretch;
}

.vwfMiniGrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 22px;
}

/* Sponsors grid tiles */
.vwfSponsorsGrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(96px, 1fr));
  gap: 24px;
  align-items: center;
  justify-items: center;
}

.vwfSponsorsGrid a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 96px;
  height: 96px;
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.vwfSponsorsGrid img {
  max-width: 70%;
  max-height: 70%;
  width: auto;
  height: auto;
  object-fit: contain;
  opacity: 0.9;
}

.vwfSponsorsGrid a:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.14);
}

.vwfSponsorsGrid a:hover img {
  opacity: 1;
}

/* Winners grid */
.winners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  width: 100%;
}

/* Mobile refinements */
@media (max-width: 900px) {
  .vwfCardBlock {
    padding: 30px 22px;
    margin-bottom: 48px;
  }

  .vwfH2 {
    margin-bottom: 24px;
    font-size: 24px;
  }
}

/* ============================================================
   CARD COMPONENTS
============================================================ */

/* Base pill / content cards */
.vwfPillCard,
.vwfMiniCard {
  background: #132a42;
  border: 1px solid #2e4965;
  border-radius: 14px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.vwfPillCard:hover,
.vwfMiniCard:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}

/* Card images */
.vwfPillCard img {
  width: 100%;
  aspect-ratio: 4 / 3;
  max-height: 220px;
  object-fit: contain;
  display: block;
  margin-bottom: 18px;
  image-rendering: auto;
}

.vwfMiniCard img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 12px;
}

/* Card text */
.vwfPillTitle,
.vwfMiniLabel {
  font-size: 18px;
  font-weight: 700;
  margin-top: 4px;
  margin-bottom: 6px;
}

.vwfPillText,
.vwfMiniValue {
  font-size: 15px;
  color: #d7dfed;
  line-height: 1.65;
}

/* Board / leadership card tweaks */
.vwfMiniCard {
  padding-top: 26px;
  padding-bottom: 22px;
}

/* Legal cards (policy / disclosure blocks) */
.donate-legal-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
  max-width: 1100px;
  margin: 50px auto 30px;
}

.legal-card {
  background: #0f172a;
  border-radius: 16px;
  padding: 22px;
  box-shadow: 0 12px 28px rgba(2, 6, 23, 0.22);
}

.legal-card h4 {
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 8px;
  color: #ffffff;
}

.legal-card p {
  font-size: 14px;
  color: #cbd5e1;
  line-height: 1.55;
  margin-bottom: 8px;
}

/* Winners card */
.winner-card {
  background: #ffffff;
  border: 1px solid rgba(21, 27, 45, 0.12);
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(23, 35, 56, 0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.winner-media {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #fff;
  border-bottom: 1px solid rgba(21, 27, 45, 0.12);
}

.winner-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.winner-body {
  padding: 12px;
  display: grid;
  gap: 6px;
}

.winner-name {
  font-size: 16px;
  font-weight: bold;
  margin: 0;
  color: #0f1528;
}

.winner-meta {
  font-size: 13px;
  color: #58627a;
  display: grid;
  gap: 4px;
}

/* ============================================================
   BUTTON COMPONENTS
   (extends .btn from utilities.css)
============================================================ */

.vwfActions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 18px;
}

/* Primary CTA button */
.vwfBtn {
  padding: 14px 28px;
  font-size: 16px;
  border-radius: 999px;
  background: #0f172a;
  color: #ffffff;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 14px 30px rgba(2, 6, 23, 0.2);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 140ms ease, box-shadow 140ms ease, opacity 140ms ease;
}

.vwfBtn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(2, 6, 23, 0.26);
  opacity: 0.98;
}

.vwfBtn:active {
  transform: translateY(0);
  box-shadow: 0 12px 26px rgba(2, 6, 23, 0.18);
}

/* Donate button variant */
.donate-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 26px;
  border-radius: 14px;
  background: #0f172a;
  color: #ffffff;
  font-weight: 800;
  font-size: 16px;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 14px 30px rgba(2, 6, 23, 0.18);
  transition: transform 140ms ease, box-shadow 140ms ease, opacity 140ms ease;
  margin-top: 8px;
}

.donate-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(2, 6, 23, 0.22);
  opacity: 0.98;
}

.donate-btn:active {
  transform: translateY(0);
  box-shadow: 0 12px 26px rgba(2, 6, 23, 0.16);
}

/* ============================================================
   WHITE BANNER / CALLOUT
============================================================ */

.white-banner {
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
  background: #ffffff;
  padding: 24px 28px;
  border-radius: 14px;
}

@media (max-width: 768px) {
  .white-banner {
    padding: 20px;
  }
}
/* --- GLOBAL PAGE TUNING --- */
.page-wrapper {
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px;
}


/* --- INFO SECTION ABOVE FORM --- */
.vwfCardBlock {
  background: rgb(45, 32, 156);
  padding: 30px;
  border-radius: 14px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.06);
  animation: fadeIn 0.6s ease;
}

.vwfCardBlock ul {
  padding-left: 20px;
}

.vwfCardBlock li {
  margin-bottom: 6px;
}

/* --- PAID ENTRY FORM CARD --- */
.paid-entry-card {
  background: white;
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  max-width: 750px;
  margin: 40px auto;
  animation: fadeIn 0.6s ease;
}

.paid-entry-card h2 {
  font-size: 28px;
  margin-bottom: 25px;
  color: #003366;
  text-align: center;
}

/* --- INPUTS --- */
.paid-entry-card .admin-input {
  padding: 16px;
  font-size: 17px;
  border-radius: 10px;
  border: 1px solid #c9c9c9;
  margin-bottom: 22px;
  transition: all 0.2s ease;
}

.paid-entry-card .admin-input:focus {
  border-color: #003366;
  box-shadow: 0 0 0 3px rgba(0,51,102,0.15);
  outline: none;
}

/* --- BUTTONS --- */
.paid-entry-card .vwfBtn {
  padding: 16px;
  font-size: 18px;
  border-radius: 10px;
  margin-top: 12px;
  background: #003366;
  color: white;
  transition: background 0.2s ease, transform 0.15s ease;
}

.paid-entry-card .vwfBtn:hover {
  background: #0055a5;
  transform: translateY(-2px);
}

/* --- TOTAL PRICE --- */
#totalAmount {
  font-size: 26px;
  color: #ffffff;
}

#formMessage {
  font-size: 17px;
  margin-top: 18px;
  text-align: center;
}

/* --- CRYPTO BOX --- */
#cryptoBox {
  background: #f5f7fa;
  border-radius: 12px;
  padding: 20px;
  border: 1px solid #d7dce3;
  margin-top: 20px;
}

/* --- ANIMATIONS --- */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* --- MOBILE IMPROVEMENTS --- */
@media (max-width: 768px) {
  .paid-entry-card {
    padding: 25px;
  }

  .hero-text h1 {
    font-size: 32px;
  }

  .hero-text p {
    font-size: 16px;
  }

  .paid-entry-card .admin-input {
    font-size: 16px;
    padding: 14px;
  }

  .paid-entry-card .vwfBtn {
    font-size: 17px;
  }
}
