.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 280px;
}

.hero__headline {
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 32px;
  position: relative;
  overflow: hidden;
}

.hero__headline h1 {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  color: #fff;
  text-align: center;
  font-stretch: expanded;
  letter-spacing: 0.02em;
  line-height: 1.25;
  position: relative;
  z-index: 2;
  text-shadow: 2px 0 rgba(192, 82, 43, 0.4), -2px 0 rgba(74, 55, 40, 0.3);
}

.hero__headline::before {
  content: "rebellion";
  position: absolute;
  font-size: 6rem;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.04);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) skewX(-8deg);
  white-space: nowrap;
  pointer-events: none;
}

.hero__subtitle {
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 32px;
  border-left: 2px solid var(--accent);
}

.hero__subtitle p {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 420px;
  line-height: 1.65;
}

.offers-section {
  position: relative;
  padding: 64px 24px;
  background-image: url("/images/offers_bg/offers_bg.webp");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.offers-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(44, 36, 29, 0.82);
}

.offers-section__inner {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
}

.offers-section h2 {
  text-align: center;
  color: #fff;
  font-size: 1.8rem;
  margin-bottom: 36px;
  font-stretch: expanded;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.offers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.offer-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  transition: transform 0.25s;
}

.offer-card:hover {
  transform: translateY(-4px);
}

.offer-card__header {
  background: linear-gradient(135deg, #1a472a 0%, #2d6a4f 100%);
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.offer-card__logo-wrap {
  width: 80px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #fff;
  border-radius: 4px;
  flex-shrink: 0;
}

.offer-card__logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

.offer-card__name {
  color: #fff;
  font-size: 1.2rem;
  font-weight: 700;
}

.offer-card__body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.offer-card__bonus {
  font-size: 1.05rem;
  font-weight: 700;
  color: #1a472a;
  margin-bottom: 4px;
  word-break: break-word;
  overflow-wrap: break-word;
  line-height: 1.35;
}

.offer-card__terms {
  font-size: 0.72rem;
  color: #888;
  margin-bottom: 12px;
}

.offer-card__desc {
  font-size: 0.82rem;
  color: #666;
  margin-bottom: 16px;
  line-height: 1.5;
}

.offer-card__cta {
  margin-top: auto;
  display: inline-block;
  padding: 12px 24px;
  background: #ffd700;
  color: #1a472a;
  font-weight: 700;
  text-align: center;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.9rem;
  text-decoration: none;
  transition: background 0.2s;
}

.offer-card__cta:hover {
  background: #ffed4a;
}

.info-section {
  padding: 56px 24px;
  position: relative;
}

.info-section:nth-child(even) {
  background: var(--surface);
}

.info-section__inner {
  max-width: 1100px;
  margin: 0 auto;
}

.info-section h2 {
  font-size: 1.6rem;
  color: var(--secondary);
  margin-bottom: 20px;
  font-stretch: expanded;
}

.info-section p {
  color: var(--text);
  margin-bottom: 14px;
  line-height: 1.65;
}

.info-cta {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 20px;
  background: var(--primary);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  border: 2px solid var(--accent);
  transition: filter 0.2s;
}

.info-cta:hover {
  filter: invert(0.1);
}

.layout-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}

.layout-split--reverse {
  direction: rtl;
}

.layout-split--reverse > * {
  direction: ltr;
}

.layout-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 20px;
}

.info-card {
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 18px;
  position: relative;
}

.info-card h3 {
  font-size: 0.95rem;
  color: var(--primary);
  margin-bottom: 8px;
}

.info-card p {
  font-size: 0.85rem;
  color: var(--muted);
}

.layout-list-block {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 32px;
  align-items: start;
}

.layout-list-block ul {
  list-style: none;
  margin: 0;
}

.layout-list-block li {
  padding: 10px 0 10px 20px;
  border-left: 3px solid var(--accent);
  margin-bottom: 8px;
  font-size: 0.92rem;
}

.layout-band {
  background: var(--secondary);
  color: var(--surface);
  padding: 32px;
  margin-top: 24px;
  position: relative;
  overflow: hidden;
}

.layout-band p {
  color: rgba(239, 225, 197, 0.9);
  position: relative;
  z-index: 2;
}

.layout-band::after {
  content: "digital-punk";
  position: absolute;
  right: -20px;
  bottom: -10px;
  font-size: 3rem;
  font-weight: 900;
  opacity: 0.08;
  letter-spacing: 0.1em;
}

