@font-face {
  font-family: "font-1";
  src: url('fonts/Atma-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "font-1";
  src: url("fonts/Atma-Bold.ttf") format('truetype');
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: "font-2";
  src: url("fonts/DancingScript.ttf") format('truetype');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "font-3";
  src: url("fonts/OpenSans.ttf") format('truetype');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "font-4";
  src: url("fonts/Barriecito-Regular.ttf") format('truetype');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "font-5";
  src: url("fonts/PinyonScript-Regular.ttf") format('truetype');
  font-weight: 400;
  font-style: normal;
}

:root {
    --gk-purple: #7057ff;
    --gk-purple-dark: #5d43ed;
    --gk-purple-soft: #f2efff;
    --gk-ink: #19172a;
    --gk-muted: #747184;
    --gk-line: #e9e6f1;
    --gk-bg: #fbfaff;
    --gk-success: #157347;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
button, input { font: inherit; }
html, body { min-height: 100%; }

body {
    display: flex;
    flex-direction: column;
    margin: 0;
    background: var(--gk-bg);
    color: var(--gk-ink);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}

/* Main content wrapper must grow */
.pcz-page {
  flex: 1 0 auto;
}

/* Footer stays at bottom */
.pcz-footer {
  flex-shrink: 0;
}

.showtime{
    background-color: #000;
}

.a-button{
    margin: 0.5em;
}

.margin-top{
    margin-top: 0.5em;
}

#pcz-toast {
    position: fixed;
    left: 50%;
    bottom: 18px;
    transform: translateX(-50%);
    z-index: 2000;
    display: none;
    min-width: 240px;
    max-width: 92vw;
    padding: 10px 14px;
    border-radius: 12px;
    box-shadow: 0 10px 28px rgba(0,0,0,0.25);
    font-weight: 600;
}

#introModal{
    text-align: center;
}

#myModal-2 .modal-body{
  max-height: 70vh;
  overflow-y: auto;
}


#upload-loading-overlay{
  position: fixed;
  top:0;
  left:0;
  width:100%;
  height:100%;
  background: rgba(0,0,0,0.35);
  display:none;
  align-items:center;
  justify-content:center;
  z-index:9999;
}


.upload-spinner{
  width:60px;
  height:60px;
  border:6px solid rgba(255,255,255,0.3);
  border-top:6px solid white;
  border-radius:50%;
  animation: spin 1s linear infinite;
}

