/* Source: screens-components-status-caught.css — split from consolidated CSS */

/* Bro Rogue — Screen Components: Status, Caught & Party CSS */

/* Split from screens-components.css */

/* Contains: Status screen + Caught screen + Full Party screen styles */

/* ── STATUS SCREEN ───────────────────────────────────────── */
.statusContainer {
    width: 90%;
    max-width: 900px;
    height: 90%;
    display: flex;
    flex-direction: column;
    background-color: rgb(0 0 0 / 70%);
    padding: 2rem;
    border-radius: 8px;
    overflow-y: auto;
}

.statusHeader {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.statusHeader h2 {
    color: var(--primary-color);
    font-size: 2rem;
}

.statusContent {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.statusCharacter {
    display: flex;
    gap: 2rem;
    background-color: rgb(255 255 255 / 10%);
    padding: 1.5rem;
    border-radius: 8px;
}

.statusCharImage img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    border-radius: 8px;
    background-color: rgb(255 255 255 / 5%);
}

.statusCharInfo {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.statusCharName {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--secondary-color);
}

.statusCharLevel {
    font-size: 1.2rem;
    color: var(--primary-color);
}

.statusCharType {
    font-size: 1rem;
    color: var(--text-color);
}

.statusMood {
    font-size: 1rem;
    color: var(--primary-color);
    font-weight: bold;
}

.statusExp {
    margin-top: 0.5rem;
}

.expBarContainer {
    width: 100%;
    height: 20px;
    background-color: rgb(255 255 255 / 20%);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.expBar {
    height: 100%;
    background: linear-gradient(90deg, var(--success-color), var(--secondary-color));
    transition: width 0.3s ease;
}

.expText {
    font-size: 0.9rem;
    text-align: center;
}

.statusStats {
    background-color: rgb(255 255 255 / 10%);
    padding: 1.5rem;
    border-radius: 8px;
}

.statusStats h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.statsGrid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.statItem {
    background-color: rgb(255 255 255 / 5%);
    padding: 1rem;
    border-radius: 6px;
    text-align: center;
    border: 1px solid rgb(255 255 255 / 10%);
}

.statLabel {
    font-size: 0.9rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.statValue {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--text-color);
}

.statusNeeds {
    background-color: rgb(255 255 255 / 10%);
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.statusNeeds h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.needsGrid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.needItem {
    background-color: rgb(255 255 255 / 5%);
    padding: 1rem;
    border-radius: 6px;
    border: 1px solid rgb(255 255 255 / 10%);
}

.needLabel {
    font-size: 0.9rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.needBarContainer {
    width: 100%;
    height: 8px;
    background-color: rgb(255 255 255 / 10%);
    border-radius: 4px;
    overflow: hidden;
}

.needBar {
    height: 100%;
    border-radius: 4px;
    transition: width 0.3s ease;
}

.hungerBar {
    background: linear-gradient(90deg, #ff6b6b, #ff8787);
}

.funBar {
    background: linear-gradient(90deg, #4ecdc4, #44a3a0);
}

.socialBar {
    background: linear-gradient(90deg, #51cf66, #40c057);
}

.bladderBar {
    background: linear-gradient(90deg, #ffd93d, #ffcd3c);
}

.hygieneBar {
    background: linear-gradient(90deg, #a78bfa, #8b5cf6);
}

.energyBar {
    background: linear-gradient(90deg, #60a5fa, #3b82f6);
}

.statusMoves {
    background-color: rgb(255 255 255 / 10%);
    padding: 1.5rem;
    border-radius: 8px;
}

.statusMoves h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.movesList {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.moveItem {
    background-color: rgb(255 255 255 / 5%);
    padding: 1rem;
    border-radius: 6px;
    border: 1px solid rgb(255 255 255 / 10%);
}

.moveName {
    font-weight: bold;
    color: var(--secondary-color);
    margin-bottom: 0.3rem;
}

.moveDetails {
    font-size: 0.8rem;
    color: var(--text-color);
    opacity: 0.8;
}

.statusEvolution {
    background-color: rgb(255 255 255 / 10%);
    padding: 1.5rem;
    border-radius: 8px;
}

.statusEvolution h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.evolutionInfo {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.evolutionInfo div {
    font-size: 1rem;
}

.evolutionInfo span {
    color: var(--secondary-color);
    font-weight: bold;
}

/* ── CAUGHT SCREEN ───────────────────────────────────────── */
.caughtContainer {
    width: 90%;
    max-width: 900px;
    height: 90%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background-color: rgb(0 0 0 / 70%);
    padding: 2rem;
    border-radius: 8px;
    animation: caughtEntrance 0.6s ease-out;
}

.caughtMessage {
    text-align: center;
    font-size: 1.5rem;
    color: var(--success-color);
    font-weight: bold;
    animation: messageGlow 1.5s ease-out;
}

.caughtStats {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1.5rem;
    flex: 1;
    overflow-y: auto;
    align-items: start;
}

.caughtInfoPanel {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.broImage {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.broImage img {
    max-width: min(350px, 25vw);
    max-height: min(400px, 60vh);
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 10px;
}

.statsList,
.movesList {
    background-color: rgb(255 255 255 / 10%);
    padding: 0.8rem;
    border-radius: 8px;
}

.statsList {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.15rem;
    animation: slideInRight 0.5s ease-out 0.2s both;
}

.stat {
    display: flex;
    justify-content: space-between;
    padding: 0.25rem 0.4rem;
    font-size: 0.85rem;
    border-bottom: 1px solid rgb(255 255 255 / 5%);
}

.stat:nth-child(odd) {
    border-right: 1px solid rgb(255 255 255 / 5%);
    padding-right: 0.6rem;
}

.stat:nth-child(even) {
    padding-left: 0.6rem;
}

.statName {
    font-weight: bold;
}

.movesList h4 {
    margin-bottom: 0.4rem;
    color: var(--primary-color);
    font-size: 0.9rem;
}

.moveItem {
    padding: 0.2rem 0.4rem;
    font-size: 0.85rem;
}

.movesList {
    animation: slideInRight 0.5s ease-out 0.35s both;
}

/* Caught screen animations */
@keyframes caughtEntrance {
    0% {
        opacity: 0;
        transform: scale(0.85) translateY(20px);
    }

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

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

@keyframes messageGlow {
    0% {
        text-shadow: 0 0 0 rgb(81 207 102 / 0%);
        transform: scale(0.9);
    }

    50% {
        text-shadow:
            0 0 20px rgb(81 207 102 / 80%),
            0 0 40px rgb(81 207 102 / 40%);
        transform: scale(1.08);
    }

    100% {
        text-shadow: 0 0 0 rgb(81 207 102 / 0%);
        transform: scale(1);
    }
}

/* Golden glow ring around captured character */
.broImage::before {
    content: '';
    position: absolute;
    width: 120%;
    height: 120%;
    border-radius: 50%;
    background: radial-gradient(circle, rgb(255 215 0 / 15%) 0%, transparent 70%);
    animation: captureGlow 2s ease-in-out infinite;
    pointer-events: none;
}

@keyframes captureGlow {
    0%,
    100% {
        transform: scale(0.95);
        opacity: 0.6;
    }

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

/* Orbiting sparkle star 1 */
.broImage::after {
    content: '✦';
    position: absolute;
    font-size: 1.5rem;
    color: #ffd700;
    text-shadow: 0 0 8px rgb(255 215 0 / 80%);
    animation: sparkleOrbit1 2.5s ease-in-out infinite;
    pointer-events: none;
}

@keyframes sparkleOrbit1 {
    0% {
        transform: translate(-60px, -60px) scale(0);
        opacity: 0;
    }

    20% {
        transform: translate(-50px, -50px) scale(1.2);
        opacity: 1;
    }

    50% {
        transform: translate(0, -70px) scale(1);
        opacity: 1;
    }

    80% {
        transform: translate(50px, -50px) scale(1.2);
        opacity: 1;
    }

    100% {
        transform: translate(60px, -60px) scale(0);
        opacity: 0;
    }
}

/* Extra sparkle particles */
@keyframes sparklePop {
    0% {
        transform: scale(0) rotate(0deg);
        opacity: 1;
    }

    50% {
        transform: scale(1.3) rotate(180deg);
        opacity: 0.8;
    }

    100% {
        transform: scale(0) rotate(360deg);
        opacity: 0;
    }
}

@keyframes slideInRight {
    0% {
        opacity: 0;
        transform: translateX(15px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ── FULL PARTY SCREEN ───────────────────────────────────── */
.fullPartyContainer {
    text-align: center;
    padding: 2rem;
    background-color: rgb(0 0 0 / 70%);
    border-radius: 8px;
    max-width: 600px;
}

.fullPartyMessage {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.releaseList {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
    max-height: 300px;
    overflow-y: auto;
}

.releaseItem {
    background-color: rgb(255 255 255 / 10%);
    padding: 1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.releaseItem:hover {
    background-color: rgb(255 255 255 / 20%);
}
