@font-face {
  font-family: "Modam";
  src: url("../fonts/Modam-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Modam";
  src: url("../fonts/Modam-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Modam";
  src: url("../fonts/Modam-Black.ttf") format("truetype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --page-bg: #080808;
  --text: #fff;
  --muted: rgba(255, 255, 255, 0.72);
  --soft: rgba(255, 255, 255, 0.48);
  --orange: #f26b2b;
  --orange-deep: #c84b1e;
}

* {
  box-sizing: border-box;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--text);
  background: var(--page-bg);
  font-family: "Modam", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-shell {
  position: relative;
  max-width: 430px;
  min-height: 100vh;
  margin: 0 auto;
  overflow: hidden;
  background: #080808;
  box-shadow: 0 0 45px rgba(0, 0, 0, 0.55);
}

.hero-section {
  position: relative;
  min-height: 870px;
  padding-top: 22px;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -3;
  background-image: url("../images/Mainhero.jpg");
  background-position: center 88px;
  background-size: 100% 850px;
  background-repeat: no-repeat;
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -2;
  /*background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.96) 0, rgba(0, 0, 0, 0.58) 16%, rgba(0, 0, 0, 0) 35%),
    linear-gradient(180deg, rgba(0, 0, 0, 0) 58%, rgba(8, 8, 8, 0.72) 79%, #080808 100%),
    radial-gradient(circle at 50% 40%, rgba(255, 117, 26, 0.16), transparent 47%);*/
}

.topbar {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  direction: ltr;
  padding-inline: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  width: 63px;
  height: 28px;
}

.brand img {
  width: 150%;
  display: block;
  height: 100px;
}

.top-contact {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 10px;
  font-weight: 400;
  white-space: nowrap;
}

.top-contact a {
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
}

.logout-trigger {
  padding: 0;
  border: 0;
  color: rgba(255, 255, 255, 0.82);
  background: transparent;
  font-family: inherit;
  font-size: 10px;
  font-weight: 400;
  line-height: 1;
}

.logout-trigger:hover,
.logout-trigger:focus-visible {
  color: #fff;
  outline: 0;
}

.profile-dot {
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: linear-gradient(145deg, #ff8a35, #d65220);
  box-shadow: 0 0 18px rgba(242, 107, 43, 0.5);
}

.hero-copy {
  position: relative;
  z-index: 2;
  margin-top: 75px;
  padding-inline: 26px;
  text-align: center;
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(35px, 10vw, 45px);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: 0;
}

.hero-copy h1 span {
  color: #fff;
}

.hero-copy h1 strong {
  color: var(--orange);
  font-weight: 900;
}

.lead-line {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.94);
  font-size: 18px;
  font-weight: 100;
  line-height: 1.9;
}

.sub-line {
  margin: 2px 0 0;
  color: var(--orange);
  font-size: 14px;
  font-weight: 100;
  line-height: 1.7;
}

.hero-action {
  position: absolute;
  right: 0;
  bottom: 62px;
  left: 0;
  z-index: 3;
  padding-inline: 25px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.support-btn {
    display: flex;
    align-items: center;
    width: 85%;
    min-height: 50px;
    border: 1px solid #e65a22;
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.92);
    background: linear-gradient(90deg, rgb(20 12 9 / 13%), rgb(82 41 22 / 68%), rgb(20 12 9 / 4%));
    font-size: 18px;
    line-height: 1;
    text-shadow: 0 1px 8px rgba(255, 255, 255, 0.18);
    box-shadow: inset 0 0 18px rgba(242, 107, 43, 0.08), 0 0 0 1px rgba(0, 0, 0, 0.28);
    margin: 0 0 -75px;
    justify-content: center;
}

.support-btn:focus-visible,
.support-btn:hover {
  color: #fff;
  border-color: #ff8b4c;
}

.projects-intro {
  position: relative;
  margin-top: 120px;
  padding: 24px 26px 34px;
  text-align: center;
  background:
    linear-gradient(180deg, #090908 0, #000000 100%);
}

.projects-intro::before {
  content: "";
  position: absolute;
  top: -54px;
  right: 0;
  left: 0;
  height: 72px;
  background: linear-gradient(180deg, rgba(8, 8, 8, 0), #080808 74%);
  pointer-events: none;
}

.projects-intro .container {
  position: relative;
  z-index: 1;
  padding-inline: 0;
}

.projects-intro .eyebrow {
  color: var(--orange);
}

.projects-intro .eyebrow span {
  color: #ff7a36;
}

.projects-intro h2 {
  margin: 0 0 12px;
  color: #fff;
  font-size: 26px;
  font-weight: 600;
  line-height: 1.45;
}

.projects-intro p:last-child {
  max-width: 340px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.48);
  font-size: 13px;
  font-weight: 400;
  line-height: 2.05;
}

.bottom-actions {
  padding: 6px 22px 26px;
  background: #080808;
}

.team-picks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 26px;
  margin: 0 0 33px;
  direction: ltr;
}

.team-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
  padding-bottom: 0;
  background: transparent;
}

.team-card::after {
  content: "";
  position: absolute;
  right: 50%;
  bottom: 0;
  z-index: 0;
  width: min(100%, 138px);
  height: 88px;
  border-radius: 0 0 31px 31px;
  background: #242424;
  transform: translateX(50%);
  transition: background 180ms ease;
}

.team-sheet-bg {
    background: #000;
    border-radius: 38px;
    padding: 8px 0;
    border: 1px solid #ea582b;
    height: 183px;
    margin-top: -100px;
    display: flex;
    justify-content: space-around;
    width: 97%;
    margin-right: 4px;
}

.team-shield {
  position: relative;
  z-index: 1;
  width: min(100%, 165px);
  aspect-ratio: 165 / 261;
  min-height: 0;
  overflow: visible;
  /*background: url("../images/cards/fr.png") center / contain no-repeat;*/
  cursor: pointer;
}

.team-shield img {
    position: relative;
    z-index: 1;
    width: min(100%, 165px);
    aspect-ratio: 165 / 261;
    min-height: 0;
    overflow: visible;
}

.team-shield:focus {
  outline: 0;
}

.team-shield::after {
  content: none;
}
    /*.team-shield img {
        display: none;
    }*/

.team-rank {
  display: none;
}

.team-mark {
  display: none;
}

.team-name {
  display: none;
}

.team-name strong {
  display: block;
  color: #fff;
  font-size: 17px;
  font-weight: 900;
  line-height: 1;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
}

.team-name span {
  display: block;
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
}

.team-stats {
  display: none;
}

.team-stats span {
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  line-height: 1.15;
  text-align: center;
}

.team-stats b {
  display: block;
  margin-top: 2px;
  font-size: 10px;
  font-weight: 900;
}

.team-counter {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  width: min(calc(100% - 24px), 128px);
  min-height: 48px;
  margin: 8px auto 0;
  border-radius: 28px;
  color: rgba(255, 255, 255, 0.18);
  background: #070707;
  box-shadow: 0 0 0 5px #242424;
  direction: ltr;
  transition:
    box-shadow 180ms ease,
    color 180ms ease;
}

.team-counter button,
.team-counter strong {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 400;
  line-height: 1;
}

.team-counter button {
  width: 100%;
  height: 100%;
  min-height: 48px;
  padding: 0;
  border: 0;
  color: rgba(255, 255, 255, 0.18);
  background: transparent;
  font-family: inherit;
}

.team-counter button:not(:disabled):hover,
.team-counter button:not(:disabled):focus-visible {
  color: #ef5f2b;
  outline: 0;
}

.team-counter button:disabled {
  opacity: 0.38;
}

.team-counter strong {
  color: rgba(255, 255, 255, 0.18);
  font-size: 25px;
  font-weight: 900;
}



.team-card.is-selected .team-counter {
  box-shadow: 0 0 0 5px #ef5f2b;
}

.team-card.is-selected::after {
  background: #ef5f2b;
}

.team-card.is-selected .team-counter button:not(:disabled) {
  color: rgba(239, 95, 43, 0.88);
}

.team-card.is-selected .team-counter strong {
  color: #ef5f2b;
}


.team-card.is-eliminated {
    opacity: 0.6;
    filter: grayscale(1);
    pointer-events: none; /* غیرفعال کردن کلیک روی کل کارت */
}

/* استایل برای نشانگر حذف */
.eliminated-badge {
    position: absolute;
    top: 275px;
    z-index: 10;
    background: #ff0000;
    color: white;
    padding: 2px 10px;
    border-radius: 5px;
    font-size: 20px;
    font-weight: bold;
}

/* اگر می‌خواهید دکمه‌های کانتر در تیم حذف شده کاملاً غیرفعال به نظر برسند */
.team-card.is-eliminated .team-counter {
    background: #333;
    cursor: not-allowed;
}


.token-panel-anchor {
  position: relative;
  width: 100%;
  min-height: var(--token-panel-height, 97px);
  margin: 0 auto 38px;
}

.token-panel {
  width: 100%;
  min-height: 97px;
  margin: 0;
  padding: 12px 44px 11px;
  border: 1.5px solid #e65a22;
  border-radius: 8px;
  text-align: center;
  background:
    linear-gradient(90deg, rgba(12, 9, 8, 0.8), rgba(46, 27, 20, 0.86), rgba(12, 9, 8, 0.8));
  box-shadow: inset 0 0 22px rgba(224, 83, 32, 0.08);
}

.token-panel.is-floating {
  position: fixed;
  right: auto;
  top: var(--token-panel-top, 0);
  left: var(--token-panel-left, 50%);
  z-index: 45;
  width: var(--token-panel-width, min(calc(100vw - 44px), 386px));
  transform: none;
  box-shadow:
    inset 0 0 22px rgba(224, 83, 32, 0.08),
    0 16px 38px rgba(0, 0, 0, 0.36);
}

.token-panel p {
  margin: 0 0 7px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.45;
}

.token-panel p span {
  color: #ef5f2b;
}

.token-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    margin-bottom: 10px;
    direction: ltr;
    flex-wrap: wrap;
}

.token-dots i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #f7f7f7, #6a6a6a 70%);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.75);
}

