body {
  background: #f6f7fb;
}

body.giveaway-modal-open {
  overflow: hidden;
}

.mirror-hero {
  margin-bottom: 0;
}

.mirror-hero-mobile {
  margin-bottom: 0;
}

.mirror-banner {
  background: #fff;
  overflow: hidden;
}

.mirror-banner img {
  display: block;
  width: 100%;
  height: auto;
}

.mirror-lang-menu {
  display: none;
}

.header .language-component {
  width: auto;
  margin-left: 18px;
}

.header .language-component .profile-name {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.header .language-component .profile-name::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 12px;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.25);
  background: linear-gradient(
    to bottom,
    #d90012 0 33.33%,
    #1f3f95 33.33% 66.66%,
    #f29f05 66.66% 100%
  );
}

.header .language-component .customer-name {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding-right: 0;
}

.mirror-lang-caret {
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 6px solid #fff;
  transform: translateY(1px);
}

.mirror-placeholder-wrap {
  background:
    radial-gradient(circle at top left, rgba(24, 113, 255, 0.08), transparent 32%),
    radial-gradient(circle at bottom right, rgba(255, 80, 80, 0.08), transparent 28%),
    #f6f7fb;
  padding: 32px 0 48px;
}

.mirror-placeholder {
  min-height: 0;
  background: linear-gradient(135deg, #ffffff 0%, #f9fbff 100%);
  border-radius: 28px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 54, 129, 0.12);
}

.giveaway-shell {
  padding: 42px;
}

.giveaway-backdrop {
  position: absolute;
  border-radius: 999px;
  filter: blur(4px);
  pointer-events: none;
}

.giveaway-backdrop-left {
  top: -140px;
  left: -80px;
  width: 340px;
  height: 340px;
  background: radial-gradient(circle, rgba(255, 69, 69, 0.18) 0%, rgba(255, 69, 69, 0) 70%);
}

.giveaway-backdrop-right {
  right: -140px;
  bottom: -160px;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(0, 95, 203, 0.16) 0%, rgba(0, 95, 203, 0) 70%);
}

.giveaway-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(360px, 0.85fr) minmax(0, 1.15fr);
  gap: 34px;
  align-items: start;
}

.giveaway-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  color: #005acb;
  background: rgba(0, 90, 203, 0.09);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.giveaway-kicker::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #ff4c43;
  box-shadow: 0 0 0 6px rgba(255, 76, 67, 0.12);
}

.giveaway-hero-strip {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.9fr);
  gap: 16px;
  margin: 20px 0 22px;
}

.giveaway-hero-card {
  position: relative;
  padding: 22px 24px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(246, 249, 255, 0.95));
  border: 1px solid rgba(0, 90, 203, 0.08);
  box-shadow: 0 16px 40px rgba(10, 42, 97, 0.08);
  overflow: hidden;
}

.giveaway-hero-card::after {
  content: "";
  position: absolute;
  inset: auto -40px -60px auto;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 90, 203, 0.12), transparent 68%);
}

.giveaway-hero-card-accent {
  background: linear-gradient(135deg, #0f4ec9 0%, #1f85ff 60%, #5fb6ff 100%);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 22px 55px rgba(15, 78, 201, 0.28);
}

.giveaway-hero-card-accent::after {
  background: radial-gradient(circle, rgba(255, 255, 255, 0.2), transparent 68%);
}

.giveaway-hero-label {
  display: inline-flex;
  margin-bottom: 12px;
  color: inherit;
  opacity: 0.78;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.giveaway-hero-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 32px;
  line-height: 1;
  font-weight: 800;
  color: #10203f;
}

.giveaway-hero-card-accent strong {
  color: #fff;
}

.giveaway-hero-card p {
  position: relative;
  z-index: 1;
  margin: 0;
  max-width: 390px;
  color: #5d6b86;
  line-height: 1.6;
}

.giveaway-hero-card-accent p {
  color: rgba(255, 255, 255, 0.9);
}

.giveaway-lead h1 {
  margin: 18px 0 14px;
  color: #0d1b38;
  font-size: 54px;
  line-height: 1;
  font-weight: 800;
}

.giveaway-copy {
  max-width: 700px;
  margin: 0 0 24px;
  color: #4a5875;
  font-size: 18px;
  line-height: 1.7;
}

.giveaway-prize-panel {
  margin-bottom: 24px;
  padding: 28px;
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(0, 90, 203, 0.98) 0%, rgba(21, 121, 255, 0.95) 58%, rgba(255, 84, 84, 0.92) 100%);
  color: #fff;
  box-shadow: 0 22px 60px rgba(0, 90, 203, 0.22);
  position: relative;
  overflow: hidden;
}

