:root {
  --page-bg: #0a0806;
  --panel-bg: rgba(20, 16, 12, 0.85);
  --panel-border: #3a2c15;
  --grid-wrapper-bg: rgba(10, 8, 5, 0.75);
  --active-gold: #d4af37;
  --active-gold-glow: rgba(212, 175, 55, 0.6);
  --card-bg-future: linear-gradient(to bottom, #1d1914, #120f0b);
  --card-day-bg-future: #110e0a;
  --card-text-future: #aa9b7c;
  --card-bg-active: linear-gradient(135deg, #1f1b15 0%, #0a0a0a 100%);
  --card-day-bg-active: #d4af37;
  --card-text-active: #111;
  --card-bg-claimed: #14110e;
  --card-day-bg-claimed: #0a0806;
  --card-text-claimed: #554d3f;
  --highlight-orange: #d4af37;
  
  --gold-gradient: linear-gradient(to right, #bf953f, #fcf6ba, #b38728, #fbf5b7, #aa771c);
}

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

body {
  background-color: var(--page-bg);
  background-image: url('vip_bg.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  font-family: 'Outfit', sans-serif;
  color: #FFFFFF;
  display: flex;
  justify-content: center;
  padding: 40px 20px;
  min-height: 100vh;
}

.page-container {
  width: 100%;
  max-width: 900px;
}

.banner {
  background: var(--panel-bg);
  backdrop-filter: blur(15px);
  border-radius: 8px;
  padding: 30px;
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.3);
  box-shadow: 0 10px 40px rgba(0,0,0,0.8);
}

.banner h1 {
  font-family: 'Cinzel', serif;
  font-size: 52px;
  font-weight: 800;
  letter-spacing: 3px;
  margin-bottom: 8px;
  text-transform: uppercase;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 4px 10px rgba(212, 175, 55, 0.2);
}

.banner-subtitle {
  font-family: 'Cinzel', serif;
  font-size: 18px;
  color: #d4af37;
  letter-spacing: 2px;
}

.check-in-panel {
  background-color: var(--panel-bg);
  backdrop-filter: blur(15px);
  border: 1px solid var(--panel-border);
  border-radius: 12px;
  padding: 24px;
  position: relative;
  box-shadow: 0 15px 50px rgba(0,0,0,0.9);
}

.screw {
  width: 8px;
  height: 8px;
  background: radial-gradient(circle, #fcf6ba, #bf953f);
  border-radius: 50%;
  position: absolute;
  box-shadow: inset 0 -2px 4px rgba(0,0,0,0.8), 0 0 5px rgba(212, 175, 55, 0.5);
}
.top-left { top: 8px; left: 8px; }
.top-right { top: 8px; right: 8px; }
.bottom-left { bottom: 8px; left: 8px; }
.bottom-right { bottom: 8px; right: 8px; }

.status-header {
  margin-bottom: 20px;
  padding: 0 10px;
}

.status-header h2 {
  font-family: 'Cinzel', serif;
  font-size: 32px;
  font-weight: 600;
  color: #fff;
}

.highlight {
  color: var(--highlight-orange);
  font-weight: 800;
  text-shadow: 0 0 10px var(--active-gold-glow);
}

.status-note {
  font-size: 14px;
  color: #aa9b7c;
  margin-top: 4px;
}

.grid-wrapper {
  background-color: var(--grid-wrapper-bg);
  border-radius: 8px;
  padding: 20px;
  box-shadow: inset 0 4px 15px rgba(0,0,0,0.8);
  border: 1px solid rgba(212, 175, 55, 0.1);
}

.rewards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 12px;
}

.reward-card {
  display: flex;
  flex-direction: column;
  background: var(--card-bg-future);
  border-radius: 6px;
  overflow: hidden;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s;
  cursor: pointer;
  border: 1px solid #3a2c15;
  box-shadow: 0 4px 10px rgba(0,0,0,0.5);
}

.reward-card.future {
  cursor: default;
}

.reward-card.active {
  background: var(--card-bg-active);
  border-color: var(--active-gold);
  transform: scale(1.05);
  box-shadow: 0 0 20px var(--active-gold-glow);
  z-index: 2;
  animation: pulseGold 2.5s infinite alternate;
}

.reward-card.claimed {
  background: var(--card-bg-claimed);
  border-color: #222;
  cursor: default;
  opacity: 0.7;
}

@keyframes pulseGold {
  from { box-shadow: 0 0 10px rgba(212, 175, 55, 0.3); border-color: rgba(212,175,55,0.6); }
  to { box-shadow: 0 0 25px rgba(212, 175, 55, 0.8); border-color: #fcf6ba; }
}

.reward-card.active:hover {
  transform: scale(1.1);
  box-shadow: 0 0 30px rgba(212, 175, 55, 1);
}

.card-top {
  padding: 12px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-grow: 1;
  position: relative;
}

.item-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.item-icon svg, .item-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.reward-card.claimed .item-icon {
  filter: grayscale(1) brightness(0.4);
}

.item-amount {
  font-size: 14px;
  font-weight: 800;
  color: #aa9b7c;
}

.reward-card.claimed .item-amount { color: #554d3f; }
.reward-card.active .item-amount { 
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 15px;
}

.card-bottom {
  background: var(--card-day-bg-future);
  color: var(--card-text-future);
  text-align: center;
  padding: 6px 0;
  font-size: 14px;
  font-weight: 600;
  border-top: 1px solid #3a2c15;
}

.reward-card.active .card-bottom {
  background: var(--gold-gradient);
  color: var(--card-text-active);
  border-top-color: #fcf6ba;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.reward-card.claimed .card-bottom {
  background: var(--card-day-bg-claimed);
  color: var(--card-text-claimed);
  border-top-color: #1a1a1a;
}

.claimed-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10;
  opacity: 0;
  transition: opacity 0.3s;
}

.reward-card.claimed .claimed-overlay {
  opacity: 1;
}

.check-icon {
  fill: var(--active-gold);
  width: 40px;
  height: 40px;
  filter: drop-shadow(0 0 5px rgba(212,175,55,0.5));
}

.notification-dot {
  position: absolute;
  top: -8px; right: -8px;
  background: linear-gradient(135deg, #fcf6ba, #bf953f);
  color: #111;
  width: 24px; height: 24px;
  border-radius: 50%;
  display: flex; justify-content: center; align-items: center;
  font-size: 14px; font-weight: 800;
  border: 2px solid #111;
  display: none;
  box-shadow: 0 0 10px rgba(212,175,55,0.8);
}

.reward-card.active .notification-dot { display: flex; }

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

.banner-logo {
  max-width: 250px;
  max-height: 80px;
  margin-bottom: 12px;
}

.status-message {
  font-family: 'Cinzel', serif;
  font-size: 16px;
  color: #fcf6ba;
  margin-top: 10px;
  font-weight: 600;
  background: rgba(212, 175, 55, 0.1);
  padding: 8px 16px;
  border-radius: 4px;
  border-left: 2px solid #d4af37;
  display: none;
}

/* Login Modal */
.login-modal-overlay {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
  display: none; 
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.login-box {
  background: var(--panel-bg);
  backdrop-filter: blur(20px);
  padding: 40px;
  border-radius: 12px;
  border: 1px solid rgba(212, 175, 55, 0.4);
  text-align: center;
  max-width: 400px;
  width: 90%;
  box-shadow: 0 20px 60px rgba(0,0,0,1), 0 0 30px rgba(212,175,55,0.1);
}

.login-box h2 { 
  margin-bottom: 15px; 
  font-family: 'Cinzel', serif;
  font-size: 36px; 
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.auth-tabs { display: flex; margin-bottom: 20px; border-bottom: 1px solid #3a2c15; }
.auth-tab { flex: 1; padding: 10px; background: none; color: #aa9b7c; border: none; font-size: 16px; font-weight: bold; cursor: pointer; transition: 0.3s; font-family: 'Cinzel', serif; }
.auth-tab:hover { color: #fcf6ba; text-shadow: 0 0 5px rgba(212,175,55,0.5); }
.auth-tab.active { color: #d4af37; border-bottom: 3px solid #d4af37; text-shadow: 0 0 10px rgba(212,175,55,0.3); }
.auth-error { color: #E53935; background: rgba(229, 57, 53, 0.1); border-left: 2px solid #E53935; padding: 8px; margin-bottom: 15px; font-size: 14px; display: none; }
.login-box p { color: #aa9b7c; margin-bottom: 25px; line-height: 1.5; font-size: 15px; }
.login-box input {
  width: 100%;
  padding: 12px;
  margin-bottom: 20px;
  background: rgba(10,8,5,0.8);
  border: 1px solid #3a2c15;
  color: #fcf6ba;
  border-radius: 4px;
  font-size: 16px;
  font-family: inherit;
  transition: 0.3s;
}
.login-box input:focus {
  outline: none;
  border-color: #d4af37;
  box-shadow: 0 0 10px rgba(212,175,55,0.3);
}
.login-box button {
  width: 100%;
  padding: 14px;
  background: var(--gold-gradient);
  color: #111;
  font-size: 18px;
  font-weight: bold;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: 0.3s;
  font-family: 'Cinzel', serif;
  letter-spacing: 1px;
}
.login-box button:hover {
  filter: brightness(1.2);
  box-shadow: 0 0 20px rgba(212,175,55,0.6);
}
