﻿/*h1:focus {
    outline: none;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}*/



/* Reset and base styles */
/** {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    font-family: 'Georgia', serif;
    color: #f0e6d3;
}*/

/* Main container - fluid layout */
/*.main-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}*/

/* Title styling */
/*.title h1 {
    font-size: 4rem;
    font-weight: 300;
    letter-spacing: 8px;
    text-transform: uppercase;
    color: #d4a373;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    margin-bottom: 30px;
    font-family: 'Times New Roman', serif;
    border-bottom: 2px solid #d4a373;
    padding-bottom: 10px;
}*/

/* Frame container */
/*.frame-container {
    padding: 20px 0;
}*/

/* Oil painting frame styling */
/*.oil-painting-frame {
    position: relative;
    padding: 25px;
    background: linear-gradient(145deg, #8B7355 0%, #D4A574 30%, #C49B6C 50%, #A67B5B 70%, #8B7355 100%);
    border-radius: 8px;
    box-shadow: 0 0 0 10px #5c3d2e, 0 0 0 15px #8B7355, 0 0 0 20px #6b4c3b, 0 10px 40px rgba(0,0,0,0.6), inset 0 0 30px rgba(0,0,0,0.3);
    display: inline-block;
}*/

    /* Decorative inner frame detail */
    /*.oil-painting-frame::before {
        content: '';
        position: absolute;
        top: 12px;
        left: 12px;
        right: 12px;
        bottom: 12px;
        border: 3px solid rgba(210, 180, 140, 0.3);
        border-radius: 4px;
        pointer-events: none;
    }*/

    /* Frame corner decorations */
    /*.oil-painting-frame::after {
        content: '✦';
        position: absolute;
        bottom: -15px;
        right: -15px;
        font-size: 20px;
        color: #d4a373;
        opacity: 0.5;
    }

.monster-image {
    display: block;
    max-width: 400px;
    max-height: 400px;
    width: auto;
    height: auto;
    border-radius: 3px;
    box-shadow: inset 0 0 20px rgba(0,0,0,0.3);
}*/

/* Fruit grid layout */
/*.fruit-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    padding: 40px 20px;
    max-width: 600px;
    width: 100%;
}

.fruit-square {
    aspect-ratio: 1;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid rgba(212, 163, 115, 0.3);
    backdrop-filter: blur(5px);
    background: linear-gradient(135deg, rgba(212, 163, 115, 0.1), rgba(255, 255, 255, 0.05));
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

    .fruit-square:hover:not(.hidden) {
        transform: scale(1.05);
        border-color: #d4a373;
        box-shadow: 0 6px 25px rgba(212, 163, 115, 0.3);
    }

    .fruit-square.hidden {
        opacity: 0;
        transform: scale(0.8);
        pointer-events: none;
        border-color: transparent;
        transition: all 0.5s ease;
    }

.fruit-image {
    width: 70%;
    height: 70%;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.3));
}*/

/* Footer styling */
/*.footer {
    width: 100%;
    text-align: center;
    padding: 30px 0 10px 0;
    margin-top: auto;
    border-top: 1px solid rgba(212, 163, 115, 0.2);
}

    .footer p {
        font-size: 0.9rem;
        color: #d4a373;
        opacity: 0.7;
        letter-spacing: 2px;
        font-weight: 300;
    }*/

/* Responsive adjustments */
/*@media (max-width: 768px) {
    .title h1 {
        font-size: 2.5rem;
        letter-spacing: 4px;
    }

    .fruit-grid {
        gap: 20px;
        padding: 20px 10px;
    }

    .oil-painting-frame {
        padding: 15px;
    }

    .monster-image {
        max-width: 250px;
        max-height: 250px;
    }

    .oil-painting-frame::before {
        top: 8px;
        left: 8px;
        right: 8px;
        bottom: 8px;
    }
}

@media (max-width: 480px) {
    .fruit-grid {
        gap: 15px;
        grid-template-columns: repeat(2, 1fr);
        max-width: 300px;
    }

    .title h1 {
        font-size: 2rem;
    }
}*/


/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    background: linear-gradient(135deg, #1a0a2e 0%, #2d1b4e 30%, #3d1f6e 60%, #2a0e44 100%);
    font-family: 'Inter', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    color: #f0e6d3;
}

