:root {
    --sky-blue: #38B6FF;
    --sunny-yellow: #FFDE59;
    --grass-green: #7ED957;
    --rainbow-pink: #FF66C4;
    --text-color: #1A2A40;
    --card-bg: #FFFFFF;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Comic Sans MS', 'Chalkboard SE', sans-serif; 
    background-color: #E8F8FF; 
    color: #1A2A40;
    line-height: 1.6;
}

.main-header {
    text-align: center;
    background: linear-gradient(180deg, #38B6FF 0%, #E8F8FF 100%);
    padding: 20px 20px 40px 20px;
    border-bottom: 8px dashed #FFDE59;
}

.header-image {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    object-position: center;
    border-radius: 20px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.15);
}

.main-header h1 {
    margin-top: 25px;
    font-size: 3rem;
    color: #FFFFFF;
    text-shadow: 3px 3px 0 #38B6FF, -1px -1px 0 #38B6FF, 1px -1px 0 #38B6FF, -1px 1px 0 #38B6FF, 1px 1px 0 #38B6FF;
    letter-spacing: 2px;
}

main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    text-align: center;
}

.about-section {
    background-color: #FFFFFF;
    border: 6px dashed #38B6FF;
    border-radius: 25px;
    padding: 30px;
    max-width: 800px;
    margin: 0 auto 40px auto;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

.about-section p {
    font-size: 1.3rem;
    color: #1A2A40;
    font-weight: bold;
}

.video-section {
    margin-bottom: 40px;
}

.video-section h2, .lyrics-section h2, .characters-section h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #38B6FF;
    text-shadow: 2px 2px 0px #FFDE59;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; 
    height: 0;
    overflow: hidden;
    max-width: 800px;
    margin: 0 auto 20px auto;
    border-radius: 20px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    border: 8px solid #FF66C4;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 10px;
}

.lyrics-section {
    margin-bottom: 60px;
}

.lyrics-container {
    background-color: #FFFFFF;
    border: 6px dashed #7ED957;
    border-radius: 25px;
    padding: 30px;
    max-width: 600px;
    margin: 0 auto;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

.lyrics-container p {
    font-size: 1.2rem;
    font-weight: bold;
    color: #1A2A40;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 2px dotted #FFDE59;
}

.lyrics-container p:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.character-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.character-card {
    background-color: #FFFFFF;
    border: 6px solid #FFDE59;
    border-radius: 25px;
    padding: 20px;
    width: 240px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease, border-color 0.3s ease;
}

.character-card:hover {
    transform: rotate(6deg) scale(1.08);
    box-shadow: 0 12px 24px rgba(0,0,0,0.2);
    border-color: #7ED957;
}

.character-card:nth-child(even):hover {
    transform: rotate(-6deg) scale(1.08);
    border-color: #FF66C4;
}

.character-img {
    width: 160px;
    height: 160px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 15px;
    border: 5px solid #38B6FF;
}

.character-card h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: #FF66C4;
}

.character-card:nth-child(even) h3 {
    color: #7ED957;
}

.character-card p {
    font-size: 1.1rem;
    color: #1A2A40;
    font-weight: bold;
}

footer {
    text-align: center;
    padding: 30px;
    background-color: #7ED957;
    margin-top: 60px;
    border-top: 8px dashed #FFDE59;
    color: #FFFFFF;
    font-weight: bold;
    font-size: 1.2rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

.clickable-card {
    cursor: pointer;
}

.clickable-card:active {
    transform: scale(0.95);
}

.img-container {
    position: relative;
    display: inline-block;
}

/* Updated Play Icon Positioning */
.play-icon {
    position: absolute;
    bottom: 20px;
    right: -5px;
    background-color: var(--sunny-yellow);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    border: 3px solid var(--card-bg);
    opacity: 0.9;
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 2;
}

.play-icon::after {
    content: '';
    display: block;
    width: 0;
    height: 0;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-left: 14px solid var(--text-color);
    margin-left: 4px;
}

/* New Stop Icon Positioned Diagonally */
.stop-icon {
    position: absolute;
    bottom: -10px;
    right: -25px;
    background-color: var(--rainbow-pink);
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    border: 3px solid var(--card-bg);
    opacity: 0.9;
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 2;
}

.stop-icon::after {
    content: '';
    display: block;
    width: 12px;
    height: 12px;
    background-color: var(--text-color);
    border-radius: 2px;
}

.clickable-card:hover .play-icon,
.clickable-card:hover .stop-icon {
    opacity: 1;
    transform: scale(1.1);
}