.token-dots i.active {
  background: radial-gradient(circle at 35% 35%, #ff9138, #c45513 75%);
}

.token-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 39px;
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: #ea5b2c;
  font-family: inherit;
  font-size: 13px;
  font-weight: 900;
}

.token-get-more {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 39px;
    border: 0;
    border-radius: 8px;
    color: #fff;
    background: #ea5b2c;
    font-family: inherit;
    font-size: 13px;
    font-weight: 900;
}

.action-card {
  overflow: hidden;
  margin: 0 0 48px;
  border: 1.5px solid #e65a22;
  border-radius: 86px 8px 8px 8px;
  background: #101010;
}

.action-card:last-child {
  margin-bottom: 0;
}

.action-card-image {
  position: relative;
  height: 119px;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.action-card-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.72) 100%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.64), rgba(0, 0, 0, 0.05) 45%, rgba(0, 0, 0, 0.62));
}

.action-card-register .action-card-image {
  background-image: url("../images/تکمیل ثبت نام.jpeg");
}

.action-card-invite .action-card-image {
  background-image: url("../images/دعوت از دوستان.jpeg");
  background-position: center 42%;
}

.action-card-body {
  padding: 11px 44px 20px;
  text-align: center;
}

.action-card h3 {
  margin: 0 0 9px;
  color: #fff;
  font-size: 17px;
  font-weight: 900;
  line-height: 1.45;
}

