.section2 {

  text-align: center;
}

.section2__text {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 14px;
  color: #3c3c3c;
  font-weight: 700;
}

.rr3{
  padding-top: 0px;
}

.section2__progressBarContainer {
  flex: 1;
  height: 13px !important;

  border-radius: 10px;
  overflow: hidden;
}

.buy-now {
  position: relative;
  font-size: 24px;
  padding: 0 10px;
  margin: 15px 25px 0px 25px;
  color: white;
  text-align: center;
}

.buy-now::before,
.buy-now::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 30%;
  height: 3px;
  background-color: rgb(255, 255, 255);
}

.buy-now::before {
  left: 0;
}

.buy-now::after {
  right: 0;
}

.card-change {
  position: relative;
  z-index: 1; /* establish stacking context */
  
  background-image: url('./images/072a65f7-d499-4c2b-bf7f-04965eb50b45.webp') !important;
  background-position: center !important;
  background-size: cover !important;
  margin-top: 50px !important;
  width: 80% !important;
  border-radius: 8px;

  background: linear-gradient(145deg, #1a120b, #0e0b07);

  border: 3px solid #b8860b; /* antique gold */

  box-shadow:
    inset 0 0 18px rgba(0, 0, 0, 0.9),
    0 14px 38px rgba(0, 0, 0, 0.85),
    0 0 12px rgba(184, 134, 11, 0.25);

  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);

  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  overflow: hidden;

  font-family: 'MedievalSharp', cursive !important;
  color: #f5deb3; /* parchment-gold text */
  letter-spacing: 1.2px;
}

/* Content inside the card always above overlays */
.card-change > * {
  position: relative;
  z-index: 2;
}

/* Ornamental glowing inner frame */
.card-change::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 6px;
  border: 2px double rgba(218, 165, 32, 0.6);
  pointer-events: none;
  box-shadow: inset 0 0 14px rgba(218, 165, 32, 0.15);
  z-index: 1;
}

/* Overlay effect (behind everything) */
.card-change::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0.7) 100%);
  mix-blend-mode: multiply;
  pointer-events: none;
  z-index: 0; /* sits at the very back */
}




/* Responsive adjustments */
@media screen and (max-width: 580px) {
  .card-change {
    width: 100% !important;
    margin-top: 90px !important;
  }
}

/* Container for progress bar */
.section2__progressBarContainer {
  margin-top: 10px;
  position: relative;
  width: 100%;
  max-width: 320px;
  margin-left: auto;
  margin-right: auto;
  font-family: 'MedievalSharp', cursive;
}

/* Progress Bar Cell (carved stone) */
.section2__progressBar {
  background: #2a2015; /* aged stone/wood look */
  border: 2px solid #6e552a; /* subtle bronze edging */
  width: 100%;
  height: 28px !important;
  border-radius: 4px; /* less curve, medieval slab style */
  overflow: hidden;
  position: relative;

  /* Carved effect */
  box-shadow:
    inset 0 2px 4px rgba(0, 0, 0, 0.6),
    inset 0 -2px 4px rgba(0, 0, 0, 0.7);
}

