/* ============= GLOBAL ============= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #0F1012;
    font-family: "Onest", sans-serif;
    color: #fff;
    overflow-x: hidden;
    opacity: 0;
    animation: fadeIn 0.6s ease forwards;
}

@keyframes fadeIn {
    to { opacity: 1; }
}

/* ============= HEADER (AVATAR) ============= */

.header {
    width: 1620px;
    margin: 40px auto 0;
    padding: 0 10px;

    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-avatar {
    width: 68px;
    height: 68px;
    background: #2A2C30;
    border-radius: 14px;

    display: flex;
    align-items: center;
    overflow: hidden;
    cursor: pointer;
    transition: width 0.35s ease;
    text-decoration: none;
    color: white;
}

.header-avatar:hover {
    width: 260px;
}

.avatar-box {
    width: 68px;
    height: 68px;
    padding: 10px;

    display: flex;
    justify-content: center;
    align-items: center;
}

.avatar-img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.avatar-name {
    opacity: 0;
    white-space: nowrap;
    font-size: 18px;
    margin-left: 14px;
    transition: opacity 0.35s ease;
}

.header-avatar:hover .avatar-name {
    opacity: 1;
}

/* 🔥 NEW CV BUTTON */
.cv-button {
    font-family: "Onest", sans-serif;
    font-size: 18px;
    font-weight: 500;

    color: #ffffff;
    text-decoration: none;

    background: #2A2C30;
    padding: 18px 38px;
    border-radius: 100px;

    display: flex;
    align-items: center;
    justify-content: center;

    transition: background 0.25s ease, color 0.25s ease;
}

.cv-button:hover {
    background: #F5F6F7;
    color: #111;
}

/* ============= HERO ============= */

.hero {
    display: flex;
    justify-content: center;
    margin: 20px auto 0 auto;
}

.hero-img {
    width: auto;
    height: auto;
    max-width: none;
    display: block;
}

/* ============= GRID ============= */

.grid {
    width: 1620px;
    margin: 80px auto 120px;

    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

/* ============= CARD ============= */

.card {
    width: 100%;
    border-radius: 18px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card-img {
    width: 100%;
    display: block;
}

.card[data-glow="purple"]:hover { box-shadow: 0 0 45px rgba(162, 97, 255, 0.25); }
.card[data-glow="green"]:hover { box-shadow: 0 0 45px rgba(0, 255, 150, 0.28); }
.card[data-glow="orange"]:hover { box-shadow: 0 0 45px rgba(255, 145, 0, 0.28); }
.card[data-glow="violet"]:hover { box-shadow: 0 0 45px rgba(95, 137, 229, 0.45); }

.card:hover {
    transform: scale(1.02);
}

/* ============= ADAPTIVE ============= */

@media (max-width: 1700px) {
    .header,
    .hero,
    .grid {
        width: 90%;
        max-width: 90%;
    }
}

@media (max-width: 1024px) {
    .grid {
        grid-template-columns: 1fr;
    }
    .header-avatar:hover {
        width: 220px;
    }
}

@media (max-width: 600px) {
    .header-avatar:hover {
        width: 210px;
    }
    .avatar-name {
        font-size: 16px;
    }
}

/* ============================
   CUSTOM CURSOR — unified
============================ */

html, body {
    cursor: none;
}

.cursor-dot,
.cursor-dot-outline {
    pointer-events: none;
    position: fixed;
    top: 50%;
    left: 50%;
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(1);
    transition: opacity 0.25s ease, transform 0.25s ease;
    z-index: 9999;
    opacity: 0;
}

.cursor-dot {
    width: 8px;
    height: 8px;
    background-color: #ffffff;
}

.cursor-dot-outline {
    width: 40px;
    height: 40px;
    background-color: rgba(255,255,255,0.25);
}

