/* "Як почати грати", team extras and the donate section. Loaded after styles.min.css. */

/* ---------- Як почати грати ---------- */
.play-section { position: relative; }
.play-layout { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(40px, 6vw, 110px); align-items: end; }
.play-heading > p:last-child { max-width: 520px; color: var(--muted); font-size: clamp(16px, 1.25vw, 19px); line-height: 1.7; }

.play-address {
  position: relative; padding: 28px; border: 1px solid var(--line-strong); border-radius: 26px;
  background: radial-gradient(circle at 100% 0%, rgba(32, 239, 154, .16), transparent 55%), var(--panel);
  box-shadow: var(--shadow);
}
.play-address-label { display: block; margin-bottom: 14px; color: var(--mint-soft); font-size: 12px; font-weight: 850; letter-spacing: .22em; text-transform: uppercase; }
.play-address-row { display: flex; align-items: center; gap: 12px; padding: 10px 10px 10px 22px; border-radius: 18px; border: 1px solid var(--line); background: rgba(3, 7, 5, .72); }
.play-address code { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; color: var(--paper); font: 400 clamp(24px, 2.6vw, 38px)/1.2 var(--display); letter-spacing: .02em; white-space: nowrap; }
.play-copy {
  display: inline-flex; align-items: center; gap: 9px; min-height: 52px; padding: 0 20px; flex: none;
  border: 0; border-radius: 14px; color: #03120a; font: 850 14px/1 var(--body); text-transform: uppercase; letter-spacing: .06em;
  background: var(--mint); box-shadow: 0 12px 30px rgba(32, 239, 154, .25); cursor: pointer;
  transition: transform .2s var(--ease-out), box-shadow .2s, background .2s;
}
.play-copy svg { width: 18px; height: 18px; }
.play-copy:hover { transform: translateY(-2px); box-shadow: 0 16px 36px rgba(32, 239, 154, .35); }
.play-copy:active { transform: translateY(1px); }
.play-copy.is-copied { background: var(--mint-soft); }
.play-facts { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; padding: 0; list-style: none; }
.play-facts li { padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line); color: #c9d6ce; font-size: 13px; font-weight: 650; background: rgba(255, 255, 255, .025); }
.play-facts li::before { content: ""; display: inline-block; width: 6px; height: 6px; margin: 0 8px 2px 0; border-radius: 50%; background: var(--mint); }

.play-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: clamp(48px, 6vw, 80px) 0 0; padding: 0; list-style: none; counter-reset: none; }
.play-step {
  position: relative; display: flex; flex-direction: column; padding: 22px; border-radius: 22px; border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(17, 59, 39, .32), rgba(7, 17, 12, .85)); overflow: hidden;
  transition: transform .35s var(--ease-out), border-color .35s;
}
.play-step:hover { transform: translateY(-6px); border-color: var(--line-strong); }
.play-step::after { content: ""; position: absolute; inset: auto -40% -60% auto; width: 220px; height: 220px; border-radius: 50%; background: rgba(32, 239, 154, .08); filter: blur(30px); }
.play-step-num { color: var(--mint); font: 400 15px/1 var(--display); letter-spacing: .12em; }
.play-step h3 { margin: 18px 0 8px; font: 400 26px/1.05 var(--display); text-transform: uppercase; }
.play-step p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.6; }
.play-step p strong { color: var(--mint-soft); font-weight: 750; }
.play-steps .play-step:not(:last-child)::before {
  content: ""; position: absolute; top: 34px; right: -12px; width: 8px; height: 8px; border-top: 2px solid var(--mint); border-right: 2px solid var(--mint);
  transform: rotate(45deg); opacity: .55; z-index: 2;
}

