/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #0f172a;
    color: #f8fafc;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.container {
    width: 100%;
    max-width: 500px;
    padding: 20px;
    text-align: center; /* Centers the header text */
}

/* Header Styling */
.profile-header {
    margin-bottom: 40px;
}

.profile-header h1 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.profile-header p {
    font-size: 1.1rem;
    color: #94a3b8; /* Muted blue-grey */
    font-weight: 400;
}

/* The Grid Layout */
.grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

/* Individual Cards */
.card {
    background: #1e293b;
    border: 1px solid #334155;
    border-radius: 20px;
    padding: 35px 20px;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-8px);
    background: #2d3748;
    border-color: #60a5fa;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
}

.card i {
    font-size: 2.2rem;
    margin-bottom: 12px;
    color: #60a5fa;
}

.card span {
    font-size: 0.95rem;
    font-weight: 500;
}

/* Mobile Responsiveness */
@media (max-width: 400px) {
    .grid {
        grid-template-columns: 1fr;
    }
}