/* ==========================================================================
   COREPROJECTS - SUPPORT PAGE (COZY CLEAN MINIMALIST DESIGN)
   ========================================================================== */

:root {
  --bg-main: #0F1117;
  --bg-card: #161922;
  --bg-card-hover: #1C202C;
  --bg-header: #0F1117;
  --bg-glass: rgba(22, 25, 34, 0.8);

  --accent-primary: #10B981;   /* Mint emerald matching CraftCore logo */
  --accent-secondary: #06B6D4; /* Soft cyan accent */
  --accent-glow: #00FF87;      /* Vibrant mint highlight */
  --accent-gradient: linear-gradient(135deg, #10B981 0%, #06B6D4 100%);

  --text-white: #FFFFFF;
  --text-primary: #F3F4F6;
  --text-secondary: #9CA3AF;
  --text-muted: #6B7280;
  --text-dark: #0F1117;

  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-accent: rgba(16, 185, 129, 0.25);

  --font-main: 'Inter', system-ui, -apple-system, sans-serif;
  --font-heading: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
  --font-handwritten: 'Caveat', cursive;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-full: 9999px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-family: var(--font-main);
  background-color: var(--bg-main);
  color: var(--text-primary);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-main);
}
::-webkit-scrollbar-thumb {
  background: #272A35;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #373A48;
}

/* --------------------------------------------------------------------------
   Layout & Background
   -------------------------------------------------------------------------- */
.app-container {
  display: flex;
  width: 100vw;
  min-height: 100vh;
  position: relative;
}

.main-wrapper {
  width: 100%;
  min-height: 100vh;
  position: relative;
  display: flex;
  flex-direction: column;
}

.hero-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(15, 17, 23, 0.45) 0%,
    rgba(15, 17, 23, 0.88) 60%,
    rgba(15, 17, 23, 1) 100%
  );
}

/* --------------------------------------------------------------------------
   Top Header Navigation
   -------------------------------------------------------------------------- */
.top-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 76px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 48px;
  background-color: var(--bg-header);
  border-bottom: 1px solid var(--border-subtle);
  z-index: 99999;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-logo-img {
  height: 38px;
  width: auto;
  object-fit: contain;
  display: block;
}

.brand-badge {
  background: rgba(16, 185, 129, 0.12);
  color: var(--accent-primary);
  border: 1px solid rgba(16, 185, 129, 0.3);
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 6px;
  margin-left: 4px;
}

.top-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  position: relative;
  padding: 6px 0;
  transition: color 0.2s ease;
}

.nav-link:hover, .nav-link.active {
  color: var(--text-white);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent-gradient);
  border-radius: 2px;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
  justify-content: flex-end;
}

.icon-btn {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.icon-btn:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-white);
}

/* --------------------------------------------------------------------------
   Hero / Intro Section
   -------------------------------------------------------------------------- */
.support-hero-section {
  padding-top: 130px;
  padding-bottom: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 10;
  max-width: 900px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

.category-tags {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--text-secondary);
  text-transform: uppercase;
  margin-bottom: 20px;
}

.tag-dot {
  color: var(--text-muted);
  font-size: 14px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(36px, 4.8vw, 54px);
  font-weight: 800;
  line-height: 1.15;
  color: var(--text-white);
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}

.support-hero-desc {
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto;
}

.annotation-wrapper {
  margin-top: 18px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.arrow-svg {
  width: 50px;
  height: 25px;
}

.annotation-text {
  font-family: var(--font-handwritten);
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.1;
  text-align: left;
}

/* --------------------------------------------------------------------------
   2 Boxes Selection Grid
   -------------------------------------------------------------------------- */
.support-selection-section {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 10px 24px 60px 24px;
  position: relative;
  z-index: 10;
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  align-items: stretch;
}

/* Support Card */
.support-card {
  background: rgba(18, 21, 30, 0.72);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.5);
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.support-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
}

/* Card Visual Banner Image Header */
.card-banner-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  margin-bottom: 24px;
  background-color: #10121A;
}

