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

html {
    background: linear-gradient(135deg,#e0b274 0%, #e0b274 100%);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(135deg, #009c45 0%, #f7f300 40%, #f7f30075 50%, #f7f300 60%, #009c45 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    color: #ddd;
    overflow-x: hidden;
    user-select: none;
    -webkit-user-select:none;
}

@media screen and (min-width: 500px) {
    body {
        max-width: 500px;
        margin: 0 auto;
    }
}

.container{display: flex;flex-direction: row;flex-wrap: wrap;}

.header {
    position: relative;
    flex: 1;
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.address-display {
    font-family: monospace;
    font-size: 14px;
    padding: 17px 12px;
    background: rgba(255, 255, 255, 0.1);
    flex: 1;
    min-width: 100px;
}

.balance-container {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.1);
}

.balance {
    font-weight: bold;
    font-size: 16px;
}

.available-supply {
    display: inline-block;
    padding: 0 5px 0 5px;
}

.icon-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    padding: 8px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    transition: all 0.3s;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.main-content {
    display: flex;
    max-height: 500px;
    position: relative;
}
.main-content img {
    flex: 1;
    width: 100%;
}

.buy-button {
    background: linear-gradient(135deg, #f7f300 0%, #009c45 100%);
    border: none;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    font-size: 32px;
    font-weight: bold;
    color: black;
    cursor: pointer;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    transition: all 0.3s;
    position: relative;
    z-index: 10;
}

.buy-button:hover:not(:disabled) {
    transform: scale(1.05);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.4);
}

.buy-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.content-header {flex: 1;display: flex;justify-content: space-between;flex-direction: column;position: absolute;top: 0px;width: 100%;background: rgba(0, 0, 0, 0.15);}

.user-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding: 0 10px;
    font-size: 17px;
    font-weight: 800;
    color: #333;
    text-shadow: 1px 1px 2px rgb(252, 252, 252);
}

.number-flip {font-size: 17px;height: 17px !important;}

.p-4 {padding: 20px;}
.pt-1 {padding-top: 5px !important;}
.pb-1 {padding-bottom: 5px;}
.pb-2 {padding-bottom: 10px;}
.mt-1 {margin-top: 5px;}
.mt-2 {margin-top: 10px;}
.mb-1 {margin-bottom: 5px;}
.mb-2 {margin-bottom: 10px;}
.ml-1 {margin-left: 5px;}
.mr-1 {margin-right: 5px;}

.text-center {text-align: center;}
.relative {position: relative;}

.user-border {
    padding-bottom: 10px;
    border-bottom: 1px dashed #fff;
}

.price-display {
    display: flex;
    margin-top: 5px;
    font-size: 17px;
    font-weight: bold;
}

#priceDisplay, #pepeBalance {padding: 0 5px 0 5px;display: inline-block;}
#priceDisplay {padding-right: 10px;font-size: 17px;}

.footer {
    flex: 1;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    background-color: #201710;
}

.pepe-container {
    width: 120px;
    height: 120px;
    position: relative;
}

.pepe-frog {
    width: 100%;
    height: 100%;
    font-size: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.pepe-frog img {
    width: 120px;
    height: 120px;
}

@keyframes spin3D {
  from { transform: rotateY(0deg) }
  to { transform: rotateY(360deg) }
}
.spin3D { animation: spin3D 3s ease-in-out infinite; }

.button-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-btn {
    background: rgba(73, 73, 73, 0.5);
    backdrop-filter: blur(10px);
    border: none;
    padding: 12px 24px 12px 10px;
    border-radius: 12px;
    color: #ddd;
    font-weight: bold;
    text-align: left;
    cursor: pointer;
    transition: all 0.3s;
}

.footer-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

#holdersList {margin-bottom: 100px;}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(1.25rem);
    background: rgba(0, 0, 0, .15);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
    animation: bounceIn 300ms both;
}

.modal-content {
    background: linear-gradient(180deg,rgba(255,255,255,.05),rgba(255,255,255,.05));
    color: #ddd;
    text-shadow: 0px 0px 4px #000;
    padding: 30px;
    border-radius: 20px;
    max-width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: .0625rem solid rgba(255, 255, 255, .3);
    backdrop-filter: blur(1.25rem);
}

.modal-header {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #ddd;
}

.modal-close {
    float: right;
    font-size: 28px;
    cursor: pointer;
    color: white;
    background-color: black;
    padding: 0px 10px 5px 10px;
    border-radius: 100%;
}

input, textarea {
    width: 100%;
    padding: 12px;
    margin: 10px 0 2px 0;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    background: rgba(255, 255, 255, 0.9);
}

.checkbox {width: revert;margin-right: 10px;}
.checkbox-label {display: block;}

.notice {
    color: greenyellow;
    font-size: 14px;
}

.max {
    border: .0625rem solid rgba(255, 255, 255, .3);
    padding: 3px 5px 5px 5px;
    display: inline-block;
    float: right;
    border-radius: 10px;
    margin-top: 7px;
    font-size: 15px;
    color: greenyellow;
}

