@font-face {
  font-family: Graphik;
  src: url("./assets/Graphik-Regular-App.ttf");
}

@font-face {
  font-family: Graphik;
  src: url("./assets/Graphik-Medium-App.otf");
  font-weight: 500;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-smooth: always;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: auto;
}

.container {
  display: flex;
  margin: 0 auto;
  width: 100%;
  max-width: 1024px;
  padding-top: 64px;
}

.left {
  width: 60%;
  display: flex;
  flex-direction: column;
}

.right {
  width: 40%;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex-wrap: wrap;
}

.wrapper-right {
  background-color: #4C0677;
  border-radius: 8px;
  padding: 48px 32px;
  text-align: center;
}

.qr-wrapper-right {
  background-color: #490C74;
  border-radius: 8px;
  width: 410px;
  height: 400px;
  padding: 48px 32px;
  text-align: center;
}

.nu-logo-container {
  margin: 0 32px 0 32px;
}

#wrapper-go-to-app {
  text-align: center;
  padding-top: 32px;
  display: none;
}

#qr-wrapper-go-to-app {
  display: none;
}

#now-wrapper-go-to-app {
  display: none;
}

#go-to-app {
  display: inline-block;
  font-family: Graphik, sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 40px;
  cursor: pointer;
  border-radius: 100px;
  background-color: #820AD1;
  border: 0;
  height: 40px;
  color: #FFF;
  margin: auto;
  padding: 0 24px;
  text-decoration: none;
}

#go-to-app-announcement {
  display: inline-block;
  font-family: Graphik, sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 40px;
  cursor: pointer;
  border-radius: 100px;
  background-color: #820AD1;
  border: 0;
  height: 40px;
  color: #FFF;
  margin: auto;
  padding: 0 24px;
  text-decoration: none;
}

.nu-logo {
  margin-top: 8px;
  width: 102px;
}

.qr-back-button {
  font-family: Graphik, sans-serif;
  font-size: 14px;
  line-height: 40px;
  font-weight: 500;
  cursor: pointer;
  border-radius: 100px;
  background-color: #f0f1f5;
  border: 0;
  width: 174px;
  height: 40px;
  color: #000;
  background-image: url("./assets/shopping-cart.svg");
  background-position: 20px 10px;
  background-repeat: no-repeat;
  padding-left: 30px;
  margin: 142px 0 0 32px;
}

.announcement-back-button {
  font-family: Graphik, sans-serif;
  font-size: 14px;
  line-height: 40px;
  font-weight: 500;
  cursor: pointer;
  border-radius: 100px;
  background-color: #f0f1f5;
  border: 0;
  width: 174px;
  height: 40px;
  color: #000;
  background-image: url("./assets/shopping-cart.svg");
  background-position: 20px 10px;
  background-repeat: no-repeat;
  padding-left: 30px;
  margin: 142px 0 0 32px;
}

.now-back-button {
  font-family: Graphik, sans-serif;
  font-size: 14px;
  line-height: 40px;
  font-weight: 500;
  cursor: pointer;
  border-radius: 100px;
  background-color: #f0f1f5;
  border: 0;
  width: 174px;
  height: 40px;
  color: #000;
  background-image: url("./assets/shopping-cart.svg");
  background-position: 20px 10px;
  background-repeat: no-repeat;
  padding-left: 30px;
  margin: 230px 0 0 32px;
}

.qrcode {
  margin: 34px;
  top: 50%;
  padding: 12px;
  border-radius: 8px;
  background-color: #FFF;
  display: inline-block;
}

.payment-qr-code {
  display: inline-flex;
  flex-shrink: 0;
  padding: 12px;
  border-radius: 16px;
  background-color: #FFF;
  line-height: 0;
}

.qr-mobile-title {
  display: none;
}

.ellipse {
  width: 242px;
  height: 17px;
  background: rgba(67, 67, 67, 0.2);
  opacity: 0.5;
  filter: blur(9px);
  margin-top: 16px;
}

.qr-title {
  font-family: Graphik, sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 36px;
  line-height: 110%;
  letter-spacing: -0.03em;
  font-feature-settings: 'ss05' on;
  color: rgba(0, 0, 0, 0.96);
  margin: 72px 32px 0 32px;
  max-width: 490px;
}

.announcement-title {
  font-family: Graphik, sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 44px;
  line-height: 110%;
  display: flex;
  align-items: center;
  letter-spacing: -0.03em;
  font-feature-settings: 'ss05' on;
  color: rgba(0, 0, 0, 0.96);
  margin-top: 80px;
  margin-left: 32px;
}

.now-title {
  font-family: Graphik, sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 36px;
  line-height: 110%;
  letter-spacing: -0.03em;
  font-feature-settings: 'ss05' on;
  color: rgba(0, 0, 0, 0.96);
  margin: 72px 32px 0 32px;
  max-width: 490px;
}