.card-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.support-card:hover .card-banner-img {
  transform: scale(1.03);
}

/* Card Content Area */
.card-body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-meta-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.counter-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent-primary);
}

.counter-badge.shop-badge {
  color: var(--accent-secondary);
}

.live-pulse-dot {
  width: 8px;
  height: 8px;
  background-color: var(--accent-primary);
  border-radius: 50%;
}

.counter-badge.shop-badge .live-pulse-dot {
  background-color: var(--accent-secondary);
}

.card-handnote {
  font-family: var(--font-handwritten);
  font-size: 18px;
  color: var(--text-secondary);
}

.card-title {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 800;
  color: var(--text-white);
  line-height: 1.2;
  margin-bottom: 6px;
}

.card-tagline {
  font-size: 13px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
  margin-bottom: 16px;
}

.card-description {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.card-description strong {
  color: var(--text-white);
}

/* Feature Checklist */
.card-features {
  list-style: none;
  padding: 0;
  margin: 0 0 28px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--text-primary);
  line-height: 1.4;
}

.feature-check {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  flex-shrink: 0;
}

.support-card.card-charity .feature-check {
  color: var(--accent-primary);
  border-color: rgba(16, 185, 129, 0.25);
  background: rgba(16, 185, 129, 0.1);
}

.support-card.card-shop .feature-check {
  color: var(--accent-secondary);
  border-color: rgba(6, 182, 212, 0.25);
  background: rgba(6, 182, 212, 0.1);
}

/* Clean Signature Buttons */
.card-actions {
  margin-top: auto;
}

.btn-donate-large {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--text-white);
  color: var(--text-dark);
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.5px;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  text-decoration: none;
  width: 100%;
  transition: all 0.2s ease;
  cursor: pointer;
}

.btn-donate-large:hover {
  background-color: #E5E7EB;
  transform: translateY(-2px);
  color: var(--text-dark);
}

.btn-subnote {
  display: block;
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 10px;
}

/* --------------------------------------------------------------------------
   Transparency & Info Note
   -------------------------------------------------------------------------- */
.support-transparency-card {
  max-width: 1160px;
  margin: 0 auto 60px auto;
  padding: 24px 32px;
  background: rgba(16, 19, 27, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  gap: 20px;
}

.transparency-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  flex-shrink: 0;
}

.transparency-content {
  flex: 1;
}

.transparency-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 4px;
}

.transparency-text {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--text-secondary);
}

.transparency-link {
  color: var(--accent-primary);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.transparency-link:hover {
  color: var(--accent-glow);
  text-decoration: underline;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.main-footer {
  width: 100%;
  border-top: 1px solid var(--border-subtle);
  padding: 40px 64px;
  text-align: center;
  color: var(--text-muted);
  font-size: 14px;
  margin-top: auto;
  background: var(--bg-main);
}

.footer-links {
  margin-top: 12px;
  display: flex;
  justify-content: center;
  gap: 16px;
}

.footer-links a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--text-white);
}

/* --------------------------------------------------------------------------
   Responsive Design
   -------------------------------------------------------------------------- */
@media (max-width: 960px) {
  .top-header {
    padding: 0 24px;
  }
  .support-grid {
    grid-template-columns: 1fr;
    max-width: 580px;
    margin: 0 auto;
  }
  .support-hero-section {
    padding-top: 110px;
  }
  .hero-title {
    font-size: 38px;
  }
  .support-transparency-card {
    flex-direction: column;
    text-align: center;
    padding: 24px;
  }
}

@media (max-width: 640px) {
  .top-nav {
    display: none;
  }
  .support-hero-section {
    padding-top: 96px;
    padding-bottom: 24px;
  }
  .category-tags {
    display: none;
  }
  .hero-title {
    font-size: 32px;
  }
  .support-card {
    padding: 24px 20px;
  }
  .card-title {
    font-size: 22px;
  }
  .main-footer {
    padding: 30px 20px;
  }
}
