* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #111;
  color: #222;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.65;
}

.wrapper,
.content {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.header {
  background: #050505;
  border-bottom: 4px solid #c40018;
}

.headerInner {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo img {
  display: block;
  max-height: 58px;
  width: auto;
}

.mainNav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.mainNav a {
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  text-decoration: none;
  letter-spacing: 0.04em;
}

.mainNav a:hover {
  color: #e30613;
}

.mainContent {
  padding: 46px 0;
  background:
    radial-gradient(circle at top, rgba(196, 0, 24, 0.28), transparent 34%),
    linear-gradient(180deg, #1a1a1a 0%, #070707 100%);
}

.contentMain {
  background: #fff;
  overflow: hidden;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
}

.content-block {
  padding: 42px 54px 50px;
}

.firstScreen {
  text-align: center;
  padding: 38px 28px 32px;
  margin: -42px -54px 34px;
  color: #fff;
  background:
    linear-gradient(rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0.82)),
    url("https://www.kajot.cz/wp-content/uploads/2018/04/HERNY-KASINA_banner-2018.jpg")
      center / cover no-repeat;
  border-bottom: 5px solid #c40018;
}

h1,
h2,
h3 {
  text-align: center;
  color: #111;
  line-height: 1.2;
}

h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(34px, 5vw, 58px);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

h2 {
  margin: 42px 0 20px;
  font-size: clamp(26px, 3.2vw, 38px);
  font-weight: 900;
  text-transform: uppercase;
}

h3 {
  margin: 28px 0 14px;
  font-size: clamp(21px, 2.4vw, 28px);
  font-weight: 900;
}

p {
  margin: 0 0 18px;
  font-size: 17px;
}

.buttonCenter,
.buttonGroup {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin: 24px 0 30px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 210px;
  padding: 14px 26px;
  border-radius: 0;
  background: #c40018;
  color: #fff;
  font-size: 15px;
  font-weight: 900;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  box-shadow: 0 6px 0 #7d0010;
}

.btn:hover {
  background: #e30613;
}

.general-table {
  width: 100%;
  border-collapse: collapse;
  margin: 22px 0 24px;
  background: #fff;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.general-table th,
.general-table td {
  padding: 14px 16px;
  border: 1px solid #d8d8d8;
  vertical-align: top;
  text-align: left;
  font-size: 16px;
}

.general-table th {
  background: #111;
  color: #fff;
  font-weight: 900;
  text-transform: uppercase;
}

.general-table tbody tr:nth-child(even) td {
  background: #f7f7f7;
}

ol,
ul {
  margin: 0 0 20px 24px;
  padding: 0;
}

li {
  margin: 8px 0;
  font-size: 17px;
}

.faq {
  margin-top: 46px;
}

.faqItem {
  margin: 20px 0;
  padding: 22px;
  border-left: 5px solid #c40018;
  background: #f5f5f5;
}

.footer {
  background: #050505;
  color: #fff;
  border-top: 4px solid #c40018;
}

.footerInner {
  padding: 26px 0;
  text-align: center;
}

.copyright {
  font-size: 14px;
  font-weight: 700;
}

@media (max-width: 768px) {
  .headerInner {
    justify-content: center;
    flex-direction: column;
    padding: 18px 0;
  }

  .mainNav {
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
  }

  .content-block {
    padding: 30px 20px 38px;
  }

  .firstScreen {
    margin: -30px -20px 28px;
    padding: 34px 18px 30px;
  }

  .general-table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
}

@media (max-width: 520px) {
  .btn {
    width: 100%;
    min-width: 0;
  }
}

body > section.section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  background: #fff;
  padding: 42px 54px 50px;
  color: #222;
}

body > section.section + section.section {
  padding-top: 0;
}

body > section.section.firstScreen {
  margin-top: 46px;
  margin-bottom: 0;
  padding: 38px 28px 32px;
}

body > section.section:last-of-type {
  margin-bottom: 46px;
}

@media (max-width: 768px) {
  body > section.section {
    padding: 30px 20px 38px;
  }

  body > section.section.firstScreen {
    margin-top: 28px;
    padding: 34px 18px 30px;
  }
}