@keyframes spin{
  from{ transform:rotate(0deg); }
  to{ transform:rotate(360deg); }
}




 /* --- Landing page specific polish (Bootstrap 4 friendly) --- */
 /* TEST REMOVAL START 
:root{
    --pcz-purple:#6f2dbd;
    --pcz-purple-2:#8a2be2;
    --pcz-ink:#14151a;
    --pcz-muted:#6c757d;
    --pcz-card:#ffffff;
    --pcz-soft:#f6f3fb;
}

.navbar-brand{
    font-weight: 700;
    letter-spacing: .2px;
}

.hero-wrap{
    padding: 28px 0 10px;
}
@media (min-width: 768px){
    .hero-wrap{ padding: 52px 0 24px; }
}

.hero-card{
    background: rgba(255,255,255,0.85);
    border: 1px solid rgba(111,45,189,0.10);
    border-radius: 18px;
    box-shadow: 0 18px 45px rgba(20,21,26,0.08);
    overflow: hidden;
}

.hero-left{
    padding: 26px 20px;
}
@media (min-width: 992px){
    .hero-left{ padding: 44px 44px; }
}

.real-hero-img{
    position: relative;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 22px 50px rgba(20,21,26,0.22);
    max-width: 420px;
    background: #000;
}

.real-hero-img img{
    width: 100%;
    height: auto;
    display: block;
}

.img-caption{
    position: absolute;
    bottom: 14px;
    left: 14px;
    right: 14px;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(6px);
    border-radius: 14px;
    padding: 10px 14px;
    font-weight: 700;
    font-size: 14px;
    color: #2b2d36;
    box-shadow: 0 8px 22px rgba(0,0,0,0.15);
}

.kicker{
    display:inline-block;
    background: rgba(111,45,189,0.10);
    color: var(--pcz-purple);
    border: 1px solid rgba(111,45,189,0.20);
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
}

.hero-title{
    font-weight: 800;
    line-height: 1.08;
    margin-top: 14px;
    margin-bottom: 12px;
    font-size: 30px;
}
@media (min-width: 768px){
    .hero-title{ font-size: 42px; }
}

.hero-sub{
    color: #3a3c46;
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 18px;
}

.btn-pcz{
    background: linear-gradient(90deg, var(--pcz-purple) 0%, var(--pcz-purple-2) 100%);
    color: #fff !important;
    border: 0;
    border-radius: 12px;
    padding: 12px 16px;
    font-weight: 700;
    box-shadow: 0 10px 24px rgba(111,45,189,0.25);
}
.btn-pcz:hover{ filter: brightness(0.98); }
.btn-ghost{
    border-radius: 12px;
    padding: 12px 16px;
    font-weight: 700;
    border: 1px solid rgba(111,45,189,0.35);
    color: var(--pcz-purple);
    background: rgba(255,255,255,0.75);
}
.btn-ghost:hover{
    background: rgba(111,45,189,0.08);
    color: var(--pcz-purple);
}

.trust-row{
    margin-top: 16px;
    color: var(--pcz-muted);
    font-size: 13px;
}
.trust-row i{ margin-right: 6px; color: var(--pcz-purple); }


.hero-right{
    background: linear-gradient(135deg, rgba(111,45,189,0.12), rgba(138,43,226,0.10));
    padding: 20px;
    position: relative;
    min-height: 280px;
}
@media (min-width: 992px){
    .hero-right{ padding: 36px; min-height: 100%; }
}


.section{
    padding: 26px 0;
}
@media (min-width: 768px){
    .section{ padding: 36px 0; }
}

.feature{
    background: rgba(255,255,255,0.88);
    border: 1px solid rgba(20,21,26,0.06);
    border-radius: 16px;
    padding: 18px;
    height: 100%;
    box-shadow: 0 14px 28px rgba(20,21,26,0.06);
}
.feature .icon{
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(111,45,189,0.10);
    border: 1px solid rgba(111,45,189,0.18);
    display:flex;
    align-items:center;
    justify-content:center;
    margin-bottom: 12px;
    color: var(--pcz-purple);
    font-size: 18px;
}
.feature h5{
    font-weight: 800;
    margin-bottom: 8px;
}
.feature p{
    margin: 0;
    color: #3a3c46;
    font-size: 14px;
    line-height: 1.5;
}


.cta-band{
    background: linear-gradient(90deg, rgba(111,45,189,0.95), rgba(138,43,226,0.95));
    color: #fff;
    border-radius: 18px;
    padding: 18px;
    box-shadow: 0 18px 40px rgba(111,45,189,0.20);
}
@media (min-width: 768px){
    .cta-band{ padding: 22px 26px; }
}

.cta-band h4{
    margin: 0;
    font-weight: 900;
}
.cta-band p{
    margin: 6px 0 0;
    opacity: 0.92;
}
.cta-band .btn-light{
    border-radius: 12px;
    font-weight: 800;
    padding: 12px 16px;
}


.footer{
    color: var(--pcz-muted);
    font-size: 13px;
    padding: 18px 0 30px;
}
.footer a{ color: var(--pcz-purple); }

.toolbar{
    width: 100%;
    max-width: 500px !important;
    border: none;
    margin: 0.5rem auto;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    border-radius: 1em;
}

TEST REMOVAL END ---*/

.toolbar-alt{
    width: 100%;
    max-width: 500px !important;
    border: none;
    margin: 0.5rem auto;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    background-color: #111;
    border-radius: 4em;
}

