/* =========================================================
   1. IMPORTS & FONTS
========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&family=VT323&family=Silkscreen:wght@400;700&display=swap');

* { font-family: 'Poppins', sans-serif; }

.font-pixel { font-family: 'Silkscreen', cursive; }
.time-font { 
  font-family: 'VT323', monospace; 
  letter-spacing: 0.05em; 
}


/* =========================================================
   2. BASE / BODY
========================================================= */

body {
  background-color: #0c0a09;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%231c1917' fill-opacity='0.4'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}


/* =========================================================
   3. LAYOUT & CONTAINERS
========================================================= */

.card-glass {
  background: rgba(28, 25, 23, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(16, 185, 129, 0.1);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

.hover-card {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hover-card:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 20px 40px -5px rgba(0,0,0,0.4);
}


/* =========================================================
   4. RANKS & BADGES
========================================================= */

/* Rank Borders */
.rank-border-1 { 
  border-image: linear-gradient(to bottom right, #38bdf8, #2dd4bf) 1; 
  box-shadow: 0 0 20px rgba(45, 212, 191, 0.15); 
}

.rank-border-2 { 
  border-image: linear-gradient(to bottom right, #fcd34d, #d97706) 1; 
}

.rank-border-3 { 
  border-image: linear-gradient(to bottom right, #e2e8f0, #94a3b8) 1; 
}

.rank-border-default { 
  border-color: rgba(68, 64, 60, 0.5); 
}

/* Badges */
.badge-1 {
  background: linear-gradient(135deg, #0ea5e9, #10b981);
  color: #fff;
  text-shadow: 1px 1px 0 #000;
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.4);
}

.badge-2 {
  background: linear-gradient(135deg, #fbbf24, #d97706);
  color: #fff;
  text-shadow: 1px 1px 0 #000;
}

.badge-3 {
  background: linear-gradient(135deg, #94a3b8, #64748b);
  color: #f1f5f9;
  text-shadow: 1px 1px 0 #000;
}

.badge-def {
  background: #44403c;
  color: #a8a29e;
}


/* =========================================================
   5. SPLITS (Minecraft Themed Sections)
========================================================= */

.split-nether {
  background: linear-gradient(180deg, rgba(127, 29, 29, 0.4) 0%, rgba(69, 10, 10, 0.6) 100%);
  border: 1px solid rgba(220, 38, 38, 0.3);
}

.split-bastion {
  background: linear-gradient(180deg, rgba(161, 98, 7, 0.4) 0%, rgba(66, 32, 6, 0.6) 100%);
  border: 1px solid rgba(234, 179, 8, 0.3);
}

.split-fortress {
  background: linear-gradient(180deg, rgba(185, 28, 28, 0.4) 0%, rgba(69, 10, 10, 0.6) 100%);
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.split-end {
  background: linear-gradient(180deg, rgba(88, 28, 135, 0.4) 0%, rgba(30, 27, 75, 0.6) 100%);
  border: 1px solid rgba(168, 85, 247, 0.3);
}


/* =========================================================
   6. TIME & SEED SYSTEM
========================================================= */

.time-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  line-height: 1;
}

.time-wrapper.new .time-value {
  text-shadow:
    0 0 6px rgba(34,197,94,0.6),
    0 0 12px rgba(34,197,94,0.4);
}

.time-container {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.time-value {
  line-height: 1;
}

.time-value.assisted {
  color: #de3535;
}

/* NEW badge */
.time-new {
  position: absolute;
  top: -0.9em;
  right: 0;
  font-size: 0.65rem;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: bold;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  z-index: 10;

  color: #052e16;
  background: linear-gradient(180deg, #86efac, #22c55e);
  border: 2px solid #000;
  box-shadow: 2px 2px 0 #000;

  animation: newPulse 1.2s ease-in-out infinite;
}


/* =========================================================
   7. SEED BUTTON
========================================================= */

.seed-btn {
  position: relative;
  width: 32px;
  height: 32px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  background: rgba(34, 197, 94, 0.15);
  border: 2px solid #000;
  box-shadow: 2px 2px 0 #000;

  font-size: 1.1rem;
  color: #a7f3d0;
  cursor: pointer;
  opacity: 0.85;

  transition: transform 0.15s ease,
              opacity 0.15s ease,
              background 0.2s ease,
              box-shadow 0.12s ease;
}

.seed-btn:hover {
  opacity: 1;
  background: rgba(34, 197, 94, 0.25);
  transform: translateY(-2px) scale(1.05);
}

.seed-btn:active {
  transform: translateY(1px);
  box-shadow: none;
}

.seed-btn.copied {
  box-shadow: 0 0 12px rgba(34,197,94,0.6);
}

.seed-btn.copied i::before {
  content: "\f00c";
}


/* Tooltip */
.seed-tooltip {
  position: absolute;
  bottom: 130%;
  left: 50%;
  transform: translateX(-50%) scale(0.9);

  padding: 4px 6px;
  font-size: 0.95rem;
  font-family: 'VT323', monospace;
  letter-spacing: 0.06em;

  background: #111;
  border: 2px solid #000;
  box-shadow: 2px 2px 0 #000;

  color: #a7f3d0;
  white-space: nowrap;

  opacity: 0;
  pointer-events: none;

  transition: all 0.15s ease;
}

.seed-btn:hover .seed-tooltip,
.seed-btn.copied .seed-tooltip {
  opacity: 1;
  transform: translateX(-50%) scale(1);
}


/* =========================================================
   8. VISUAL EFFECTS
========================================================= */

.pixel-face {
  image-rendering: pixelated;
  box-shadow: inset 0 0 10px rgba(0,0,0,0.5);
}

.tooltip-box {
  background: #1c1917;
  border: 2px solid #57534e;
  box-shadow: 
    0 10px 30px rgba(0,0,0,0.8),
    inset 0 0 20px rgba(0,0,0,0.5);
}

.god-rays {
  background: conic-gradient(
    from 0deg,
    transparent 0%,
    rgba(251, 191, 36, 0.15) 10%,
    transparent 20%,
    transparent 30%,
    rgba(251, 191, 36, 0.15) 40%,
    transparent 50%,
    transparent 60%,
    rgba(251, 191, 36, 0.15) 70%,
    transparent 80%,
    transparent 90%,
    rgba(251, 191, 36, 0.15) 100%
  );

  mask-image: radial-gradient(circle, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 70%);
  -webkit-mask-image: radial-gradient(circle, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 70%);
}

.text-mc-gold {
  background: linear-gradient(180deg, #fef08a 20%, #eab308 80%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;

  text-shadow: 
    4px 4px 0px #000,
    0px 0px 30px rgba(234, 179, 8, 0.6);

  -webkit-text-stroke: 1px #854d0e;
}


/* =========================================================
   9. ANIMATIONS
========================================================= */

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-15px); }
}

.animate-float {
  animation: float 4s ease-in-out infinite;
}

@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.animate-spin-slow {
  animation: spin-slow 20s linear infinite;
}

@keyframes newPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}

.live-dot {
  animation: livePulse 2s infinite;
}

@keyframes livePulse {
  0% { box-shadow: 0 0 0 0 rgba(34,197,94,0.7); }
  70% { box-shadow: 0 0 0 10px rgba(34,197,94,0); }
  100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); }
}


/* =========================================================
   10. FOOTER INFO
========================================================= */

.update-badge {
  position: fixed;
  bottom: 10px;
  right: 14px;
  z-index: 50;

  font-family: 'VT323', monospace;
  font-size: 0.75rem;
  letter-spacing: 0.08em;

  color: #a8a29e;
  opacity: 0.6;

  pointer-events: none;
  user-select: none;

}

@media (max-width: 640px) {
  .update-badge {
    font-size: 0.6rem;
    opacity: 0.4;
    bottom: 8px;
    right: 8px;
  }
}

.support-btn {
  padding: 6px 12px;
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  color: #1c1917;
  border-radius: 6px;
  font-weight: 600;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.support-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(251,191,36,0.35);
}


        /* History Chest Styles */
        .history-chest {
            background: linear-gradient(180deg, rgba(88, 57, 39, 0.6) 0%, rgba(58, 37, 24, 0.8) 100%);
            border: 2px solid #8b5a2b;
            box-shadow: inset 0 2px 4px rgba(255,255,255,0.1), 0 4px 6px rgba(0,0,0,0.3);
            transition: all 0.3s ease;
        }
        .history-chest:hover {
            border-color: #d97706;
            box-shadow: inset 0 2px 4px rgba(255,255,255,0.1), 0 0 15px rgba(217, 119, 6, 0.3);
        }
        .history-item {
            background: rgba(0,0,0,0.3);
            border: 1px solid rgba(139, 90, 43, 0.4);
        }
        .history-item:hover {
            background: rgba(0,0,0,0.5);
            border-color: rgba(217, 119, 6, 0.6);
        }
        .chest-lid {
            transform-origin: top;
            transition: transform 0.3s ease;
        }
        .history-open .chest-lid {
            transform: rotateX(-45deg);
        }
		
		
		.history-item {
  position: relative;
}

.history-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, #f59e0b, transparent);
  opacity: 0.4;
}