/* Main container - fluid layout */
.main-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Title styling with modern sans-serif */
.title h1 {
    font-size: 4.5rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    background: linear-gradient(135deg, #e8d5b7 0%, #f5e6d3 50%, #e8d5b7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    /*text-shadow: 0 0 40px rgba(212, 163, 115, 0.3);*/
    margin-bottom: 30px;
    font-family: 'Inter', 'Segoe UI', sans-serif;
}

/* Bubble container */
.bubble-container {
    padding: 20px 0;
    display: flex;
    justify-content: center;
    width: 100%;
}

/* Comic speech bubble */
.speech-bubble {
    position: relative;
    background: white;
    border-radius: 120px 120px 120px 40px;
    padding: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 0 4px #2a1a3e, 0 0 0 8px rgba(255, 255, 255, 0.1);
    display: inline-block;
    animation: float 3s ease-in-out infinite;
    max-width: 90%;
}

/* Bubble tail - comic style */
.bubble-tail {
    position: absolute;
    bottom: -40px;
    left: 60px;
    width: 0;
    height: 0;
    border-left: 25px solid transparent;
    border-right: 25px solid transparent;
    border-top: 45px solid white;
    filter: drop-shadow(0 10px 10px rgba(0, 0, 0, 0.2));
}

    /* Second tail for comic effect */
    .bubble-tail::after {
        content: '';
        position: absolute;
        bottom: -38px;
        left: -15px;
        width: 0;
        height: 0;
        border-left: 15px solid transparent;
        border-right: 15px solid transparent;
        border-top: 30px solid white;
    }

/* Decorative comic dots around bubble */
.speech-bubble::before {
    content: '• • •';
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.3);
    font-size: 12px;
    letter-spacing: 8px;
}

/* Inner highlight for depth */
.speech-bubble::after {
    content: '';
    position: absolute;
    top: 15px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: radial-gradient(circle, rgba(255,255,255,0.4) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

@keyframes float {
    0% {
        transform: translateY(0px) rotate(-0.5deg);
    }

    50% {
        transform: translateY(-10px) rotate(0.5deg);
    }

    100% {
        transform: translateY(0px) rotate(-0.5deg);
    }
}

.monster-image {
    display: block;
    max-width: 400px;
    max-height: 400px;
    width: auto;
    height: auto;
    border-radius: 80px 80px 80px 20px;
    box-shadow: inset 0 0 30px rgba(0,0,0,0.1);
    position: relative;
    z-index: 1;
}

/* Fruit grid layout */
.fruit-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    padding: 50px 20px 30px 20px;
    max-width: 600px;
    width: 100%;
}

.fruit-square {
    aspect-ratio: 1;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.05));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

    /* Subtle glow effect */
    .fruit-square::before {
        content: '';
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: radial-gradient(circle at center, rgba(255,255,255,0.05) 0%, transparent 70%);
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .fruit-square:hover:not(.hidden)::before {
        opacity: 1;
    }

    .fruit-square:hover:not(.hidden) {
        transform: scale(1.08) translateY(-5px);
        border-color: rgba(255, 255, 255, 0.4);
        box-shadow: 0 8px 35px rgba(0, 0, 0, 0.4);
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.08));
    }

    .fruit-square.hidden {
        opacity: 0;
        transform: scale(0.6) rotate(180deg);
        pointer-events: none;
        border-color: transparent;
        transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    }

.fruit-image {
    width: 65%;
    height: 65%;
    object-fit: contain;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
    transition: transform 0.3s ease;
    position: relative;
    z-index: 1;
}

.fruit-square:hover:not(.hidden) .fruit-image {
    transform: scale(1.05);
}

/* Footer styling */
.footer {
    width: 100%;
    text-align: center;
    padding: 30px 0 10px 0;
    margin-top: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

    .footer p {
        font-size: 0.88rem;
        color: rgba(255, 255, 255, 0.4);
        /*letter-spacing: 3px;*/
        font-weight: 300;
        font-family: 'Inter', 'Segoe UI', sans-serif;
    }

/* Responsive adjustments */
@media (max-width: 768px) {
    .title h1 {
        font-size: 2.8rem;
        letter-spacing: 2px;
    }

    .fruit-grid {
        gap: 20px;
        padding: 30px 15px 20px 15px;
    }

    .speech-bubble {
        padding: 20px;
        border-radius: 80px 80px 80px 30px;
    }

        .speech-bubble::before {
            font-size: 10px;
            letter-spacing: 6px;
            top: -25px;
        }

    .bubble-tail {
        left: 40px;
        border-left-width: 20px;
        border-right-width: 20px;
        border-top-width: 35px;
        bottom: -32px;
    }

        .bubble-tail::after {
            bottom: -30px;
            left: -12px;
            border-left-width: 12px;
            border-right-width: 12px;
            border-top-width: 24px;
        }

    .monster-image {
        max-width: 250px;
        max-height: 250px;
        border-radius: 60px 60px 60px 15px;
    }
}

@media (max-width: 480px) {
    .title h1 {
        font-size: 2rem;
        letter-spacing: 1px;
    }

    .fruit-grid {
        gap: 15px;
        grid-template-columns: repeat(2, 1fr);
        max-width: 280px;
    }

    .speech-bubble {
        padding: 15px;
        border-radius: 60px 60px 60px 20px;
    }

    .monster-image {
        max-width: 180px;
        max-height: 180px;
        border-radius: 40px 40px 40px 10px;
    }

    .bubble-tail {
        left: 30px;
        border-left-width: 15px;
        border-right-width: 15px;
        border-top-width: 28px;
        bottom: -26px;
    }

        .bubble-tail::after {
            display: none;
        }

    .speech-bubble::before {
        font-size: 8px;
        letter-spacing: 4px;
        top: -20px;
    }
}