:root{
  --accent:#dc143c;
  --bg:#0a0a0a;
  --card:rgba(255,255,255,0.03);
  --border:rgba(255,255,255,0.06);
  --text:#ffffff;
  --green:#00ff6a;
  --blue:#00eaff;
}

*{
  box-sizing:border-box;
  -webkit-tap-highlight-color:transparent;
}

html, body {
  touch-action: pan-x pan-y;
  overscroll-behavior: none;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  background: #000;
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  color: var(--text);
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  position: relative;
  background: transparent;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  transform: translateZ(0);

  background:
    linear-gradient(rgba(0,0,0,.75), rgba(0,0,0,.9)),
    url("../imagens/fundo.png");

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.snow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.snow::before,
.snow::after {
  content: "";
  position: absolute;
  inset: -200%;
  background-image:
    radial-gradient(2px 2px at 20% 30%, rgba(255,255,255,.8), transparent),
    radial-gradient(1.5px 1.5px at 80% 40%, rgba(255,255,255,.6), transparent),
    radial-gradient(1px 1px at 50% 70%, rgba(255,255,255,.5), transparent),
    radial-gradient(2px 2px at 10% 80%, rgba(255,255,255,.7), transparent);
  background-size: 400px 400px;
  animation: snow 60s linear infinite;
}

.snow::after {
  animation-duration: 120s;
  opacity: .6;
}

@keyframes snow {
  from { transform: translateY(0); }
  to { transform: translateY(50%); }
}

#toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(100%);
  background: linear-gradient(45deg,#dc143c,#ff003c);
  color: white;
  padding: 12px 25px;
  border-radius: 50px;
  font-family: 'Press Start 2P', cursive;
  font-size: 12px;
  font-weight: bold;
  box-shadow: 0 0 15px rgba(220,20,60,0.5);
  opacity: 0;
  pointer-events: none;
  transition: all 0.5s ease;
  z-index: 9999;
}

#toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

#toastStatus {
  position: fixed;
  top: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(-100%);
  background: linear-gradient(45deg,#dc143c,#ff003c);
  color: white;
  padding: 14px 28px;
  border-radius: 50px;
  font-family: 'Press Start 2P', cursive;
  font-size: 12px;
  font-weight: bold;
  box-shadow: 0 0 15px rgba(220,20,60,0.6);
  opacity: 0;
  pointer-events: none;
  transition: all 0.5s ease, box-shadow 0.5s ease;
  z-index: 9999;
}

#toastStatus.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  animation: glow 1.2s infinite alternate;
}

@keyframes glow {
  0% { box-shadow: 0 0 15px rgba(220,20,60,0.6); }
  100% { box-shadow: 0 0 30px rgba(220,20,60,1); }
}
#visitorInfo {
  width: 90%;
  max-width: 400px;
  margin: 20px auto 50px auto;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 18px;
  padding: 20px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-family: 'Press Start 2P', cursive;
  color: #ffffff;
  backdrop-filter: blur(8px);
  box-shadow: 0 0 15px rgba(220,20,60,0.3);
  transition: all 0.3s ease;
}

#visitorInfo h3 {
  font-size: 12px;
  color: #dc143c;
  margin-bottom: 8px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

#visitorInfo p {
  font-size: 11px;
  margin: 2px 0;
  opacity: 0.85;
  color: #ffffff;
  letter-spacing: 1px;
  transition: all 0.25s ease;
}

#visitorInfo:hover {
  box-shadow: 0 0 25px rgba(220,20,60,0.6);
  transform: translateY(-2px) scale(1.01);
}

.header{
  width:90%;
  max-width:1000px;
  margin-top:25px;
  display:flex;
  align-items:center;
  justify-content:space-between;
}

.menu-btn{
  font-size:22px;
  background:none;
  border:none;
  color:white;
  cursor:pointer;
  transition:.2s;
}

.menu-btn:hover{
  transform:scale(1.2);
}

.header h1{
  font-family:'Press Start 2P', cursive;
  font-size:14px;
  margin:0;
  letter-spacing:2px;
}

.header h1 span{
  color:var(--accent);
}

.sidebar{
  position:fixed;
  top:0;
  left:-260px;
  width:260px;
  height:100%;
  background:#0a0a0a;
  border-right:1px solid var(--border);
  padding-top:70px;
  transition:0.3s;
  z-index:1000;
  display:flex;
  flex-direction:column;
}

