/* ============================================
   PERSONAL PAGE STYLES
   ============================================ */

.personal-header {
    padding: calc(80px + var(--space-4xl)) 0 var(--space-3xl);
    background: linear-gradient(135deg, #f8fafc 0%, #e0f2fe 100%);
    text-align: center;
}

.personal-header h1 {
    font-family: var(--font-display);
    font-size: 3rem;
    margin-bottom: var(--space-md);
}

.personal-header p {
    font-size: 1.1rem;
    color: var(--color-text-light-secondary);
    max-width: 500px;
    margin: 0 auto;
}

/* Sections */
.personal-section {
    padding: var(--space-4xl) 0;
}

.personal-section.section-alt {
    background: var(--color-bg-light);
}

.personal-section h2 {
    font-family: var(--font-display);
    font-size: 1.75rem;
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.section-icon {
    font-size: 1.5rem;
}

.section-intro {
    font-size: 1.1rem;
    color: var(--color-text-light-secondary);
    margin-bottom: var(--space-xl);
    max-width: 600px;
}

/* Photo Grid */
.photo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
}

.photo-placeholder,
.photo-grid img {
    aspect-ratio: 4/3;
    width: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.photo-placeholder {
    background: linear-gradient(135deg, #e0e7ff 0%, #c7d2fe 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-light-secondary);
    font-size: 0.9rem;
}

/* Football */
.football-content {
    max-width: 700px;
}

.football-content p {
    font-size: 1.1rem;
    color: var(--color-text-light-secondary);
    line-height: 1.8;
    margin-bottom: var(--space-lg);
}

/* Poems */
.poems-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-lg);
}

.poem-card {
    background: var(--color-surface);
    padding: var(--space-xl);
    border-radius: 12px;
    border: 1px solid var(--color-border-light);
    cursor: pointer;
    transition: all var(--transition-base);
}

.poem-card:hover {
    border-color: var(--color-primary);
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.poem-card h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    margin-bottom: var(--space-sm);
}

.poem-preview {
    font-style: italic;
    color: var(--color-text-light-secondary);
    margin-bottom: var(--space-md);
}

.poem-read-btn {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--color-primary);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

/* Modal */
.modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
    padding: var(--space-xl);
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: white;
    max-width: 500px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    padding: var(--space-2xl);
    border-radius: 12px;
    position: relative;
    transform: translateY(20px);
    transition: transform var(--transition-base);
}

.modal.active .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--color-text-light-secondary);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

.modal-close:hover {
    background: var(--color-bg-light);
}

.modal-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    margin-bottom: var(--space-xl);
}

.modal-body {
    font-family: var(--font-display);
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--color-text-light-secondary);
    white-space: pre-line;
}

/* Responsive */
@media (max-width: 768px) {
    .personal-header h1 {
        font-size: 2rem;
    }
    
    .photo-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