.giveaway-prize-panel::before,
.giveaway-prize-panel::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.giveaway-prize-panel::before {
  top: -80px;
  right: -40px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.18), transparent 70%);
}

.giveaway-prize-panel::after {
  left: -80px;
  bottom: -110px;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(255, 198, 116, 0.2), transparent 68%);
}

.giveaway-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.giveaway-panel-head h2 {
  margin: 0;
  font-size: 28px;
  font-weight: 800;
}

.giveaway-panel-head span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  font-weight: 700;
}

.giveaway-prize-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.giveaway-prize-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  min-height: 122px;
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(5px);
  position: relative;
  z-index: 1;
}

.giveaway-prize-item-main {
  background: rgba(255, 255, 255, 0.2);
}

.giveaway-prize-count {
  flex: 0 0 auto;
  min-width: 52px;
  height: 52px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.18);
  font-size: 20px;
  font-weight: 800;
}

.giveaway-prize-item h3 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 18px;
  font-weight: 800;
}

.giveaway-prize-item p {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.55;
}

.giveaway-mini-rules {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.giveaway-mini-rule {
  min-height: 150px;
  padding: 22px;
  border: 1px solid rgba(0, 90, 203, 0.08);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.8);
}

.giveaway-mini-rule span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 16px;
  border-radius: 14px;
  background: #0d1b38;
  color: #fff;
  font-size: 15px;
  font-weight: 800;
}

.giveaway-mini-rule p {
  margin: 0;
  color: #495876;
  line-height: 1.65;
}

.giveaway-form-card {
  position: sticky;
  top: 24px;
  padding: 30px;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 249, 255, 0.98));
  box-shadow: 0 26px 70px rgba(13, 34, 73, 0.14);
  border: 1px solid rgba(6, 64, 149, 0.08);
  overflow: hidden;
}

.giveaway-form-card::before {
  content: "";
  position: absolute;
  top: -90px;
  right: -60px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 90, 203, 0.12), transparent 68%);
  pointer-events: none;
}

.giveaway-badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: #fff2e6;
  color: #d86314;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.giveaway-form-top h2 {
  margin: 16px 0 10px;
  color: #0d1b38;
  font-size: 34px;
  font-weight: 800;
}

.giveaway-form-top p {
  margin: 0 0 22px;
  color: #586781;
  line-height: 1.7;
}

.giveaway-form {
  display: grid;
  gap: 16px;
  position: relative;
  z-index: 1;
}

.giveaway-field {
  display: grid;
  gap: 8px;
}

.giveaway-field span {
  color: #22314f;
  font-size: 14px;
  font-weight: 700;
}

.giveaway-field input,
.giveaway-field textarea {
  width: 100%;
  border: 1px solid #d8e2f1;
  border-radius: 16px;
  background: #f8fbff;
  color: #0d1b38;
  padding: 16px 18px;
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.giveaway-field input:focus,
.giveaway-field textarea:focus {
  border-color: #1973ea;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(25, 115, 234, 0.12);
}

.giveaway-field textarea {
  resize: vertical;
  min-height: 120px;
}

.giveaway-submit {
  min-height: 58px;
  border: 0;
  border-radius: 18px;
  background: linear-gradient(135deg, #ff4b43 0%, #ff7a3d 100%);
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.01em;
  box-shadow: 0 18px 40px rgba(255, 85, 67, 0.28);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.giveaway-submit:hover,
.giveaway-submit:focus {
  transform: translateY(-1px);
  box-shadow: 0 22px 48px rgba(255, 85, 67, 0.35);
}

.giveaway-note {
  color: #7b879d;
  font-size: 13px;
  line-height: 1.6;
}

.giveaway-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  min-height: 100dvh;
  padding: 16px;
  overflow-y: auto;
}

.giveaway-modal[hidden] {
  display: none !important;
}

.giveaway-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 20, 42, 0.6);
  backdrop-filter: blur(6px);
}

