@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@300;400;500;700&display=swap');

:root {
    --bg-color: #f5f5f5; /* Light background */
    --text-color: #333333; /* Dark text */
    --primary-color: #09AAD6; /* UAPA Blue */
    --secondary-color: #453C5B; /* UAPA Dark Purple */
    --card-bg: #ffffff;
    --border-color: #e0e0e0;
}

body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    font-family: 'Quicksand', sans-serif;
    background: #52647A; /* Section background color from origin */
    color: var(--text-color);
    display: flex;
    justify-content: center;
    align-items: center;
    background-attachment: fixed;
    box-sizing: border-box;
}

.container {
    max-width: 800px;
    width: 90%;
    margin: 2rem;
    padding: 3rem;
    background: var(--bg-color); /* Light gray like their background */
    border: 1px solid var(--border-color);
    border-radius: 4px;
    box-shadow: 0 10px 30px -10px rgba(69, 60, 91, 0.4);
    text-align: center;
    animation: fadeIn 0.8s ease-out forwards;
    transform: translateY(20px);
    opacity: 0;
    border-top: 5px solid var(--primary-color);
}

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

h1 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--secondary-color);
    line-height: 1.2;
}

p.message {
    font-size: 1.1rem;
    color: var(--text-color);
    margin-bottom: 2.5rem;
    line-height: 1.6;
    font-weight: 500;
}

.uapa-card {
    background: #dbf9fb; /* Light blue accent from original UAPA */
    border-radius: 2px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--primary-color);
    display: inline-block;
    max-width: 500px;
    width: 100%;
}

.uapa-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px -10px rgba(9, 170, 214, 0.4);
}

.uapa-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-bottom: 3px solid var(--secondary-color);
    transition: filter 0.3s ease;
    background-color: #eee;
}

.uapa-card:hover .uapa-image {
    filter: brightness(1.05);
}

.uapa-content {
    padding: 1.5rem;
}

.uapa-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.4;
}

.uapa-title a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.2s ease;
}

.uapa-title a:hover {
    color: var(--primary-color);
}

.display-link {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--secondary-color);
    border-radius: 4px;
    color: #dbf9fb;
    margin: 1rem 0 2rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.display-link:hover {
    background: var(--primary-color);
    color: #ffffff;
}

@media (max-width: 600px) {
    h1 {
        font-size: 1.8rem;
    }
    
    .container {
        padding: 2rem 1.5rem;
    }
    
    .uapa-image {
        height: 200px;
    }
}
