/* ============================================================================================ 
                                        ENTER BUTTON
   ============================================================================================ */


:root{--bg:#0b0b0b;--panel:#111;--ink:#eaeaea;--muted:#bdbdbd;--line:#2a2a2a;--ok:#10b981;--err:#ef4444}


input[type="checkbox"] {
  padding: 0 !important;
  width: 16px !important;
  height: 16px !important;
  border-radius: 2px !important;
  line-height: 1 !important;
}


#entry-modal,
#success-modal,
#error-modal{
  position: fixed;
  top:0; right:0; bottom:0; left:0;  
  inset: 0; 
  display: none; 
  align-items: center; justify-content: center;
  z-index: 999999;
  overflow: auto; -webkit-overflow-scrolling: touch;
}

#entry-modal{
  position: fixed; inset: 0; display: none;
  align-items: center; justify-content: center; z-index: 999999;
  overflow: auto; -webkit-overflow-scrolling: touch;
}
.entry-card{
  width: min(92vw, 560px);
  max-height: min(92vh, 640px);
  overflow: auto;
  margin:auto;
}

#success-modal, #error-modal{
  position: fixed; inset: 0; display: none;
  align-items: center; justify-content: center;
  background: rgba(0,0,0,.85); z-index: 1000000;
}


/* iOS 100vh fix */
@supports (height: 100dvh){
  #entry-modal, #success-modal, #error-modal { min-height: 100dvh; }
}

/* Small screens */
@media (max-width: 480px){
  #entry-modal{ align-items: flex-start; padding: 16px; }
  .entry-card{ width: 100%; max-height: calc(100dvh - 32px); }
}

/* Modal base panel */
.modal-card-success {
  width: min(92vw, 560px);
  background: #000; color: var(--ink);
  border: 0px solid var(--line); border-radius: 11px;
  padding: 24px; font-family: "Cinzel", serif;
  box-shadow: 0 10px 40px rgba(0,0,0,.5);
  box-shadow:0 0 20px rgba(0,0,0,1),
             0 0 30px rgba(255,250,150,.4);
}

.fallback-note {
  margin-bottom:20px; 
  font-family:'Times New Roman', serif; 
  font-size:13px;
  opacity:0.5;
  margin-bottom:22px;
  margin-top:18px;
}

.modal-card {
  width: min(92vw, 560px);
  background: rgba(0,0,0,0.42); 
  color: var(--ink);
  border: 0px solid var(--line); 
  border-radius: 20px;
  padding: 24px; font-family: "Cinzel", serif;
  box-shadow: 0 0 40px rgba(255,250,180,.3);
  scroll-behavior:smooth;
  backdrop-filter:blur(17px)
}

#error-modal .modal-card {
  box-shadow: none;
  border:1px solid #333;
}

@media(max-width:480px) {
  .modal-card {
    position: fixed;
  }
}
/* Typography */
.center{text-align:center}
.title{margin:0;font-weight:600;letter-spacing:.06em;font-size:45px;}
.sub{margin:6px 0 2px;color:var(--ink);font-size:16px}
.note{margin:0 0 16px;margin-top:3px;color:var(--muted);}

.title, 
.note,
.key-label {
  text-shadow: 
    0 0 6px rgba(255, 250, 150,.9),
    0 0 12px rgba(255, 250, 150,.5);
}

/* Form rows */
.row{display:flex;gap:12px;align-items:center;margin:10px 0}
.row label{min-width:90px}
.input {
  flex: 1;
  background: #0b0b0b;
  color: var(--ink);
  border: 1px solid var(--line);
  padding: 10px 12px;
  border-radius: 0;
  font-family: "Times New Roman", Times, serif;
  font-size: 18px;
  letter-spacing: 0em;
  outline: none !important;
  box-shadow: none !important;
  color-scheme: dark;
  width: 90%;
  text-align:center
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
  -webkit-text-fill-color: var(--ink) !important;        /* text color */
  -webkit-box-shadow: 0 0 0 1000px #0b0b0b inset !important; /* background */
  -webkit-background-clip: padding-box !important;       /* prevent text clipping */
  transition: background-color 5000s ease-in-out 0s;     /* prevent flash */
}