.giveaway-modal-dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 540px;
  margin: auto;
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
  padding: 24px;
  border-radius: 24px;
  background: linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
  box-shadow: 0 35px 90px rgba(0, 18, 56, 0.28);
}

.giveaway-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: #edf3ff;
  color: #0d1b38;
  font-size: 22px;
  line-height: 1;
}

.giveaway-modal-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.giveaway-modal-logo {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #edf3ff;
  overflow: hidden;
}

.giveaway-modal-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.giveaway-modal-brand-text strong {
  display: block;
  color: #0d1b38;
  font-size: 18px;
  font-weight: 800;
}

.giveaway-modal-brand-text span {
  display: block;
  color: #63738f;
  font-size: 12px;
  margin-top: 2px;
}

.giveaway-modal-dialog h3 {
  margin: 0 0 10px;
  color: #0d1b38;
  font-size: 26px;
  line-height: 1.2;
  font-weight: 800;
}

.giveaway-modal-copy {
  margin: 0 0 10px;
  color: #4c5b76;
  font-size: 14px;
  line-height: 1.6;
}

.giveaway-modal-warning {
  margin: 4px 0 0;
  padding: 12px 14px;
  border-radius: 14px;
  background: #fff4e9;
  border: 1px solid #ffd4a8;
  color: #8f4f08;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.55;
}

.giveaway-modal-actions {
  margin-top: 16px;
}

.giveaway-modal-confirm {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 18px;
  border-radius: 16px;
  background: linear-gradient(135deg, #0d4fcb 0%, #1b7ef6 100%);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 18px 40px rgba(13, 79, 203, 0.26);
}

.giveaway-modal-confirm:hover,
.giveaway-modal-confirm:focus {
  color: #fff;
  text-decoration: none;
}

.mirror-subscribe-form input[type="submit"] {
  cursor: default;
}

.mirror-share-icons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 15px;
}

.mirror-share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 92px;
  height: 40px;
  padding: 0 16px;
  border: 1px solid #d8dbe4;
  border-radius: 4px;
  color: #333;
  background: #fff;
  text-decoration: none;
  font-size: 14px;
}

.mirror-share-btn:hover,
.mirror-share-btn:focus {
  color: #333;
  text-decoration: none;
}

.mirror-hero .carousel-control,
.mirror-hero-mobile .carousel-control {
  background-image: none !important;
  opacity: 1;
  text-shadow: none;
}

.mirror-carousel-arrow {
  position: absolute;
  top: 50%;
  width: 22px;
  height: 22px;
  margin-top: -11px;
  border-top: 3px solid #fff;
  border-right: 3px solid #fff;
  opacity: 0.95;
}

.mirror-carousel-arrow-left {
  left: 50%;
  transform: translateX(-50%) rotate(-135deg);
}

.mirror-carousel-arrow-right {
  right: 50%;
  transform: translateX(50%) rotate(45deg);
}

@media (max-width: 991px) {
  .mirror-placeholder-wrap {
    padding: 16px 0 28px;
  }

  .giveaway-shell {
    padding: 24px;
  }

  .giveaway-grid {
    grid-template-columns: 1fr;
  }

  .giveaway-hero-strip {
    grid-template-columns: 1fr 1fr;
  }

  .giveaway-form-card {
    position: relative;
    top: auto;
    order: -1;
  }

  .giveaway-lead h1 {
    font-size: 44px;
  }

  .giveaway-prize-list,
  .giveaway-mini-rules,
  .giveaway-mini-rules {
    grid-template-columns: 1fr 1fr;
  }

  .giveaway-prize-item {
    min-height: 0;
  }

  .giveaway-form-card {
    margin-top: 6px;
  }
}

