@import url("/css/style.css?v=20260916-shell-ready1");
@import url("/css/home.css?v=20260906-rules1");

.rules-main-v1 {
  display: grid;
  gap: 18px;
  padding-top: 28px;
  padding-bottom: 44px;
}

@media (min-width: 901px) {
  .home-redesign.has-nav-side .rules-main-v1 {
    width: min(1100px, calc(100vw - 344px));
    margin-right: auto;
    margin-left: calc(262px + max(32px, (100vw - 1362px) / 2));
  }
}

.rules-hero-v1,
.rules-card-v1,
.rules-help-v1 {
  border: 1px solid rgba(116, 95, 214, 0.34);
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(11, 18, 38, 0.97), rgba(7, 13, 29, 0.98));
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.2);
}

.rules-hero-v1 { padding: clamp(24px, 5vw, 46px); }
.rules-eyebrow-v1 { margin: 0 0 8px; color: #ff42b6; font-weight: 900; letter-spacing: .08em; font-size: 12px; }
.rules-hero-v1 h1 { margin: 0 0 10px; font-size: clamp(30px, 5vw, 48px); }
.rules-hero-v1 > p:last-child { margin: 0; color: #b9c4dd; font-size: 16px; }

.rules-card-v1 { padding: clamp(22px, 4vw, 38px); }
.rules-card-head-v1 { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-bottom: 20px; border-bottom: 1px solid rgba(116, 95, 214, 0.24); }
.rules-card-head-v1 h2 { margin: 0 0 6px; }
.rules-card-head-v1 p { margin: 0; }
.rules-shield-v1 { display: grid; place-items: center; width: 48px; height: 48px; flex: 0 0 48px; border-radius: 15px; color: #06101d; background: linear-gradient(135deg, #2de2a7, #35a7ff); font-size: 24px; font-weight: 1000; }
.rules-content-v1 { padding-top: 24px; white-space: pre-wrap; color: #e9edfa; line-height: 1.72; font-size: 15px; }
.rules-loading-v1 { padding: 24px 0 0; color: #aab5cd; }
.rules-error-v1 { margin-top: 22px; padding: 14px 16px; border: 1px solid rgba(255, 72, 142, .5); border-radius: 12px; color: #ffd2e5; background: rgba(255, 47, 173, .09); }

.rules-help-v1 { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 20px 24px; }
.rules-help-v1 strong { color: #fff; }
.rules-help-v1 p { margin: 5px 0 0; color: #aebad2; }
.rules-help-v1 .btn { flex: 0 0 auto; }

@media (max-width: 900px) {
  .rules-main-v1 { padding: 18px 14px 104px; }
  .rules-help-v1 { align-items: stretch; flex-direction: column; }
  .rules-help-v1 .btn { text-align: center; }
}