/* Force Chrome to keep the correct color after autofill animation */
input:-internal-autofill-selected {
  background-color: #0b0b0b !important;
  color: var(--ink) !important;
}


.qty-native {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  text-align:center;  
}

.qty-dropdown {
  flex: 1;
  position: relative;
  background: #0b0b0b;
  color: var(--ink);
  border: 1px solid var(--line);
  padding: 10px 12px;
  font-family: "Times New Roman", Times, serif;
  font-size: 18px;
  cursor: pointer;
  user-select: none;
  text-align:center
}


.qty-selected::after {
  content: "\25BE";
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.4;
  transition:opacity 0.3s ease;
}

.qty-dropdown:focus-visible, 
.qty-selected::after,
.qty-dropdown:hover .qty-selected::after{
  opacity: 1;
  border-radius: 1px;
}


.qty-options {
  display: none;
  position: absolute;
  left: -1px;
  right: -1px;
  top: 100%;
  background: #0b0b0b;
  border: 1px solid var(--line);
  border-top: none;
  z-index: 20;
  cursor: default;
}

.qty-dropdown.open .qty-options {
  display: block;
}

.qty-option {
  padding: 10px 12px;
}

.qty-option.is-focused, 
.qty-option:hover {
  background: rgba(255, 255, 255, 0.08); /* subtle highlight */
}

.qty-option.sold-out {
  opacity:0.3;
  cursor: not-allowed;
  pointer-events:none;
  background: rgba(255, 255, 255, 0);
}

.checkbox {
  pointer-events:none;
  opacity:0.5;
}

#email-ok + span {
  font-family: "Times New Roman", Times, serif;
  font-size: 15px;
  color: #7A7A7A;
}

#email-ok {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border: 1px solid #7A7A7A;   
  border-radius: 2px;   
  display: inline-block;
  position: relative;
  cursor: pointer;
  background: transparent;
  line-height: 1;
}

#email-ok:checked::after {
  content: "\2713"; /* ✔ */
  position: absolute;
  top: 50%;                   
  left: 60%;                  
  transform: translate(-50%, -54%);
  font-size: 18px;           
  color: #7A7A7A;       
  pointer-events: none;    
}

.input:-webkit-autofill,
.input:-webkit-autofill:hover,
.input:-webkit-autofill:focus,
.input:-webkit-autofill:active{
  -webkit-text-fill-color: var(--ink) !important;
  caret-color: var(--ink);
  -webkit-box-shadow: 0 0 0 1000px #0b0b0b inset !important;
  box-shadow:        0 0 0 1000px #0b0b0b inset !important;
  transition: background-color 0s !important;
}

input.input:-moz-autofill {
  box-shadow: 0 0 0 1000px #0b0b0b inset !important;
  -moz-text-fill-color: var(--ink) !important;
}
select.input{appearance:none}

#payment-element{
  padding:10px;border:1px solid var(--line);background:rgba(0,0,0,0.6)
}
#opening-intent {
  opacity: 0.4;
  animation: breathe 1.6s ease-in-out infinite;
}
@keyframes breathe {
  0%   { opacity: 0.2; }
  50%  { opacity: 0.6; }
  100% { opacity: 0.2; }
}
#messages{color:#ffb3b3;min-height:20px;margin-top:13px;font-size:13px;text-align:center;}


.info-container {
  border:1px solid #2c2c2c;
  margin-bottom:10px;
  background:rgba(0,0,0,.6);
}

.tribute {
  text-align:center;
  margin:22px auto 0;
  font-weight:700;
  font-size:20px;
}

.entry-info {
  display:block;
  font-family:serif;
  text-align:center;
  font-weight:500;
  font-size:14px;
  width:90%;
  max-width:300px;
  margin:10px auto;
}

