/* Сезон, контакты, join — дополнения к rules-page.css */

.rules-page .rules-page-lead a {
  color: #ff2d46;
  text-decoration: none;
  text-underline-offset: 3px;
}

.rules-page .rules-page-lead a:hover {
  text-decoration: underline;
}

.rules-page .rules-page-lead strong {
  color: rgba(255, 255, 255, 0.88);
  font-weight: 600;
}

.rules-page .season-actions {
  margin-top: clamp(1.5rem, 3vw, 2rem);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.rules-page .season-countdown-wrap {
  margin-top: 0.5rem;
  padding: clamp(1.35rem, 3vw, 1.9rem);
  border-radius: 1rem;
  border: 1px solid rgba(255, 45, 70, 0.32);
  background: linear-gradient(
      135deg,
      rgba(255, 45, 70, 0.12) 0%,
      rgba(10, 10, 10, 0.88) 55%
    ),
    rgba(8, 8, 8, 0.92);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.04) inset;
}

.rules-page .season-countdown-label {
  margin: 0 0 0.75rem;
}

.rules-page .season-countdown-display {
  margin: 0;
  font-family: ui-monospace, "Cascadia Code", "SF Mono", Menlo, monospace;
  font-size: clamp(1.65rem, 5.5vw, 2.35rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: #fff;
  font-variant-numeric: tabular-nums;
}

.rules-page .season-muted-note {
  margin: 1rem 0 0;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.38);
}

.rules-page .season-prize-row {
  margin-top: 1.25rem;
}

.rules-page .season-prize-value {
  margin-top: 0.65rem;
  font-size: clamp(1.35rem, 4vw, 1.85rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: #ff2d46;
}

.rules-page .contact-note {
  margin-top: 0.65rem;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.78);
}

.rules-page .contact-note--tight-top {
  margin-top: 0.65rem;
}

.rules-page .contact-note--bright {
  color: rgba(255, 255, 255, 0.82);
}

.rules-page .contact-stack {
  display: flex;
  flex-direction: column;
  gap: clamp(1rem, 2.2vw, 1.35rem);
}

.rules-page .contact-stack a {
  color: #ff2d46;
  text-decoration: none;
  text-underline-offset: 3px;
  word-break: break-word;
}

.rules-page .contact-stack a:hover {
  text-decoration: underline;
}

.rules-page .contact-mono {
  font-family: ui-monospace, "Cascadia Code", "SF Mono", Menlo, monospace;
  font-size: 1.0625rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
  margin: 0.35rem 0 0;
}

/* Формы join */
.rules-page .shell-form {
  margin-top: clamp(1.25rem, 2.5vw, 1.75rem);
  padding: clamp(1.5rem, 3.2vw, 2rem);
  border-radius: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(10, 10, 10, 0.88);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.rules-page .shell-form-stack {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.rules-page .shell-label {
  display: block;
  margin: 0 0 0.5rem;
  font-size: 0.625rem;
  font-weight: 900;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.38);
}

.rules-page .shell-input {
  box-sizing: border-box;
  width: 100%;
  padding: 0.9rem 1rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-family: inherit;
  font-size: 0.9375rem;
  line-height: 1.4;
  transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
}

.rules-page .shell-input::placeholder {
  color: rgba(255, 255, 255, 0.28);
}

.rules-page .shell-input:hover {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
}

.rules-page .shell-input:focus {
  outline: none;
  border-color: rgba(255, 45, 70, 0.5);
  box-shadow: 0 0 0 1px rgba(255, 45, 70, 0.2);
  background: rgba(8, 8, 8, 0.75);
}

.rules-page .shell-input--mono {
  font-family: ui-monospace, "Cascadia Code", "SF Mono", Menlo, monospace;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.rules-page .shell-input--digits {
  font-family: ui-monospace, "Cascadia Code", "SF Mono", Menlo, monospace;
  letter-spacing: 0.04em;
}

.rules-page .shell-submit {
  display: block;
  width: 100%;
  margin-top: 0.25rem;
  padding: 0.95rem 1.25rem;
  border: none;
  border-radius: 0.125rem;
  background: #ff2d46;
  color: #fff;
  font-family: inherit;
  font-size: 0.625rem;
  font-weight: 900;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.15s, color 0.15s;
}

.rules-page .shell-submit:hover {
  background: #fff;
  color: #000;
}

.rules-page .shell-foot-links {
  margin-top: clamp(1.75rem, 3vw, 2.25rem);
  text-align: center;
  font-size: 0.625rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.32);
}

.rules-page .shell-foot-links a {
  color: rgba(255, 255, 255, 0.45);
  text-decoration: none;
  transition: color 0.15s;
}

.rules-page .shell-foot-links a:hover {
  color: #ff2d46;
}

.rules-page .join-clan-preview {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  padding: clamp(1.25rem, 2.8vw, 1.65rem);
  border-radius: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
}

.rules-page .join-clan-preview img,
.rules-page .join-clan-preview .join-clan-ph {
  width: 4rem;
  height: 4rem;
  border-radius: 0.85rem;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.rules-page .join-clan-ph {
  background: rgba(255, 255, 255, 0.08);
}

.rules-page .join-clan-preview h2 {
  margin: 0;
  font-size: clamp(1.05rem, 2.5vw, 1.25rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: #fff;
}

.rules-page .join-clan-preview + .shell-form {
  margin-top: 1.35rem;
}

.rules-page .join-clan-tag {
  margin: 0.25rem 0 0;
  font-family: ui-monospace, "Cascadia Code", "SF Mono", Menlo, monospace;
  font-size: 0.8125rem;
  color: #ff2d46;
}

.rules-page .join-clan-meta {
  margin: 0.65rem 0 0;
  font-size: 0.75rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.42);
}

.rules-page .join-clan-meta span {
  color: rgba(255, 255, 255, 0.72);
}