.sidebar.open{
  left:0;
}

.sidebar-title{
  padding:10px 22px;
  font-size:11px;
  letter-spacing:2px;
  text-transform:uppercase;
  color:#777;
  margin-bottom:6px;
}

.sidebar a{
  display:flex;
  align-items:center;
  gap:12px;
  padding:14px 22px;
  color:#bbb;
  text-decoration:none;
  font-size:14px;
  border-left:3px solid transparent;
  transition:all .25s ease;
}

.sidebar a span{
  font-size:20px;
}

.sidebar a:hover{
  background:rgba(220,20,60,0.08);
  color:white;
  border-left:3px solid var(--accent);
  padding-left:28px;
}

.sidebar-divider{
  height:1px;
  background:var(--border);
  margin:10px 18px;
}

.overlay{
  position:fixed;
  top:0;
  left:0;
  width:100%;
  height:100%;
  background:rgba(0,0,0,0.45);
  opacity:0;
  pointer-events:none;
  transition:0.3s;
  z-index:900;
}

.overlay.active{
  opacity:1;
  pointer-events:auto;
}

.stats{
  display:flex;
  gap:12px;
  margin-top:15px;
  flex-wrap:wrap;
}

.stats span{
  background:var(--card);
  border:1px solid var(--border);
  padding:6px 12px;
  border-radius:50px;
  font-size:12px;
}

.welcome-section{
  width:90%;
  max-width:1000px;
  margin-top:30px;
  padding:10px 0;
  background:none;
  border:none;
  box-shadow:none;
}

.welcome-section h2{
  margin:0;
  font-family:'Press Start 2P', cursive;
  font-size:14px;
  color:#ff003c;
}

.welcome-section p{
  margin-top:6px;
  font-size:11px;
  color:#ffffff;
  font-family:'Press Start 2P', cursive;
}

.typing::after{
  content: "|";
  margin-left:4px;
  animation: blink 1s infinite;
}

@keyframes blink{
  0%, 50%, 100% { opacity: 1; }
  25%, 75% { opacity: 0; }
}

.grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
  gap:18px;
  width:90%;
  max-width:1000px;
  margin-bottom:50px;
}

.card{
  background:var(--card);
  border:1px solid var(--border);
  padding:22px 15px;
  border-radius:18px;
  text-align:center;
  color:white;
  transition:.25s;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:6px;
}

.card:hover{
  transform:translateY(-6px) scale(1.02);
  border-color:var(--accent);
  background:rgba(220,20,60,0.05);
  box-shadow:0 0 25px rgba(220,20,60,0.2);
}

.card h3{
  margin:0;
  font-size:12px;
  letter-spacing:1px;
  font-family:'Press Start 2P', cursive;
  color:var(--blue);
}

.card p{
  margin:2px 0 4px 0;
  font-size:10px;
  font-family:'Press Start 2P', cursive;
}

.price{
  color:var(--green);
  font-weight:bold;
  font-size:14px;
  font-family:'Press Start 2P', cursive;
}

.btn-access{
  background:linear-gradient(45deg,#dc143c,#ff003c);
  border:none;
  color:white;
  padding:8px 16px;
  border-radius:50px;
  font-size:10px;
  font-weight:bold;
  text-transform:uppercase;
  cursor:pointer;
  margin-top:10px;
  transition:.25s;
  box-shadow:0 0 12px rgba(220,20,60,.5);
}

.btn-access:hover{
  transform:scale(1.08);
  box-shadow:0 0 20px rgba(220,20,60,.9);
}

.btn-access:active{
  transform:scale(.95);
}

.signature img{
  width:38px;
  height:38px;
  border-radius:50%;
  object-fit:cover;
  border:2px solid var(--accent);
  box-shadow:0 0 12px rgba(220,20,60,0.6);
}

#pixModal{
  display:none;
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.9);
  align-items:center;
  justify-content:center;
  z-index:999;
  backdrop-filter:blur(6px);
}

.pix-box{
  background:#111;
  padding:25px;
  border-radius:18px;
  width:90%;
  max-width:360px;
  text-align:center;
  border:1px solid rgba(255,255,255,.1);
  animation:modalOpen .3s ease;
}