.price-line{
  margin:0 auto 10px auto;
  text-align:center;
  width:30%;
  padding: 5px;
  text-shadow: 0 0 11px rgb(255 250 150 / 70%);
  transform:scale(1);
  transition: text-shadow .9s ease, transform .9s ease;
  font-size:28px
}

.price-line.entry33 {
  width:30%;
  text-shadow:
    0 0 7px rgb(255,250,150,1),
    0 0 10px rgb(255, 250, 150,.9);
  transform:scale(1);
}

.support-line {
  margin:0 auto 10px;
  font-family:serif;
  font-size:13px;
  text-align:center;
  opacity:.6;
  letter-spacing:.05em;
  max-width:70%;
}

.actions{display:flex;gap:10px;margin-top:12px;justify-content:center}
.btn{
  appearance:none;
  border:1px solid #444;
  background:transparent;
  color:#fff;
  padding:6px 19px;
  cursor:pointer;
  letter-spacing:.05em;
  font-weight:600;
  border-radius: 3px; 
  outline:none !important;
  font-weight:400;
  box-shadow:none !important;
  -webkit-tap-highlight-color: transparent;
}
.btn:focus,
.btn:active {
  background: transparent !important;
  outline: none !important;
  box-shadow: none !important;
}
.btn:hover, 
.btn:focus-visible {
  border-color:#666;
  background:rgba(255,255,255,.05)
}

/* Disabled Pay button 
#entry-confirm:disabled {
  opacity: 1;
  background: #222;
  color: #aaa;
  border-color: #444;
  cursor: not-allowed;
}
#entry-confirm:disabled:hover,
#entry-confirm:disabled:active,
#entry-confirm:disabled:focus {
  background: #222 !important;
  color: #aaa !important;
  border-color: #444 !important;
  box-shadow: none !important;
} */



