body {
    margin: 0;
    font-family: "Segoe UI", sans-serif;
    background: #0f172a;
    color: #e2e8f0;
    display: flex;
    justify-content: center;
    align-items: flex-start; 
    min-height: 100vh;
}

.container {
    text-align: center;
    max-width: 90%;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 5px;
}

.nickname {
    color: #38bdf8;
    font-size: 1rem;
    margin-bottom: 20px;
}

.bio {
    color: #94a3b8;
    margin-bottom: 30px;
}

.cards {
    display: grid;
    grid-template-columns: 1fr; /* default: 1 card */
    gap: 15px;
}

/* tablet */
@media (min-width: 600px) {
    .cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* desktop */
@media (min-width: 900px) {
    .cards {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* big screen (optional) */
@media (min-width: 1200px) {
    .cards {
        grid-template-columns: repeat(4, 1fr);
    }
}

.card {
    background: #1e293b;
    padding: 15px;
    border-radius: 10px;
    text-decoration: none;
    color: #e2e8f0;
    transition: 0.2s;
    border: 1px solid transparent;
}

.card:hover {
    transform: translateY(-3px);
    border: 1px solid #38bdf8;
    box-shadow: 0 5px 20px rgba(56, 189, 248, 0.2);
}

.card-title {
    font-weight: bold;
    margin-bottom: 5px;
}

.card-desc {
    font-size: 0.9rem;
    color: #94a3b8;
}

.card-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
}