:root {
    --bg-dark: #05070a;
    --card-bg: rgba(10, 14, 23, 0.65);
    --card-border: rgba(255, 144, 82, 0.15);
    --border-hover: rgba(255, 209, 102, 0.45);
    --accent-orange: #ff9052;
    --accent-glow: rgba(255, 144, 82, 0.3);
    --accent-yellow: #ffd166;
    --text-light: #f1f5f9;
    --text-muted: #94a3b8;
    --text-soft: #64748b;
    --success-green: #10b981;
    --error-red: #ef4444;
}

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

body.wolf-pg-body {
    font-family: 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-light);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    position: relative;
}

/* Atmosphere effects */
.wolf-pg-atmosphere {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.laser-beam {
    position: absolute;
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, transparent, var(--accent-orange), transparent);
    opacity: 0.15;
    animation: laser-slide 15s infinite linear;
}

.laser-1 { left: 25%; animation-delay: 0s; }
.laser-2 { left: 75%; animation-delay: -7.5s; }

@keyframes laser-slide {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(100%); }
}

.grid-floor {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 300px;
    background-image: 
        linear-gradient(to top, rgba(5, 7, 10, 0.9) 0%, transparent 100%),
        linear-gradient(rgba(255, 144, 82, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 144, 82, 0.04) 1px, transparent 1px);
    background-size: 100% 100%, 40px 40px, 40px 40px;
    transform: perspective(500px) rotateX(60deg);
    transform-origin: bottom;
    opacity: 0.8;
}

/* Shell Layout */
.wolf-pg-shell {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 30px 20px;
    flex: 1;
    z-index: 1;
    position: relative;
    display: flex;
    flex-direction: column;
}

/* Header */
.wolf-pg-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding-bottom: 20px;
}

.wolf-pg-kicker {
    color: var(--accent-orange);
    text-transform: uppercase;
    font-weight: 800;
    font-size: 0.8rem;
    letter-spacing: 2px;
    margin-bottom: 4px;
    text-shadow: 0 0 10px var(--accent-glow);
}

.wolf-pg-header h1 {
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, var(--text-light) 40%, var(--accent-orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 8px;
}

.wolf-pg-copy {
    color: var(--text-muted);
    font-size: 1rem;
    max-width: 600px;
}

.wolf-pg-backlink {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    border-radius: 100px;
    border: 1px solid rgba(255, 144, 82, 0.25);
    color: var(--text-light);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.85rem;
    background: rgba(255, 144, 82, 0.05);
    transition: all 0.3s;
}

.wolf-pg-backlink:hover {
    background: var(--accent-orange);
    box-shadow: 0 0 15px var(--accent-glow);
    transform: translateY(-2px);
}

/* Content Grid */
.wolf-pg-content-grid {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 30px;
    flex: 1;
}

/* Glass Panels */
.wolf-pg-panel {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    backdrop-filter: blur(16px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    padding: 24px;
}

.panel-section {
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.panel-section:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.panel-section h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--accent-yellow);
}

.section-help {
    font-size: 0.8rem;
    color: var(--text-soft);
    margin-bottom: 12px;
    line-height: 1.4;
}

/* Inputs & Form */
.add-wolf-form {
    display: flex;
    gap: 10px;
}

.input-wrap {
    flex: 1;
    position: relative;
}

.input-wrap input {
    width: 100%;
    padding: 10px 14px;
    background: rgba(5, 7, 10, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--text-light);
    font-size: 0.95rem;
    transition: border-color 0.3s;
    outline: none;
}

.input-wrap input:focus {
    border-color: var(--accent-orange);
}

.pg-btn {
    padding: 10px 18px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    border: none;
    transition: all 0.3s;
    outline: none;
}

.pg-btn-primary {
    background: var(--accent-orange);
    color: var(--bg-dark);
}

.pg-btn-primary:hover {
    background: var(--accent-yellow);
    box-shadow: 0 0 10px rgba(255, 209, 102, 0.3);
}

.verify-status {
    margin-top: 10px;
    font-size: 0.85rem;
    min-height: 18px;
    font-weight: 600;
}

.status-success { color: var(--success-green); }
.status-error { color: var(--error-red); }

/* Roster list */
.roster-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 250px;
    overflow-y: auto;
    padding-right: 4px;
}