.now-title-highlight {
  font-weight: 500;
  color: rgba(130, 10, 209, 1);
}

.now-container {
  display: flex;
  margin: 0 auto;
  width: 100%;
  max-width: 1024px;
  padding-top: 64px;
}

.now-left {
  width: 60%;
  display: flex;
  flex-direction: column;
}

.now-right {
  width: 40%;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex-wrap: wrap;
}

.announcement-subtitle {
  font-family: Graphik, sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 24px;
  line-height: 120%;
  display: flex;
  align-items: center;
  letter-spacing: -0.02em;
  font-feature-settings: 'ss05' on;
  color: rgba(0, 0, 0, 0.32);
  margin-top: 24px;
  margin-left: 32px;
}

@media only screen and (max-width: 1024px) {
  #wrapper-go-to-app {
    display: block;
  }

  .left {
    width: 100%;
  }

  .right {
    display: none;
  }

  .qr-title {
    display: none;
  }

  .qr-mobile-title {
    display: block;
  }

  .back-button {
    align-self: center;
  }

  .qr-mobile-title {
    font-family: Graphik, sans-serif;
    font-weight: 500;
    font-size: 24px;
    letter-spacing: -0.02em;
    text-align: center;
    width: 100%;
    max-width: 300px;
    margin: 72px auto 0 auto;
  }

  #qr-wrapper-go-to-app {
    display: block;
    text-align: center;
    margin-top: 77px;
  }

  .qr-back-button {
    margin: 32px auto 0 auto;
    width: 205px;
    font-size: 16px;
  }

  .nu-logo-container {
    display: flex;
    justify-content: center;
  }

  .announcement-video {
    display: none;
  }

  .announcement-title {
    text-align: center;
    width: 100%;
    display: flex;
    justify-content: center;
    font-size: 32px;
    margin-left: 0;
  }

  .announcement-subtitle {
    text-align: center;
    width: 100%;
    display: flex;
    justify-content: center;
    font-size: 18px;
    margin-left: 0;
  }

  .announcement-back-button {
    margin: 24px auto;
    width: 205px;
    font-size: 16px;
    font-weight: 500;
  }

  .now-container {
    display: flex;
    flex-wrap: wrap;
  }

  .now-left {
    width: 100%;
  }

  .now-right {
    width: 100%;
    justify-content: center;
    padding-top: 24px;
  }

  .now-title {
    font-family: Graphik, sans-serif;
    font-size: 24px;
    letter-spacing: -0.02em;
    text-align: center;
    width: 100%;
    max-width: 300px;
    margin: 72px auto 0 auto;
  }

  #now-wrapper-go-to-app {
    display: block;
    text-align: center;
    margin-top: 77px;
  }

  .now-back-button {
    margin: 32px auto 0 auto;
    width: 205px;
    font-size: 16px;
  }
}

/* announcement-generic (2026 diagnostics redesign) */
.ag-body {
  background-color: #fff;
  min-height: 100vh;
}

.ag-container {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 52px;
  margin: 0 auto;
  width: 100%;
  max-width: 1080px;
  min-height: 100vh;
  padding: 90px 80px;
  box-sizing: border-box;
}

.ag-hero {
  position: relative;
  flex-shrink: 0;
  width: 451px;
  min-height: 647px;
  border-radius: 24px;
  overflow: hidden;
}

.ag-hero picture {
  display: block;
  width: 100%;
  height: 100%;
}

.ag-hero-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  /* Avoid interpolation artifacts when the framed hero grows with the column */
  image-rendering: auto;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.ag-container--with-back .ag-hero-image {
  /* Cover crops instead of stretching pixels out of aspect ratio */
  object-fit: cover;
  object-position: center center;
}

.ag-container--with-back .ag-column {
  min-height: 647px;
}

.ag-column {
  display: flex;
  flex: 1 0 0;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 24px;
  min-width: 0;
  max-width: 417px;
  height: auto;
}

.ag-column--compact {
  min-height: 647px;
}

.ag-status-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  width: 100%;
  padding: 32px 24px 24px;
  border: 1px solid rgba(18, 13, 21, 0.1);
  border-radius: 24px;
  background-color: #fff;
  box-sizing: border-box;
}

.ag-status-card--compact {
  gap: 16px;
  padding: 24px;
}

.ag-mobile-logo {
  display: none;
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.ag-heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  width: 100%;
  text-align: center;
}

.ag-title {
  font-family: Graphik, sans-serif;
  font-weight: 500;
  font-size: 28px;
  line-height: 1.2;
  color: rgba(0, 0, 0, 0.96);
  font-feature-settings: 'ss05' on;
}

