/* /industry/igaming/ — iGaming (онлайн-казино) (native WP) */

.mg-iig-native-wrap .mg2-hero::after {
  display: none;
}

.mgig__section {
  padding: clamp(40px, 6vw, 72px) 0;
  background: var(--mg-white);
}

.mgig__section--cream {
  background: var(--mg-cream);
}

.mgig__hero {
  padding-bottom: clamp(48px, 6vw, 64px);
}

.mgig__hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.9fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
}

.mgig__crumbs {
  margin: 0 0 16px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mg-muted);
}

.mgig__crumbs span {
  color: var(--mg-black);
}

.mgig__hero-note {
  margin: 16px 0 0;
  max-width: 44ch;
  font-size: clamp(14px, 1.6vw, 16px);
  line-height: 1.3;
  color: var(--mg-muted);
}

.mgig__hero-corp {
  margin: 12px 0 0;
}

.mgig__hero-visual {
  padding: clamp(24px, 4vw, 36px);
  background: var(--mg-cream);
  border: 3px solid var(--mg-black);
  text-align: center;
}

.mgig__visual-label {
  margin: 0 0 16px;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.mgig__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  justify-content: center;
}

.mgig__tags--inline {
  justify-content: flex-start;
  margin: 12px 0 16px;
}

.mgig__tag {
  padding: 8px 14px;
  border: 2px solid var(--mg-black);
  background: var(--mg-white);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.mgig__tag--accent {
  background: var(--mg-blue-link);
  border-color: var(--mg-blue-link);
  color: var(--mg-white);
}

.mgig__pains {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
}

.mgig__pain {
  padding: 28px 24px 32px;
  background: var(--mg-white);
}

.mgig__pain-title {
  margin: 0 0 16px;
  font-size: clamp(22px, 2.8vw, 32px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
}

.mgig__pain-label {
  margin: 0 0 6px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--mg-muted);
}

.mgig__pain-text {
  margin: 0 0 16px;
  font-size: clamp(15px, 1.7vw, 18px);
  line-height: 1.3;
}

.mgig__pain-solution {
  padding-top: 16px;
  border-top: 2px solid var(--mg-border);
}

.mgig__features,
.mgig__triggers {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 28px);
}

.mgig__feature,
.mgig__trigger {
  padding: 0;
}

.mgig__feature-icon {
  display: block;
  width: 90px;
  height: 90px;
  margin-bottom: 16px;
}

.mgig__feature-title {
  margin: 0 0 10px;
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.mgig__feature-text {
  margin: 0 0 8px;
  font-size: clamp(15px, 1.7vw, 18px);
  line-height: 1.3;
  color: var(--mg-muted);
}

.mgig__feature-bullets {
  margin: 0 0 12px;
  padding-left: 1.1em;
  font-size: clamp(15px, 1.7vw, 18px);
  line-height: 1.35;
}

.mgig__note {
  margin: 28px 0 0;
  max-width: 62ch;
  font-size: clamp(16px, 1.8vw, 20px);
  line-height: 1.3;
}

.mgig__steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: none;
}

.mgig__step {
  padding: 28px 22px 32px;
  background: var(--mg-white);
}

.mgig__step-num {
  display: block;
  margin-bottom: 12px;
  font-size: clamp(40px, 5vw, 56px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.05em;
  color: var(--mg-blue-link);
}

.mgig__step-title {
  margin: 0 0 10px;
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 700;
  line-height: 1.05;
}

.mgig__step-text {
  margin: 0;
  font-size: clamp(15px, 1.7vw, 18px);
  line-height: 1.3;
  color: var(--mg-muted);
}

.mgig__case {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 320px);
  gap: clamp(24px, 4vw, 40px);
  align-items: start;
}

.mgig__case-badge {
  display: inline-block;
  margin: 0 0 12px;
  padding: 8px 14px;
  background: var(--mg-cream);
  font-size: 14px;
  font-weight: 700;
}

.mgig__case-title {
  margin: 0 0 16px;
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.mgig__case-intro,
.mgig__case-block p {
  margin: 0 0 16px;
  font-size: clamp(16px, 1.8vw, 20px);
  line-height: 1.3;
  max-width: 58ch;
}

.mgig__case-block-title {
  margin: 0 0 8px;
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 700;
}

.mgig__case-list {
  margin: 0 0 20px;
  padding-left: 1.2em;
  font-size: clamp(15px, 1.7vw, 18px);
  line-height: 1.35;
}

.mgig__case-aside {
  padding: 28px 24px;
  background: var(--mg-cream);
}

.mgig__case-sign {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--mg-muted);
}

.mgig__case-logo {
  margin: 0 0 16px;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.05em;
}

.mgig__case-logo span {
  color: var(--mg-blue-link);
}

.mgig__case-quote {
  margin: 0;
  font-size: clamp(15px, 1.7vw, 18px);
  line-height: 1.3;
  font-style: italic;
  color: var(--mg-muted);
}

.mgig__cta {
  max-width: 720px;
}

/* Кнопки — MAILGANER-LANDING-DESIGN-SYSTEM.md §4 */

.mgig__cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
  margin-top: 28px;
}

.mgig-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-height: 60px;
  padding: 0 48px;
  border: none;
  border-radius: 3px;
  font-family: inherit;
  font-size: 30px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.7px;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease-in-out;
}

.mgig-btn::before,
.mgig-btn::after {
  content: none;
}

/* Выше home-v2.css: body.mg-site--v2b a { color: inherit } */
.mg-page-industry-igaming .mgig a.mgig-btn--primary {
  background: #0062ad;
  color: #fff;
}

.mg-page-industry-igaming .mgig a.mgig-btn--primary:hover {
  background: #2b8ed9;
  color: #fff;
}

.mg-page-industry-igaming .mgig a.mgig-btn--secondary {
  background: #f2eeeb;
  color: #000;
}

.mg-page-industry-igaming .mgig a.mgig-btn--secondary:hover {
  background: #e8d7ca;
  color: #000;
}

.mg-page-industry-igaming .mgig a.mgig-link {
  color: #0062ad;
  font-size: clamp(16px, 1.8vw, 20px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.mg-page-industry-igaming .mgig a.mgig-link:hover {
  color: #2b8ed9;
}

.mgig-link--arrow::after {
  content: " ›";
}

.mgig__cta-title {
  margin: 0 0 12px;
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
}

.mgig__cta-lead {
  margin: 0 0 8px;
  font-size: clamp(16px, 2vw, 22px);
  line-height: 1.3;
  color: var(--mg-muted);
}

.mgig__cta-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  margin: 0 0 16px;
}

.mgig__cta-contact {
  margin: 0;
  font-size: 15px;
  color: var(--mg-muted);
}

.mg-page-industry-igaming .mgig__cta-contact a {
  color: var(--mg-blue-link);
  text-decoration: none;
  font-weight: 700;
}

@media (max-width: 640px) {
  .mgig-btn {
    width: 100%;
    min-height: 52px;
    padding: 0 28px;
    font-size: 20px;
  }

  .mgig__cta-row {
    flex-direction: column;
    align-items: stretch;
  }

  .mgig-link--arrow {
    text-align: center;
  }
}

@media (max-width: 960px) {
  .mgig__hero-grid,
  .mgig__features,
  .mgig__triggers,
  .mgig__steps,
  .mgig__case,
  .mgig__pains {
    grid-template-columns: 1fr;
  }

  .mgig__hero-visual {
    max-width: 360px;
  }
}