.roster-empty {
    font-size: 0.85rem;
    color: var(--text-soft);
    text-align: center;
    padding: 20px 0;
}

.roster-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    transition: all 0.3s;
}

.roster-item:hover {
    background: rgba(255, 144, 82, 0.05);
    border-color: rgba(255, 144, 82, 0.2);
}

.roster-item-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.roster-item-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--accent-orange);
    background: rgba(5, 7, 10, 0.8);
    object-fit: cover;
}

.roster-item-name {
    font-size: 0.85rem;
    font-weight: 700;
}

.roster-item-id {
    font-size: 0.75rem;
    color: var(--text-soft);
}

.roster-remove-btn {
    background: transparent;
    border: none;
    color: var(--text-soft);
    font-size: 1.1rem;
    cursor: pointer;
    transition: color 0.3s;
}

.roster-remove-btn:hover {
    color: var(--error-red);
}

/* Scenario preset buttons */
.scenario-buttons {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.scenario-btn {
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 700;
    text-align: left;
    cursor: pointer;
    transition: all 0.3s;
}

.scenario-btn:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.15);
}

.scenario-btn.active {
    background: rgba(255, 144, 82, 0.12);
    border-color: var(--accent-orange);
    color: var(--accent-orange);
    box-shadow: 0 0 10px rgba(255, 144, 82, 0.1);
}

