:root {
    --primary-blue: #0020ff;
    --button-bg: #f7f7f9; /* Light grey requested */
    --hover-bg: #ececf1;
    --text-dark: #111111;
    --text-grey: #666666;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #e9ecef;
    display: flex;
    justify-content: center;
    align-items: center; /* Vertical center on desktop */
    min-height: 100vh;
    padding: 20px;
}

/* FIXED SIZE CONTAINER */
.card-container {
    background: white;
    width: 420px; /* Fixed Width */
    height: 780px; /* Fixed Height */
    border-radius: 24px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    animation: entrance 0.7s ease-out;
}

/* HEADER */
.page-header {
    width: 100%;
    flex-shrink: 0;
}

.header-img {
    width: 100%;
    height: auto;
    display: block;
}

/* LINKS SECTION */
.links-section {
    padding: 30px 25px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex-grow: 1; /* Pushes footer to the bottom of the fixed height */
}

.link-card {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    background: var(--button-bg); /* Grey background */
    border-radius: 14px;
    text-decoration: none;
    color: var(--text-dark);
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

/* Dynamic UI Features */
.link-card:hover {
    background: var(--hover-bg);
    transform: scale(1.02);
    border-color: #e2e2e8;
}

.icon-box {
    width: 38px;
    height: 38px;
    background: #e6e9ff;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 15px;
    color: var(--primary-blue);
    font-size: 1.1rem;
}

.link-text {
    font-weight: 500;
    flex-grow: 1;
    font-size: 1rem;
}

.arrow {
    color: #cbd5e0;
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.link-card:hover .arrow {
    transform: translateX(4px);
    color: var(--primary-blue);
}

/* FOOTER */
.page-footer {
    padding: 40px 25px;
    text-align: center;
    background: #ffffff;
    border-top: 1px solid #f0f0f0;
}

.logo-container {
    margin-bottom: 20px;
}

.footer-logo {
    width: 85%; /* Large logo as requested */
    max-width: 320px;
    height: auto;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.footer-logo:hover {
    opacity: 1;
}

.legal-links {
    margin-bottom: 8px;
    font-size: 0.85rem;
}

.legal-links a {
    color: #718096;
    text-decoration: none;
    margin: 0 6px;
    transition: color 0.2s ease;
}

.legal-links a:hover {
    color: var(--primary-blue);
}

.copyright {
    font-size: 0.75rem;
    color: #a0aec0;
}

/* ANIMATIONS */
@keyframes entrance {
    from { opacity: 0; transform: translateY(30px) scale(0.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

/* For small mobile screens, ensure it doesn't break */
@media (max-width: 450px) {
    .card-container {
        width: 100%;
        height: auto;
        min-height: 100vh;
        border-radius: 0;
    }
    body { padding: 0; }
}