.ag-subtitle {
  font-family: Graphik, sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(0, 0, 0, 0.64);
}

.ag-amount {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  padding: 12px 16px;
  border-radius: 16px;
  background-color: #f0eef1;
  box-sizing: border-box;
}

.ag-amount-label {
  font-family: Graphik, sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.5;
  color: #120d15;
}

.ag-amount-value {
  font-family: Graphik, sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.3;
  color: #120d15;
  font-feature-settings: 'lnum' 1, 'tnum' 1;
  white-space: nowrap;
}

.ag-counter {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  width: 100%;
}

.ag-counter-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 6px;
  border-radius: 64px;
  box-sizing: border-box;
  flex-shrink: 0;
}

.ag-counter-icon-img {
  display: block;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.ag-counter-label {
  font-family: Graphik, sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: -0.14px;
  color: rgba(0, 0, 0, 0.96);
  font-feature-settings: 'ss05' on;
}

.ag-counter-time {
  font-family: Graphik, sans-serif;
  font-weight: 500;
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: -0.14px;
  color: #820ad1;
  font-feature-settings: 'ss05' on;
  margin-left: 4px;
}

.ag-qr-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 24px;
  border: 1px solid rgba(18, 13, 21, 0.1);
  border-radius: 24px;
  background-color: #fff;
  box-sizing: border-box;
}

.ag-qr-card-title {
  font-family: Graphik, sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.3;
  color: rgba(0, 0, 0, 0.96);
}

.ag-qr-card-caption {
  font-family: Graphik, sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(0, 0, 0, 0.64);
  text-align: center;
  max-width: 280px;
}

.ag-howto-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 20px 16px;
  border: 1px solid rgba(18, 13, 21, 0.1);
  border-radius: 24px;
  background-color: #fff;
  box-sizing: border-box;
}

.ag-howto-header {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 20px;
}

.ag-howto-title {
  font-family: Graphik, sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.3;
  color: rgba(0, 0, 0, 0.96);
  font-feature-settings: 'lnum' 1, 'tnum' 1;
}

.ag-howto-subtitle {
  font-family: Graphik, sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.3;
  color: rgba(18, 13, 21, 0.64);
  font-feature-settings: 'lnum' 1, 'tnum' 1;
}

.ag-steps {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.ag-step {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 12px 20px;
  box-sizing: border-box;
}

.ag-step-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background-color: #820ad1;
  color: #fff;
  font-family: Graphik, sans-serif;
  font-weight: 600;
  font-size: 12px;
  line-height: 1.3;
  letter-spacing: 1px;
}

.ag-step-text {
  font-family: Graphik, sans-serif;
  font-weight: 500;
  font-size: 14px;
  line-height: 1.3;
  color: rgba(0, 0, 0, 0.96);
  font-feature-settings: 'lnum' 1, 'tnum' 1;
}

.ag-secure-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: auto;
  max-width: 100%;
  padding: 12px 20px;
}

.ag-secure-icon {
  display: block;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.ag-secure-text {
  font-family: Graphik, sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.3;
  color: rgba(18, 13, 21, 0.64);
  font-feature-settings: 'lnum' 1, 'tnum' 1;
  white-space: nowrap;
}

.ag-column .ag-back-button {
  display: block;
  margin: 8px auto 0;
  align-self: center;
}

.ag-column.ag-column--compact > .ag-back-button {
  margin-top: auto;
  margin-bottom: 0;
  margin-left: auto;
  margin-right: auto;
}

@media only screen and (max-width: 1024px) {
  .ag-container {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 24px;
    max-width: 100%;
    min-height: auto;
    padding: 16px;
  }

  .ag-hero {
    display: none;
  }

  .ag-container--with-back {
    align-items: stretch;
  }

  .ag-container--with-back .ag-hero {
    min-height: 0;
  }

  .ag-container--with-back .ag-column {
    min-height: 0;
  }

  .ag-column {
    width: 100%;
    max-width: 100%;
    height: auto;
    min-height: 0;
    gap: 24px;
    justify-content: flex-start;
  }

  .ag-column.ag-column--compact > .ag-back-button {
    margin-top: 8px;
  }

  .ag-status-card {
    gap: 24px;
    padding: 16px;
  }

  .ag-mobile-logo {
    display: block;
  }

  .ag-qr-card {
    display: none;
  }

  .ag-title {
    font-size: 24px;
  }

  .ag-howto-card {
    padding: 20px 0;
  }

  .ag-secure-footer {
    width: 100%;
    justify-content: center;
  }

  .ag-secure-text {
    white-space: normal;
  }

  .ag-column .ag-back-button {
    display: block;
    margin: 8px auto 0;
    width: 205px;
    font-size: 16px;
    font-weight: 500;
  }
}