@media (max-width: 767px) {
  .mirror-hero .carousel-control,
  .mirror-hero-mobile .carousel-control {
    width: 14%;
  }

  .mirror-carousel-arrow {
    width: 16px;
    height: 16px;
    margin-top: -8px;
    border-top-width: 2px;
    border-right-width: 2px;
  }

  .mirror-share-icons {
    margin-bottom: 8px;
  }

  .mirror-placeholder-wrap {
    padding: 12px 0 24px;
  }

  .giveaway-shell {
    padding: 16px;
    border-radius: 22px;
  }

  .giveaway-kicker {
    width: 100%;
    justify-content: center;
    text-align: center;
    font-size: 11px;
    line-height: 1.4;
  }

  .giveaway-lead h1 {
    margin: 14px 0 12px;
    font-size: 31px;
    line-height: 1.05;
  }

  .giveaway-copy {
    margin-bottom: 18px;
    font-size: 16px;
    line-height: 1.6;
  }

  .giveaway-hero-card {
    padding: 18px;
    border-radius: 20px;
  }

  .giveaway-hero-card strong {
    font-size: 26px;
  }

  .giveaway-hero-strip {
    grid-template-columns: 1fr;
  }

  .giveaway-panel-head {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 16px;
  }

  .giveaway-panel-head h2 {
    font-size: 24px;
  }

  .giveaway-panel-head span {
    padding: 8px 12px;
    font-size: 12px;
  }

  .giveaway-prize-list,
  .giveaway-mini-rules {
    grid-template-columns: 1fr;
  }

  .giveaway-prize-panel {
    padding: 18px;
    border-radius: 22px;
  }

  .giveaway-prize-item {
    gap: 12px;
    padding: 16px;
    border-radius: 18px;
  }

  .giveaway-prize-count {
    min-width: 46px;
    height: 46px;
    border-radius: 14px;
    font-size: 17px;
  }

  .giveaway-prize-item h3 {
    font-size: 16px;
    line-height: 1.3;
  }

  .giveaway-prize-item p {
    font-size: 13px;
    line-height: 1.5;
  }

  .giveaway-mini-rules {
    gap: 12px;
  }

  .giveaway-mini-rule {
    min-height: 0;
    padding: 18px 16px;
    border-radius: 18px;
  }

  .giveaway-mini-rule span {
    width: 40px;
    height: 40px;
    margin-bottom: 12px;
  }

  .giveaway-mini-rule p {
    font-size: 14px;
    line-height: 1.55;
  }

  .giveaway-form-card {
    padding: 20px;
    border-radius: 22px;
  }

  .giveaway-form-top h2 {
    font-size: 28px;
    margin: 14px 0 8px;
  }

  .giveaway-form-top p {
    margin-bottom: 16px;
    font-size: 14px;
    line-height: 1.6;
  }

  .giveaway-form {
    gap: 14px;
  }

  .giveaway-field span {
    font-size: 13px;
  }

  .giveaway-field input,
  .giveaway-field textarea {
    padding: 14px 15px;
    border-radius: 14px;
    font-size: 16px;
  }

  .giveaway-field textarea {
    min-height: 104px;
  }

  .giveaway-submit {
    min-height: 54px;
    border-radius: 16px;
    font-size: 15px;
  }

  .giveaway-note,
  .giveaway-modal-warning {
    font-size: 13px;
    line-height: 1.5;
  }
}

@media (max-width: 480px) {
  .giveaway-shell {
    padding: 14px;
  }

  .giveaway-lead h1 {
    font-size: 28px;
  }

  .giveaway-copy {
    font-size: 15px;
  }

  .giveaway-hero-card,
  .giveaway-prize-panel,
  .giveaway-form-card {
    border-radius: 18px;
  }

  .giveaway-hero-card {
    padding: 16px;
  }

  .giveaway-prize-panel {
    padding: 16px;
  }

  .giveaway-prize-item {
    padding: 14px;
  }

  .giveaway-form-card {
    padding: 16px;
  }

  .giveaway-form-top h2 {
    font-size: 25px;
  }

  .giveaway-modal-dialog {
    width: 100%;
    max-width: 100%;
    padding: 20px 16px 16px;
    border-radius: 22px;
  }

  .giveaway-modal {
    padding: 10px;
    place-items: center;
  }

  .giveaway-modal-dialog h3 {
    font-size: 22px;
  }

  .giveaway-modal-copy {
    font-size: 13px;
    line-height: 1.55;
  }

  .giveaway-modal-confirm {
    width: 100%;
    min-height: 48px;
    padding: 0 16px;
    text-align: center;
  }
}