/* Progress Fill (glowing XP bar) */
.section2__progressBarRect {
  background: linear-gradient(90deg, #cfa94b, #e0c068, #8b6b1f);
  height: 100%;
  width: 40%; /* dynamic */
  border-radius: inherit;
  transition: width 0.5s ease-in-out;

  /* Magical glow */
  box-shadow:
    inset 0 0 6px rgba(0, 0, 0, 0.5),
    0 0 10px rgba(207, 169, 75, 0.6);
}

/* Optional circular marker (like a golden seal) */
.section2__progressBarCircle {
  width: 16px;
  height: 16px;
  background: radial-gradient(circle, #ffd700 40%, #a0701c 90%);
  border-radius: 50%;
  border: 1px solid #5c4115;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translate(50%, -50%);
  box-shadow: 0 0 6px rgba(207, 169, 75, 0.5);
  display: none; /* enable if needed */
}

/* Progress Labels */
.section2__progressBarPoint {
  position: absolute;
  top: 110%;
  font-size: 12px;
  font-weight: bold;
  color: #e8d8b0; /* parchment text */
  text-shadow: 0 0 3px #000;
  letter-spacing: 1px;
}

.section2__progressBarPoint--start {
  left: 0;
}

.section2__progressBarPoint--end {
  right: 0;
}

/* Text styling */
.section2__text {
  display: flex;
  justify-content: center;
  margin-top: 4px;
}

.section2__text--bold {
  font-weight: 700;
  color: #45ff4b;
  font-family: 'MedievalSharp', serif;
  letter-spacing: 1px;
}

.section2__storageLeft {
  background-color: var(--color5);
  width: 100%;
  padding: 20px;
  border-radius: 0px;

  /* flex */
  display: flex;
  justify-content: center;
  align-items: center;

  /* position */
  position: absolute;
  top: 0;
  right: 30px;
  transform: translateY(-70%);

}

.section2__storageLeft::before {
  content: '';
  width: 0;
  height: 0;
  border: solid 20px;
  border-color: transparent var(--color5) transparent transparent;

  /* position */
  position: absolute;
  right: 0;
  bottom: 0;
  transform: translateY(50%);

}

.section2__storageLeftDigits {
  color: var(--color0);
  font-size: 32px;
  font-weight: var(--boldFont);
}

.section2__storageLeftText {
  color: var(--color3);
  margin-left: 7px;
  font-weight: var(--boldFont);
  letter-spacing: 1px;
}

.pD {
  font-size: 16px;
}

/* Main container */
.timebox11 {
  width: 85%;
  background: rgba(15, 15, 15, 0.95);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px;
  margin: 0 auto;
  display: flex;
  justify-content: space-around;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.7);
  font-family: 'MedievalSharp', serif !important;
}

/* Each time section */
.timebox11 .col {
  flex: 1;
  background: rgba(25, 25, 25, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  margin: 0 6px;
  padding: 15px 8px;
  text-align: center;
  min-width: 80px;
  transition: transform 0.25s ease-in-out;
}

/* Labels (Days, Hours etc) */
.pH {
  color: #9c9c9c !important;
  font-size: 14px !important;
  margin-bottom: 6px !important;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Number display */
.pB {
  font-size: 36px !important;
  font-weight: bold;
  margin: 0;
  color: #e0e0e0 !important;
  position: relative;
  height: 42px;
  overflow: hidden;
  line-height: 42px;
}

/* The animated number wrapper */
.pB span {
  display: block;
  animation: slideVert 0.5s ease forwards;
}

/* Vertical slide effect */
@keyframes slideVert {
  0% {
    transform: translateY(-100%);
    opacity: 0;
  }
  50% {
    transform: translateY(20%);
    opacity: 0.7;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

.p-lines {
  font-family: 'MedievalSharp', cursive !important;
 
  text-align: center;
  color: rgb(206, 206, 206);
  font-size: 40px;
  max-width: calc(650px - 140px);
  /* Adjusted max-width */
  position: relative;
}

.p-lines:before,
.p-lines:after {
  content: "";
  display: block;
  padding-left: 10px !important;
  padding-right: 10px !important;
  width: 25%;
  height: 2px;
  background: #ffd700 !important;
  position: absolute;
  top: 50%;
  border-radius: 50px;
}

.p-lines:before {
  left: -80px;
}

.p-lines:after {
  right: -80px;
}



.butn, .butner {
  position: relative;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  text-decoration: none !important;
  padding: 0 30px;
  height: 45px;
  width: 240px;
  font-family: 'MedievalSharp', cursive !important;
  /* Old leather/stone mix */
  background: linear-gradient(145deg, #3b2613, #1e1209);
  border: 3px solid #8b6914; /* aged gold */
  border-radius: 10px;

  /* Double-border glow */
  box-shadow:
    inset 0 0 12px rgba(0, 0, 0, 0.9),
    0 0 18px rgba(139, 105, 20, 0.4),
    0 6px 22px rgba(0, 0, 0, 0.85);

  /* Text style */
  font-family: 'MedievalSharp', serif !important;
  font-size: 1.2rem;
  font-weight: bold;
  color: #f5deb3;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  text-shadow: 0 0 6px #000, 0 0 12px rgba(184, 134, 11, 0.6);

  cursor: pointer;
  transition: all 0.3s ease-in-out;

  /* Subtle medieval cut (slightly shield-like) */
  clip-path: polygon(
    8% 0%, 92% 0%, 
    100% 18%, 100% 82%, 
    92% 100%, 8% 100%, 
    0% 82%, 0% 18%
  );
}

/* Hover – glowing enchantment */
.butn:hover, .butner:hover {
  background: linear-gradient(145deg, #4a2f16, #25150a);
  border-color: #daa520;
  color: #fff8dc;
  text-shadow: 0 0 8px #000, 0 0 14px #ffd700;
  transform: scale(1.07);
  box-shadow:
    0 0 20px rgba(218, 165, 32, 0.6),
    inset 0 0 10px rgba(218, 165, 32, 0.25);
}

/* Pressed – carved into stone */
.butn:active, .butner:active {
  transform: scale(0.94);
  background: linear-gradient(145deg, #1a1208, #0e0804);
  border-color: #a07010;
  box-shadow: inset 0 0 18px rgba(0, 0, 0, 0.95);
}



/* 📱 Tablet / iPad */
@media (max-width: 1024px) {
  .butn, .butner {
    width: 180px;       /* smaller width */
    height: 40px;       /* reduce height */
    font-size: 1rem;    /* smaller text */
    padding: 0 22px;    /* tighter padding */
    letter-spacing: 1px;
  }
}

/* 📱 Small Tablets / Landscape Phones */
@media (max-width: 768px) {
  .butn, .butner {
    width: 150px;
    height: 36px;
    font-size: 0.9rem;
    padding: 0 18px;
    letter-spacing: 0.8px;
  }
}





.buy-icons {
  align-self: start;
  width: 70px !important;
  padding: 5px;
  margin: 5px;

}


.scale-anim {
  animation: scaleAnimation 2s infinite alternate;
  /* Call the scaleAnimation, 2s duration, infinite loop, alternate direction */
}

@keyframes scaleAnimation {
  0% {
    transform: scale(1);
    /* Initial scale */
  }

  100% {
    transform: scale(1.2);
    /* Scale up to 120% */
  }
}

#claimTokens {
  display: none;
}

.prip1{
  font-size: 15px;
}



/* Input wrapper medieval RPG style */
.input-icon-wrap {
  position: relative;
  height: 50px;
  display: flex;
  align-items: center;

  /* Medieval panel style */
  background: linear-gradient(145deg, #1a0f08, #2c1a0f); /* dark wood/stone */
  border: 3px solid #c9a35a; /* golden engraved look */
  border-radius: 12px;
  padding: 0px 15px;
  color: #f5e6c5; /* parchment text color */

  /* Glow + depth */
  box-shadow: 
    inset 0 0 8px rgba(0, 0, 0, 0.6),
    0 0 12px rgba(201, 163, 90, 0.5);
}

/* Input field medieval RPG style */
.input-with-icon {
  background: transparent !important;
  border: none !important;
  outline: none !important;
  color: #f5e6c5 !important; /* old parchment */
  width: 100% !important;
  font-family: 'MedievalSharp', serif !important;
  font-weight: bold;
  font-size: 1rem;
  letter-spacing: 1px;

  /* Magical glowing text */
  text-shadow: 0 0 6px rgba(255, 220, 150, 0.6);
}

/* On focus, make it glow like enchanted */
.input-with-icon:focus {
  color: #ffe7a3 !important;
  text-shadow: 0 0 10px rgba(255, 220, 150, 0.9);
}

.input-icon-wrap:focus-within {
  border-color: #ffd36b; /* glowing gold */
  box-shadow: 
    inset 0 0 12px rgba(255, 220, 150, 0.3),
    0 0 16px rgba(255, 210, 100, 0.6);
}

#bnbInput::placeholder {
  color: white;
}

#novisInput::placeholder {
  color: white !important;
}

#logo-currency {
  width: 36px;
}

.app-card-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 16px;
}


#purchaseButton {
  display: none;
}

#approveButton {
  display: none;
}

#purchaseButtonUSDT {
  display: none;
}


/* ⚔️ Medieval Relic Button */
.btn-hover {
  position: relative;
  background: linear-gradient(
    145deg,
    #0a1a2f,
    #12395c,
    #1c4a7a
  ); /* enchanted bluish gemstone */

  background-image: url('./images/redbtn.png') !important;
  background-position: center;
  background-size: cover;
  font-family: 'MedievalSharp', serif !important;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: #fdf5d9; /* parchment-like text */
  padding: 0px 34px;
  border: 3px double #d4af37; /* engraved golden double border */
  border-radius: 8px; /* more medieval gem-like */
  text-transform: uppercase;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow:
    inset 0 0 10px rgba(0, 0, 0, 0.7),
    0 0 20px rgba(18, 80, 160, 0.4),
    0 0 40px rgba(18, 80, 160, 0.25);

    font-size: 18px;
}



@media (max-width:768px){
  .btn-hover{
    font-size: 10px !important;
  }
}
/* ✨ Decorative rune-like corners */
/* .btn-hover::before,
.btn-hover::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  border: 2px solid #d4af37;
} */

.btn-hover::before {
  top: 6px;
  left: 6px;
  border-right: none;
  border-bottom: none;
}

.btn-hover::after {
  bottom: 6px;
  right: 6px;
  border-left: none;
  border-top: none;
}

/* 🔮 Hover: stronger rune glow */
.btn-hover:hover {
  background-image: url('./images/redbtn.png') !important;
  background-position: center;
  background-size: cover;
  color: #fffef2;
  box-shadow:
    inset 0 0 12px rgba(0, 0, 0, 0.7),
    0 0 25px #5e2424,
    0 0 50px rgba(123, 25, 25, 0.7),
    0 0 80px rgba(114, 28, 28, 0.5);
  transform: scale(1.07);
  text-shadow: 0 0 6px #000, 0 0 14px #ffd700;
}



.infinityp1 {
  font-size: 15px;
}

.infinityp2 {
  font-size: 18px;
  cursor: pointer;
}

.logo-img {
  width: 50%;
  height: auto;
}





/* 🪨 Medieval Stone Timebox (Compact) */
.timebox1 {
  max-width: 460px; /* smaller overall width */
  /* background: #2d2a25; */
  background-image: url('./images/Untitled\ design\ -\ 2025-09-22T182846.159.png') !important;
  background-position: center;
  background-size: cover;
  border: 3px solid #5c4a32; /* thinner bronze/iron border */
  border-radius: 10px;
  padding: 6px; /* reduced padding */
  margin: 0 auto;
  display: flex;
  justify-content: space-around;
  gap: 10px; /* smaller gap */
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.75),
              inset 0 0 8px rgba(0, 0, 0, 0.45);
  font-family: 'MedievalSharp', 'Uncial Antiqua', serif;
  background-image: url('https://www.transparenttextures.com/patterns/stone-wall.png');
  background-size: cover;
  background-blend-mode: multiply;
}

