* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #f5f7fa 0%, #e8edf2 100%);
    color: #333;
    line-height: 1.6;
}

header {
    background: linear-gradient(135deg, #469FAB 0%, #7CC6D9 100%);
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(70, 159, 171, 0.2);
    margin-bottom: 2rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    justify-content: center;
}

.logo h1 {
    color: white;
    font-size: 2.2rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
    font-weight: 600;
}

.logo svg {
    filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.15));
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-5px);
    }
    100% {
        transform: translateY(0px);
    }
}

nav {
    display: none;
}

nav a {
    color: white;
    text-decoration: none;
    margin-right: 1rem;
    padding: 0.5rem;
    border-radius: 5px;
    transition: background-color 0.3s;
}

nav a:hover {
    background-color: rgba(255,255,255,0.2);
}

main {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.welcome-section {
    text-align: center;
    padding: 3rem 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(70, 159, 171, 0.1);
    margin-bottom: 3rem;
}

.welcome-section h2 {
    font-size: 2.4rem;
    color: #469FAB;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #469FAB 0%, #7CC6D9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.welcome-section p {
    font-size: 1.2rem;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
}

.mood-selector {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.mood-selector button {
    padding: 1rem;
    border: none;
    border-radius: 10px;
    background: linear-gradient(135deg, #469FAB 0%, #7CC6D9 100%);
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(70, 159, 171, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.mood-selector button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(70, 159, 171, 0.3);
}

#art-submission {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

#art-submission input,
#art-submission textarea,
#art-submission select {
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 5px;
}

#art-submission button {
    padding: 1.2rem;
    background: linear-gradient(135deg, #469FAB 0%, #7CC6D9 100%);
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(70, 159, 171, 0.2);
}

#art-submission button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(70, 159, 171, 0.3);
}

#story-display {
    margin-top: 2rem;
}

.story {
    padding: 2.5rem;
    background: white;
    border-radius: 15px;
    margin-bottom: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border-left: 5px solid #469FAB;
}

.story h3 {
    color: #469FAB;
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.story p {
    line-height: 1.6;
    white-space: pre-line;
}

h2 {
    color: #469FAB;
    margin-bottom: 1.5rem;
}

section {
    display: block;  
    padding: 2rem;
    margin-bottom: 2rem;  
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

section.active {
    display: block;
}

.canvas-container {
    margin-bottom: 2rem;
    background: white;
    padding: 1rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

#drawingCanvas {
    width: 100%;
    height: 400px;
    border: 2px solid #469FAB;
    border-radius: 10px;
    cursor: crosshair;
    background: white;
    margin-bottom: 1rem;
}

.drawing-tools {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

#colorPicker {
    height: 40px;
    width: 60px;
    padding: 0;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

#brushSize {
    flex: 1;
    min-width: 100px;
    max-width: 200px;
}

.drawing-tools button {
    padding: 0.8rem 1.5rem;
    background: linear-gradient(135deg, #469FAB 0%, #7CC6D9 100%);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.drawing-tools button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(70, 159, 171, 0.2);
}