.icon-col{
    display: inline-block;
    width: 19%;
    margin:0;
    padding: 0;
    border: none;
    vertical-align: middle;
    text-align: center;
}

.owned-entry, .owned-img {
  cursor: pointer;
  outline: none;
  outline-offset: none;
}

.owned-entry:hover, .owned-img:hover {
  outline: 2px dashed rgba(128,0,128,0.25);
  outline-offset: 2px;
}


.selected{
    border: 2px dotted #666 !important;
}

.icon{
    width: 100%;
    height: auto;
    cursor: pointer;
}

#font-settings, #gif-settings{
    width: 80%;
}

#gif-container-left, #gif-container-right{
    padding: 0;
}

.gif-preview{
    width: 90%;
    height: auto;
    cursor: pointer;
    margin: 5%;
}

#new-entry-img{
    width: 100%;
    height: auto;
}

.img-entry{
    width: 50%;
    height: auto;
    position: absolute;
    left: 0;
    top: 0;
}

.font-setting{
   width: 100%; 
   height: auto;
}

.font-style-btn{
    width: 90%;
    margin: 0.1em;
}

.font-size-btn{
    width: 30%;
}


.font-color-circle{
    border-radius: 50%;
    width: 25%;
    margin: 0.5em;
    aspect-ratio: 1/1;
    display: inline-block;
    border: none;
    cursor: pointer;
    border: 2px solid #FFF;
}

.interface-wrapper, .sign-up-wrapper, .login-wrapper{
    border: none;
    width: 100%;
    max-width: 500px !important;
    margin: 0.5em auto;
}

.sign-up-wrapper, .login-wrapper, .dashboard-wrapper{
    margin-top: 2em;
    padding: 1em;
    background-color: #FFF;
    border: solid 1px #DDD;
    border-radius: 1em;
}
*/

.wrapper{
    border: 1px solid #DDD;
    max-width: 100%;
    max-width: 500px !important;
    aspect-ratio: 4 / 5;
    container: wrapper / inline-size;
    position: relative;
    overflow: hidden;
    z-index: 100;
    margin: 0 0.25em;
}

.inner-wrapper{
    margin: 0;
    padding: 0;
    width: 100%;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background-color: #FAFAFA;
    border: 1px solid #AAA;
    position: absolute;
    top: 0;
    transition: left 0.5s linear;
}

.wrapper-focus{
    top: 0;
    left: 0;
}

.wrapper-prev{
    top: 0;
    left: -600px;
}

.draggable {
  width: 50%;
  background-color: transparent;
  color: black;
  border-radius: 0.75em;
  position: absolute;
  border: none;
  left: 0;
  top: 0;
  user-select: none;
  touch-action: none;
  z-index: 10;
  
}

.greeting{
    max-width: 50%;
    overflow-wrap: break-word;
    /*overflow: hidden;*/
    display: block;
    resize: none;
    position: absolute;
    left: 0;
    top: 0;
    background-color: transparent;
    z-index: 1;
    white-space: pre-wrap;
}

.textbox{
  display: block;
  width: 100%;
  resize: none;
  color: black;
  border: 1px dashed #000;
  border-radius: 0.25em;
  overflow: hidden;
  min-height: 3em;
  background-color: transparent;
}

#editableBox {
  height: 6.5em;        /* initial baseline */
  max-height: none;      /* JS will set a max-height dynamically */
  overflow-y: hidden;    /* will be switched to auto when clamped */
  box-sizing: border-box;
}

.textbox:focus{
  border: 1px dotted #000 !important;
  outline: none !important;
}

.textbox, .greeting{
    padding: 0.5em;
}

.transparent-bg {
  position: relative;
  background-image: url("../img/util/semi_transparent_white_80.png");
  background-repeat: repeat;
  background-size: contain;
}

.transparent-bg .content {
  position: relative;
  z-index: 1;
  color: black; /* or any text color */
}

