/* Charity Champions — compact presentation introduction */

@media (min-width: 768px) {
  main {
    padding-top: 20px !important;
  }

  .tcc-hero {
    padding-top: 12px !important;
    padding-bottom: 18px !important;
    margin-bottom: 12px !important;
  }

  .tcc-hero h1 {
    margin-top: 8px !important;
    margin-bottom: 10px !important;
    line-height: 1.08 !important;
  }

  .tcc-hero p {
    margin-top: 8px !important;
    margin-bottom: 0 !important;
  }
}

/* Highlight Option A — Become an Ambassador */

.tcc-actions .tcc-card-featured {
  position: relative;
  border: 2px solid #39d8cc !important;
  background: linear-gradient(
    160deg,
    #164b59 0%,
    #102b43 65%,
    #102238 100%
  ) !important;
  box-shadow:
    0 0 0 1px rgba(57,216,204,0.12),
    0 10px 32px rgba(0,0,0,0.25),
    0 0 26px rgba(57,216,204,0.16);
  transform: translateY(-5px);
}

.tcc-actions .tcc-card-featured::before {
  content: "START HERE";
  position: absolute;
  top: -13px;
  right: 14px;
  padding: 6px 13px;
  border-radius: 20px;
  background: #39d8cc;
  color: #061d2b;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 1px;
}

.tcc-actions .tcc-card-featured .tcc-letter {
  background: #39d8cc;
  color: #062432;
}

.tcc-actions .tcc-card-featured h3 {
  color: #ffffff;
  font-size: 1.12rem;
}

.tcc-actions .tcc-card-featured .tcc-button-teal {
  background: #39d8cc;
  color: #061d2b;
  font-weight: 800;
  box-shadow: 0 5px 16px rgba(57,216,204,0.22);
}

@media (max-width: 767px) {
  .tcc-actions .tcc-card-featured {
    transform: none;
    margin-top: 12px;
  }
}

/* A full-width above B and C */

.tcc-actions .tcc-grid-three {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 22px !important;
  align-items: stretch;
}

.tcc-actions .tcc-card-featured {
  grid-column: 1 / -1 !important;
  transform: none !important;
  padding: 28px 32px !important;
  margin-bottom: 4px;
}

.tcc-actions .tcc-card-featured h3 {
  font-size: 1.5rem !important;
}

.tcc-actions .tcc-card-featured p {
  max-width: 680px;
}

@media (max-width: 767px) {
  .tcc-actions .tcc-grid-three {
    grid-template-columns: 1fr !important;
  }

  .tcc-actions .tcc-card-featured {
    grid-column: auto !important;
    padding: 24px !important;
  }
}

/* CINEMATIC A/B/C BANNERS */

.tcc-actions .tcc-grid-three {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 18px !important;
}

.tcc-actions .tcc-grid-three > .tcc-card {
  grid-column: 1 / -1 !important;
  position: relative;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 22px;
  row-gap: 10px;
  min-height: 145px;
  padding: 26px 30px !important;
  margin: 0 !important;
  transform: none !important;
  border-radius: 22px !important;
  overflow: visible;
  isolation: isolate;
  box-shadow: 0 12px 30px rgba(0,0,0,.22);
}

.tcc-actions .tcc-card .tcc-letter {
  grid-column: 1;
  grid-row: 1 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  font-size: 32px;
  font-weight: 900;
  color: #fff;
  background: #14566a;
  border: 2px solid #39d8cc;
  box-shadow: 0 0 22px rgba(57,216,204,.42);
}

.tcc-actions .tcc-card h3 {
  grid-column: 2;
  grid-row: 1;
  margin: 0 !important;
  font-size: clamp(1.25rem, 2.2vw, 1.8rem) !important;
  line-height: 1.2;
}

.tcc-actions .tcc-card > p:not(.tcc-small) {
  grid-column: 2;
  grid-row: 2;
  margin: 0 !important;
  max-width: 560px;
  line-height: 1.5;
}

.tcc-actions .tcc-card > .tcc-button {
  grid-column: 3;
  grid-row: 1 / 3;
  align-self: center;
  white-space: nowrap;
  text-align: center;
  padding: 15px 20px;
  border-radius: 12px;
}

