



/* 🍃 Feeding flakes near button */
/* 🍃 Feeding flakes near button */
.shrimp-flakes {
    position: absolute;
    top: 20vh;
    right: 20%;
    width: 50px;
    pointer-events: none;
    z-index: 10;

    animation: shrimpFloatDown 9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
@keyframes shrimpFloatDown {
  0% {
    opacity: 0;
    transform: translateY(-8px) scale(0.95);
  }

  15% {
    opacity: 1;
    transform: translateY(-2px) scale(1);
  }

  30% {
    transform: translateY(6px) scale(0.995);
  }

  50% {
    transform: translateY(16px) scale(0.99);
  }

  70% {
    transform: translateY(26px) scale(0.985);
  }

  85% {
    opacity: 0.6;
    transform: translateY(34px) scale(0.98);
  }

  100% {
    opacity: 0;
    transform: translateY(40px) scale(0.97);
  }
}






.shrimp-anchor {
    position: absolute;
    pointer-events: none;
}



#shrimp {
    position: absolute; /* already likely */
}




#shrimp-wrapper {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

#shrimp {
    display: block;
}

.shrimp-hearts {
    width: 48px;
}

/* INNER animated element */
.heart-float {
    width: 48px;
    display: block;
    animation: shrimpHeartsFloat 2.2s ease-out forwards;
}

/* YOUR animation — unchanged logic */
@keyframes shrimpHeartsFloat {
    0% {
        transform: translateY(0) scale(0.8);
        opacity: 1;
    }
    100% {
        transform: translateY(-30px) scale(1.1);
        opacity: 0;
    }
}


/* 🦐 Shrimp status widget */
.shrimp-status {
    position: absolute;
    bottom: 15%;
    right: 15%;
    z-index: 20;
    font-family: system-ui, sans-serif;
}

/* Toggle button */
.shrimp-status-toggle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    cursor: pointer;
    font-size: 20px;
}

/* Panel */
.shrimp-status-panel {
    position: absolute;
    bottom: 55px;
    right: 0;
    width: 150px;
    padding: 12px;
    background: rgba(15, 15, 20, 0.85);
    color: #fff;
    border-radius: 12px;
    backdrop-filter: blur(6px);

    transform: translateY(10px);
    opacity: 0;
    pointer-events: none;
    transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.shrimp-status.open .shrimp-status-panel {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.shrimp-status-panel h6 {
    margin: 0 0 8px;
    font-size: 14px;
    font-family: var(--font-heading);
}

.shrimp-status-panel ul {
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 13px;
}

.shrimp-status-panel li {
    margin-bottom: 4px;
    font-family: 'Press Start 2P';
}
/* 🔥 HARD RESET for emoji inside button */
.shrimp-status-toggle {
    font-size: 0;              /* ⛔ kill inherited sizing */
}

.shrimp-status-toggle .emoji {
    font-size: 25px !important; /* ✅ emoji size */
    line-height: 1;
    display: inline-block;
}



.shrimp-hunger-bar {
  width: 100%;
  height: 6px;
  background: rgba(0,0,0,0.15);
  border-radius: 6px;
  overflow: hidden;
}

.shrimp-hunger-fill {
  height: 100%;
  width: 0%;
  transition: width 0.6s cubic-bezier(.4,1.4,.4,1);
  position: relative;
}

/* subtle shimmer */
.shrimp-hunger-fill::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255,255,255,0.35),
    transparent
  );
  transform: translateX(-100%);
  animation: shimmer 0.8s ease-out;
}

@keyframes shimmer {
  to { transform: translateX(100%); }
}