/* Each time unit = rounded stone block */
.timebox1 .col {
  flex: 1;
  background: #3b362f;
  border: 2px solid #6a5840; /* thinner */
  border-radius: 8px;
  padding: 8px 4px; /* smaller but balanced */
  text-align: center;
  min-width: 70px;
  min-height: 55px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.65),
              0 3px 6px rgba(0, 0, 0, 0.45);
  transition: transform 0.2s ease-in-out;
  position: relative;
}

/* Labels (Days, Hours...) */
.pH1 {
  color: #d4c19c !important;
  font-size: 11px !important; /* slightly smaller */
  margin-bottom: 4px !important;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  font-family: 'MedievalSharp', serif !important;
  text-shadow: 1px 1px 0 #000;
}

/* Numbers (engraved look) */
.pB1 {
  font-size: 18px !important; /* smaller numbers */
  font-weight: bold;
  margin: 0;
  padding: 0;
  color: #f2e6d0 !important;
  line-height: 1.2;
  height: 26px;
  letter-spacing: 1.5px;
  font-family: 'MedievalSharp', serif !important;
  text-shadow: 2px 2px 0 #000, 0 0 5px #444;
}

/* Slide-in effect */
.pB1 span {
  display: block;
  animation: stoneSlide 0.6s ease forwards;
}