.ghost{border-color:#2b2b2b;color:#cfcfcf}

.success-title{
  margin:0 0 8px 0; 
  font-size:33px; 
  font-weight:700;
  text-shadow:
    0 0 10px rgba(255,255,255,01);
  color: rgb(255 255 255);
  letter-spacing:.06em; 
  text-align:center;
}
.success-text{
  margin:0; 
  color:#fff; 
  text-align:center; 
  font-size:15px;
}
.success-fallback {font-size:11px;}


@media (max-width:400px) {
  .success-title {font-size:8vw; white-space:nowrap}
  .success-text {font-size:3.5vw;}
  .success-fallback {font-size:3.3vw;}
}

@media (max-width:300px) {
  .success-title {font-size:22px; white-space:normal}
  .success-text {font-size:10px;}
  .success-fallback {font-size:9px;}
}

.success-actions{display:flex;justify-content:center;margin-top:16px}

.error-title{
  margin:0 0 8px 0; font-size:22px; font-weight:700;
  color: var(--err); letter-spacing:.06em; text-align:center;
}
.error-text{
  margin:0px auto;
  color:#fff;
  text-align:center;
  font-size:15px;
  user-select:text;
  max-width:220px;
  font-family:serif;
}
.error-actions{display:flex;justify-content:center;margin-top:16px}


.enter-btn, 
.secure-entry {
  font-family: 'Cinzel', serif;
  background: #fff;
  color: #000;
  border: 1px solid #fff;
  padding: 5px 18px;
  font-size: 16px;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.3s ease;
  appearance: none;
  -webkit-appearance: none;
  border-radius: 3px;
  outline: none;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  pointer-events:auto;
}

.enter-btn { font-weight:500; }
.secure-entry {margin:28px 0 36px 0; font-weight:400;}

.enter-btn:not([disabled]),
#entry-confirm:disabled,
.secure-entry {
  position: relative;
  box-shadow: 0 0 18px rgba(255, 250, 150, 0.7),
              0 0 28px rgba(255, 250, 150, 0.4);
  border-color: #fff;
  animation: microFloat 8s ease-in-out infinite;
  will-change: transform;
}

.enter-btn:not([disabled]):hover,
.enter-btn:not([disabled]):focus,
.secure-entry:hover,
.enter-btn:not([disabled]):focus-visible,
.secure-entry:focus-visible {
  background: #fff;
  color: #000;
  border: 1px solid #fff;

  box-shadow: 0 0 36px rgba(255, 250, 150, 0.9),
              0 0 46px rgba(255, 250, 150, 0.5);
}


/* Tiny drift, no scale/opacity changes */
@keyframes microFloat {
  0%, 100%   { transform: translate3d(0, 0, 0); }
  25%        { transform: translate3d(0, -0.5px, 0); }
  50%        { transform: translate3d(0.5px, -1px, 0); }
  75%        { transform: translate3d(-0.5px, -0.5px, 0); }
}

/* button v2 

.enter-btn {
  position: relative;
  font-family: 'Cinzel', serif;
  font-size: 18px;
  letter-spacing: 1px;
  color: #fff;
  background: radial-gradient(circle at center, #d7b75b 0%, #a8832f 60%, #8b6a1f 100%);
  border: none;
  border-radius: 4px;
  padding: 9px 18px;
  cursor: pointer;
  text-shadow: 0 0 6px rgba(255, 220, 130, 0.8);
  box-shadow: 0 0 18px rgba(255, 215, 100, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: enterGlow 2.2s ease-in-out infinite;
}

@keyframes enterGlow {
  0%, 100% {
    box-shadow: 0 0 14px rgba(255, 235, 150, 0.45),
                0 0 35px rgba(255, 210, 90, 0.25);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 28px rgba(255, 240, 170, 0.8),
                0 0 60px rgba(255, 220, 120, 0.4);
    transform: scale(1.04);
  }
}
*/







.enter-btn:focus,
.enter-btn:active {
  background: #fff;
  color: #000;
  border: 1px solid #fff;
  box-shadow: none;
}

.enter-btn:focus-visible {
  background: #fff;
  color: #000;
  border: 1px solid #fff;
}

.enter-btn[disabled],
#entry-confirm:disabled {
  background: rgba(0,0,0,.6);
  color: rgba(255,255,255,0.6);
  border-color: rgba(255,255,255,0);
  box-shadow: 0 0 22px rgba(255, 250, 150, 0.5),
              0 0 33px rgba(255, 250, 150, 0.2);
  pointer-events:none;
  opacity: 1;
}

.enter-btn::-moz-focus-inner { border: 0; }

.enter-wrapper { text-align: center; margin: 0px 0; }



.modal-card, .modal-card-success { position: relative; }

.modal-card, .modal-card-success { position: relative; }

button.modal-close {
  all: unset;
  position: sticky;
  top: 0px;
  float: right;
  right: 15px;  
  z-index:90;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  color: #aaa;
  -webkit-appearance: none;
  appearance: none;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  outline: none !important;
  -webkit-tap-highlight-color: transparent;
}

button.modal-close:hover,
button.modal-close:active,
button.modal-close:focus-visible {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  outline: none !important;
  color: #fff;
}

/* Firefox inner focus quirk */
button.modal-close::-moz-focus-inner { border: 0; padding: 0; }


/* ----------------------------------------------------------
   SIMPLIFIED KEY BLOCK
---------------------------------------------------------- */
.key-block {
  position: relative;
  margin: 0 0 25px 0;
  border: 0px solid rgba(255,255,255,0.35);
  background: rgba(0,0,0,0.7);
  border-radius: 0px;
  overflow: hidden;
  box-shadow:
    0 0 10px rgba(0, 0, 0, 0.7),
    0 0 20px rgba(255, 250, 150, 0.30) inset;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
}

#key-yes, #key-no {
  background:none;
  border:0px solid #444;
  box-shadow:0 0 10px rgb(255,250,150,0.4)inset;
  border-radius:4px;
  padding:4px 13px;
  opacity:.6;
  color:#fff;
  cursor:pointer;
  margin:0 13px;
  transition:opacity .4s ease;
}

