html {
  scroll-behavior: smooth;
}

body {
  background: #111111;
}

.community-hero {
  padding: 180px 0 92px;
  color: #ffffff;
  background:
    linear-gradient(
      rgba(0, 0, 0, 0.73),
      rgba(0, 0, 0, 0.9)
    ),
    url("../images/bgss.png") center / cover no-repeat;
}

.community-hero h1 {
  margin-bottom: 16px;
  color: #ffffff;
  font-size: clamp(38px, 6vw, 64px);
  font-weight: 700;
}

.community-hero p {
  max-width: 730px;
  margin: 0;
  color: #e1e1e1;
  font-size: 17px;
  line-height: 1.75;
}

.community-section {
  padding: 90px 0;
  background: #111111;
}

.community-section-light {
  padding: 90px 0;
  color: #222222;
  background: #d9dde1;
}

.community-section-light .heading,
.community-section-light h1,
.community-section-light h2,
.community-section-light h3,
.community-section-light p,
.community-section-light .meta {
  color: #222222;
}

.community-section-light a:not(.btn) {
  color: #a80000;
}

.community-intro {
  max-width: 760px;
  margin-bottom: 36px;
  color: #d5d5d5;
  line-height: 1.75;
}

.community-section-light .community-intro {
  color: #333333;
}

.tournament-card {
  overflow: hidden;
  color: #ffffff;
  background: #202020;
  border-top: 5px solid #e50914;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.22);
}

.tournament-card-main {
  padding: 38px;
}

.tournament-label {
  display: inline-block;
  margin-bottom: 14px;
  padding: 6px 10px;
  color: #ffffff;
  background: #e50914;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.9px;
  line-height: 1;
  text-transform: uppercase;
}

.tournament-card h2 {
  margin: 0 0 14px;
  color: #ffffff;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.2;
}

.tournament-card p {
  color: #dedede;
  line-height: 1.7;
}

.tournament-details {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.tournament-detail {
  padding: 20px;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.tournament-detail i {
  display: block;
  margin-bottom: 10px;
  color: #e50914;
  font-size: 25px;
}

.tournament-detail span {
  display: block;
  color: #bdbdbd;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.tournament-detail strong {
  display: block;
  margin-top: 5px;
  color: #ffffff;
  font-size: 17px;
}

.tournament-time-note {
  margin: 20px 0 0;
  padding: 14px 16px;
  color: #ffffff;
  background: rgba(229, 9, 20, 0.13);
  border-left: 3px solid #e50914;
}

.community-rule-card,
.schedule-card,
.community-action-card {
  height: 100%;
  padding: 30px;
  background: #202020;
}

.community-rule-card h3,
.schedule-card h3,
.community-action-card h3 {
  margin-bottom: 14px;
  color: #ffffff;
  font-size: 22px;
}

.community-rule-card p,
.schedule-card p,
.community-action-card p {
  margin-bottom: 0;
  color: #d5d5d5;
  line-height: 1.7;
}

.rule-list {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: community-rules;
}

.rule-list li {
  position: relative;
  min-height: 42px;
  margin-bottom: 16px;
  padding-left: 52px;
  color: #d5d5d5;
  line-height: 1.65;
  counter-increment: community-rules;
}

.rule-list li::before {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  color: #ffffff;
  background: #e50914;
  border-radius: 50%;
  content: counter(community-rules);
  font-size: 13px;
  font-weight: 700;
}

.tournament-rules {
  margin: 0;
  padding: 0;
  list-style: none;
}

.tournament-rules li {
  position: relative;
  margin-bottom: 16px;
  padding-left: 32px;
  color: #d5d5d5;
  line-height: 1.65;
}

.tournament-rules li::before {
  position: absolute;
  top: 3px;
  left: 0;
  color: #e50914;
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
}

.schedule-card {
  border-top: 3px solid #e50914;
}

.schedule-card .meta {
  color: #bdbdbd !important;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.community-action-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-top: 3px solid #e50914;
}

.community-action-card .btn {
  margin-top: 22px;
}

.btn-smiss-red {
  color: #ffffff;
  background: #e50914;
  border-color: #e50914;
}

.btn-smiss-red:hover,
.btn-smiss-red:focus {
  color: #ffffff;
  background: #bb0711;
  border-color: #bb0711;
}

.btn-discord {
  color: #ffffff;
  background: #5865f2;
  border-color: #5865f2;
}

.btn-discord:hover,
.btn-discord:focus {
  color: #ffffff;
  background: #4652c9;
  border-color: #4652c9;
}

.btn-twitch {
  color: #ffffff;
  background: #9146ff;
  border-color: #9146ff;
}

.btn-twitch:hover,
.btn-twitch:focus {
  color: #ffffff;
  background: #7536cf;
  border-color: #7536cf;
}

.btn-youtube {
  color: #ffffff;
  background: #ff0000;
  border-color: #ff0000;
}

.btn-youtube:hover,
.btn-youtube:focus {
  color: #ffffff;
  background: #cc0000;
  border-color: #cc0000;
}

.community-section-light .schedule-card {
  background: #eef0f2;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
}

.community-section-light .schedule-card h3,
.community-section-light .schedule-card p {
  color: #222222;
}

.community-section-light .schedule-card .meta {
  color: #555555 !important;
}

.community-section-light .schedule-card strong {
  color: #111111;
}

.community-focus-visible:focus-visible,
.community-section a:focus-visible,
.community-section-light a:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 3px;
}

@media (max-width: 991px) {
  .tournament-details {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 575px) {
  .community-hero {
    padding: 145px 0 70px;
  }

  .community-section,
  .community-section-light {
    padding: 65px 0;
  }

  .tournament-card-main {
    padding: 26px;
  }

  .community-rule-card,
  .schedule-card,
  .community-action-card {
    padding: 24px;
  }
}