.tcc-actions .tcc-card-featured {
  background:
    radial-gradient(ellipse at 90% 10%, rgba(54,217,204,.25), transparent 50%),
    linear-gradient(115deg,#155768,#102c46 70%) !important;
  border: 2px solid #39d8cc !important;
  box-shadow:
    0 0 30px rgba(57,216,204,.2),
    0 16px 36px rgba(0,0,0,.3) !important;
}

.tcc-actions .tcc-card-featured::before {
  content: "START HERE";
  position: absolute;
  top: -12px;
  right: 24px;
  padding: 5px 14px;
  border-radius: 20px;
  background: #39d8cc;
  color: #062432;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 1px;
  z-index: 2;
}

.tcc-actions .tcc-card-featured .tcc-letter {
  background: #39d8cc;
  color: #062432;
}

.tcc-actions .tcc-card:nth-child(2) {
  background:
    radial-gradient(ellipse at 90% 10%,rgba(240,193,105,.18),transparent 55%),
    linear-gradient(115deg,#183b4e,#11263d) !important;
  border: 1px solid rgba(240,193,105,.65) !important;
}

.tcc-actions .tcc-card:nth-child(2) .tcc-letter {
  border-color: #f0c169;
  box-shadow: 0 0 20px rgba(240,193,105,.25);
}

.tcc-actions .tcc-card:nth-child(3) {
  background:
    radial-gradient(ellipse at 90% 10%,rgba(112,177,213,.18),transparent 55%),
    linear-gradient(115deg,#17364c,#102238) !important;
  border: 1px solid rgba(112,177,213,.5) !important;
}

.tcc-actions .tcc-card:nth-child(3) .tcc-letter {
  border-color: #9acfe6;
  box-shadow: 0 0 20px rgba(112,177,213,.25);
}

.tcc-actions .tcc-card #tcc-share-status {
  grid-column: 2 / -1;
  grid-row: 3;
  margin: 0;
}

@media (max-width: 900px) {
  .tcc-actions .tcc-grid-three > .tcc-card {
    grid-template-columns: 54px minmax(0,1fr);
    padding: 22px !important;
    column-gap: 16px;
  }

  .tcc-actions .tcc-card .tcc-letter {
    width: 54px;
    height: 54px;
    font-size: 27px;
  }

  .tcc-actions .tcc-card > .tcc-button {
    grid-column: 2;
    grid-row: 3;
    justify-self: start;
    white-space: normal;
  }

  .tcc-actions .tcc-card #tcc-share-status {
    grid-column: 2;
    grid-row: 4;
  }
}

@media (max-width: 480px) {
  .tcc-actions .tcc-grid-three > .tcc-card {
    grid-template-columns: 48px minmax(0,1fr);
    padding: 20px 16px !important;
  }

  .tcc-actions .tcc-card .tcc-letter {
    width: 48px;
    height: 48px;
    font-size: 24px;
  }

  .tcc-actions .tcc-card h3 {
    font-size: 1.2rem !important;
  }
}

/* Visible personalised sharing link */

.tcc-actions .tcc-card:nth-child(3) .tcc-share-tools {
  grid-column: 2 / -1;
  grid-row: 2 / 4;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.tcc-share-tools label {
  flex-basis: 100%;
  color: #b6d9e5;
  font-size: 12px;
  font-weight: 700;
}

.tcc-share-tools input {
  flex: 1 1 250px;
  min-width: 0;
  padding: 13px 15px;
  border: 1px solid rgba(112,177,213,.45);
  border-radius: 10px;
  background: #071a2c;
  color: #fff;
  font-size: 14px;
}

.tcc-share-tools button {
  white-space: nowrap;
  cursor: pointer;
}

.tcc-actions .tcc-card:nth-child(3) #tcc-share-status {
  grid-column: 2 / -1;
  grid-row: 4;
}

@media (max-width: 600px) {
  .tcc-share-tools input,
  .tcc-share-tools button {
    width: 100%;
  }
}

/* Fix Option C — visible URL and Copy Link */

.tcc-actions .tcc-card:nth-child(3) {
  grid-template-columns: 64px minmax(0, 1fr) !important;
  grid-template-rows: auto auto auto auto !important;
  align-items: start !important;
  gap: 10px 22px !important;
}

.tcc-actions .tcc-card:nth-child(3) .tcc-letter {
  grid-column: 1 !important;
  grid-row: 1 / 3 !important;
}

.tcc-actions .tcc-card:nth-child(3) h3 {
  grid-column: 2 !important;
  grid-row: 1 !important;
}

.tcc-actions .tcc-card:nth-child(3) > p:not(.tcc-small) {
  grid-column: 2 !important;
  grid-row: 2 !important;
  max-width: none !important;
}

.tcc-actions .tcc-card:nth-child(3) .tcc-share-tools {
  grid-column: 2 !important;
  grid-row: 3 !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  gap: 10px !important;
  width: 100%;
}

.tcc-actions .tcc-share-tools label {
  grid-column: 1 / -1;
  margin: 0;
}

.tcc-actions .tcc-share-tools input {
  grid-column: 1;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.tcc-actions .tcc-share-tools button {
  grid-column: 2;
  grid-row: 2;
  width: auto;
  min-width: 150px;
  margin: 0;
}

.tcc-actions .tcc-card:nth-child(3) #tcc-share-status {
  grid-column: 2 !important;
  grid-row: 4 !important;
}

@media (max-width: 767px) {
  .tcc-actions .tcc-card:nth-child(3) {
    grid-template-columns: 48px minmax(0, 1fr) !important;
  }

  .tcc-actions .tcc-card:nth-child(3) .tcc-share-tools {
    grid-template-columns: 1fr !important;
  }

  .tcc-actions .tcc-share-tools button {
    grid-column: 1;
    grid-row: 3;
    width: 100%;
  }
}

/* Option C — personalised URL and suggested message */

.tcc-actions .tcc-card:nth-child(3) .tcc-share-tools {
  grid-column: 2 !important;
  grid-row: 3 !important;
  display: flex !important;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  width: 100%;
  min-width: 0;
}

.tcc-share-tools label {
  font-size: 12px;
  font-weight: 700;
  color: #b6d9e5;
}

.tcc-share-url-row {
  display: flex;
  gap: 10px;
  align-items: center;
}

.tcc-share-tools input,
.tcc-share-tools textarea {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  padding: 13px 15px;
  border: 1px solid rgba(112,177,213,.45);
  border-radius: 10px;
  background: #071a2c;
  color: #fff;
  font: inherit;
  font-size: 14px;
}

.tcc-share-tools textarea {
  resize: vertical;
  line-height: 1.6;
}

.tcc-share-url-row button {
  flex-shrink: 0;
}

.tcc-share-tools > button {
  align-self: flex-start;
  width: auto;
}

@media (max-width: 600px) {
  .tcc-share-url-row {
    flex-direction: column;
    align-items: stretch;
  }

  .tcc-share-tools > button {
    width: 100%;
  }
}

/* Premium gold treatment — main presentation video only */

.tcc-main-presentation {
  position: relative;
  margin-top: 8px !important;
  padding-top: 0 !important;
}

.tcc-main-presentation .tcc-video {
  position: relative;
  isolation: isolate;
  overflow: visible !important;
  border: 3px solid #f4c65e !important;
  border-radius: 19px !important;
  box-shadow:
    0 0 0 1px rgba(255,235,160,.3),
    0 0 24px rgba(245,183,55,.22),
    0 18px 40px rgba(0,0,0,.35) !important;
}

.tcc-main-presentation .tcc-video iframe {
  display: block;
  border-radius: 15px !important;
  overflow: hidden;
}

/* Subtle gold starburst at the top-right corner */

.tcc-main-presentation .tcc-video::after {
  content: "";
  position: absolute;
  z-index: 3;
  pointer-events: none;
  width: 84px;
  height: 84px;
  top: -43px;
  right: -43px;
  background:
    radial-gradient(circle, #fff 0%, #fff2b0 5%, #ffd66a 12%, transparent 26%),
    linear-gradient(90deg, transparent 47%, rgba(255,205,85,.8) 50%, transparent 53%),
    linear-gradient(0deg, transparent 47%, rgba(255,205,85,.8) 50%, transparent 53%);
  filter: drop-shadow(0 0 9px rgba(255,191,52,.65));
  opacity: .8;
}

@media (max-width: 600px) {
  .tcc-main-presentation .tcc-video {
    border-width: 2px !important;
    border-radius: 13px !important;
  }

  .tcc-main-presentation .tcc-video iframe {
    border-radius: 10px !important;
  }

  .tcc-main-presentation .tcc-video::after {
    width: 48px;
    height: 48px;
    top: -24px;
    right: -24px;
  }
}

/* Charity Champions — A gold, B teal, C blue */

/* OPTION A — Premium gold */
.tcc-actions .tcc-card:nth-child(1) {
  border: 1.5px solid #f3c56b !important;
  background: linear-gradient(
    110deg,
    rgba(122, 87, 28, .34),
    rgba(21, 46, 65, .96) 75%
  ) !important;
  box-shadow:
    0 0 22px rgba(244, 190, 76, .14),
    inset 0 0 22px rgba(244, 190, 76, .05) !important;
}

.tcc-actions .tcc-card:nth-child(1) .tcc-letter {
  background: linear-gradient(135deg, #ffe6a0, #e7a936) !important;
  color: #102136 !important;
  border-color: #f3c56b !important;
  box-shadow: 0 0 18px rgba(244, 190, 76, .25) !important;
}

.tcc-actions .tcc-card:nth-child(1) .tcc-button {
  background: linear-gradient(135deg, #ffe19a, #f0b949) !important;
  color: #102136 !important;
  border-color: #f3c56b !important;
  box-shadow: 0 5px 16px rgba(244, 190, 76, .18) !important;
}

/* Match the START HERE label to Option A */
.tcc-actions .tcc-card:nth-child(1)::before,
.tcc-actions .tcc-card:nth-child(1)::after {
  border-color: #f3c56b;
}

/* OPTION B — Vibrant teal */
.tcc-actions .tcc-card:nth-child(2) {
  border: 1.5px solid #35d1c6 !important;
  background: linear-gradient(
    110deg,
    rgba(23, 119, 124, .30),
    rgba(21, 46, 65, .96) 75%
  ) !important;
  box-shadow: 0 0 16px rgba(53, 209, 198, .09) !important;
}

.tcc-actions .tcc-card:nth-child(2) .tcc-letter {
  background: linear-gradient(135deg, #53e4d5, #22b9b7) !important;
  color: #082b37 !important;
  border-color: #35d1c6 !important;
  box-shadow: 0 0 14px rgba(53, 209, 198, .22) !important;
}

.tcc-actions .tcc-card:nth-child(2) .tcc-button {
  background: linear-gradient(135deg, #52e2d4, #2ac8c0) !important;
  color: #082b37 !important;
  border-color: #35d1c6 !important;
}

/* Button hover effects */
.tcc-actions .tcc-card:nth-child(1) .tcc-button:hover,
.tcc-actions .tcc-card:nth-child(2) .tcc-button:hover {
  filter: brightness(1.09);
  transform: translateY(-2px);
}


/* Mobile sharing — compact two-button layout */

#tcc-native-share {
  display: none;
}

@media (max-width: 767px) {

  .tcc-actions .tcc-card:nth-child(3) .tcc-share-tools {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
  }

  .tcc-share-tools > label,
  .tcc-share-tools > textarea,
  .tcc-share-tools > button#tcc-share,
  .tcc-share-tools input#tcc-share-url {
    display: none !important;
  }

  .tcc-share-url-row {
    display: grid !important;
    grid-template-columns: minmax(0,1fr) minmax(0,1fr) !important;
    gap: 10px !important;
    width: 100% !important;
    align-items: stretch !important;
  }

  .tcc-share-url-row #tcc-copy-url,
  .tcc-share-url-row #tcc-native-share {
    display: block !important;
    grid-column: auto !important;
    grid-row: auto !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 13px 8px !important;
    box-sizing: border-box !important;
    white-space: nowrap !important;
  }
}
