body {
    font-family: 'Georgia', serif;
    background-color: #F5F5DC; /* Beige */
    color: #36454F; /* Charcoal */
}

.font-mono {
    font-family: 'Courier New', monospace;
}

.btn {
    background-color: #8B4513; /* SaddleBrown */
    color: #F5F5DC; /* Beige */
    padding: 0.5rem 1rem;
    border-radius: 0.25rem;
    text-decoration: none;
    display: inline-block;
    transition: opacity 0.2s;
    font-weight: bold;
}

.btn:hover {
    opacity: 0.9;
}

.btn-secondary {
    background-color: #A1887F; /* Brown Grey */
    color: #F5F5DC;
    padding: 0.25rem 0.75rem;
    border-radius: 0.25rem;
    text-decoration: none;
    font-size: 0.875rem;
}
.btn-secondary:hover {
    opacity: 0.9;
}

input {
    background-color: #F5F5F5;
    color: #36454F;
}

/* New Styles for Phase 3 Combat UI */
.card {
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    cursor: pointer;
}

.card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.2), 0 4px 6px -2px rgba(0, 0, 0, 0.1);
}

/* New Styles for Phase 4 Interactivity */
.card {
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    cursor: pointer;
}

.card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.2), 0 4px 6px -2px rgba(0, 0, 0, 0.1);
}

/* Animation for trying to play a card without enough energy */
.shake {
    animation: shake 0.5s cubic-bezier(.36,.07,.19,.97) both;
    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
    perspective: 1000px;
}

@keyframes shake {
  10%, 90% {
    transform: translate3d(-1px, 0, 0);
  }
  
  20%, 80% {
    transform: translate3d(2px, 0, 0);
  }

  30%, 50%, 70% {
    transform: translate3d(-4px, 0, 0);
  }

  40%, 60% {
    transform: translate3d(4px, 0, 0);
  }
}