.card-art {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hidden{
    display: none !important;
}

.gallery-wrapper, .confirmation-wrapper{
    max-width: 1200px;
    background-color: #FFF;
    margin-top: 1em;
}

.confirmation-wrapper{
    padding: 1em;
}

.gallery-row {
  display: flex;
  flex-wrap: wrap;
  padding: 0 4px;
}

/* Create four equal columns that sits next to each other */
.gallery-column {
  flex: 25%;
  max-width: 25%;
  padding: 0 4px;
}

.gallery-column img {
  margin-top: 8px;
  vertical-align: middle;
  width: 100%;
}

.card-detail-wrapper{
    margin-top: 2em;
    background-color: #FFF;
    border-radius: 1em;
}

.card-detail-col{
    padding: 2em;
}

.dashboard-mini-img{
    max-width: 4em;
    height: auto;
}

/* Responsive layout - makes a two column-layout instead of four columns */
@media screen and (max-width: 800px) {
  .gallery-column {
    flex: 50%;
    max-width: 50%;
  }
}

#navbar{
    background-color: #BF40BF !important;
}

.form-icon{
    height: 4em;
    width: auto;
    position: absolute;
    cursor: pointer;
    bottom: -4em;
}

#form-icon-close{
    left: 0;
}

#form-icon-clear{
    left: 4.5em;
}

#form-icon-submit{
    left: 9em;
}

#form-icon-drag{
    height: 4em;
    bottom: -2em;
    right: -2em;
    z-index: 100;
}

#form-icon-resize{
    top: -2em;
    right: -2em;
    z-index: 100;
    cursor: pointer !important;
}

.badge {
  padding-left: 9px;
  padding-right: 9px;
  -webkit-border-radius: 9px;
  -moz-border-radius: 9px;
  border-radius: 9px;
}

.label-warning[href],
.badge-warning[href] {
  background-color: #c67605;
}
#lblCartCount, #lblCartCount-mobile {
    font-family: "Arial", sans-serif;
    font-size: 12px;
    background: #ff0000;
    color: #fff;
    padding: 0 5px;
    vertical-align: top;
    margin-left: -10px; 
}

.legal-text{
    background-color: #FFF;
    border: 1px solid #DDD;
    border-radius: 0.5em;
    padding: 1em;
}



/* ---------- Inserted ---------- */
/* Same launch header language as the other redesigned pages, kept a little
   shorter here so the editor retains as much vertical room as possible. */
.gk-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--gk-line);
}

.gk-header-inner {
  width: min(1440px, calc(100% - 40px));
  height: 62px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
  position: relative;
}

.gk-logo {
  color: var(--gk-ink) !important;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -.5px;
  text-decoration: none !important;
  white-space: nowrap;
}

.gk-logo-dot { color: var(--gk-purple); }

.gk-demo-label {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);

    padding: 5px 10px;
    border-radius: 999px;
    background: var(--gk-purple-soft);
    color: var(--gk-purple);

    font-size: 12px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: .04em;
    text-transform: uppercase;

    cursor: default;
    user-select: none;
    pointer-events: none;
}

.gk-how-link {
  display: inline-flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  margin-left: auto !important;
  align-items: center;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--gk-ink) !important;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none !important;
  white-space: nowrap;
}

.gk-how-link:hover,
.gk-how-link:focus {
  color: var(--gk-purple) !important;
  text-decoration: none !important;
}

.gk-primary-action {
    display: flex;
    width: 100%;
    min-height: 58px;
    align-items: center;
    justify-content: center;
    margin-top: 30px;
    padding: 14px 22px;
    border: 0;
    border-radius: 17px;
    background: var(--gk-purple);
    color: #fff !important;
    text-decoration: none !important;
    font-size: 1rem;
    font-weight: 780;
    box-shadow: 0 13px 30px rgba(111,76,255,.23);
    cursor: pointer;
    transition: transform .16s ease, background .16s ease, box-shadow .16s ease;
}
.gk-primary-action:hover {
    background: var(--gk-purple-dark);
    transform: translateY(-1px);
    box-shadow: 0 16px 34px rgba(111,76,255,.29);
}