.action-card h3 span {
  color: #f05f2b;
}

.action-card p {
  margin: 0 0 17px;
  color: rgba(255, 255, 255, 0.38);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.8;
}

.outline-action {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 39px;
  border: 1.5px solid #e65a22;
  border-radius: 9px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(17, 13, 12, 0.5), rgba(39, 24, 17, 0.7), rgba(17, 13, 12, 0.5));
  font-size: 13px;
  font-weight: 700;
}

.outline-action:hover,
.outline-action:focus-visible {
  color: #fff;
  border-color: #ff7b3b;
}

.token-distribution {
  padding: 14px 22px 34px;
  background: #080808;
}

.token-distribution h2 {
  margin: 0 0 22px;
  color: #fff;
  text-align: center;
  font-size: 21px;
  font-weight: 900;
  line-height: 1.4;
}

.token-distribution h2 span {
  color: #ef5f2b;
}

.distribution-list {
  display: grid;
  gap: 13px;
}

.distribution-row {
  display: grid;
  grid-template-columns: 28px 52px minmax(0, 1fr) 38px 28px;
  align-items: center;
  gap: 8px;
  direction: rtl;
}

.distribution-row img {
  width: 28px;
  height: 20px;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.distribution-row .country {
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  text-align: right;
  white-space: nowrap;
}

.distribution-row .bar {
  position: relative;
  height: 5px;
  overflow: hidden;
  border-radius: 999px;
  background: #2d2d2d;
}

.distribution-row .bar span {
  position: absolute;
  top: 0;
  right: 0;
  width: 28%;
  height: 100%;
  border-radius: inherit;
  background: #ed5b2c;
}

.distribution-row strong {
  color: #ef5f2b;
  font-size: 11px;
  font-weight: 900;
  text-align: left;
  direction: ltr;
}

.distribution-row em {
  color: rgba(255, 255, 255, 0.18);
  font-size: 10px;
  font-style: normal;
  font-weight: 700;
  text-align: left;
  white-space: nowrap;
}

.investor-view {
  padding: 44px 0 76px;
  background: #080808;
  overflow: hidden;
}

.investor-view h2 {
  margin: 0 0 52px;
  padding-inline: 22px;
  color: #f4f4f4;
  text-align: center;
  font-size: 24px;
  font-weight: 900;
  line-height: 1.45;
}

.investor-view h2 span {
  color: #ef5f2b;
}

.investor-cards {
  display: flex;
  align-items: center;
  gap: 26px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0 64px 4px 55px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
  user-select: none;
}

.investor-cards.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
}