/* Stage Area (Right Column) */
.wolf-pg-stage-area {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Simulation Stage */
.simulation-stage {
    position: relative;
    height: 400px;
    background: linear-gradient(180deg, #090c15 0%, #05070a 100%);
    border: 2px solid var(--card-border);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding: 0 60px;
}

/* Scenario: Battle mode */
.simulation-stage.mode-battle {
    background: radial-gradient(circle at center, #111827 0%, #05070a 100%);
}

.simulation-stage.mode-battle::before {
    content: 'VS';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 8rem;
    font-weight: 950;
    color: rgba(255, 255, 255, 0.02);
    font-style: italic;
    pointer-events: none;
    letter-spacing: -5px;
}

/* Scenario: Dance mode */
.simulation-stage.mode-dance {
    background: linear-gradient(45deg, #1e1b4b 0%, #090514 100%);
}

.stage-strobe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(168, 85, 247, 0.15) 0%, transparent 60%);
    mix-blend-mode: screen;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s;
}

.simulation-stage.mode-dance .stage-strobe {
    opacity: 1;
    animation: dance-flash 1.2s infinite alternate;
}

@keyframes dance-flash {
    0% { background: radial-gradient(circle at 30% 20%, rgba(168, 85, 247, 0.2) 0%, transparent 60%); }
    50% { background: radial-gradient(circle at 70% 30%, rgba(59, 130, 246, 0.2) 0%, transparent 60%); }
    100% { background: radial-gradient(circle at 50% 50%, rgba(236, 72, 153, 0.2) 0%, transparent 60%); }
}

/* Scenario: Feeding mode */
.simulation-stage.mode-feeding {
    background: radial-gradient(circle at center, #064e3b 0%, #05070a 100%);
}

/* Stage elements */
.stage-floor {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: linear-gradient(180deg, rgba(255, 144, 82, 0.06) 0%, rgba(5, 7, 10, 0.8) 100%);
    border-top: 1px solid rgba(255, 144, 82, 0.2);
    z-index: 1;
}

/* Teams placement */
.stage-team {
    display: flex;
    gap: 30px;
    align-items: flex-end;
    margin-bottom: 24px;
    z-index: 2;
}

.team-left {
    justify-content: flex-start;
}

.team-right {
    justify-content: flex-end;
    flex-direction: row-reverse;
}

/* Sprite Container */
.sprite-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    user-select: none;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.sprite-img-container {
    width: 120px;
    height: 120px;
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.sprite-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transform-origin: bottom;
    transition: transform 0.2s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* HP & Namebars */
.sprite-nameplate {
    margin-top: 10px;
    background: rgba(5, 7, 10, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    padding: 3px 8px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    white-space: nowrap;
    text-shadow: 0 1px 2px black;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.sprite-hp-bar {
    width: 60px;
    height: 4px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    margin-top: 4px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

.sprite-hp-fill {
    height: 100%;
    width: 100%;
    background: var(--success-green);
    border-radius: 20px;
    transition: width 0.3s;
}

.sprite-hp-fill.danger {
    background: var(--error-red);
}

/* Facing configurations */
.team-right .sprite-img {
    transform: scaleX(-1); /* Face left default */
}

/* Dynamic Effects layer */
.effects-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 3;
}

.particle {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-yellow);
    pointer-events: none;
    transform: translate(-50%, -50%);
    animation: particle-burst 0.6s forwards cubic-bezier(0.1, 0.8, 0.3, 1);
}

@keyframes particle-burst {
    0% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
    100% { transform: translate(var(--dx, 0), var(--dy, 0)) scale(0); opacity: 0; }
}

.damage-popup {
    position: absolute;
    font-size: 1.2rem;
    font-weight: 900;
    color: var(--accent-yellow);
    text-shadow: 0 2px 4px rgba(0,0,0,0.8), 0 0 10px rgba(255, 144, 82, 0.8);
    pointer-events: none;
    animation: popup-float 0.8s forwards ease-out;
}

@keyframes popup-float {
    0% { transform: translateY(0) scale(0.6); opacity: 0; }
    30% { transform: translateY(-30px) scale(1.1); opacity: 1; }
    100% { transform: translateY(-70px) scale(0.85); opacity: 0; }
}

/* Floating Zzz */
.zzz-bubble {
    position: absolute;
    color: #a78bfa;
    font-weight: 700;
    font-size: 0.9rem;
    animation: zzz-float 1.5s infinite linear;
    pointer-events: none;
}

@keyframes zzz-float {
    0% { transform: translate(0, 0) scale(0.6); opacity: 0; }
    50% { transform: translate(15px, -25px) scale(1); opacity: 0.8; }
    100% { transform: translate(25px, -50px) scale(0.7); opacity: 0; }
}

/* Falling food */
.falling-food {
    position: absolute;
    font-size: 1.6rem;
    pointer-events: none;
    animation: food-fall 1.5s forwards linear;
}

@keyframes food-fall {
    0% { transform: translateY(-50px) rotate(0deg); opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(330px) rotate(360deg); opacity: 0; }
}


/* ---------------------------------------------------------------------------
 * SPRITE ANIMATIONS (KEYFRAMES & CLASSES)
 * ------------------------------------------------------------------------- */

/* Breathing Idle state */
.animate-idle .sprite-img {
    animation: pose-idle 2s infinite ease-in-out;
}

@keyframes pose-idle {
    0%, 100% { transform: scale(1, 1); }
    50% { transform: scale(1.03, 0.95); }
}

/* Team right has scaled flipped image, preserve it in idle */
.team-right .animate-idle .sprite-img {
    animation: pose-idle-right 2s infinite ease-in-out;
}

@keyframes pose-idle-right {
    0%, 100% { transform: scaleX(-1) scale(1, 1); }
    50% { transform: scaleX(-1) scale(1.03, 0.95); }
}

/* Attack: Punch Lunge */
.animate-punch-left .sprite-img-container {
    animation: attack-lunge-left 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes attack-lunge-left {
    0% { transform: translateX(0) scale(1, 1); }
    30% { transform: translateX(-15px) scale(0.9, 1.1); }
    50% { transform: translateX(70px) scale(1.2, 0.8) rotate(5deg); }
    100% { transform: translateX(0) scale(1, 1); }
}

.animate-punch-right .sprite-img-container {
    animation: attack-lunge-right 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes attack-lunge-right {
    0% { transform: translateX(0) scale(1, 1); }
    30% { transform: translateX(15px) scale(0.9, 1.1); }
    50% { transform: translateX(-70px) scale(1.2, 0.8) rotate(-5deg); }
    100% { transform: translateX(0) scale(1, 1); }
}

/* Attack: Kick Spin */
.animate-kick-left .sprite-img-container {
    animation: kick-spin-left 0.5s ease-out;
}

@keyframes kick-spin-left {
    0% { transform: translateX(0) rotate(0); }
    20% { transform: translateX(-20px) rotate(-15deg); }
    50% { transform: translateX(90px) rotate(180deg) scale(1.1); }
    100% { transform: translateX(0) rotate(360deg); }
}

.animate-kick-right .sprite-img-container {
    animation: kick-spin-right 0.5s ease-out;
}

@keyframes kick-spin-right {
    0% { transform: translateX(0) rotate(0); }
    20% { transform: translateX(20px) rotate(15deg); }
    50% { transform: translateX(-90px) rotate(-180deg) scale(1.1); }
    100% { transform: translateX(0) rotate(-360deg); }
}

/* Attack: Uppercut */
.animate-uppercut-left .sprite-img-container {
    animation: uppercut-rise-left 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes uppercut-rise-left {
    0% { transform: translate(0, 0) scale(1); }
    20% { transform: translate(-10px, 15px) scale(1, 0.8); }
    50% { transform: translate(45px, -80px) scale(0.85, 1.35) rotate(12deg); }
    100% { transform: translate(0, 0) scale(1); }
}

.animate-uppercut-right .sprite-img-container {
    animation: uppercut-rise-right 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes uppercut-rise-right {
    0% { transform: translate(0, 0) scale(1); }
    20% { transform: translate(10px, 15px) scale(1, 0.8); }
    50% { transform: translate(-45px, -80px) scale(0.85, 1.35) rotate(-12deg); }
    100% { transform: translate(0, 0) scale(1); }
}

/* Defense: Block Brace */
.animate-block .sprite-img {
    animation: defense-block 0.3s forwards ease-out;
}

@keyframes defense-block {
    0% { transform: scale(1); }
    100% { transform: scale(0.85, 0.8) translateY(12px) rotate(-8deg); }
}

.team-right .animate-block .sprite-img {
    animation: defense-block-right 0.3s forwards ease-out;
}

@keyframes defense-block-right {
    0% { transform: scaleX(-1) scale(1); }
    100% { transform: scaleX(-1) scale(0.85, 0.8) translateY(12px) rotate(8deg); }
}

/* Defense: Dodge slide */
.animate-dodge-left .sprite-img-container {
    animation: dodge-slide-left 0.4s ease-out;
}

@keyframes dodge-slide-left {
    0% { transform: translateX(0); opacity: 1; filter: blur(0); }
    30% { transform: translateX(-80px) scale(0.9, 0.9); opacity: 0.5; filter: blur(2px); }
    100% { transform: translateX(0); opacity: 1; filter: blur(0); }
}

.animate-dodge-right .sprite-img-container {
    animation: dodge-slide-right 0.4s ease-out;
}

@keyframes dodge-slide-right {
    0% { transform: translateX(0); opacity: 1; filter: blur(0); }
    30% { transform: translateX(80px) scale(0.9, 0.9); opacity: 0.5; filter: blur(2px); }
    100% { transform: translateX(0); opacity: 1; filter: blur(0); }
}

/* Recoil damage shake */
.animate-recoil .sprite-img-container {
    animation: shake-recoil 0.4s forwards;
}

.animate-recoil .sprite-img {
    filter: brightness(1.8) sepia(1) hue-rotate(-50deg) saturate(5); /* Red tint */
}

@keyframes shake-recoil {
    0% { transform: translate(0, 0) scale(1); }
    15% { transform: translate(-15px, 0) rotate(-8deg) scale(0.85, 1.15); }
    30% { transform: translate(12px, -8px) scale(1.1, 0.9); }
    45% { transform: translate(-8px, 4px); }
    60% { transform: translate(5px, 0); }
    100% { transform: translate(0, 0) scale(1); }
}

/* Knockdown collapsed state */
.animate-knockdown .sprite-img-container {
    animation: collapse-down 0.8s forwards ease-in-out;
}

.animate-knockdown .sprite-img {
    filter: brightness(0.4) saturate(0.2);
}

@keyframes collapse-down {
    0% { transform: translateY(0) rotate(0); }
    30% { transform: translateY(-40px) rotate(-30deg); }
    100% { transform: translateY(48px) rotate(-90deg) scale(0.8, 1); }
}

.team-right .animate-knockdown .sprite-img-container {
    animation: collapse-down-right 0.8s forwards ease-in-out;
}

@keyframes collapse-down-right {
    0% { transform: translateY(0) rotate(0); }
    30% { transform: translateY(-40px) rotate(30deg); }
    100% { transform: translateY(48px) rotate(90deg) scale(0.8, 1); }
}

/* Victory bounce */
.animate-victory .sprite-img-container {
    animation: victory-jump 1.2s infinite alternate ease-in-out;
}

@keyframes victory-jump {
    0% { transform: translateY(0) scale(1, 1); }
    50% { transform: translateY(-50px) scale(0.9, 1.15); }
    100% { transform: translateY(0) scale(1.06, 0.92); }
}

/* Eating chew */
.animate-eat .sprite-img {
    animation: chew-bite 0.5s infinite alternate ease-in-out;
}

@keyframes chew-bite {
    0% { transform: scale(1, 1); }
    100% { transform: scale(1.08, 0.86) translateY(4px); }
}

.team-right .animate-eat .sprite-img {
    animation: chew-bite-right 0.5s infinite alternate ease-in-out;
}

@keyframes chew-bite-right {
    0% { transform: scaleX(-1) scale(1, 1); }
    100% { transform: scaleX(-1) scale(1.08, 0.86) translateY(4px); }
}

/* Starved state */
.animate-starved .sprite-img {
    filter: brightness(0.6) saturate(0.1) opacity(0.5);
    transform: scale(0.78, 0.82) translateY(10px);
}

/* Sleeping state */
.animate-sleep .sprite-img-container {
    animation: lay-sleep 1s forwards;
}

.animate-sleep .sprite-img {
    filter: brightness(0.7);
}

@keyframes lay-sleep {
    0% { transform: translateY(0); }
    100% { transform: translateY(32px) scale(0.85, 1); }
}

.team-right .animate-sleep .sprite-img-container {
    animation: lay-sleep-right 1s forwards;
}

@keyframes lay-sleep-right {
    0% { transform: translateY(0); }
    100% { transform: translateY(32px) scale(0.85, 1); }
}


/* ---------------------------------------------------------------------------
 * ACTION / CONTROLS PANEL
 * ------------------------------------------------------------------------- */
.action-panel {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.action-row-header h3 {
    font-size: 1.2rem;
    color: var(--accent-orange);
}

.action-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.action-group:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.group-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--text-soft);
    letter-spacing: 1px;
}

.btn-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.action-trigger {
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    color: var(--text-light);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    outline: none;
}

.action-trigger:hover {
    background: rgba(255, 144, 82, 0.12);
    border-color: var(--accent-orange);
    color: var(--accent-orange);
    box-shadow: 0 0 10px rgba(255, 144, 82, 0.1);
    transform: translateY(-1px);
}

.action-trigger.font-special {
    background: rgba(255, 209, 102, 0.08);
    border-color: rgba(255, 209, 102, 0.25);
    color: var(--accent-yellow);
}

.action-trigger.font-special:hover {
    background: rgba(255, 209, 102, 0.18);
    border-color: var(--accent-yellow);
    box-shadow: 0 0 10px rgba(255, 209, 102, 0.15);
}

/* Footer styling */
.wolf-pg-footer {
    text-align: center;
    padding: 30px 20px;
    color: var(--text-soft);
    font-size: 0.85rem;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    margin-top: auto;
}

/* Responsive adjustments */
@media (max-width: 990px) {
    .wolf-pg-content-grid {
        grid-template-columns: 1fr;
    }
    .wolf-pg-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    .simulation-stage {
        padding: 0 20px;
        height: 350px;
    }
}

/* Winner gold glow effect */
.winner-glow .sprite-img-container {
    filter: drop-shadow(0 0 15px #ffd166) drop-shadow(0 0 30px #ffd166) !important;
    animation: winner-pulse 1.5s infinite alternate ease-in-out;
}
@keyframes winner-pulse {
    0% { filter: drop-shadow(0 0 10px #ffd166) drop-shadow(0 0 20px #ffd166); }
    100% { filter: drop-shadow(0 0 20px #ffd166) drop-shadow(0 0 45px #ffd166); }
}
