@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;700&family=Pacifico&display=swap');

body {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    background: linear-gradient(135deg, #f6d365 0%, #fda085 100%); /* Canlı gradient */
    color: #333;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
    box-sizing: border-box;
}

.container {
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    padding: 40px;
    max-width: 900px;
    width: 100%;
    text-align: center;
    overflow: hidden;
    position: relative;
}

.container::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, #ff9a9e 0%, #fad0c4 100%); /* Köşede dekoratif gradient */
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.6;
    z-index: 0;
}

.container::after {
    content: '';
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, #a1c4fd 0%, #c2e9fb 100%); /* Diğer köşede dekoratif gradient */
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.6;
    z-index: 0;
}

.header {
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}

.header h1 {
    font-family: 'Pacifico', cursive;
    font-size: 3.5em;
    color: #e94e77; /* Pembe tonu */
    margin-bottom: 10px;
    text-shadow: 2px 2px 5px rgba(0,0,0,0.1);
}

.header p {
    font-size: 1.2em;
    color: #666;
}

.letters-section, .poem-section {
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}

h2 {
    font-size: 2.2em;
    color: #e94e77;
    margin-bottom: 25px;
    border-bottom: 3px solid #f6d365;
    display: inline-block;
    padding-bottom: 5px;
}

.letter-card {
    background: linear-gradient(45deg, #ffe9e9 0%, #fffafa 100%); /* Mektup kartları için hafif gradient */
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.letter-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.letter-card h3 {
    color: #e94e77;
    margin-top: 0;
    font-size: 1.5em;
    margin-bottom: 10px;
}

.letter-card p {
    color: #555;
    line-height: 1.6;
}

#showPoemBtn {
    background: linear-gradient(45deg, #ff6b6b 0%, #ffa500 100%); /* Buton için canlı gradient */
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 1.2em;
    border-radius: 30px;
    cursor: pointer;
    outline: none;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.4);
}

#showPoemBtn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 107, 107, 0.6);
}

.poem-content {
    background-color: #fdfdfd;
    border-left: 5px solid #e94e77;
    padding: 20px;
    margin-top: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.5s ease-in-out;
    opacity: 1;
    max-height: 500px; /* Max height for smooth transition */
    overflow: hidden;
}

.poem-content.hidden {
    opacity: 0;
    max-height: 0;
    padding-top: 0;
    padding-bottom: 0;
    margin-top: 0;
}

.poem-content p {
    font-size: 1.1em;
    line-height: 1.8;
    color: #444;
    font-style: italic;
}

.footer {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    color: #888;
    font-size: 0.9em;
    position: relative;
    z-index: 1;
}