.investor-cards::-webkit-scrollbar {
  display: none;
}

.investor-card {
  flex: 0 0 246px;
  height: 280px;
  border-radius: 30px;
  background: #3f3f3f;
  scroll-snap-align: start;
}

.site-footer {
  min-height: 255px;
  padding: 62px 22px 42px;
  text-align: center;
  background: #ea582b;
  border-top-right-radius: 100px;
}

.footer-logo {
  display: block;
  width: 168px;
  height: auto;
  margin: 0 auto 41px;
}

.social-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  direction: ltr;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  color: #fff;
  font-size: 21px;
  line-height: 1;
}

.social-links a:hover,
.social-links a:focus-visible {
  color: #fff;
  opacity: 0.82;
}

.invite-sheet-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(0, 0, 0, 0.58);
  opacity: 0;
  transition: opacity 240ms ease;
}

.invite-sheet-backdrop.is-open {
  opacity: 1;
}

.invite-sheet {
  position: fixed;
  right: 50%;
  bottom: 0;
  z-index: 90;
  width: min(100%, 430px);
  max-height: calc(100dvh - 16px);
  overflow: hidden auto;
  border: 2px solid #e65a22;
  border-bottom: 0;
  border-radius: 42px 42px 0 0;
  background: #0d0d0d;
  transform: translate(50%, 104%);
  transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: 0 -18px 52px rgba(0, 0, 0, 0.58);
}

.invite-sheet.is-open {
  transform: translate(50%, 0);
}

.invite-sheet-handle {
  position: absolute;
  top: 10px;
  right: 50%;
  z-index: 2;
  width: 96px;
  height: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.24);
  transform: translateX(50%);
}

.invite-sheet-image {
  height: 388px;
  background-image:
    linear-gradient(180deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.28) 78%, #0d0d0d 100%),
    url("../images/دعوت از دوستان.jpeg");
  background-position: center 38%;
  background-size: cover;
}

.invite-sheet-body {
  padding: 29px 28px 66px;
  text-align: center;
}

.invite-sheet h2 {
  margin: 0 0 16px;
  color: #fff;
  font-size: 29px;
  font-weight: 900;
  line-height: 1.35;
}

.invite-sheet h2 span {
  color: #ef5f2b;
}

.invite-sheet p {
  margin: 0 0 31px;
  color: rgba(255, 255, 255, 0.36);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.8;
}

.invite-link-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  justify-content: center;
  gap: 11px;
  margin-bottom: 22px;
}

.invite-link-row > span {
  min-width: 0;
  color: #fff;
  font-size: 15px;
  font-weight: 900;
  white-space: nowrap;
}