#key-yes:hover, 
#key-no:hover,
#key-yes:focus-visible, 
#key-no:focus-visible {
  box-shadow:0 0 15px rgb(255,250,150,0.5)inset;
  opacity:1;
}

.key-center {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}


.key-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px; /* controls all vertical spacing */
}

/* Label */
.key-label {
  font-family: 'Cinzel', serif;
  font-size: 18px;
  font-weight:500;
  letter-spacing: 0.05em;
  color: #fff;
  margin-bottom: 6px;
}

.key-toggle {
  position:relative
}

.toggle-key-on {
  position:absolute;
  padding:10px;
  bottom:0px;
  right:0px;
  width:33px;
  opacity:.3;
  cursor:pointer;
}

.toggle-key-off {
  position:absolute;
  padding:10px;
  bottom:0px;
  right:0px;
  width:33px;
  cursor:pointer;
  opacity:1;
}


.key-toggle-on,
.key-toggle-off {
  position:absolute;
  bottom:-17px;
  right:7px;
  padding:7px;
  opacity:.5;
  cursor:pointer;
}

/* Input */
.key-input {
  text-align: center;
  background: rgba(0,0,0,0.74);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 2px;
  font-family: serif;
  font-size: 16px;
  letter-spacing: 0.08em;
  color: #fff;
  padding: 8px 10px;
  transition: all 0.3s ease;
  width: 100%;
}

.key-input:focus {
  border-color: rgba(255,255,255,0.6);
  box-shadow: 0 0 8px rgba(255,255,255,0.15);
  outline: none;
}

/* Verify button */
.key-btn-wrap {margin: 10px auto 20px;}

.key-btn, 
.key-btn:focus {
  display:block;
  font-family: 'Cinzel', serif;
  background: transparent;
  border: 0px solid rgba(255,255,255,0.4);
  border-radius:1px;
  color: #fff;
  font-size: 14px;
  letter-spacing: 0.05em;
  cursor: pointer;
  border-radius: 2px;
  transition: all 0.3s ease;
  background: transparent !important; 
  box-shadow: 0 0 10px rgb(255,250,150,0.4)inset;
  outline: none !important; 
  -webkit-tap-highlight-color: transparent !important; 
}

.key-group {
  display: flex;
  align-items: center;
  gap: 10px; /* space between input and button */
  justify-content: center; /* optional */
  margin-bottom:10px;
}

/* Feedback message */
.key-msg {
  margin: 0 0 10px 0; /* remove double spacing */
  font-family: 'Cinzel', serif;
  font-size: 11px;
  letter-spacing: 0.03em;
  color: #fff;
  text-shadow:0 0 2px rgba(0,0,0),0 0 3px rgba(0,0,0);
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

.key-msg.valid {
  color: #999999;
  text-shadow: 0 0 6px rgba(0,0,0,0.3);
}
.key-msg.invalid {
  color: #ffb3b3;
  text-shadow: 0 0 6px rgba(0,0,0,0.3);
}

/* Placeholder color */
.key-input::placeholder {
  color: rgba(255, 255, 255, 0.25); /* soft white */

  font-style: italic;          /*    optional: gives it a whispered tone */
}

#entry-key::placeholder { text-transform:none; }


.payment-method-tabs {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-bottom:25px;
}

.payment-tab {
  padding: 8px 16px;
  border: 0px solid rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.11);
  color: white;
  cursor: pointer;
  text-transform: uppercase;
  font-weight: bold;
}

.payment-tab:hover,
.payment-tab:focus-visible {
  background: rgba(255,255,255,0.18);
  border-radius: 1px;
}

.payment-tab.active {
  background: rgba(255,255,255,0.22);
}

