
:root {
    --bg-color: #E0F7FA;
    --text-color: #37474F;
    --maru-body: #FFF9E6;
    --maru-stroke: #8D6E63;
    --maru-eye: #5D4037;
    --maru-blush: #FFB1B1;
    --maru-mouth: #5D4037;
}

body {
    font-family: 'Comic Sans MS', 'Chalkboard SE', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    min-height: 100vh;
}

.container {
    width: 100%;
    max-width: 800px;
    background: white;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

header {
    background-color: #4DB6AC;
    color: white;
    padding: 20px;
    text-align: center;
    border-radius: 0 0 20px 20px;
}

header h1 {
    margin: 0 0 10px 0;
}

nav a {
    color: white;
    text-decoration: none;
    margin: 0 10px;
    font-weight: bold;
    font-size: 1.1em;
}

nav a:hover {
    text-decoration: underline;
}

main {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Maru Character CSS Drawing */
.maru-container {
    position: relative;
    width: 300px;
    height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

.maru {
    width: 200px;
    height: 180px;
    cursor: pointer;
    transition: transform 0.2s;
}

.maru:hover {
    transform: scale(1.05);
}

.maru:active {
    transform: scale(0.95);
}

.maru-body {
    width: 100%;
    height: 100%;
    background-color: var(--maru-body);
    border: 3px solid var(--maru-stroke);
    border-radius: 50% 50% 40% 40% / 60% 60% 40% 40%;
    position: relative;
    box-shadow: inset -10px -10px 20px rgba(0,0,0,0.05);
}

.maru-face {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 80px;
}

.maru-eye {
    position: absolute;
    width: 12px;
    height: 18px;
    background-color: var(--maru-eye);
    border-radius: 50%;
    top: 20px;
}

.maru-eye.left {
    left: 20px;
}

.maru-eye.right {
    right: 20px;
}

.maru-blush {
    position: absolute;
    width: 20px;
    height: 10px;
    background-color: var(--maru-blush);
    border-radius: 50%;
    top: 45px;
    opacity: 0.6;
}

.maru-blush.left {
    left: 10px;
}

.maru-blush.right {
    right: 10px;
}

.maru-mouth {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 10px;
    border-bottom: 3px solid var(--maru-mouth);
    border-radius: 0 0 50% 50%;
}

/* Speech Bubble */
.speech-bubble {
    position: absolute;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    border: 2px solid var(--maru-stroke);
    border-radius: 10px;
    padding: 10px 15px;
    width: 200px;
    text-align: center;
    box-shadow: 2px 2px 5px rgba(0,0,0,0.1);
    z-index: 10;
}

.speech-bubble:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 10px 10px 0;
    border-style: solid;
    border-color: var(--maru-stroke) transparent;
    display: block;
    width: 0;
}

.interaction-hint {
    color: #888;
    font-size: 0.9em;
    margin-top: 10px;
}

footer {
    text-align: center;
    padding: 20px;
    font-size: 0.8em;
    color: #888;
    border-top: 1px solid #eee;
}

/* About Page Styles */
.about-content {
    align-items: flex-start;
    padding: 40px;
    line-height: 1.6;
}

.profile-card, .hobbies, .origin {
    margin-bottom: 30px;
    background: #f9f9f9;
    padding: 20px;
    border-radius: 10px;
    width: 100%;
    box-sizing: border-box;
}

h2 {
    color: #00796B;
    border-bottom: 2px solid #B2DFDB;
    padding-bottom: 10px;
}