.invite-link-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 38px;
  align-items: center;
  width: 100%;
  min-width: 0;
  min-height: 50px;
  padding: 0px 9px 0 8px;
  border: 1.5px solid #e65a22;
  border-radius: 14px;
  background: linear-gradient(90deg, rgba(17, 13, 12, 0.5), rgba(39, 24, 17, 0.7), rgba(17, 13, 12, 0.5));
}

.invite-link-input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  color: rgba(255, 255, 255, 0.82);
  background: transparent;
  font-family: inherit;
  font-size: 15px;
  font-weight: 900;
  text-align: left;
}

.invite-link-input::selection {
  color: #fff;
  background: rgba(230, 90, 34, 0.55);
}

.invite-copy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: transparent;
  font-family: inherit;
}

.invite-copy i {
  color: #ef5f2b;
  font-size: 20px;
}

.invite-copy:hover,
.invite-copy:focus-visible {
  background: rgba(230, 90, 34, 0.14);
}

.invite-share {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 61px;
  border: 1.5px solid #e65a22;
  border-radius: 13px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(17, 13, 12, 0.58), rgba(63, 33, 24, 0.82), rgba(17, 13, 12, 0.58));
  font-family: inherit;
  font-size: 19px;
  font-weight: 900;
}

.team-sheet-backdrop {
  position: fixed;
  inset: 0;
  z-index: 92;
  background: rgba(0, 0, 0, 0.82);
  opacity: 0;
  transition: opacity 240ms ease;
}

.team-sheet-backdrop.is-open {
  opacity: 1;
}

.team-sheet {
    position: fixed;
    right: 50%;
    top: 50%;
    z-index: 100;
    width: min(calc(100% - 96px), 282px);
    max-height: calc(100dvh - 24px);
    overflow: visible;
    padding: 0;
    border: 0;
    background: transparent;
    opacity: 0;
    transform: translate(50%, calc(50vh + 70%)) scale(0.94);
    transform-origin: 50% 62%;
    transition: opacity 220ms ease, transform 380ms cubic-bezier(0.2, 1, 0.24, 1);
    box-shadow: none;
}

.team-sheet.is-open {
  opacity: 1;
  transform: translate(50%, -50%) scale(1);
}

.team-sheet-close {
    position: absolute;
    top: 12px;
    right: -1px;
    z-index: 4;
    width: 30px;
    height: 30px;
    padding: 0;
    border: 0;
    color: rgba(255, 255, 255, 0.48);
    background: transparent;
    font-size: 17px;
    line-height: 1;
}

.team-sheet-close:hover,
.team-sheet-close:focus-visible {
  color: rgba(255, 255, 255, 0.72);
  outline: 0;
}

.team-sheet-kicker {
  display: none;
}

.team-sheet-card {
  position: relative;
  z-index: 2;
  width: 100%;
  aspect-ratio: 600 / 950;
  margin: 0 auto;
  /*background: url("../images/Asset.png") center / contain no-repeat;*/
}

.team-sheet-action {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1.18fr;
  width: calc(100% - 20px);
  min-height: 64px;
  overflow: hidden;
  margin: 12px auto 0;
  border: 1.5px solid #e65a22;
  border-radius: 34px;
  background: #101010;
  direction: ltr;
  margin-top: -75px;
}

.team-sheet-submit {
  border: 0;
  color: #fff;
  background: #ea582b;
  font-family: inherit;
  font-size: 14px;
  font-weight: 900;
}

.team-sheet-counter {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  color: rgba(255, 255, 255, 0.22);
}

.team-sheet-counter button,
.team-sheet-counter strong {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 64px;
  border: 0;
  color: inherit;
  background: transparent;
  font-family: inherit;
  font-size: 24px;
  font-weight: 400;
}

.team-sheet-counter strong {
  color: #ef5f2b;
  font-weight: 900;
}

.team-sheet-counter button:disabled {
  opacity: 0.34;
}

body.invite-sheet-open {
  overflow: hidden;
}

body.team-sheet-open {
  overflow: hidden;
}

.toast-backdrop {
  position: fixed;
  inset: 0;
  z-index: 118;
  background: rgba(0, 0, 0, 0.62);
  opacity: 0;
  transition: opacity 240ms ease;
}