@keyframes modalOpen{
  from{transform:scale(.8);opacity:0}
  to{transform:scale(1);opacity:1}
}

#qrImg{
  width:200px;
  margin-top:10px;
  border-radius:10px;
  box-shadow:0 0 20px rgba(0,0,0,.6);
}


#pixStatus{
  margin-top:10px;
  font-weight:bold;
  color:var(--green);
  animation:pulse 1.2s infinite;
}

@keyframes pulse{
  0%{opacity:1}
  50%{opacity:.4}
  100%{opacity:1}
}

.buyers-card{
  display:flex;
  align-items:center;
  gap:8px;
  background:none;
  border:none;
  padding:6px 10px;
  border-radius:0;
  font-family:'Press Start 2P', cursive;
  color:white;
  transition: all 0.25s ease;
}

.buyers-card:hover{
  transform:translateY(-1px);
  text-shadow:0 0 8px rgba(255,255,255,0.4);
}

.buyers-card .material-symbols-rounded{
  font-size:20px;
  color:#ff003c;
}

.buyers-card .buyers-info{
  display:flex;
  flex-direction:column;
  line-height:1;
}

.buyers-card strong{
  font-size:13px;
  color:#ffffff;
}

.buyers-card p{
  margin:0;
  font-size:9px;
  color:#aaa;
  letter-spacing:1px;
}

#snow{
  position:fixed;
  top:0;
  left:0;
  width:100%;
  height:100%;
  pointer-events:none;
  z-index:-1;
}

.verify-token-box{
  width:90%;
  max-width:1000px;
  margin-bottom:60px;
  background:var(--card);
  border:1px solid var(--border);
  border-radius:18px;
  padding:25px;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:10px;
  text-align:center;
}

.verify-token-box h3{
  margin:0;
  font-family:'Press Start 2P', cursive;
  font-size:12px;
  color:var(--blue);
}

.verify-token-box p{
  font-size:12px;
  opacity:.7;
  margin:0 0 8px 0;
}

.verify-token-box input{
  width:100%;
  max-width:350px;
  padding:12px;
  border-radius:12px;
  border:1px solid var(--border);
  background:var(--card);
  color:white;
  outline:none;
  text-align:center;
}

.verify-token-box input:focus{
  border-color:var(--accent);
  box-shadow:0 0 10px rgba(220,20,60,.4);
}

.verify-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  justify-content:center;
  margin-top:5px;
}

.verify-actions a{
  text-decoration:none;
  display:flex;
  align-items:center;
  justify-content:center;
}

.btn-access.btn-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.plans-toggle{
  width:90%;
  max-width:1000px;
  margin:20px auto 10px auto;
  padding:14px 0;
  background:none;
  border:none;
  border-radius:0;
  display:flex;
  justify-content:space-between;
  align-items:center;
  cursor:pointer;
  font-family:'Press Start 2P', cursive;
  font-size:12px;
  color:#ff003c;
  transition:0.25s;
}

.plans-toggle:hover{
  color:#ffffff;
  text-shadow:0 0 8px rgba(0,234,255,0.8);
}

.plans-toggle .material-symbols-rounded{
  font-size:20px;
  transition:transform 0.3s ease;
}

.plans-grid{
  display:none;
  width:90%;
  max-width:1000px;
  margin:0 auto 50px auto;
}

.plans-grid .card{
  min-height:170px;
  justify-content:space-between;
}

.popular{
  position:relative;
  box-shadow:0 0 20px rgba(0,255,106,0.25);
  transform:scale(1.02);
}

.badge{
  position:absolute;
  top:10px;
  right:10px;
  background:#00ff6a;
  color:#000;
  padding:5px 10px;
  border-radius:50px;
  font-size:8px;
  font-family:'Press Start 2P', cursive;
}
.btn-cancel{
  width:100%;
  margin-top:10px;
  padding:10px;
  border-radius:50px;
  border:1px solid rgba(255,255,255,0.1);
  background:transparent;
  color:#ff4b4b;
  font-family:'Press Start 2P', cursive;
  font-size:10px;
  cursor:pointer;
  transition:.25s;
}

.btn-cancel:hover{
  background:rgba(255,75,75,0.08);
  box-shadow:0 0 15px rgba(255,75,75,0.4);
  transform:scale(1.05);
}

.btn-cancel:active{
  transform:scale(.95);
}