.layout-zigzag {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.layout-zigzag__row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 20px;
  align-items: start;
}

.layout-zigzag__num {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--accent);
  opacity: 0.5;
  line-height: 1;
  font-stretch: expanded;
}

.layout-columns-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.layout-column-item {
  padding: 20px;
  border-top: 3px solid var(--primary);
  background: rgba(141, 91, 62, 0.06);
}

.layout-column-item h3 {
  font-size: 0.95rem;
  color: var(--primary);
  margin-bottom: 8px;
}

.layout-timeline {
  position: relative;
  padding-left: 32px;
  border-left: 2px solid var(--accent);
}

.layout-timeline__item {
  margin-bottom: 24px;
  position: relative;
}

.layout-timeline__item::before {
  content: "";
  position: absolute;
  left: -37px;
  top: 6px;
  width: 10px;
  height: 10px;
  background: var(--accent);
  border-radius: 50%;
}

.layout-mosaic {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 24px;
}

.layout-mosaic__aside {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.layout-quote {
  border-left: 4px solid var(--accent);
  padding: 16px 24px;
  background: rgba(192, 82, 43, 0.08);
  font-style: italic;
  margin: 20px 0;
  color: var(--muted);
}

.layout-stats {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin: 24px 0;
}

.layout-stat {
  flex: 1;
  min-width: 140px;
  text-align: center;
  padding: 16px;
  background: var(--primary);
  color: #fff;
}

.layout-stat__val {
  font-size: 1.5rem;
  font-weight: 700;
  display: block;
}

.layout-stat__label {
  font-size: 0.78rem;
  opacity: 0.85;
}

.decor-img {
  max-width: 500px;
  max-height: 320px;
  width: 100%;
  height: auto;
  object-fit: cover;
  border: 2px solid var(--border);
}

.decor-img--glitch {
  filter: drop-shadow(3px 0 0 rgba(192, 82, 43, 0.5)) drop-shadow(-3px 0 0 rgba(74, 55, 40, 0.4));
  transform: skewX(-1deg);
}

.decor-wrap {
  overflow: hidden;
  max-width: 100%;
}

.decor-bg {
  height: 180px;
  background-size: cover;
  background-position: center;
  margin: 20px 0;
  position: relative;
  overflow: hidden;
  max-width: 500px;
}

.decor-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(192, 82, 43, 0.15), transparent);
  mix-blend-mode: multiply;
}

.scrolling-text {
  overflow: hidden;
  white-space: nowrap;
  background: var(--secondary);
  padding: 8px 0;
  margin-bottom: 20px;
}

.scrolling-text__inner {
  display: inline-block;
  animation: scroll-text 18s linear infinite;
  color: var(--surface);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 700;
}

@keyframes scroll-text {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.noisy-overlay {
  position: relative;
}

.noisy-overlay::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.03;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='g'%3E%3CfeTurbulence baseFrequency='0.65'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
}

.noisy-overlay::after {
  content: "noisy";
  position: absolute;
  bottom: 4px;
  right: 8px;
  font-size: 0.6rem;
  opacity: 0.06;
  letter-spacing: 0.2em;
  pointer-events: none;
}

.distorted-title {
  transform: skewX(-2deg);
  letter-spacing: 0.08em;
}

.glitch-hover:hover {
  filter: invert(0.08) hue-rotate(15deg);
  transition: filter 0.3s;
}

@media (max-width: 768px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero__subtitle {
    border-left: none;
    border-top: 2px solid var(--accent);
  }

  .layout-split,
  .layout-list-block,
  .layout-mosaic,
  .layout-columns-3,
  .layout-cards {
    grid-template-columns: 1fr;
  }

  .layout-split--reverse {
    direction: ltr;
  }

  .layout-zigzag__row {
    grid-template-columns: 60px 1fr;
  }

  .offer-card__logo-wrap {
    width: 72px;
    height: 45px;
  }

  .offer-card__logo {
    object-fit: contain;
    object-position: center;
  }

  .decor-img {
    max-width: 100%;
    max-height: 220px;
    width: 100%;
    height: auto;
    object-fit: cover;
  }

  .decor-wrap {
    overflow: hidden;
    max-width: 100%;
  }
}

@media (max-width: 375px) {
  .decor-img {
    max-width: 100%;
    max-height: 200px;
  }

  .offers-section {
    background-attachment: scroll;
  }
}
