.ibe-banner-maker {
  --ibe-banner-orange: #c74100;
  --ibe-banner-orange-dark: #9f3400;
  --ibe-banner-navy: #0b1120;
  --ibe-banner-blue: #17264a;
  --ibe-banner-cream: #fff8f1;
  --ibe-banner-white: #ffffff;
  --ibe-banner-line: rgba(255, 255, 255, 0.18);
  position: relative;
  isolation: isolate;
  width: min(100%, 1280px);
  margin: 32px auto;
  padding: clamp(24px, 4vw, 52px);
  overflow: hidden;
  box-sizing: border-box;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 34px;
  background:
    radial-gradient(circle at 92% 5%, rgba(199, 65, 0, 0.65), transparent 31%),
    linear-gradient(132deg, #090f1e 0%, #142347 58%, #0b1120 100%);
  box-shadow: 0 28px 80px rgba(8, 17, 37, 0.24);
  color: var(--ibe-banner-white);
  font-family: Futura, "Avenir Next", "Century Gothic", Montserrat, sans-serif;
}

.ibe-banner-maker::before,
.ibe-banner-maker::after {
  position: absolute;
  z-index: -1;
  content: "";
  pointer-events: none;
}

.ibe-banner-maker::before {
  inset: 0;
  opacity: 0.13;
  background-image: repeating-linear-gradient(135deg, transparent 0 34px, rgba(255, 255, 255, 0.28) 35px 37px, transparent 38px 70px);
}

.ibe-banner-maker::after {
  right: -110px;
  bottom: -190px;
  width: 540px;
  height: 540px;
  border: 90px solid rgba(199, 65, 0, 0.22);
  border-radius: 50%;
}

.ibe-banner-maker *,
.ibe-banner-maker *::before,
.ibe-banner-maker *::after {
  box-sizing: border-box;
}

.ibe-banner-head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 32px;
}

.ibe-banner-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 13px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
}

.ibe-banner-kicker > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 46px;
  min-height: 27px;
  padding: 4px 9px;
  border-radius: 8px;
  background: var(--ibe-banner-orange);
  color: #fff;
  letter-spacing: 0.04em;
  box-shadow: 0 8px 18px rgba(199, 65, 0, 0.28);
}

.ibe-banner-head h2 {
  max-width: 720px;
  margin: 0 0 10px !important;
  color: #fff !important;
  font-family: inherit !important;
  font-size: clamp(30px, 4vw, 54px) !important;
  font-weight: 900 !important;
  letter-spacing: -0.035em;
  line-height: 0.98 !important;
}

.ibe-banner-head p {
  max-width: 750px;
  margin: 0 !important;
  color: rgba(255, 255, 255, 0.72) !important;
  font-family: inherit !important;
  font-size: 15px !important;
  line-height: 1.55 !important;
}

.ibe-banner-size {
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  min-width: 220px;
  padding: 16px 18px;
  border: 1px solid var(--ibe-banner-line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(12px);
}

.ibe-banner-size strong {
  color: #fff;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.ibe-banner-size span {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.ibe-banner-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(270px, 340px) minmax(0, 1fr);
  gap: 24px;
  align-items: stretch;
}

.ibe-banner-controls {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--ibe-banner-line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.075);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
}

