/* ==========================================
   Easter Welcome Modal — First Visit
   ========================================== */

.easter-welcome-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,.75);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s, visibility .3s;
}

.easter-welcome-overlay.easter-welcome-visible {
  opacity: 1;
  visibility: visible;
}

.easter-welcome-overlay.easter-welcome-hiding {
  opacity: 0;
  visibility: hidden;
}

.easter-welcome-modal {
  position: relative;
  width: 92%;
  max-width: 440px;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid rgba(255,209,102,.15);
  background: linear-gradient(170deg, #12091e 0%, #1a0f2a 50%, #0e0a18 100%);
  box-shadow: 0 24px 80px rgba(0,0,0,.6), 0 0 40px rgba(255,209,102,.06);
  transform: scale(.92) translateY(20px);
  transition: transform .3s cubic-bezier(.34,1.56,.64,1);
}

.easter-welcome-visible .easter-welcome-modal {
  transform: scale(1) translateY(0);
}

.easter-welcome-hiding .easter-welcome-modal {
  transform: scale(.92) translateY(20px);
}

.easter-welcome-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.easter-welcome-body {
  position: relative;
  z-index: 1;
  padding: 2rem 1.5rem 1.5rem;
  text-align: center;
}

.easter-welcome-emoji {
  font-size: 2.5rem;
  margin-bottom: .5rem;
  letter-spacing: .15em;
  animation: easter-welcome-bounce 2s ease-in-out infinite;
}

@keyframes easter-welcome-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.easter-welcome-kicker {
  display: inline-block;
  font-size: .6rem;
  text-transform: uppercase;
  letter-spacing: .2em;
  color: #ffd166;
  background: rgba(255,209,102,.08);
  border: 1px solid rgba(255,209,102,.15);
  padding: .25rem .75rem;
  border-radius: 20px;
  margin-bottom: .6rem;
}

.easter-welcome-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  margin: 0 0 .4rem;
  line-height: 1.25;
  background: linear-gradient(135deg, #ffd166, #ff8a65);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.easter-welcome-desc {
  font-size: .8rem;
  color: rgba(255,255,255,.5);
  margin-bottom: 1rem;
  line-height: 1.5;
}

.easter-welcome-highlights {
  display: flex;
  flex-direction: column;
  gap: .45rem;
  margin-bottom: 1.25rem;
}

.easter-welcome-hl {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .5rem .75rem;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 8px;
  font-size: .78rem;
  color: rgba(255,255,255,.7);
}

.easter-welcome-hl-icon {
  font-size: 1.1rem;
  flex-shrink: 0;
}

.easter-welcome-buttons {
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.easter-welcome-play {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  padding: .65rem 1.5rem;
  background: linear-gradient(135deg, #ffd166, #ff8a65);
  color: #1a1a2e;
  font-weight: 700;
  font-size: .85rem;
  border-radius: 8px;
  text-decoration: none;
  transition: transform .15s, box-shadow .15s;
  box-shadow: 0 4px 16px rgba(255,209,102,.2);
}

.easter-welcome-play:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(255,209,102,.3);
}

.easter-welcome-close {
  padding: .55rem 1.5rem;
  background: transparent;
  border: 1px solid rgba(255,255,255,.1);
  color: rgba(255,255,255,.45);
  font-size: .8rem;
  border-radius: 8px;
  cursor: pointer;
  transition: border-color .2s, color .2s;
}

.easter-welcome-close:hover {
  border-color: rgba(255,255,255,.25);
  color: rgba(255,255,255,.7);
}

/* Inframundo overrides for welcome modal */
.infra-corrupted .easter-welcome-modal {
  background: linear-gradient(170deg, #060a06 0%, #0a140a 50%, #050905 100%);
  border-color: rgba(34,139,34,.15);
  box-shadow: 0 24px 80px rgba(0,0,0,.6), 0 0 40px rgba(34,139,34,.06);
}

.infra-corrupted .easter-welcome-kicker {
  color: #3bef3b;
  background: rgba(34,139,34,.08);
  border-color: rgba(34,139,34,.15);
}

.infra-corrupted .easter-welcome-title {
  background: linear-gradient(135deg, #3bef3b, #228b22);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.infra-corrupted .easter-welcome-play {
  background: linear-gradient(135deg, #3bef3b, #228b22);
  color: #060a06;
  box-shadow: 0 4px 16px rgba(34,139,34,.2);
}

.infra-corrupted .easter-welcome-play:hover {
  box-shadow: 0 6px 24px rgba(34,139,34,.3);
}

@media (max-width: 480px) {
  .easter-welcome-modal { max-width: 95%; }
  .easter-welcome-body { padding: 1.5rem 1rem 1.25rem; }
  .easter-welcome-emoji { font-size: 2rem; }
  .easter-welcome-title { font-size: 1.3rem; }
}

/* ==========================================
   Easter Banner — Landing Page Promotion
   ========================================== */

.easter-banner {
  position: relative;
  overflow: hidden;
  padding: 3rem 1.5rem;
  text-align: center;
  background: linear-gradient(180deg, rgba(7,7,12,1) 0%, rgba(20,10,30,.95) 40%, rgba(20,10,30,.95) 60%, rgba(7,7,12,1) 100%);
  border-top: 1px solid rgba(180,120,255,.08);
  border-bottom: 1px solid rgba(180,120,255,.08);
}

/* Animated shimmer */
.easter-banner::before {
  content: '';
  position: absolute;
  inset: -50% -20%;
  background:
    radial-gradient(ellipse at 25% 50%, rgba(255,180,80,.04) 0%, transparent 50%),
    radial-gradient(ellipse at 75% 50%, rgba(140,200,255,.04) 0%, transparent 50%);
  animation: easter-banner-shimmer 6s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes easter-banner-shimmer {
  0% { transform: translateX(-4%); }
  100% { transform: translateX(4%); }
}

/* Floating eggs canvas */
.easter-banner-eggs-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.easter-banner-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  margin: 0 auto;
}

.easter-banner-kicker {
  display: inline-block;
  font-size: .65rem;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: #ffd166;
  background: rgba(255,209,102,.08);
  border: 1px solid rgba(255,209,102,.15);
  padding: .3rem .9rem;
  border-radius: 20px;
  margin-bottom: .75rem;
  text-shadow: 0 0 10px rgba(255,209,102,.3);
}

.easter-banner-title {
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  margin: 0 0 .35rem;
  line-height: 1.2;
}

.easter-banner-title span {
  background: linear-gradient(135deg, #ffd166, #ff8a65);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.easter-banner-sub {
  font-size: .85rem;
  color: rgba(255,255,255,.5);
  margin-bottom: 1.2rem;
  line-height: 1.5;
}

/* Countdown */
.easter-banner-countdown {
  display: flex;
  justify-content: center;
  gap: .4rem;
  margin-bottom: 1.5rem;
}

.easter-banner-countdown-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 48px;
  padding: .45rem .3rem;
  background: rgba(255,209,102,.04);
  border: 1px solid rgba(255,209,102,.1);
  border-radius: 8px;
}

.easter-banner-countdown-val {
  font-size: 1.3rem;
  font-weight: 800;
  color: #ffd166;
  line-height: 1;
  text-shadow: 0 0 10px rgba(255,209,102,.4);
  font-variant-numeric: tabular-nums;
}

.easter-banner-countdown-label {
  font-size: .5rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: rgba(255,255,255,.3);
  margin-top: .2rem;
}

.easter-banner-countdown-sep {
  font-size: 1.1rem;
  font-weight: 700;
  color: rgba(255,209,102,.25);
  align-self: flex-start;
  padding-top: .45rem;
  animation: easter-sep-blink 1s step-end infinite;
}

@keyframes easter-sep-blink {
  50% { opacity: 0; }
}

/* Mini ranking podium */
.easter-banner-ranking {
  display: flex;
  justify-content: center;
  gap: .6rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.easter-banner-rank-item {
  display: flex;
  align-items: center;
  gap: .4rem;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 8px;
  padding: .4rem .7rem;
  font-size: .75rem;
  color: rgba(255,255,255,.7);
}

.easter-banner-rank-item:nth-child(1) {
  border-color: rgba(255,215,0,.2);
  background: rgba(255,215,0,.06);
}
.easter-banner-rank-item:nth-child(2) {
  border-color: rgba(192,192,192,.15);
  background: rgba(192,192,192,.04);
}
.easter-banner-rank-item:nth-child(3) {
  border-color: rgba(205,127,50,.15);
  background: rgba(205,127,50,.04);
}

.easter-banner-rank-medal {
  font-size: 1rem;
}

.easter-banner-rank-name {
  font-weight: 600;
  color: #fff;
}

.easter-banner-rank-score {
  color: #ffd166;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

/* Participants count */
.easter-banner-participants {
  font-size: .75rem;
  color: rgba(255,255,255,.35);
  margin-bottom: 1rem;
}

.easter-banner-participants strong {
  color: rgba(255,255,255,.6);
  font-weight: 600;
}

/* CTA button */
.easter-banner-cta {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .7rem 2rem;
  background: linear-gradient(135deg, #ffd166, #ff8a65);
  color: #1a1a2e;
  font-weight: 700;
  font-size: .9rem;
  border-radius: 8px;
  text-decoration: none;
  transition: transform .15s, box-shadow .15s;
  box-shadow: 0 4px 20px rgba(255,209,102,.2);
}

.easter-banner-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(255,209,102,.35);
}

.easter-banner-cta svg {
  width: 18px;
  height: 18px;
}

/* Prize badge */
.easter-banner-prize {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  font-size: .7rem;
  color: rgba(255,209,102,.7);
  margin-top: .75rem;
}

.easter-banner-prize svg {
  width: 14px;
  height: 14px;
}

/* Event ended state */
.easter-banner-ended {
  color: rgba(255,255,255,.4);
  font-size: .85rem;
}

/* ==========================================
   Account Control — Easter Card
   ========================================== */

.panel-easter-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: linear-gradient(135deg, rgba(20,10,30,.6), rgba(30,15,40,.4));
  border: 1px solid rgba(255,209,102,.12);
  border-radius: 12px;
  text-decoration: none;
  color: var(--card-foreground, #ede6da);
  transition: border-color .2s, transform .15s;
  margin-bottom: 1rem;
}

.panel-easter-card:hover {
  border-color: rgba(255,209,102,.3);
  transform: translateY(-1px);
}

.panel-easter-icon {
  font-size: 2rem;
  line-height: 1;
  flex-shrink: 0;
}

.panel-easter-text {
  flex: 1;
  min-width: 0;
}

.panel-easter-text strong {
  display: block;
  font-size: .9rem;
  color: #ffd166;
  margin-bottom: .15rem;
}

.panel-easter-text span {
  font-size: .75rem;
  color: rgba(255,255,255,.45);
}

.panel-easter-score {
  text-align: right;
  flex-shrink: 0;
}

.panel-easter-score-val {
  font-size: 1.5rem;
  font-weight: 800;
  color: #ffd166;
  line-height: 1;
}

.panel-easter-score-label {
  font-size: .6rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: rgba(255,255,255,.3);
}

.panel-easter-btn {
  flex-shrink: 0;
  padding: .4rem 1rem;
  background: linear-gradient(135deg, #ffd166, #ff8a65);
  color: #1a1a2e;
  font-weight: 700;
  font-size: .75rem;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: .05em;
}

/* Responsive */
@media (max-width: 600px) {
  .easter-banner-title { font-size: 1.5rem; }
  .easter-banner-ranking { gap: .4rem; }
  .easter-banner-rank-item { padding: .3rem .5rem; font-size: .7rem; }
  .easter-banner-countdown-unit { min-width: 42px; }
  .easter-banner-countdown-val { font-size: 1.1rem; }
  .panel-easter-card { flex-wrap: wrap; }
  .panel-easter-score { text-align: left; }
}

/* Inframundo overrides */
.infra-corrupted .easter-banner {
  background: linear-gradient(180deg, rgba(7,7,12,1) 0%, rgba(6,14,6,.95) 40%, rgba(6,14,6,.95) 60%, rgba(7,7,12,1) 100%);
  border-top-color: rgba(34,139,34,.1);
  border-bottom-color: rgba(34,139,34,.1);
}

.infra-corrupted .easter-banner::before {
  background:
    radial-gradient(ellipse at 25% 50%, rgba(34,139,34,.05) 0%, transparent 50%),
    radial-gradient(ellipse at 75% 50%, rgba(34,139,34,.05) 0%, transparent 50%);
}

.infra-corrupted .easter-banner-kicker {
  color: #3bef3b;
  background: rgba(34,139,34,.08);
  border-color: rgba(34,139,34,.15);
  text-shadow: 0 0 10px rgba(34,180,34,.3);
}

.infra-corrupted .easter-banner-title span {
  background: linear-gradient(135deg, #3bef3b, #228b22);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.infra-corrupted .easter-banner-countdown-unit {
  background: rgba(34,139,34,.04);
  border-color: rgba(34,139,34,.1);
}

.infra-corrupted .easter-banner-countdown-val {
  color: #3bef3b;
  text-shadow: 0 0 10px rgba(34,180,34,.4);
}

.infra-corrupted .easter-banner-countdown-sep {
  color: rgba(34,139,34,.25);
}

.infra-corrupted .easter-banner-rank-item:nth-child(1) {
  border-color: rgba(34,139,34,.2);
  background: rgba(34,139,34,.06);
}

.infra-corrupted .easter-banner-rank-score {
  color: #3bef3b;
}

.infra-corrupted .easter-banner-cta {
  background: linear-gradient(135deg, #3bef3b, #228b22);
  color: #060a06;
  box-shadow: 0 4px 20px rgba(34,139,34,.2);
}

.infra-corrupted .easter-banner-cta:hover {
  box-shadow: 0 6px 28px rgba(34,139,34,.35);
}

.infra-corrupted .easter-banner-prize {
  color: rgba(59,239,59,.6);
}

.infra-corrupted .easter-banner-participants strong {
  color: rgba(59,239,59,.5);
}

.infra-corrupted .panel-easter-card {
  background: linear-gradient(135deg, rgba(6,14,6,.6), rgba(10,20,10,.4));
  border-color: rgba(34,139,34,.12);
}

.infra-corrupted .panel-easter-card:hover {
  border-color: rgba(34,139,34,.3);
}

.infra-corrupted .panel-easter-text strong {
  color: #3bef3b;
}

.infra-corrupted .panel-easter-score-val {
  color: #3bef3b;
}

.infra-corrupted .panel-easter-btn {
  background: linear-gradient(135deg, #3bef3b, #228b22);
  color: #060a06;
}