/* colors */
.shrimp-hunger-fill.low  { background: #f44336; }
.shrimp-hunger-fill.mid  { background: #ffc107; }
.shrimp-hunger-fill.high { background: #4caf50; }
.shrimp-hunger-fill.full { background: #2d7f37; }







/* 1100px and under */
@media (max-width: 1100px) {
    .shrimp-status {
    /* right: 30%; */
    }
    h1#hero-title {
    font-weight: 700;
    font-size: 45px;
}
    .hero p {
    font-size: 18px;
}
}

/* 720px and under */
@media (max-width: 720px) {
  .shrimp-status {
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) !important;
  }
        h1#hero-title {
    font-weight: 700;
    font-size: 35px;
text-align:center;
}
    .hero p {
    font-size: 16px;
text-align:center;
}
.hero a.btn.btn-primary {
    display: block;
    width: fit-content;
    margin: 0 auto;
            font-size: 12px;
        padding: 12px 30px 12px 30px;
}
  .shrimp-status-panel {
    right:20px;
  }
}

@media (max-width: 550px) {
  .shrimp-status {
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) !important;
  }
  .shrimp-status-panel {
    right:15px;
  }
        h1#hero-title {
    font-weight: 700;
    font-size: 30px;
            text-align:center;
}
    .hero p {
    font-size: 15px;
text-align:center;
}
.hero a.btn.btn-primary {
    display: block;
    width: fit-content;
    margin: 0 auto;
            font-size: 12px;
        padding: 12px 30px 12px 30px;
}

}



.shrimp-talk-bubble {
    max-width: 160px;
    background: rgb(15, 15, 20);
    color: #fff;
    font-size: 12px;
    padding: 6px 10px;
    border-radius: 10px;
    line-height: 1.3;
    text-align: center;
    backdrop-filter: blur(4px);
}








/* ==============================
   SHRIMP CUSTOMIZATION (RPG UI)
============================== */

.shrimp-custom-group {
    margin-bottom: 10px;
}

.shrimp-custom-title {
    margin-bottom: 4px;
    color: #18310b;
}

.shrimp-custom-grid {
    display: flex;
    gap: 6px;
}

.shrimp-item {
    width: 28px;
    height: 28px;
    padding: 3px;
    border-radius: 8px;
    border: 1px solid rgba(0,0,0,0.15);
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 
        border 0.2s ease,
        transform 0.15s ease,
        box-shadow 0.2s ease;
}

/* image inside */
.shrimp-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    pointer-events: none;
}

/* hover feel like RPG */
.shrimp-item:hover {
    transform: scale(1.08);
}

/* active selected */
.shrimp-item.active {
    border: 1px solid #18310b;
    box-shadow: 0 0 0 1px rgba(0,0,0,0.2);
}

/* rarity subtle hint */
.shrimp-item.special {
    border-color: #3b82f6;
}

.shrimp-item.legendary {
    border-color: #d97706;
}


.shrimp-custom-group:last-child {
    margin-bottom: 0px;
}




/* =========================
   SHRIMP LAYER SYSTEM
========================= */

#shrimp-character {
    position: absolute;
    top: 66%;
    left: 48%;

    width: 60px;
    height: 60px;

    transform: translate(-50%, -50%); /* 🔥 THIS WAS MISSING */

    z-index: 2;
    pointer-events: none;
    will-change: transform;
}



/* All layers stack perfectly */
#shrimp-character img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.shrimp-weapon,
.shrimp-armor {
    width: auto;
    height: auto;
}

/* Base shrimp */
.shrimp-base {
    z-index: 3;
}
.shrimp-armor,
.shrimp-weapon {
    position: absolute;
    opacity: 0;
    transition: opacity 0.2s ease;
}


/* Armor (above base) */
.shrimp-armor {
    z-index: 4;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Weapon (above armor) */
.shrimp-weapon {
    width: 28px;      /* real size */
    top: 60%;         /* vertical position */
    left: 75%;        /* horizontal position */
    transform: translate(-50%, -50%);
    z-index: 4;
}


/* Aura (behind everything) */
.shrimp-aura {
    z-index: 1;
    scale: 1.3;
    opacity: 0;
    transition: none; /* ⛔ remove fade */
}





#shrimp-character .shrimp-weapon {
    width: 23px;
    height: auto;
    top: 64%;
    left: 26%;
}

