@import url('https://fonts.googleapis.com/css2?family=Unbounded:wght@200..900&display=swap');

/* --- CSS variables for dark/light theme --- */
body.dark {
    --bg: #212529;
    --card-bg: #2b3035;
    --text: #dee2e6;
    --shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
    --btn-bg: #6c757d;
    --btn-text: #fff;
    --btn-hover: #5a6268;
}
body.light {
    --bg: #f8f9fa;
    --card-bg: #ffffff;
    --text: #212529;
    --shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
    --btn-bg: #6c757d;
    --btn-text: #fff;
    --btn-hover: #5a6268;
}

/* --- Base --- */
*,
*::before,
*::after {
    box-sizing: border-box;
}
body {
    margin: 0;
    font-family: "Unbounded", "Segoe UI", Arial, Helvetica, sans-serif;
    background-color: var(--bg);
    color: var(--text);
    transition:
        background-color 0.3s,
        color 0.3s;
}

/* --- Particles --- */
#particles-js {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

/* --- Layout --- */
.main-wrapper {
    position: relative;
    z-index: 1;
}
.center-screen {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

/* --- Card --- */
/* --- Card --- */
.card {
    background-color: var(--card-bg);
    color: var(--text);
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: var(--shadow);
    max-width: 502px;
    width: 100%;
    transition:
        transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275),
        box-shadow 0.3s ease;
    animation: cardEntrance 0.6s ease-out;
}

.card:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}

@keyframes cardEntrance {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* --- Typography --- */
.text-center {
    text-align: center;
}

/* --- Profile pic --- */
#profile-pic {
    width: 125px;
    height: 125px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

#profile-pic:hover {
    transform: scale(1.08) rotate(3deg);
}

/* --- Social icons --- */
.social-icons {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 0.5rem;
}
.social-icons a {
    color: inherit;
    text-decoration: none;
    display: flex;
    align-items: center;
}
.social-icons a:hover {
    opacity: 0.75;
}
.social-icons .iconify {
    width: 22px;
    height: 22px;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.social-icons a:hover .iconify {
    transform: scale(1.2) translateY(-2px);
}

/* --- Theme button --- */
#themesel {
    position: fixed;
    top: 12px;
    right: 12px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text);
    z-index: 10;
    padding: 4px;
}