/* Keep the original editor layout and toolbar mechanics intact. */
.interface-wrapper {
  position: relative;
}

/* Cleaner card canvas only — dimensions/layout continue to come from the
   original stylesheet so dragging and coordinate calculations are unchanged. */
#wrapper {
  position: relative;
  border-radius: 18px;
  box-shadow: 0 18px 50px rgba(36, 28, 54, .13);
  outline: 1px solid rgba(112, 87, 255, .08);
  background: #fff;
}

#wrapper .card-art {
  border-radius: 18px;
}

.gk-page-indicator {
  position: relative;
  z-index: 2;
  width: max-content;
  margin: 0 auto 5px;
  color: var(--gk-muted);
  font-size: 11px;
  font-weight: 800;
  line-height: 16px;
  letter-spacing: .03em;
  text-align: center;
  pointer-events: none;
}

.gk-editor-meta {
  margin: 10px auto 0;
  max-width: 760px;
  padding: 0 16px;
  text-align: center;
  color: var(--gk-muted);
  font-size: 12px;
  line-height: 1.35;
}

.gk-editor-meta strong { color: var(--gk-ink); }
.gk-editor-meta .gk-meta-sep { margin: 0 6px; color: #bbb6c9; }

.gk-klipy-mark {
  display: block;
  width: min(100px, 22vw);
  margin: 7px auto 0;
  opacity: .72;
}

/* Text-style picker: modern presentation, same IDs/classes/onclicks underneath. */
#myModal .modal-dialog {
  max-width: 520px;
}

#myModal .modal-content {
  overflow: hidden;
  border-radius: 24px !important;
}

#myModal .modal-header {
  align-items: center;
  padding: 22px 24px 10px;
  border-bottom: 0;
}

#myModal .modal-title {
  margin: 0;
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -.03em;
}

#myModal .close {
  width: 36px;
  height: 36px;
  margin: -4px -6px -4px auto;
  padding: 0;
  border-radius: 50%;
  background: #f3f1f7;
  color: var(--gk-ink);
  font-size: 24px;
  font-weight: 400;
  line-height: 34px;
  opacity: 1;
  text-shadow: none;
}

#myModal .modal-body {
  padding: 8px 24px 22px;
  text-align: left !important;
}

.gk-style-intro {
  margin: 0 0 18px;
  color: var(--gk-muted);
  font-size: 13px;
}

.gk-style-section + .gk-style-section {
  margin-top: 20px;
}

.gk-style-label {
  margin-bottom: 9px;
  color: var(--gk-ink);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

#td-colors {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  align-items: center;
}

#myModal .font-color-circle {
  width: 31px;
  height: 31px;
  margin: 0;
  border: 3px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(29,27,32,.12);
  cursor: pointer;
  transition: transform .14s ease, box-shadow .14s ease;
}

#myModal .font-color-circle:hover {
  transform: scale(1.08);
}

#myModal .font-color-circle.selected {
  box-shadow: 0 0 0 2px var(--gk-purple), 0 0 0 5px #fff;
}

#td-fonts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

#myModal .font-style-btn {
  width: 100%;
  min-height: 48px;
  margin: 0;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gk-line);
  border-radius: 13px;
  background: #fff;
  color: var(--gk-ink);
  box-shadow: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#myModal .font-style-btn:hover,
#myModal .font-style-btn.selected {
  border-color: rgba(112,87,255,.62);
  background: rgba(112,87,255,.06);
}

#td-font-size {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
}

#myModal .font-size-btn {
  width: 100%;
  min-height: 44px;
  margin: 0;
  padding: 8px 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gk-line);
  border-radius: 13px;
  background: #fff;
  color: var(--gk-ink);
  box-shadow: none;
  font-weight: 700;
}

