/* Additional styles specific to poems page */
.poem-container {
    max-width: 600px;
    margin: 0 auto 40px;
    padding: 0 20px;
}

.poem-card {
    background-color: #f9f4fc;
    border: 5px groove #000000;
    padding: 25px;
    margin-bottom: 30px;
    border-radius: 10px;
    position: relative;
    box-shadow: 5px 5px 0px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
}

.poem-card:hover {
    transform: translateY(-5px);
    box-shadow: 8px 8px 0px rgba(0, 0, 0, 0.15);
}

.poem-header {
    border-bottom: 3px double #ff00ff;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.poem-title {
    color: #ff0000;
    font-size: 1.8em;
    margin: 0;
    text-align: center;
}

.poem-date {
    color: #666;
    text-align: center;
    font-size: 0.9em;
    font-style: italic;
    margin-top: 5px;
}

.poem-content {
    line-height: 1.8;
    font-size: 1.1em;
    text-align: center;
    white-space: pre-line;
    font-family: 'Courier New', monospace;
}

.poem-meta {
    text-align: center;
    margin-top: 15px;
    font-size: 0.9em;
    color: #666;
}

/* Date Filtering Styles */
.filter-controls {
    background-color: #f0f0f0;
    border: 3px solid #000;
    padding: 15px;
    margin-bottom: 25px;
    border-radius: 8px;
    text-align: center;
}

.filter-title {
    color: #ff0000;
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.4em;
}

.filter-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
}

.filter-btn {
    background-color: rgba(255, 0, 255, 0.8);
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-family: 'DynaPuff', sans-serif;
    font-size: 0.9em;
    transition: all 0.3s;
    min-width: 100px;
}

.filter-btn:hover {
    background-color: #aa00aa;
}

.filter-btn.active {
    background-color: #ff0000;
    font-weight: bold;
}

.poems-list {
    display: none;
}

.poems-list.active {
    display: block;
}

.poem-year {
    color: #ff00ff;
    font-size: 1.5em;
    margin-top: 0;
    margin-bottom: 20px;
    padding-bottom: 5px;
    border-bottom: 2px dashed #ff00ff;
    text-align: center;
}

.poem-month {
    color: #990099;
    font-size: 1.2em;
    margin-top: 25px;
    margin-bottom: 10px;
    padding-left: 10px;
    border-left: 4px solid #990099;
}

.poem-count {
    background-color: rgba(255, 0, 255, 0.2);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9em;
    display: inline-block;
    margin-bottom: 20px;
}

/* Year group styling */
.year-group {
    margin-bottom: 30px;
}

.year-title {
    color: #ff00ff;
    font-size: 1.4em;
    margin-bottom: 15px;
    padding-bottom: 3px;
    border-bottom: 1px solid #ff00ff;
}

@media (max-width: 768px) {
    .poem-card {
        padding: 15px;
    }
    
    .poem-title {
        font-size: 1.5em;
    }
    
    .poem-content {
        font-size: 1em;
    }
    
    .filter-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .filter-btn {
        width: 90%;
        max-width: 250px;
    }
}