.toast-backdrop.is-open {
  opacity: 1;
}

.app-toast {
  position: fixed;
  right: 50%;
  top: 72px;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: min(calc(100% - 34px), 388px);
  min-height: 104px;
  padding: 18px 22px;
  border: 2px solid #e65a22;
  border-radius: 16px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(22, 16, 14, 0.96), rgba(51, 33, 27, 0.96), rgba(22, 16, 14, 0.96));
  box-shadow:
    inset 0 0 24px rgba(230, 90, 34, 0.08),
    0 14px 42px rgba(0, 0, 0, 0.4);
  line-height: 1.7;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transform: translate(50%, -16px);
  transition:
    opacity 220ms ease,
    transform 220ms ease;
}

.app-toast.is-visible {
  opacity: 1;
  transform: translate(50%, 0);
}

.app-toast strong {
  color: #fff;
  font-size: 17px;
  font-weight: 900;
}

.toast-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: #fff;
  background: #ea5b2c;
  box-shadow: 0 0 0 0 rgba(234, 91, 44, 0.44);
}

.toast-check i {
  font-size: 22px;
  line-height: 1;
}

.app-toast.is-visible .toast-check {
  animation: toast-check-pop 520ms cubic-bezier(0.2, 1.45, 0.32, 1), toast-check-pulse 1400ms ease 520ms infinite;
}

.copy-toast {
  top: 26px;
  bottom: auto;
  z-index: 150;
  width: auto;
  min-width: 136px;
  min-height: 58px;
  padding: 12px 18px;
  border-radius: 13px;
}

.copy-toast strong {
  font-size: 14px;
}

.copy-toast .toast-check {
  flex-basis: 28px;
  width: 28px;
  height: 28px;
}

.copy-toast .toast-check i {
  font-size: 18px;
}

@keyframes toast-check-pop {
  0% {
    transform: scale(0.35) rotate(-18deg);
  }
  65% {
    transform: scale(1.14) rotate(0);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes toast-check-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(234, 91, 44, 0.38);
  }
  70% {
    box-shadow: 0 0 0 12px rgba(234, 91, 44, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(234, 91, 44, 0);
  }
}

.logout-dialog-backdrop {
  position: fixed;
  inset: 0;
  z-index: 130;
  background: rgba(0, 0, 0, 0.66);
  opacity: 0;
  transition: opacity 220ms ease;
}

.logout-dialog-backdrop.is-open {
  opacity: 1;
}

.logout-dialog {
  position: fixed;
  top: 50%;
  right: 50%;
  z-index: 140;
  width: min(calc(100% - 44px), 360px);
  padding: 23px 24px 22px;
  border: 1.5px solid #e65a22;
  border-radius: 14px;
  text-align: center;
  background:
    linear-gradient(90deg, rgba(12, 9, 8, 0.96), rgba(46, 27, 20, 0.96), rgba(12, 9, 8, 0.96));
  box-shadow:
    inset 0 0 22px rgba(224, 83, 32, 0.08),
    0 20px 56px rgba(0, 0, 0, 0.52);
  opacity: 0;
  pointer-events: none;
  transform: translate(50%, calc(-50% + 14px));
  transition:
    opacity 220ms ease,
    transform 220ms ease;
}

.logout-dialog.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translate(50%, -50%);
}

.logout-dialog h2 {
  margin: 0 0 20px;
  color: #fff;
  font-size: 17px;
  font-weight: 900;
  line-height: 1.8;
}

.logout-dialog-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.logout-dialog button {
  min-height: 42px;
  border-radius: 9px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 900;
}

.logout-confirm {
  border: 0;
  color: #fff;
  background: #ea5b2c;
}

.logout-cancel {
  border: 1.5px solid #e65a22;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(17, 13, 12, 0.5), rgba(39, 24, 17, 0.7), rgba(17, 13, 12, 0.5));
}

body.dialog-open {
  overflow: hidden;
}

@media (min-width: 431px) {
  body {
    background: #111;
  }
}