/* Small animated pictures for each step. */
.play-step-visual { position: relative; height: 92px; margin-top: 18px; border-radius: 14px; border: 1px solid var(--line); background: rgba(3, 7, 5, .6); overflow: hidden; }
.visual-launch i { position: absolute; left: 18px; top: 22px; width: 48px; height: 48px; border-radius: 10px; background:
  linear-gradient(#6b4a2c 0 0) bottom / 100% 55% no-repeat, linear-gradient(#5fb83e 0 0) top / 100% 45% no-repeat; box-shadow: inset 0 0 0 2px rgba(0, 0, 0, .25); animation: play-bob 3s ease-in-out infinite; }
.visual-launch b { position: absolute; right: 16px; bottom: 14px; padding: 5px 9px; border-radius: 8px; color: #03120a; background: var(--mint); font: 400 16px/1 var(--display); }
.visual-server span { position: absolute; left: 14px; right: 14px; height: 18px; border-radius: 6px; background: rgba(255, 255, 255, .06); }
.visual-server span:nth-child(1) { top: 14px; }
.visual-server span:nth-child(2) { top: 38px; width: 45%; }
.visual-server em { position: absolute; left: 14px; bottom: 12px; padding: 4px 8px; border-radius: 6px; border: 1px solid var(--line-strong); color: var(--mint-soft); font: 600 12px/1.2 monospace; font-style: normal;
  white-space: nowrap; overflow: hidden; width: 0; animation: play-type 4s steps(19) infinite; }
.visual-login i { position: absolute; left: 14px; top: 14px; width: 26px; height: 26px; border-radius: 7px; background: repeating-linear-gradient(45deg, rgba(32, 239, 154, .35) 0 5px, rgba(32, 239, 154, .15) 5px 10px); }
.visual-login span { position: absolute; left: 48px; right: 14px; height: 9px; border-radius: 5px; background: rgba(255, 255, 255, .08); }
.visual-login span:nth-of-type(1) { top: 16px; width: 40%; }
.visual-login span:nth-of-type(2) { top: 31px; width: 25%; }
.visual-login b { position: absolute; left: 14px; right: 14px; bottom: 12px; height: 24px; border-radius: 8px; background: linear-gradient(90deg, var(--mint) 0 var(--fill, 0%), rgba(32, 239, 154, .18) var(--fill, 0%)); animation: play-fill 3.5s ease-in-out infinite; }
.visual-play { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; padding: 16px; }
.visual-play i { border-radius: 8px; background: rgba(32, 239, 154, .12); border: 1px solid var(--line); animation: play-pick 4s ease-in-out infinite; }
.visual-play i:nth-child(2) { animation-delay: 1s; } .visual-play i:nth-child(3) { animation-delay: 2s; } .visual-play i:nth-child(4) { animation-delay: 3s; }

.play-help { margin: 28px 0 0; color: var(--muted); font-size: 15px; }
.play-help a { color: var(--mint-soft); font-weight: 750; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(143, 255, 201, .4); }
.play-help a:hover { color: var(--mint); text-decoration-color: currentColor; }

@property --fill { syntax: "<percentage>"; inherits: false; initial-value: 0%; }
@keyframes play-bob { 50% { transform: translateY(-6px) rotate(-4deg); } }
@keyframes play-type { 0%, 10% { width: 0; } 55%, 85% { width: calc(19ch + 16px); } 100% { width: calc(19ch + 16px); opacity: 0; } }
@keyframes play-fill { 0%, 15% { --fill: 0%; } 60%, 85% { --fill: 100%; } 100% { --fill: 100%; } }
@keyframes play-pick { 0%, 20%, 100% { background: rgba(32, 239, 154, .12); transform: none; } 8% { background: rgba(32, 239, 154, .55); transform: translateY(-4px); } }

/* ---------- Команда: what you get + how to join ---------- */
.team-extras { position: relative; z-index: 1; display: grid; grid-template-columns: 1.3fr 1fr; gap: 16px; margin: 0 0 clamp(36px, 4vw, 56px); }
.team-perks, .team-process { padding: 24px; border-radius: 24px; border: 1px solid var(--line); background: rgba(3, 9, 6, .62); backdrop-filter: blur(8px); }
.team-extras-label { display: block; margin-bottom: 16px; color: var(--mint-soft); font-size: 12px; font-weight: 850; letter-spacing: .22em; text-transform: uppercase; }
.team-perks ul { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 0; padding: 0; list-style: none; }
.team-perks li { display: grid; gap: 10px; align-content: start; }
.team-perks b { color: var(--mint); font: 400 14px/1 var(--display); letter-spacing: .12em; }
.team-perks li > span { color: var(--muted); font-size: 14px; line-height: 1.55; }
.team-perks strong { display: block; margin-bottom: 4px; color: var(--paper); font-size: 16px; }
.team-process ol { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.team-process li { display: flex; align-items: center; gap: 12px; color: #d6e2db; font-size: 15px; }
.team-process i { width: 30px; height: 30px; flex: none; display: grid; place-items: center; border-radius: 9px; font-style: normal; font-weight: 850; color: #03120a; background: var(--mint); }

/* ---------- Підтримка ---------- */
.donate-layout { display: grid; grid-template-columns: 1.05fr .95fr; gap: 20px; align-items: stretch; }
.donate-card {
  position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: center; padding: clamp(28px, 4vw, 56px);
  border-radius: 30px; border: 1px solid var(--line-strong);
  background: radial-gradient(circle at 0% 100%, rgba(183, 169, 25, .16), transparent 45%), radial-gradient(circle at 100% 0%, rgba(49, 90, 255, .14), transparent 45%), var(--panel);
}
.donate-glow { position: absolute; width: 360px; height: 360px; right: -120px; bottom: -160px; border-radius: 50%; background: radial-gradient(circle, rgba(32, 239, 154, .35), transparent 65%); animation: donate-breathe 6s ease-in-out infinite; pointer-events: none; }
.donate-card h2 { position: relative; margin-bottom: 20px; font-size: clamp(46px, 5vw, 84px); line-height: 1.02; }
.donate-lead { position: relative; max-width: 520px; margin: 0 0 30px; color: #c3d0c8; font-size: clamp(16px, 1.25vw, 19px); line-height: 1.7; }
.donate-button { position: relative; align-self: flex-start; }
.donate-card small { position: relative; margin-top: 16px; color: var(--muted); font-size: 13px; }

.donate-goals { display: grid; gap: 12px; align-content: start; }
.donate-goals-label { color: var(--mint-soft); font-size: 12px; font-weight: 850; letter-spacing: .22em; text-transform: uppercase; }
.donate-goal { display: flex; gap: 16px; align-items: center; padding: 18px 20px; border-radius: 20px; border: 1px solid var(--line); background: rgba(7, 17, 12, .78); transition: transform .3s var(--ease-out), border-color .3s; }
.donate-goal:hover { transform: translateX(6px); border-color: var(--line-strong); }
.donate-goal-icon { width: 52px; height: 52px; flex: none; display: grid; place-items: center; border-radius: 15px; color: var(--mint); background: rgba(32, 239, 154, .1); border: 1px solid var(--line-strong); }
.goal-events .donate-goal-icon { color: #f3dc54; background: rgba(183, 169, 25, .12); border-color: rgba(243, 220, 84, .35); }
.goal-content .donate-goal-icon { color: #8aa2ff; background: rgba(49, 90, 255, .12); border-color: rgba(138, 162, 255, .35); }
.donate-goal-icon svg { width: 26px; height: 26px; }
.donate-goal strong { display: block; font: 400 24px/1.1 var(--display); text-transform: uppercase; }
.donate-goal p { margin: 4px 0 0; color: var(--muted); font-size: 14.5px; line-height: 1.5; }
.donate-free { margin-top: 4px; padding: 18px 20px; border-radius: 20px; border: 1px dashed var(--line-strong); color: #d6e2db; font-size: 14.5px; }
.donate-free ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 0; padding: 0; list-style: none; }
.donate-free li { padding: 6px 12px; border-radius: 999px; background: rgba(32, 239, 154, .08); color: var(--mint-soft); font-size: 13px; font-weight: 650; }
@keyframes donate-breathe { 50% { transform: scale(1.18); opacity: .7; } }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .play-steps { grid-template-columns: repeat(2, 1fr); }
  .play-steps .play-step:nth-child(2)::before { display: none; }
  .team-perks ul { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .play-layout, .team-extras, .donate-layout { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .play-steps { grid-template-columns: 1fr; }
  .play-steps .play-step::before { display: none; }
  .play-address { padding: 20px; border-radius: 22px; }
  .play-address-row { flex-direction: column; align-items: stretch; padding: 14px; }
  .play-address code { text-align: center; font-size: 26px; }
  .play-copy { justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  .visual-launch i, .visual-server em, .visual-login b, .visual-play i, .donate-glow { animation: none; }
  .visual-server em { width: auto; }
  .visual-login b { --fill: 100%; }
}
