/* Bauhaus-inspired styling with golden spiral grid */
:root {
    --charcoal: #1a1a1a;
    --white: #ffffff;
    --liquidation-red: #ff3b30;
    --golden-ratio: 1.618;
}

body {
    margin: 0;
    padding: 0;
    background-color: var(--charcoal);
    color: var(--white);
    font-family: 'Arial', sans-serif;
    overflow: hidden;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.container {
    position: relative;
    width: 100%;
    height: 100%;
}

.grid {
    position: absolute;
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    grid-template-rows: repeat(10, 1fr);
    gap: 0;
}

.grid::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(90deg, transparent 49%, rgba(255, 255, 255, 0.1) 50%, transparent 51%),
        linear-gradient(transparent 49%, rgba(255, 255, 255, 0.1) 50%, transparent 51%);
    background-size: 100% 100%;
    z-index: 1;
}

.frog-container {
    grid-column: 5;
    grid-row: 5;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
}

.frog {
    width: 80px;
    height: 80px;
    transition: transform 0.2s ease;
}

.frog:hover {
    transform: scale(1.1);
}

.liquidate-button {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--liquidation-red);
    color: var(--white);
    border: none;
    padding: 15px 30px;
    font-size: 18px;
    font-family: 'Arial', sans-serif;
    cursor: pointer;
    border-radius: 0;
    transition: all 0.2s ease;
    z-index: 10;
}

.liquidate-button:hover {
    background-color: #ff6b60;
    box-shadow: 0 0 15px var(--liquidation-red);
}

/* Text styling with debt-scaled font size */
.debt-text {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 32px;
    text-align: center;
    transition: font-size 0.5s ease;
}

/* Animation classes */
.falling {
    animation: fall 2s cubic-bezier(0.68, -0.55, 0.32, 1.55) forwards;
}

@keyframes fall {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(calc(100vh - 100px));
    }
}

/* Dissolve to void effect */
.dissolve {
    animation: dissolve 1s forwards;
}

@keyframes dissolve {
    0% {
        opacity: 1;
        filter: blur(0px);
    }
    100% {
        opacity: 0;
        filter: blur(10px);
    }
}