#shrimp-character .shrimp-armor {
    width: 25px;
    height: auto;
    top: 64%;
    left: 26%;
}


.shrimp-annoyed-img {
    width: 32px;
    height: 32px;
    display: block;
    animation: shrimpHeartsFloat 2.2s ease-out forwards;
}

.shrimp-annoyed-img {
    transform: translateY(-1px);
}
@media (max-width: 768px) {
    .shrimp-annoyed-img {
    width: 26px;
    height: 26px;
}
  
}


.shrimp-item.is-locked {
    filter: grayscale(1);
    opacity: 0.6;
}

.shrimp-lock-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.55);
    color: white;
    font-size: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    border-radius: 8px;
    text-align: center;
}



.shrimp-lock-rank-t {
    font-size: 10px;
    line-height: 13px;
    color: #ffffff;
}

.shrimp-lock-rank {
    font-size: 12px;
    line-height: 7px;
    color: #ffffff;
    padding-bottom: 2px;
}

.shrimp-item.is-locked .shrimp-item img {
    filter: grayscale(1);
    opacity: 0.6;
}

.shrimp-lock-icon {
    filter: grayscale(1);
    opacity: 0.6;

}









.shrimp-aura {
    position: absolute;
    z-index: 1;
    pointer-events: none;
    opacity: 0;

    --aura-r: 0;
    --aura-g: 150;
    --aura-b: 255;
}

.shrimp-aura.has-aura {
    animation: shrimpAuraPulse 3.8s ease-in-out infinite,
               shrimpAuraColorShift 6s linear infinite;
}

@keyframes shrimpAuraPulse {
    0%, 100% {
        opacity: 0.35;
        transform: scale(1);
        filter: blur(0px)
                drop-shadow(0 0 10px rgba(var(--aura-r), var(--aura-g), var(--aura-b), 0.4));
    }

    50% {
        opacity: 0.8;
        transform: scale(1.25);
        filter: blur(3px)
                drop-shadow(0 0 40px rgba(var(--aura-r), var(--aura-g), var(--aura-b), 0.9));
    }
}




.shrimp-aura {
    z-index: 1;
    position: absolute;
}

.shrimp-aura.has-aura::after {
    z-index: 2;
}

.shrimp-aura {
    isolation: isolate;
}



/* LIGHTNING OVERLAY */
.shrimp-aura.has-aura::after {
    content: "";
    position: absolute;
    inset: -40%;
    pointer-events: none;
    mix-blend-mode: screen;

    background:
        radial-gradient(circle at 40% 30%,
            rgba(255,255,255,1) 0%,
            rgba(255,255,255,0.7) 10%,
            transparent 30%),
        radial-gradient(circle at 70% 60%,
            rgba(255,255,255,1) 0%,
            rgba(255,255,255,0.6) 12%,
            transparent 35%);

    opacity: 0;
    animation: shrimpLightning 6s infinite;
}



@keyframes shrimpLightning {

    0%, 88%, 100% {
        opacity: 0;
        transform: scale(1);
    }

    90% {
        opacity: 1;
        transform: scale(1.1);
    }

    92% {
        opacity: 0;
        transform: scale(1);
    }

    94% {
        opacity: 0.8;
        transform: scale(1.05);
    }

    96% {
        opacity: 0;
    }
}


.shrimp-status-panel li span {
    font-size: 10px;
}

span.status-title-a {
    font-size: 8px!important;
}




.shrimp-notice {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 14px;
    height: 14px;
    background: #ff3b3b;
    border-radius: 50%;
    display: none;
    box-shadow: 0 0 0 2px #000;
    animation: shrimpPulse 1.4s infinite;
    z-index: 10;
}

@keyframes shrimpPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.25); }
    100% { transform: scale(1); }
}

.shrimp-notice.show {
    display: block;
}
