.fairytale { 
    padding: 40px 20px 0 20px;
    text-align: center;
}

.fairytale-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
}

.line {
    height: 1px;
    width: 120px;
    background-color: #fff;
    opacity: 0.6;
}

.fairytale-text {
    text-align: center;
}

.fairytale-text h3 {
    font-family: 'Bodoni 72', serif;
    font-size: 2rem;
    color: #fff;
    margin-bottom: 10px;
    font-weight: normal;
}

.ballet-description {
    background: #001140;
    padding: 40px 20px;
    color: #fff;
}

.ballet-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.toggle-input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.description-text {
    font-family: 'Bodoni 72', serif;
    font-size: 1.525rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
    position: relative;
    min-height: 60px;
    max-height: calc(1.6em * 3);
    overflow: hidden;
    transition: max-height 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.description-text p {
    margin: 0;
    transition: opacity 0.4s ease;
}

.description-text::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2em;
    background: linear-gradient(to bottom, rgba(0, 17, 64, 0) 0%, #001140 100%);
    transition: opacity 0.6s ease;
}

/* Hide gradient when expanded */
.toggle-input:checked ~ .description-text::after {
    opacity: 0;
}

/* Expanded state */
.toggle-input:checked ~ .description-text {
    max-height: 1000px;
}

.toggle-input:checked ~ .description-text p {
    opacity: 0.8;
}

.expand-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 30px auto 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 10;
    width: 40px;
    height: 40px;
}

.expand-btn:hover {
    opacity: 0.8;
    transform: translateY(2px);
}

.chevron-down {
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    display: block;
    width: 40px;
    height: 40px;
}

.chevron-down path {
    stroke: rgba(255, 255, 255, 0.6);
    stroke-width: 1.5;
}

.toggle-input:checked ~ .expand-btn .chevron-down {
    transform: rotate(180deg);
}

@media (max-width: 768px) {
    .fairytale {
        padding: 40px 20px;
    }

    .line {
        display: none;
    }

    .fairytale-text h3 {
        font-size: 1.5rem;
    }

    .ballet-description {
        padding: 30px 20px;
    }

    .description-text {
        font-size: 1.2rem;
        line-height: 1.5;
        max-height: calc(1.5em * 3);
    }

    .description-text::after {
        height: 1.5em;
    }

    .expand-btn {
        margin-top: 20px;
        width: 32px;
        height: 32px;
    }

    .chevron-down {
        width: 32px;
        height: 32px;
    }
}

@media (max-width: 480px) {
    .ballet-description {
        padding: 20px 15px;
    }

    .description-text {
        font-size: 1.1rem;
        max-height: calc(1.5em * 3);
    }
} 