body {
    font-family: 'Arial', sans-serif; /* Highly readable font */
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    background-color: #ADD8E6; /* Kirby's sky blue */
    color: #4B0082; /* Darker accent, deep space/indigo */
    font-size: 18px; /* Increased base font size for readability */
}

/* Styles for landing page container */
.container {
    background-color: #FFFFFF; /* White */
    padding: 30px;
    border-radius: 25px; /* Even rounder corners */
    box-shadow: 0 10px 20px rgba(255, 105, 180, 0.5); /* More prominent pink shadow */
    text-align: center;
    width: 90%;
    max-width: 600px;
}

/* Reusing quiz-container for upload page for consistency */
.quiz-container {
    background-color: #FFFFFF; /* White */
    padding: 30px;
    border-radius: 25px; /* Even rounder corners */
    box-shadow: 0 10px 20px rgba(255, 105, 180, 0.5); /* More prominent pink shadow */
    text-align: center;
    width: 90%;
    max-width: 600px;
}

h1 {
    color: #FF69B4; /* Hot pink */
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.15); /* Soft shadow */
    font-size: 2.2em; /* Larger heading */
}

/* Specific styling for page titles */
#main-title, #quiz-title, #upload-title {
    color: #FF69B4; /* Hot pink */
    margin-top: 15px; /* Space below Kirby image */
    margin-bottom: 25px;
}


.word-display p {
    font-size: 1.3em; /* Slightly larger text */
    margin: 10px 0;
    line-height: 1.6; /* Increased line height for readability */
}

#meaning {
    font-weight: bold;
    color: #FF69B4; /* Hot pink */
}

#example {
    font-style: italic;
    color: #4B0082; /* Darker accent */
}

.input-section {
    margin-top: 30px; /* More space */
}

#answer-input {
    width: calc(100% - 24px); /* Adjust width for new padding/border */
    padding: 15px; /* Larger padding */
    margin-right: 0; /* Remove right margin */
    border: 3px solid #FFC0CB; /* Thicker light pink border */
    border-radius: 15px; /* Even rounder input */
    font-size: 1.2em; /* Larger font */
    background-color: #FFF0F5; /* Light pink background */
    color: #4B0082;
    text-align: center; /* Center placeholder text */
    box-sizing: border-box; /* Include padding and border in the element's total width and height */
}

button {
    background-color: #FFC0CB; /* Light pink */
    color: #4B0082; /* Darker accent */
    padding: 15px 30px; /* Larger padding */
    border: none;
    border-radius: 15px; /* Even rounder buttons */
    cursor: pointer;
    font-size: 1.2em;
    transition: background-color 0.3s ease, transform 0.2s ease;
    margin: 10px 5px; /* More margin */
}

button:hover {
    background-color: #FF69B4; /* Hot pink on hover */
    transform: translateY(-3px); /* More pronounced lift */
}

#submit-button {
    background-color: #FFD700; /* Gold/yellow */
    color: #4B0082;
}

#submit-button:hover {
    background-color: #FFFF00; /* Bright yellow on hover */
}

.feedback-area {
    margin-top: 30px; /* More space */
    min-height: 30px; /* To prevent layout shift */
}

#feedback, #upload-feedback {
    font-size: 1.4em; /* Larger feedback text */
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.controls {
    margin-top: 30px;
}

/* Styles for landing page buttons */
.options {
    margin-top: 35px;
    display: flex;
    flex-direction: column;
    gap: 20px; /* More space between buttons */
}

.options .button {
    display: inline-block;
    background-color: #FFC0CB; /* Light pink */
    color: #4B0082; /* Darker accent */
    padding: 18px 35px; /* Even larger buttons */
    border-radius: 20px; /* Even rounder buttons */
    text-decoration: none;
    font-size: 1.3em;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.options .button:hover {
    background-color: #FF69B4; /* Hot pink on hover */
    transform: translateY(-4px); /* More pronounced lift */
}

/* Styles for upload page */
.upload-section {
    margin-top: 25px;
    text-align: left;
}

.upload-section p {
    margin-bottom: 15px; /* More space */
    font-size: 1.1em;
}

#json-input {
    width: calc(100% - 28px); /* Adjust width for new padding/border */
    padding: 15px;
    border: 3px solid #FFC0CB; /* Thicker light pink border */
    border-radius: 15px;
    font-family: 'Arial', sans-serif; /* Consistent font */
    font-size: 1.1em;
    resize: vertical;
    min-height: 180px; /* Taller textarea */
    margin-bottom: 15px;
    background-color: #FFF0F5; /* Light pink background */
    color: #4B0082;
    box-sizing: border-box;
}

.upload-section #upload-button {
    width: 100%;
    background-color: #ADD8E6; /* Light blue */
    color: #4B0082;
}

.upload-section #upload-button:hover {
    background-color: #87CEEB; /* Sky blue on hover */
}

/* Common button style for back to home */
.controls .button {
    display: inline-block;
    background-color: #FFD700; /* Gold/yellow */
    color: #4B0082;
    padding: 15px 30px;
    border-radius: 15px;
    text-decoration: none;
    font-size: 1.2em;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.controls .button:hover {
    background-color: #FFFF00; /* Bright yellow on hover */
    transform: translateY(-3px);
}

/* Kirby Image Styling */
.kirby-image {
    width: 100px; /* Adjust size as needed */
    height: auto;
    margin-bottom: 15px; /* Space below image */
    border-radius: 50%; /* Make it round */
    box-shadow: 0 5px 15px rgba(255, 105, 180, 0.3); /* Soft shadow for image */
}