@media (max-width: 374px) {
  .hero-section {
    min-height: 705px;
  }

  .hero-bg {
    background-position: center 95px;
    background-size: auto 585px;
  }

  .hero-copy {
    margin-top: 30px;
    padding-inline: 18px;
  }

  .hero-action {
    bottom: 50px;
    padding-inline: 17px;
  }

  .bottom-actions {
    padding-inline: 16px;
  }

  .team-picks {
    gap: 24px 20px;
  }

  .team-card {
    padding-bottom: 0;
  }

  .team-shield {
    aspect-ratio: 165 / 261;
    min-height: 0;
  }

  .team-mark {
    font-size: 136px;
  }

  /*.team-shield img {
    top: 51px;
    width: 90px;
    height: 64px;
  }*/

  .team-name {
    bottom: 73px;
  }

  .team-name strong {
    font-size: 15px;
  }

  .team-name span {
    font-size: 12px;
  }

  .team-stats {
    bottom: 41px;
  }

  .team-stats span {
    font-size: 8px;
  }

  .team-counter {
    min-height: 45px;
  }

  .team-counter button {
    min-height: 45px;
  }

  .token-panel {
    padding-inline: 36px;
  }

  .action-card-body {
    padding-inline: 34px;
  }

  .distribution-row {
    grid-template-columns: 28px 50px minmax(0, 1fr) 36px 28px;
    gap: 7px;
  }

  .investor-cards {
    gap: 24px;
    padding-inline: 42px 34px;
  }

  .investor-card {
    flex-basis: 232px;
    height: 265px;
  }

  .invite-sheet {
    width: min(100%, 430px);
  }

  .invite-sheet-image {
    height: 322px;
  }

  .invite-sheet-body {
    padding-inline: 25px;
  }

  .invite-link-row {
    align-items: stretch;
    display: grid;
    grid-template-columns: 1fr;
    justify-items: stretch;
    gap: 9px;
  }

  .invite-link-row > span {
    text-align: right;
  }

  .invite-link-box {
    width: 100%;
    min-width: 0;
  }

  .invite-share {
    min-height: 55px;
    font-size: 16px;
    line-height: 1.5;
  }
}



.token-info {
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 14px;
}

.login-trigger {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 39px;
    border: 0px;
    border-radius: 8px;
    color: rgb(255, 255, 255);
    background: rgb(234, 91, 44);
    font-family: inherit;
    font-size: 13px;
    font-weight: 900;
}


.auth-modual {
    border: 2px solid #e65a22;
    border-radius: 16px;
    color: #fff;
    background: linear-gradient(90deg, rgba(22, 16, 14, 0.96), rgba(51, 33, 27, 0.96), rgba(22, 16, 14, 0.96));
    box-shadow: inset 0 0 24px rgba(230, 90, 34, 0.08), 0 14px 42px rgba(0, 0, 0, 0.4);    
    
    transition: opacity 220ms ease, transform 220ms ease;
}


.footer-contact {
    color: #fff;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

    .footer-contact a:hover {
        color: #ccc; /* یا هر رنگی که برای هاور می‌پسندی */
    }



.action-card-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    width: 100%;
    margin-top: 14px;
}

.outline-action {
    width: 100%;
    min-height: 48px;
    padding: 0 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    white-space: nowrap;
    line-height: 1;
    box-sizing: border-box;
}

/* دکمه اصلی */
.outline-action-primary {
    background: linear-gradient(180deg, #e56a3a 0%, #d84f1e 100%);
    border: 1px solid #e56a3a;
    color: #fff;
    box-shadow: 0 8px 18px rgba(229, 106, 58, 0.18);
}

    .outline-action-primary:hover {
        background: linear-gradient(180deg, #ee7745 0%, #d24717 100%);
        border-color: #ee7745;
        color: #fff;
        transform: translateY(-1px);
    }

/* دکمه ثانویه */
.outline-action-secondary {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid #e56a3a;
    color: #fff;
}

    .outline-action-secondary:hover {
        background: rgba(229, 106, 58, 0.12);
        color: #fff;
        transform: translateY(-1px);
    }

.outline-action:active {
    transform: translateY(0);
}

.outline-action:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none;
}

@media (max-width: 576px) {
    .action-card-actions {
        grid-template-columns: 1fr;
    }

    .outline-action {
        min-height: 46px;
        font-size: 13px;
    }
}