body {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.header-bar {
    background: linear-gradient(135deg, #f5576c 0%, #f093fb 100%);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.set-name {
    color: white;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.8);
}

.close-button {
    background: rgba(255, 100, 200, 0.1);
    color: white;
    border: 1px solid rgba(150, 150, 150, 0.1);
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.1);
    margin-bottom: 1px;
}

.close-button:hover {
    background: rgba(255, 100, 200, 0.8);
    border: 1px solid rgba(150, 150, 150, 0.6);
    /*transform: scale(1.1);*/
}

.card {
    background: rgba(240, 240, 240, 1);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.card-image-container {
    max-width: none !important;
    max-height: none !important;
    width: 60% !important;
    max-height: 80vh !important;
    aspect-ratio: 55 / 85 !important;
    position: relative;
    transform: rotate(-2deg);
    transition: transform 0.3s ease;
}

.card-image {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    width: 100%;
    height: 100%;
    max-width: none !important;
    max-height: none !important;
    object-fit: cover;
    display: block;
    border-radius: 6%;
    border-bottom-color: rgba(0, 0, 0, 0.9);
    border-right-color: rgba(0, 0, 0, 0.9);
    border-top-color: rgba(255, 255, 255, 0.9);
    border-left-color: rgba(255, 255, 255, 0.9);
    border-width: 1px;
    transform: rotate(-1deg);
    transition: transform 0.3s ease;
    z-index: 1000;
}

.card-image:hover {
    transform: rotate(2deg) scale(1.1);
}

.card-image-container::before,
.card-image-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(240, 240, 240, 0.9);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: -1;
    border-radius: 6%;
    transform-origin: center center;
}

.card-image-container::before,
.card-image-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: -1;
    border-radius: 6%;
    transform-origin: center center;
    opacity: 0.9;
}

.card-image-container::before {
    background-image: url('/static/images/_before_.png');
    transform: rotate(4deg) translateY(4px);
}

.card-image-container::after {
    background-image: url('/static/images/_after_.png');
    transform: rotate(-3deg) translateY(8px);
}

h2 {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 3em;
    margin: 10px;
}

.definition-container {
    border: 2px solid #e0e0e0;
    background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
}

.definition-container:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.definition-container::before {
    color: #ff6b6b;
    text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.5);
}

.definition-container.revealed {
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
}

p {
    color: #333;
}

.definition-extra {
    color: #555;
}

button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
}

button:active {
    transform: translateY(0);
}