.ibe-banner-upload {
  display: flex !important;
  min-height: 186px;
  margin: 0 !important;
  padding: 22px 18px !important;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px dashed rgba(255, 255, 255, 0.34);
  border-radius: 18px;
  outline: none;
  background: rgba(3, 9, 22, 0.28);
  color: #fff;
  text-align: center;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.ibe-banner-upload:hover,
.ibe-banner-upload:focus-visible,
.ibe-banner-upload.is-dragging {
  border-color: rgba(255, 255, 255, 0.85);
  background: rgba(199, 65, 0, 0.18);
  transform: translateY(-2px);
}

.ibe-banner-upload input {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  border: 0 !important;
}

.ibe-banner-upload-icon {
  display: grid;
  width: 52px;
  height: 52px;
  margin-bottom: 13px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 16px;
  background: linear-gradient(145deg, var(--ibe-banner-orange), var(--ibe-banner-orange-dark));
  box-shadow: 0 12px 30px rgba(199, 65, 0, 0.3);
}

.ibe-banner-upload-icon svg {
  width: 25px;
  height: 25px;
}

.ibe-banner-upload strong {
  color: #fff;
  font-family: inherit;
  font-size: 16px;
  font-weight: 900;
}

.ibe-banner-upload small {
  max-width: 245px;
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.45;
}

.ibe-banner-adjustments {
  display: grid;
  gap: 16px;
  margin-top: 18px;
  padding: 16px;
  border-radius: 16px;
  background: rgba(2, 7, 18, 0.2);
}

.ibe-banner-adjustments[hidden] {
  display: none !important;
}

.ibe-banner-adjustments label {
  display: grid !important;
  grid-template-columns: 1fr auto;
  gap: 8px;
  margin: 0 !important;
  color: rgba(255, 255, 255, 0.83) !important;
  font-size: 12px !important;
  font-weight: 800 !important;
}

.ibe-banner-adjustments output {
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.ibe-banner-adjustments input[type="range"] {
  width: 100% !important;
  height: 5px !important;
  grid-column: 1 / -1;
  margin: 0 !important;
  padding: 0 !important;
  appearance: none;
  border: 0 !important;
  border-radius: 999px;
  outline: none;
  background: rgba(255, 255, 255, 0.2);
  accent-color: var(--ibe-banner-orange);
}

.ibe-banner-adjustments input[type="range"]::-webkit-slider-thumb {
  width: 18px;
  height: 18px;
  cursor: grab;
  appearance: none;
  border: 3px solid #fff;
  border-radius: 50%;
  background: var(--ibe-banner-orange);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.ibe-banner-adjustments input[type="range"]::-moz-range-thumb {
  width: 13px;
  height: 13px;
  cursor: grab;
  border: 3px solid #fff;
  border-radius: 50%;
  background: var(--ibe-banner-orange);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.ibe-banner-actions {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.ibe-banner-maker .ibe-banner-download,
.ibe-banner-maker .ibe-banner-share,
.ibe-banner-maker .ibe-banner-reset {
  display: inline-flex !important;
  width: 100% !important;
  min-height: 48px !important;
  margin: 0 !important;
  padding: 11px 16px !important;
  cursor: pointer !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 9px !important;
  border-radius: 999px !important;
  font-family: inherit !important;
  font-size: 13px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  text-decoration: none !important;
  text-transform: none !important;
  box-shadow: none !important;
  transition: transform 180ms ease, filter 180ms ease, opacity 180ms ease !important;
}

.ibe-banner-maker .ibe-banner-download {
  border: 1px solid var(--ibe-banner-orange) !important;
  background: linear-gradient(145deg, #d94a00, var(--ibe-banner-orange-dark)) !important;
  color: #fff !important;
  box-shadow: 0 13px 28px rgba(199, 65, 0, 0.25) !important;
}

.ibe-banner-maker .ibe-banner-share {
  border: 1px solid rgba(255, 255, 255, 0.88) !important;
  background: #ffffff !important;
  color: var(--ibe-banner-blue) !important;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.16) !important;
}

.ibe-banner-maker .ibe-banner-reset {
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  background: rgba(255, 255, 255, 0.07) !important;
  color: rgba(255, 255, 255, 0.85) !important;
}

.ibe-banner-maker .ibe-banner-download:hover:not(:disabled),
.ibe-banner-maker .ibe-banner-share:hover:not(:disabled),
.ibe-banner-maker .ibe-banner-reset:hover:not(:disabled) {
  filter: brightness(1.08) !important;
  transform: translateY(-2px) !important;
}

.ibe-banner-maker .ibe-banner-download:disabled,
.ibe-banner-maker .ibe-banner-share:disabled,
.ibe-banner-maker .ibe-banner-reset:disabled {
  cursor: not-allowed !important;
  filter: grayscale(0.35) !important;
  opacity: 0.42 !important;
}

.ibe-banner-maker .ibe-banner-download svg,
.ibe-banner-maker .ibe-banner-share svg {
  width: 18px;
  height: 18px;
}

.ibe-banner-privacy {
  display: flex;
  gap: 7px;
  margin: 14px 2px 0 !important;
  align-items: flex-start;
  color: rgba(255, 255, 255, 0.55) !important;
  font-size: 10px !important;
  font-weight: 650 !important;
  line-height: 1.4 !important;
}

.ibe-banner-privacy span {
  display: inline-grid;
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.ibe-banner-message {
  min-height: 18px;
  margin-top: 9px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 11px;
  font-weight: 750;
  line-height: 1.4;
}

.ibe-banner-message.is-error {
  color: #ffd2c2;
}

.ibe-banner-message.is-success {
  color: #d6ffe5;
}

.ibe-banner-preview {
  min-width: 0;
  align-self: center;
}

.ibe-banner-canvas-shell {
  position: relative;
  width: 100%;
  overflow: hidden;
  border: 8px solid rgba(255, 255, 255, 0.94);
  border-radius: 22px;
  background: #0b1120;
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.15);
}

.ibe-banner-canvas-shell canvas {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  height: auto !important;
  aspect-ratio: 8 / 3;
  margin: 0 !important;
  border: 0 !important;
  background: #0b1120;
}

.ibe-banner-canvas-shine {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.ibe-banner-canvas-shine::after {
  position: absolute;
  top: -100%;
  left: -35%;
  width: 22%;
  height: 280%;
  content: "";
  opacity: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), transparent);
  transform: rotate(20deg);
  animation: ibe-banner-shine 5.5s ease-in-out 1s infinite;
}

@keyframes ibe-banner-shine {
  0%, 60% { left: -35%; opacity: 0; }
  68% { opacity: 0.8; }
  85% { left: 120%; opacity: 0; }
  100% { left: 120%; opacity: 0; }
}

.ibe-banner-preview > p {
  margin: 13px 6px 0 !important;
  color: rgba(255, 255, 255, 0.55) !important;
  font-family: inherit !important;
  font-size: 10px !important;
  font-weight: 650 !important;
  line-height: 1.45 !important;
  text-align: center;
}

.ibe-banner-share-overlay {
  position: fixed;
  z-index: 999999;
  inset: 0;
  display: flex;
  padding: 20px;
  align-items: center;
  justify-content: center;
  background: rgba(4, 10, 23, 0.72);
  backdrop-filter: blur(8px);
  animation: ibe-banner-share-fade 180ms ease-out;
}

.ibe-banner-share-overlay[hidden] {
  display: none !important;
}

.ibe-banner-share-modal {
  position: relative;
  width: min(620px, 100%);
  max-height: min(760px, calc(100vh - 40px));
  padding: clamp(24px, 4vw, 38px);
  overflow: auto;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 28px;
  background:
    radial-gradient(circle at 100% 0, rgba(199, 65, 0, 0.55), transparent 36%),
    linear-gradient(145deg, #17264a, #0b1120 72%);
  box-shadow: 0 34px 100px rgba(0, 0, 0, 0.48);
  color: #fff;
  animation: ibe-banner-share-rise 220ms ease-out;
}

.ibe-banner-share-modal::after {
  position: absolute;
  z-index: 0;
  right: -90px;
  bottom: -130px;
  width: 270px;
  height: 270px;
  content: "";
  pointer-events: none;
  border: 42px solid rgba(199, 65, 0, 0.18);
  border-radius: 50%;
}

.ibe-banner-share-modal > * {
  position: relative;
  z-index: 1;
}

.ibe-banner-maker .ibe-banner-share-close {
  position: absolute !important;
  z-index: 3 !important;
  top: 16px !important;
  right: 16px !important;
  display: grid !important;
  width: 42px !important;
  height: 42px !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 0 3px !important;
  cursor: pointer !important;
  place-items: center !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.09) !important;
  color: #fff !important;
  font: 300 29px/1 Arial, sans-serif !important;
}

.ibe-banner-maker .ibe-banner-share-close:hover {
  background: var(--ibe-banner-orange) !important;
}

.ibe-banner-share-kicker {
  display: inline-block;
  margin: 0 48px 10px 0;
  color: #ffad85;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.ibe-banner-share-modal h3 {
  max-width: 500px;
  margin: 0 48px 9px 0 !important;
  color: #fff !important;
  font-family: inherit !important;
  font-size: clamp(28px, 5vw, 40px) !important;
  font-weight: 900 !important;
  letter-spacing: -0.035em;
  line-height: 1 !important;
}

.ibe-banner-share-modal > p:not(.ibe-banner-share-note) {
  max-width: 490px;
  margin: 0 !important;
  color: rgba(255, 255, 255, 0.67) !important;
  font-family: inherit !important;
  font-size: 14px !important;
  font-weight: 650 !important;
  line-height: 1.55 !important;
}

.ibe-banner-share-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px;
  margin-top: 24px;
}

.ibe-banner-maker .ibe-banner-share-option,
.ibe-banner-maker .ibe-banner-share-option:link,
.ibe-banner-maker .ibe-banner-share-option:visited {
  position: relative !important;
  display: grid !important;
  min-width: 0 !important;
  min-height: 74px !important;
  margin: 0 !important;
  padding: 12px 13px 12px 58px !important;
  cursor: pointer !important;
  grid-template-columns: 1fr !important;
  align-content: center !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  border-radius: 17px !important;
  outline: none !important;
  background: rgba(255, 255, 255, 0.075) !important;
  color: #fff !important;
  font-family: inherit !important;
  line-height: 1.15 !important;
  text-align: left !important;
  text-decoration: none !important;
  box-shadow: none !important;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease !important;
}

.ibe-banner-maker .ibe-banner-share-option[hidden] {
  display: none !important;
}

.ibe-banner-maker .ibe-banner-share-option:hover {
  border-color: rgba(255, 255, 255, 0.4) !important;
  background: rgba(255, 255, 255, 0.13) !important;
  transform: translateY(-2px) !important;
}

.ibe-banner-share-option > span {
  position: absolute;
  top: 50%;
  left: 13px;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 11px;
  background: #fff;
  color: var(--ibe-banner-blue);
  font-size: 13px;
  font-weight: 1000;
  transform: translateY(-50%);
}

.ibe-banner-share-option strong {
  overflow: hidden;
  color: inherit;
  font-size: 13px;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ibe-banner-share-option small {
  margin-top: 4px;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.55);
  font-size: 10px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ibe-banner-maker .ibe-banner-share-native {
  grid-column: 1 / -1;
  border-color: rgba(255, 255, 255, 0.8) !important;
  background: #fff !important;
  color: var(--ibe-banner-blue) !important;
}

.ibe-banner-share-native small {
  color: rgba(23, 38, 74, 0.62);
}

.ibe-banner-share-native > span {
  background: var(--ibe-banner-orange);
  color: #fff;
}

.ibe-banner-maker .ibe-banner-share-linkedin {
  border-color: rgba(65, 149, 220, 0.65) !important;
  background: rgba(10, 102, 194, 0.3) !important;
}

.ibe-banner-share-linkedin > span {
  background: #0a66c2;
  color: #fff;
  font-size: 17px;
}

.ibe-banner-share-whatsapp > span {
  background: #25d366;
  color: #fff;
}

.ibe-banner-share-facebook > span {
  background: #1877f2;
  color: #fff;
  font-size: 18px;
}

.ibe-banner-share-email > span,
.ibe-banner-share-copy > span {
  background: var(--ibe-banner-orange);
  color: #fff;
}

.ibe-banner-share-instagram > span {
  background: linear-gradient(145deg, #833ab4, #fd1d1d 55%, #fcb045);
  color: #fff;
}

.ibe-banner-share-note {
  min-height: 18px;
  margin: 16px 2px 0 !important;
  color: rgba(255, 255, 255, 0.55) !important;
  font-family: inherit !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  line-height: 1.5 !important;
}

.ibe-banner-share-note.is-success {
  color: #c9ffe0 !important;
}

.ibe-banner-share-note.is-error {
  color: #ffd2c2 !important;
}

@keyframes ibe-banner-share-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes ibe-banner-share-rise {
  from { opacity: 0; transform: translateY(12px) scale(0.98); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 980px) {
  .ibe-banner-maker {
    margin: 24px auto;
    border-radius: 28px;
  }

  .ibe-banner-head {
    align-items: flex-start;
  }

  .ibe-banner-size {
    min-width: 190px;
  }

  .ibe-banner-layout {
    grid-template-columns: 1fr;
  }

  .ibe-banner-controls {
    display: grid;
    grid-template-columns: minmax(230px, 0.85fr) 1.15fr;
    gap: 16px;
  }

  .ibe-banner-upload {
    grid-row: 1 / 4;
  }

  .ibe-banner-adjustments,
  .ibe-banner-actions,
  .ibe-banner-privacy,
  .ibe-banner-message {
    margin-top: 0;
  }
}

@media (max-width: 680px) {
  .ibe-banner-maker {
    width: calc(100% - 20px);
    padding: 24px 16px;
    border-radius: 24px;
  }

  .ibe-banner-head {
    display: block;
    margin-bottom: 24px;
  }

  .ibe-banner-head h2 {
    font-size: clamp(30px, 10vw, 42px) !important;
  }

  .ibe-banner-size {
    display: inline-flex;
    min-width: 0;
    margin-top: 18px;
    padding: 11px 14px;
  }

  .ibe-banner-size strong {
    font-size: 16px;
  }

  .ibe-banner-controls {
    display: flex;
    padding: 14px;
  }

  .ibe-banner-upload {
    min-height: 160px;
  }

  .ibe-banner-canvas-shell {
    border-width: 4px;
    border-radius: 14px;
  }

  .ibe-banner-share-overlay {
    padding: 10px;
    align-items: flex-end;
  }

  .ibe-banner-share-modal {
    max-height: calc(100vh - 20px);
    padding: 26px 18px 20px;
    border-radius: 24px;
  }

  .ibe-banner-share-options {
    grid-template-columns: 1fr;
  }

  .ibe-banner-maker .ibe-banner-share-native {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ibe-banner-maker *,
  .ibe-banner-maker *::before,
  .ibe-banner-maker *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