.btn {
    background: linear-gradient(135deg, #009c45 0%, #f7f300 100%);
    border: none;
    padding: 12px 24px;
    border-radius: 12px;
    color: #ddd;
    font-weight: bold;
    cursor: pointer;
    width: 100%;
    margin-top: 10px;
    font-size: 16px;
}

.btn:hover {
    opacity: 0.9;
}

.holders-list {
    list-style: none;
    padding: 0;
}

.holder-item {
    background: rgba(255, 255, 255, 0.1);
    color: black;
    padding: 15px;
    margin: 10px 0;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    opacity: 0;
    transform: translateX(100%);
    transition-property: opacity, transform;
    transition-duration: 0.3s;
    transition-timing-function: cubic-bezier(0.750, -0.015, 0.565, 1.055);
}

.holder-toggler:checked ~ .holders-list li {
    opacity: 1;
    transform: translateX(0);
    transition-delay: calc(0.055s * var(--i));
}

.holder-rank {
    font-size: 16px;
    font-weight: bold;
    font-variant: tabular-nums;
    margin-right: 5px;
    display: inline-block;
    width: 40px;
    text-align: right;
}

.holder-address {
    flex: 1;
    font-family: monospace;
    font-size: 14px;
    text-align: left;
    margin-left: 20px;
}

.holder-balance {
    font-size: 16px;
    font-weight: bold;
    font-variant: tabular-nums;
    margin-left: 10px;
}

.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

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

.status-message {
    position: fixed;
    top: 40px;
    left: 40%;
    transform: translateX(-40%);
    padding: 12px 24px;
    background: rgba(0, 0, 0, 0.8);
    border-radius: 8px;
    z-index: 2000;
    display: none;
}

.status-message.show {
    display: block;
}

.zoomIn {
    animation: zoomIn 300ms both;
}

.zoomOut {
    animation: zoomOut 300ms both;
}

.bounceIn {
    animation: bounceIn 300ms both;
}

.bounceOut {
    animation: bounceOut 300ms both !important;
}

@keyframes zoomIn {
    0% {
        opacity: 0;
        transform: scale3d(.3, .3, .3)
    }
    50% {
        opacity: 1
    }
}

@keyframes zoomOut {
    0% { opacity: 1 }
    50% {
        opacity: 0;
        transform: scale3d(.3, .3, .3)
    }
    100% { opacity: 0 }
}

@keyframes bounceIn {
    0% {
        scale: 100%;
    }
    50% {
        scale: 120%;
    }
    100% {
        scale: 100%;
    }
}

@keyframes bounceOut {
    0% {
        scale: 100%;
    }
    50% {
        scale: 120%;
    }
    100% {
        scale: 10%;
    }
}

.page {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #009c45 0%, #00d15c 30%, #f7f30050 50%, #00d15c 70%, #009c45 100%);
    z-index: 999;
    overflow-y: auto;
}

.page.active {
    display: block;
}

.page-header {
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
}

.back-btn {
    background: none;
    border: none;
    color: #ddd;
    font-size: 24px;
    cursor: pointer;
}
.va {vertical-align: middle !important;}
.icon {
  max-width: unset;
  width: 24px;
  height: 24px;
  vertical-align: top;
  cursor: pointer;
  margin-right: 10px;
}
.star {
    position: absolute;
    top: 2px;
    left: 5px;
    z-index: -1;
}
.star2 {
    position: absolute;
    top: -14px;
    right: -10px;
}
.thestar {
  position: absolute;
  font-size: 36px;
  pointer-events: none;
  user-select: none;
  opacity: 0;
  animation: sparkleOnce 3.5s ease-out forwards;
}

@keyframes sparkleOnce {
  0% {
    opacity: 0;
    transform: scale(0) rotate(0deg);
  }
  20% {
    opacity: 1;
    transform: scale(1.3) rotate(15deg);
  }
  60% {
    opacity: 1;
    transform: scale(1.1);
    text-shadow: 0 0 20px #fff, 0 0 40px #ffe400;
  }
  100% {
    opacity: 0;
    transform: scale(0.8);
  }
}
.tour-step {
    background: linear-gradient(135deg, #009c45 0%, #f7f300 100%) !important;
    color: #222;
    position: absolute;
    width: 300px;
    z-index: 1000;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    padding: 0 10px 10px 10px;
}
#tour-button {background-color: #009c45;color: #fff;padding:5px;border-radius: 10px;border: solid 1px #f7f300;float: right;}
#skip-tour {background-color: #f7f300;color: #000;padding: 5px;border-radius: 10px;border: solid 1px #009c45;}
#tour-title{font-size: 1.5rem;}
p#tour-content {font-size: 1rem;}
.step-1 { top: 55px; left: 85px; }
.step-2 { top: 200px; right: 50px; }
.step-3 { bottom: 100px; left: 50%; transform: translateX(-50%); }
.touritem {
    border: solid 1px #000;
    border-radius: 10px;
    padding: 7px;
    background: #13e50d55;
}
.is-hidden {display: none !important;}
.is-pulled-left {float: left;}
.is-centered {justify-content: center;display: flex;align-items: center;}

canvas { position: absolute; top: 0; left: 0; pointer-events: none; z-index: 999}
#privateKeyText, #privateKey58Text, #importpk {color: transparent;text-shadow: 0 0 8px #000;}
#qrpubkey img {
    display: none !important;
}
#qrpubkey canvas {
    display: block !important;
    position: unset;
}
#qrpubkey2 {float: left;margin-left: 10px;color: #000;font-family: courier;padding-top: 7px;text-shadow: 0px 0px 4px white;}

#cc{display:none; border: none;padding: 0;margin: 0;}
.pointer {cursor: pointer;}
.icon-chevron-down {transform: rotate(-90deg);}
.frog {
    position: absolute;
    font-size: 30px;
    transform: translateX(-50%);
}
@keyframes floatUp {
    0% {
        transform: translateY(0);
        opacity: 1;
    }
    100% {
        transform: translateY(-50vh);
        opacity: 0;
    }
}

.qrfrog {
    position: absolute;
    top: 39px;
    left: 39px;
    font-size: 36px;
    background: #1ee618;
    padding: 5px;
    border-radius: 50%;
    line-height: 36px;
    border: solid 4px black;
}
