/* main page stuff */
body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family:system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    background-color: black;
    margin: 0;
}

main {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* footer at bottom */
footer {
    color: white;
    padding: 20px;
    width: 100%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    font-family: sans-serif;
    padding-right: 5px;
}

/* dog/cat images */
img {
    border-radius: 12px;
    height: 200px;
    width: 300px;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

/* all buttons */
button {
    background: rgba(102, 126, 234, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 12px 24px;
    font-size: 1.1rem;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

button:hover {
    background: rgba(102, 126, 234, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(102, 126, 234, 0.3);
}

button:active {
    transform: translateY(0);
}

h1 {
    color: aliceblue;
    font-weight: 600;
    margin: 20px 0;
}

h2 {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
    margin: 20px 0;
}

/* the vs box thing */
.dlr {
    display: flex;
    gap: 50px;
    padding: 20px;
    color: white;
    width: fit-content;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

/* button */
.buttons {
    display: flex;
    gap: 12px;
    margin: 20px 0;
}

/* ai sya thing box */
#res {
    font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
    color: white;
    font-size: 1.2rem;
    line-height: 1.6;
    max-width: 600px;
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* links */
a {
    text-decoration: none;
    color: #667eea;
}

a:hover {
    color: #8b9eff;
    text-decoration: underline;
}

.upload-btn {
    button {
    background: rgba(102, 126, 234, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 12px 24px;
    font-size: 1.1rem;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
} 
}

#res {
    position: relative;
    overflow: hidden;
}

#res.loading {
    background: rgba(255,255,255,0.05);
}

#res.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    animation: loadingShine 1s infinite;
}

@keyframes loadingShine {
    0% { left: -100%; }
    100% { left: 100%; }
}
