:root {
    --background-dark: #121212;
    --background-light: #1E1E1E;
    --primary-color: #FF69B4;
    --text-color: #E0E0E0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'League Spartan', sans-serif;
}

body {
    background-color: var(--background-dark);
    color: var(--text-color);
    line-height: 1.6;
    padding: 2rem 1rem;
}

header, main {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

header {
    margin-bottom: 3rem;
}

h1 {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

#categories-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 1rem;
}

.category-card {
    background-color: var(--background-light);
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(255, 105, 180, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    width: 100%;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 25px rgba(255, 105, 180, 0.2);
}

.category-card h2 {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.reasons-grid {
    display: none;
    flex-direction: column;
    gap: 10px;
    margin-top: 1rem;
}

.category-card.active .reasons-grid {
    display: flex;
}

.reason-btn {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 0.8rem 1.2rem;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    width: 100%;
    text-align: left;
}

.reason-btn:hover {
    background-color: var(--primary-color);
    color: var(--background-dark);
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: var(--background-light);
    border-radius: 20px;
    padding: 2rem;
    width: 90%;
    max-width: 500px;
    position: relative;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

.close-btn {
    position: absolute;
    right: 1.5rem;
    top: 1rem;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-color);
    transition: color 0.3s ease;
}

.close-btn:hover {
    color: var(--primary-color);
}

#poem-display-area h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    font-weight: 600;
}

#poem-display-area p {
    white-space: pre-wrap;
    line-height: 1.8;
    font-size: 1.1rem;
}

#poem-display-area p strong {
    color: var(--primary-color);
    font-weight: 600;
}

@media (max-width: 600px) {
    body {
        padding: 1rem;
    }

    h1 {
        font-size: 2rem;
    }

    .category-card {
        padding: 1rem;
    }

    .modal-content {
        padding: 1.5rem;
    }

    #poem-display-area h3 {
        font-size: 1.3rem;
    }
} 