#myModal .font-size-btn:hover,
#myModal .font-size-btn.selected {
  border-color: rgba(112,87,255,.62);
  background: rgba(112,87,255,.06);
}

#myModal .modal-footer {
  padding: 0 24px 24px;
  border-top: 0;
}

.gk-style-done {
  width: 100%;
  min-height: 46px;
  border: 0;
  border-radius: 13px;
  background: var(--gk-purple);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}

.gk-style-done:hover,
.gk-style-done:focus {
  background: #6045f5;
  color: #fff;
}

/* Subtle visual alignment for Bootstrap modals without changing their
   contents or behaviour. */
.modal-content {
  border: 1px solid var(--gk-line);
  border-radius: 18px !important;
  box-shadow: 0 22px 70px rgba(36,28,54,.18);
}

.modal-header,
.modal-footer { border-color: var(--gk-line); }

@media (max-width: 767.98px) {
  .gk-header-inner {
    width: min(100% - 28px, 1440px);
    height: 56px;
  }

  .gk-logo { font-size: 18px; }
  .gk-how-link { font-size: 13px; }

  #wrapper {
    border-radius: 14px;
    box-shadow: 0 12px 34px rgba(36, 28, 54, .12);
  }

  #wrapper .card-art { border-radius: 14px; }

  .gk-page-indicator {
    margin-bottom: 4px;
    font-size: 10px;
    line-height: 14px;
  }

  .gk-editor-meta {
    margin-top: 7px;
    padding: 0 10px;
    font-size: 11px;
  }

  .gk-klipy-mark {
    width: min(82px, 22vw);
    margin-top: 5px;
  }

  #myModal .modal-dialog {
    margin: 10px;
  }

  #myModal .modal-header {
    padding: 18px 18px 8px;
  }

  #myModal .modal-body {
    padding: 8px 18px 18px;
  }

  #myModal .modal-footer {
    padding: 0 18px 18px;
  }

  #td-fonts {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   SHARED HEADER
   ========================================================= */

/* Standard pages: 72px desktop / 62px mobile.
   Editor/demo pages can opt into .gk-header--compact. */
.gk-header-inner {
    position: relative;
    height: 72px;
}

.gk-header--compact .gk-header-inner {
    height: 62px;
}

.gk-demo-label {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    padding: 5px 10px;
    border-radius: 999px;
    background: var(--gk-purple-soft);
    color: var(--gk-purple);
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: .04em;
    text-transform: uppercase;
    cursor: default;
    user-select: none;
    pointer-events: none;
}

@media (max-width: 767.98px) {
    .gk-header-inner {
        height: 62px;
    }

    .gk-header--compact .gk-header-inner {
        height: 56px;
    }
}

/* Shared header actions */
.gk-header-nav {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 14px;
}

/* Override the older rule that pushes How it works with margin-left:auto. */
.gk-header-nav .gk-how-link {
    margin-left: 0 !important;
}

.gk-demo-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 12px;
    border: 1px solid rgba(111,76,255,.18);
    border-radius: 999px;
    background: var(--gk-purple-soft);
    color: var(--gk-purple) !important;
    font-size: 13px;
    font-weight: 800;
    line-height: 1;
    text-decoration: none !important;
    white-space: nowrap;
    transition: background .15s ease, border-color .15s ease, color .15s ease;
}

.gk-demo-link:hover,
.gk-demo-link:focus {
    background: #e7e1ff;
    border-color: rgba(111,76,255,.32);
    color: var(--gk-purple-dark) !important;
    text-decoration: none !important;
}

.gk-demo-link[aria-current="page"] {
    border-color: rgba(111,76,255,.35);
    background: var(--gk-purple);
    color: #fff !important;
}

@media (max-width: 520px) {
    .gk-header-nav {
        gap: 8px;
    }

    .gk-demo-link {
        min-height: 30px;
        padding: 0 9px;
        font-size: 12px;
    }

    .gk-header-nav .gk-how-link {
        font-size: 12px;
    }
}