@keyframes stoneSlide {
  0%   { transform: translateY(-120%); opacity: 0; }
  60%  { transform: translateY(15%); opacity: 0.7; }
  100% { transform: translateY(0); opacity: 1; }
}

/* 📱 Responsive */
@media (max-width: 576px) {
  .timebox1 {
    max-width: 100%;
    gap: 6px;
    padding: 10px;
  }
  .timebox1 .col {
    min-width: 60px;
    min-height: 50px;
    padding: 6px 3px;
  }
  .pB1 { font-size: 16px !important; height: 24px; }
  .pH1 { font-size: 9px !important; }
}

/* 📲 Tablet / iPad View */
@media (min-width: 577px) and (max-width: 991px) {
  .timebox1 {
    max-width: 360px; /* narrower for tablets */
    gap: 6px;
    padding: 6px;
  }

  .timebox1 .col {
    min-width: 55px;
    min-height: 45px;
    padding: 5px 3px;
    border-radius: 6px;
  }

  .pB1 {
    font-size: 14px !important; /* smaller numbers */
    height: 20px;
    text-shadow: 1px 1px 0 #000, 0 0 4px #333;
    letter-spacing: 1px;
  }

  .pH1 {
    font-size: 8px !important; /* smaller labels */
    margin-bottom: 2px !important;
    letter-spacing: 1px;
  }
}




.game-badge1 {
  padding: 30px 28px;
  border-radius: 8px; /* gem-like shape */
 background-image: url('./images/grnbtn.png');
 background-position: center;
 background-size: cover;
  
 margin-top: -10px !important;
  color: #f0f9f0; /* pale parchment text */

  font-family: 'MedievalSharp', cursive !important;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 12px;

  /* Depth + engraved medieval shine */
  /* box-shadow:
    inset 0 0 14px rgba(0, 255, 128, 0.25),
    inset 0 0 25px rgba(0, 255, 80, 0.15),
    0 6px 14px rgba(0, 0, 0, 0.9),
    0 0 16px rgba(0, 180, 90, 0.55); */

  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}


/* 📲 Tablet / iPad View */
@media (min-width: 577px) and (max-width: 991px) {
  .game-badge1 {
    padding: 18px 16px;   /* smaller padding */
    font-size: 10px;      /* slightly smaller text */
    letter-spacing: 1.2px;
    margin-top: -6px !important;
    border-radius: 6px;   /* tighter gem corners */
  }
}


