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

/* ===== BODY ===== */
body {
    font-family: "Segoe UI", Tahoma, sans-serif;
    background: #f4f7fb;
    color: #333;
}

/* ===== NAVBAR ===== */
.navbar {
    width: 100%;
    padding: 16px 40px;
    background: #ffffff;

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

    border: 1px solid #fafbfc;
    box-shadow: 0 12px 30px rgba(0,0,0,0.06);
}
.nav-actions {
    display: flex;
    align-items: center;
    gap: 18px;
}

/* ===== LOGO ===== */
.logo {
    font-size: 24px;
    font-weight: 800;
    color: #2d3a8c;
    letter-spacing: 1px;
}

/* ===== MENU ===== */
.navbar nav {
    display: flex;
    gap: 32px;
    margin-left: 60px;
}


.navbar nav a {
    text-decoration: none;
    color: #555;
    font-weight: 500;
    position: relative;
    padding-bottom: 4px;
    transition: color 0.3s ease;
}

.navbar nav a::after {
    content: "";
        position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: #4c63ff;
    transition: width 0.3s ease;
}

.navbar nav a:hover {
    color: #4c63ff;
}

.navbar nav a:hover::after {
    width: 100%;
}

/* Login link */
.login {
    text-decoration: none;
    font-weight: 500;
    color: #555;
    transition: color 0.3s ease;
}

.login:hover {
    color: #4c63ff;
}
a.btn-outline {
    padding: 8px 20px;
    border-radius: 999px;
    border: 2px solid #fab005;
    color: #fab005;
    font-weight: 600;
    transition: 0.3s;
}

a.btn-outline:hover {
    background: #fab005;
    color: #5c3b00;
}


/* ===== RESPONSIVE ===== */
@media (max-width: 600px) {
    .navbar {
        flex-direction: column;
        gap: 10px;
    }

    .navbar nav {
        display: none;
    }
}
.btn-treasure {
    padding: 14px 22px;
    border-radius: 14px;
    background: linear-gradient(135deg, #ffd43b, #fab005);
    color: #5c3b00;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(250,176,5,0.45);
    transition: all 0.25s ease;
}

.btn-treasure:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 14px 30px rgba(250,176,5,0.6);
}
.btn-primary {
    padding: 12px 32px;
    background: #ffffff;
    color: #4c63ff;
    border: none;
    border-radius: 999px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}
/* ===== USER INFO (USERNAME + COIN) ===== */
.user-info {
    display: inline-flex;
    align-items: center;

    background: #ffffff;
    padding: 8px 16px;
    border-radius: 999px;

    font-size: 14px;
    font-weight: 500;
    color: #222;

    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

/* Username */
.user-name {
    text-decoration: none;
    color: #222;
    font-weight: 500;
}

.user-name:hover {
    color: #4c63ff;
}

/* Divider | */
.divider {
    color: #ccc;

}

/* Coin link */
.user-coin {
    display: inline-flex;
    align-items: center;
    gap: 6px;

    text-decoration: none;
    color: #ff9800;
    font-weight: 600;

    padding: 6px 12px;
    border-radius: 999px;

    transition: all 0.25s ease;
}

.user-coin:hover {
    background: #fff3e0;
    color: #e68900;
    transform: translateY(-1px);
}