#cash-box {
  font-family:'Times New Roman';
  background:#000;
  text-align:center;
  padding: 39px 90px 0px 90px;
  border: 1px solid #333;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center; 
}
@media(max-width:590px){
  #cash-box {
    padding: 30px 9vw 0px 9vw;
  }
}
@media(max-width:562px){
  #cash-box {
    text-align:center;
  }
}
#cash-box h {font-family:'Cinzel'}
#cash-box p {margin-bottom:18px}

#cash-name {text-align:center}

#cash-submit {
  padding:8px 20px;
  margin: 20px auto 0;
  display: block;
  background:rgba(0,0,0,0);
  color:#fff;
  border:1px solid #666;
  cursor:pointer;
}

#cash-submit:hover,
#cash-submit:focus-visible {
  border:1px solid #fff;
}

.cash-feedback {
  opacity: 0;
  transition: opacity 0.4s ease;
  margin: 13px 0;
  line-height: 1.2;
  font-size: 0.9rem;
  text-align:center;
}
.cash-feedback.visible {
  opacity: 1;
}

.cash-feedback.error {
  color: #ffb3b3;
}

#crypto-box {
  font-family:'Times New Roman';
  background:#000;
  padding: 40px 0px;
  text-align:center;
  border: 1px solid #333;
}

#crypto-box h3{
  margin:-10px 0 0 0;
  font-family:'Cinzel';
  font-weigh:500;
  padding:0 16px;
  text-shadow:0 0 10px rgba(255,255,255,1);
}

#crypto-box p {
  
}

#new-order {
  position: relative;
  margin:28px 0 36px 0;
  border:none;
  padding:5px 18px;
  box-shadow: 0 0 18px rgba(255, 255, 255, 0.7),
              0 0 28px rgba(255, 255, 255, 0.4);
  color:#000;
  animation: microFloat 8s ease-in-out infinite;
  will-change: transform;
  cursor:pointer;
  transition:
    background 0.3s ease-in-out, 
    color 0.3s ease-in-out,
    box-shadow 0.3s ease-in-out;
}

#new-order:hover,
#new-order:focus-visible {
  box-shadow: 0 0 26px rgba(255, 255, 255, 0.9),
              0 0 36px rgba(255, 255, 255, 0.5);
  border-radius:2px;
}

#new-order:disabled {
  background: #000;
  color: #777;
  cursor: not-allowed;
  opacity: 1;
}

#new-order:disabled:hover {
  box-shadow: 0 0 18px rgba(255, 255, 255, 0.7),
              0 0 28px rgba(255, 255, 255, 0.4);
}

#crypto-amount {
  word-break: break-all; 
  user-select: text !important;
  -webkit-user-select: text;
  -moz-user-select: text;
  -ms-user-select: text;
}

#crypto-address {
  user-select: text;
  padding:0 50px;
  font-family:arial;
  font-size:12px;
  opacity:1;
  margin-top:30px;
}

.crypto-address-container {
  position: relative;
  align-items: center;
  margin: 0 auto;
  border: 1px solid #444; 
  border-radius: 6px; 
  width: 253px; 
  padding: 20px 0 0px 0;  
}

@media(max-width:370px) {
  .crypto-address-container {
    width: 69vw; 
  }
}

.crypto-address-div {
  position: relative;
  align-items: center; 
  justify-content: space-between; 
  font-family: monospace;
  text-align:center;
}

#crypto-address {
  margin: 0;
  word-break: break-all; 
  user-select: text !important;
  -webkit-user-select: text;
  -moz-user-select: text;
  -ms-user-select: text;
  flex: 1; /* takes available space */
  text-align: center;
  overflow-x: auto;
}

#crypto-qr {
  width: 128px;
  height: 128px;
  position: relative;
  display:flex;
  margin: 20px auto;
}

#copy-btn {
  position: absolute;
  right: 8px; 
  top: 50%; 
  transform: translateY(-50%);
  padding: 6px 12px;
  border: none;
  opacity:0.6;
  background:none;
  border-radius: 4px;
  cursor: pointer;
}

#copy-btn:focus-visible,
#copy-btn:hover {
  opacity:1;
}
